[Netkit.users] modules not loaded error
Massimo Rimondini
rimondin at dia.uniroma3.it
Wed Jul 21 11:03:30 CEST 2010
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 list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20100721/6e5a0817/attachment.htm
-------------- parte successiva --------------
Un allegato non testuale ? stato rimosso....
Nome: vstart_shexp_in_kernel_pathnames.diff
Tipo: text/x-patch
Dimensione: 453 bytes
Descrizione: non disponibile
Url: http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20100721/6e5a0817/attachment.bin
More information about the Netkit.users
mailing list