[Netkit.users] modules not loaded error

Ashish Agarwal agarwal1975 at gmail.com
Fri Aug 6 21:44:41 CEST 2010


Sorry I never replied to this. I did apply the patch, and it resolves the
problem. Thank you.


On Wed, Jul 21, 2010 at 5:03 AM, Massimo Rimondini <rimondin at dia.uniroma3.it
> wrote:

>  Dear Ashish,
>
>  I find that kernel modules fail to load when I specify a relative path to
> the kernel. For example:
>
>  $ vstart -k mydir/netkit-kernel-i386-K2.8/netkit-kernel
>
>  The UML machine starts up but gives this error:
>
>  Modules directory not mounted.
> Loading kernel modules...FATAL: Could not load
> /lib/modules/2.6.26.5-netkit-K2.8/modules.dep: No such file or directory
> Setting kernel variables (/etc/sysctl.conf)...done.
> Setting up networking....
> Configuring network interfaces...modprobe: FATAL: Could not load
> /lib/modules/2.6.26.5-netkit-K2.8/modules.dep: No such file or directory
>
>
> Well, yes, this is indeed a bug. Thank you for signaling
>
>
>  If I use an absolute path instead:
>
>  $ vstart -k /home/ashish/mydir/netkit-kernel-i386-K2.8/netkit-kernel
>
>  then it correctly loads the modules. Fine, but now I'm trying to set the
> kernel path within a lab.conf file. I have:
>
>
> pc1[kernel]=$HOME/.nettle/netkit/download/netkit-kernel-i386-K2.8/netkit-kernel
>
>  and the modules are not loaded. I've tried adding a slash and a slash dot
> to the beginning of the path, but get the same results. Is ther any way to
> make this work?
>
>
> Please try the attached patch, which is supposed to be applied to vstart.
> It should enable environment variable expansion in kernel paths and
> therefore solve your problem.
>
>
>
>  Thank you.
>
>
> You're welcome.
>
> Regards,
> Massimo.
>
>
>
>
> _______________________________________________
> Netkit.users mailing listNetkit.users at list.dia.uniroma3.ithttp://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users at list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20100806/e65dc94b/attachment.htm 


More information about the Netkit.users mailing list