Could not load /lib/modules/2.6.12.5/modules.dep

Renaud Vernet renaud.vernet at cern.ch
Thu Aug 18 09:40:36 UTC 2005


Hi
I have just compiled 2.6.12.5 kernel, but I can't boot with it ; I get 
something like :

Could not load /lib/modules/2.6.12.5/modules.dep : no such file or directory
Could not load /lib/modules/2.6.12.5/modules.dep : no such file or directory
Could not load /lib/modules/2.6.12.5/modules.dep : no such file or directory
....

and then a "kernel panic : attempted to kill init" or something like that.

But the file /lib/modules/2.6.12.5/modules.dep DOES exist, and seems ok.
What can cause such a behaviour ??
Any idea ??
Thanks a lot,
	Renaud


==============================
My grub's menu.lst entries :

title           Ubuntu, kernel 2.6.12.5
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.12.5 root=/dev/sda5 ro quiet splash
initrd          /boot/initrd.img-2.6.12.5
savedefault
boot

# THIS IS THE DEFAULT ONE :
title           Ubuntu, kernel 2.6.10-5-386
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.10-5-386 root=/dev/sda5 ro quiet splash
initrd          /boot/initrd.img-2.6.10-5-386
savedefault
boot
===============================
my /boot directory :

vernet at sbgat83:~$ ll /boot/
total 13M
-rw-r--r--  1 root root 826K May 20 19:22 System.map-2.6.10-5-386
-rw-r--r--  1 root root 863K Aug 18 01:09 System.map-2.6.12.5
-rw-r--r--  1 root root  59K May 20 15:47 config-2.6.10-5-386
-rw-r--r--  1 root root  50K Aug 18 01:09 config-2.6.12.5
drwxr-xr-x  2 root root 4.0K Aug 18 01:12 grub
-rw-r--r--  1 root root 4.3M Jun  7 13:32 initrd.img-2.6.10-5-386
-rw-r--r--  1 root root 4.3M Aug 18 01:11 initrd.img-2.6.12.5
-rw-r--r--  1 root root  93K Mar 31 13:08 memtest86+.bin
-rw-r--r--  1 root root 1.2M May 20 19:22 vmlinuz-2.6.10-5-386
-rw-r--r--  1 root root 1.2M Aug 18 01:09 vmlinuz-2.6.12.5
==================================
my /lib/modules :

vernet at sbgat83:~$ ll `find /lib/modules/*/modules.dep`
-rw-r--r--  1 root root 254K Aug 17 19:17 
/lib/modules/2.6.10-5-386/modules.dep
-rw-r--r--  1 root root  94K Aug 18 01:09 /lib/modules/2.6.12.5/modules.dep







More information about the ubuntu-users mailing list