Debian (Etch): modprobe: FATAL : modules.dep No such file or directory

Submitted by kushalkoolwal
on July 20, 2007 - 12:04pm

I just upgraded my Kernel version from 2.6.17 to 2.6.18. Although I didn't installed the default kernel from debian repo (2.6.18-4-686). I re-compiled the kernel taking the existing .config file from 2.6.17 and then made few changes. I compiled the kernel debian way.

Now, during the boot with this new kernel I get these messages 7-8 times right in the beginning of the boot process:

modprobe: FATAL : could not load /lib/modules/2.6.18-gc1/modules.dep NO such file or directory

After that, the system boots fine and everything works normally.

Also, during this upgrade from 2.6.17 to 2.6.18 I also upgrade my debian system from Debian Sarge to Debian Etch.

I did some research and someone said that it is a bug in the make-kpkg package? I am not sure what to do next? Can I get rid of those messages or those messages are just normal and I should not worry about them.

Thanks

Run depmod -a?

Anonymous (not verified)
on
July 20, 2007 - 12:37pm

Run depmod -a?

Yes I did. I also tried

kushalkoolwal
on
July 20, 2007 - 12:57pm

Yes I did. I also tried recreating initrd image using mkinitramfs tool. But no luck..

anyone????

kushalkoolwal
on
July 25, 2007 - 12:25pm

anyone????

no lib/modules/***

Thierry Dumont (not verified)
on
July 26, 2007 - 11:55pm

Easy: just look at the /lib/modules/ in your virtual machine; compare with uname -a

Certainly, the 2.6.xxx directory corresponding to your runing kernel is nor here.

rsync it from the Dom0 and reboot the virtual machine...

yours

The directory corresponding

kushalkoolwal
on
July 27, 2007 - 1:12pm

The directory corresponding to my running kernel is there in /lib/modules/....

The error message complains about modules.dep no there as I mentioned in my earlier post....

Also, I am confused when you mentioned about virtual machine. what are you referring to with that?

Thanks for your reply.

This might help:

Linux Consultant (not verified)
on
May 30, 2008 - 9:51am

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.