Bug 12000 - Spurious messages at boot: cannot find modules.dep
Summary: Spurious messages at boot: cannot find modules.dep
Status: RESOLVED CODE_FIX
Alias: None
Product: Other
Classification: Unclassified
Component: Modules (show other bugs)
Hardware: All Linux
: P1 low
Assignee: other_modules
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-09 23:05 UTC by Jean-Luc Coulon
Modified: 2009-04-04 15:55 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.28-rc4
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jean-Luc Coulon 2008-11-09 23:05:25 UTC
Latest working kernel version: 2.6.27.5
Earliest failing kernel version: 2.6.28-rc1
Distribution: Debian Sid
Hardware Environment: Athlon X2 4200+
Software Environment: X86_64
Problem Description: At boot, just after the "system loading" message, I have several times (5 to 9) the following message:
modprobe: FATAL: could not load /lib/modules/2.6.28-rc4-k8-1/modules.dep: no such file or directory.

After that, the system boot and work normally.

I use an initrd.

Steps to reproduce: boot the system
Comment 1 Diego Calleja 2008-11-10 09:35:42 UTC
That file is created by depmod, and it's usually created when you run "make modules_install". Have you run that command, ie, have you installed the kernel modules properly?
Comment 2 Jean-Luc Coulon 2008-11-10 10:19:00 UTC
The file *exists* and the modules as well. And everything, including modules works fine.

[jean-luc@tangerine] % ls /lib/modules/2.6.28-rc4-k8-1
build@         modules.ccwmap       modules.isapnpmap  modules.seriomap
diversions/    modules.dep          modules.ofmap      modules.symbols
kernel/        modules.ieee1394map  modules.order      modules.usbmap
modules.alias  modules.inputmap     modules.pcimap     source@

Regards

Jean-Luc
Comment 3 Diego Calleja 2008-11-10 11:05:15 UTC
Maybe the modules are missing in the initrd image?
Comment 4 Jean-Luc Coulon 2008-11-10 11:35:31 UTC
The modules are there.
I've extracted the initrd and compared with the one of 2.6.27.5.
They have both the same structure and contents.
Both kernel have been built the same way with kernel-package from Debian.

J-L
Comment 5 Alan 2008-11-11 07:55:24 UTC
Really you would be best opening a bug here with Debian if the package was built with the Debian tools not the kernel scripts.
Comment 6 Jean-Luc Coulon 2008-11-11 08:18:08 UTC
Well: I've rebuilt kernel and modules and installed them with the kernel scripts and built the initrd with mkinitramfs.
I've the same messages.

J-L
Comment 7 Ulrich 2008-11-23 12:06:29 UTC
Hi,

I get the same message on Kubuntu 8.04.

I install the kernel via:
cd /usr/src
sudo make-kpkg clean
sudo make-kpkg --initrd --append-to-version=-custom kernel_image
cd ..
dpkg -i linux-image-2.6.28-rc6[...].deb

The modules.dep is there, also the initrd.
Comment 8 Jean-Luc Coulon 2009-04-04 14:16:05 UTC
I've no more these messages with 2.6.29-git12

J-L

Note You need to log in before you can comment on or make changes to this bug.