[Netkit.users] modules not loaded error

Ashish Agarwal agarwal1975 at gmail.com
Wed Jul 21 00:56:36 CEST 2010


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

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?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20100720/67a00913/attachment.htm 


More information about the Netkit.users mailing list