[Bug 77584] Fatal Error: Could not open /lib/modules/2.6.15.7-ubuntu1/modules.dep.temp
Ganesh
venkat_ganesh43016 at yahoo.com
Sun Dec 31 18:45:17 UTC 2006
Public bug reported:
Binary package hint: linux-source-2.6.15
Hello,
I have installed ubuntu linux 2.6.15-27-386 successfully. I have
downloaded linux-source-2.6.15 and I am trying to rebuild the kernel
from the source based on the information available at
http://fossil.wpi.edu/docs/howto_build_kernel.html. After trying the
following commands I am not able to boot from the kernel I built when I
select the grub menu item "Ubuntu, kernel linux-source-2.6.15". The
error message is:
Fatal Error: Could not open
/lib/modules/2.6.15.7-ubuntu1/modules.dep.temp
I have verified the files and directoy listed in /boot/grub/menu.lst do
exist, as shown below. Even if I copy modules.dep to modules.dep.temp,
it is not booting.
Any idea what step I am missing?
Thanks and regards
List of commands I tried to build the kernel from the source from
/home/vganesh/linux_src/linux-source-2.6.15 directory.
$ uname -a
Linux vganesh-desktop 2.6.15-27-386 #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006 i686 GNU/Linux
$ sudo chown -R USER:root /home/vganesh/linux_src/linux-source-2.6.15/
$ sudo chown -R root /home/vganesh/linux_src/linux-source-2.6.15/
$ sudo make clean
$ sudo make menuconfig
$ sudo make
$ sudo make bzImage
$ sudo make modules_install
$ sudo mkdir /boot/testing
$ sudo cp arch/i386/boot/bzImage /boot/testing/
$ sudo vi /boot/grub/menu.lst
...
$ cat /boot/grub/menu.lst
...
title Ubuntu, kernel linux-source-2.6.15
root (hd1,0)
kernel /boot/testing/bzImage root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
$ ls -l /boot/testing/
total 1388
-rw-r--r-- 1 root root 1414758 2006-12-31 09:37 bzImage
$ ls -l /boot/initrd.img-2.6.15-23-386
-rw-r--r-- 1 root root 7001304 1996-12-31 21:23 /boot/initrd.img-2.6.15-23-386
$ ls -l /lib/modules/2.6.15.7-ubuntu1/modules.dep.temp
ls: /lib/modules/2.6.15.7-ubuntu1/modules.dep.temp: No such file or directory
$ ls -l /lib/modules/2.6.15.7-ubuntu1/modules.dep
-rw-r--r-- 1 root root 327117 2006-12-31 09:32 /lib/modules/2.6.15.7-ubuntu1/modules.dep
$ ls -l /lib/modules/2.6.15.7-ubuntu1/
total 1412
lrwxrwxrwx 1 root root 43 2006-12-31 09:26 build -> /home/vganesh/linux_src/linux-source-2.6.15
drwxr-xr-x 10 root root 4096 2006-12-31 09:31 kernel
-rw-r--r-- 1 root root 306170 2006-12-31 09:32 modules.alias
-rw-r--r-- 1 root root 69 2006-12-31 09:32 modules.ccwmap
-rw-r--r-- 1 root root 327117 2006-12-31 09:32 modules.dep
-rw-r--r-- 1 root root 813 2006-12-31 09:32 modules.ieee1394map
-rw-r--r-- 1 root root 806 2006-12-31 09:32 modules.inputmap
-rw-r--r-- 1 root root 21795 2006-12-31 09:32 modules.isapnpmap
-rw-r--r-- 1 root root 74 2006-12-31 09:32 modules.ofmap
-rw-r--r-- 1 root root 243251 2006-12-31 09:32 modules.pcimap
-rw-r--r-- 1 root root 1135 2006-12-31 09:32 modules.seriomap
-rw-r--r-- 1 root root 129369 2006-12-31 09:32 modules.symbols
-rw-r--r-- 1 root root 362008 2006-12-31 09:32 modules.usbmap
lrwxrwxrwx 1 root root 43 2006-12-31 09:26 source -> /home/vganesh/linux_src/linux-source-2.6.15
** Affects: linux-source-2.6.15 (Ubuntu)
Importance: Undecided
Status: Needs Info
--
Fatal Error: Could not open /lib/modules/2.6.15.7-ubuntu1/modules.dep.temp
https://launchpad.net/bugs/77584
More information about the kernel-bugs
mailing list