LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   FATAL: could not load /lib/modules/2.6.1/modules.dep (https://www.linuxquestions.org/questions/slackware-14/fatal-could-not-load-lib-modules-2-6-1-modules-dep-133910/)

Fr33B33R 01-12-2004 03:47 AM

FATAL: could not load /lib/modules/2.6.1/modules.dep
 
Hi,

I just compiled and installed 2.6.1 for the first time. I have never compiled a kernel before so I didn't know which options in menuconfig would be mandatory or useful.

Anyhow, my system works, but, I get a warning:

FATAL: could not load /lib/modules/2.6.1/modules.dep : No such file or directory
FATAL: could not load /lib/modules/2.6.1/modules.dep : No such file or directory

(yes, repeated twice)


Is this as fatal as the name implies? IIRC, I compiled using the new loadable/unloadable modules option. Could that be the issue?

kadaver 01-12-2004 05:07 AM

Had the same problem.
This might be related to the depmod command. I had this in my /etc/rc.d/rc.modules:

'depmod -a'

If it isn't there try a:

'cat /etc/rc.d/* | grep depmod'

Or you might want to check the error logs in /var/log for more information...
I commented it out since the kernel loads all the modules it needs anyway so depmod is unessesary. Worked like a charm.
Cheers!

kadaver 01-12-2004 05:11 AM

BTW
Check out /usr/doc/Linux-HOWTOs/Kernel-HOWTO if you want to learn some more!

Fr33B33R 01-12-2004 05:40 AM

Quote:

Originally posted by kadaver
Had the same problem.
This might be related to the depmod command. I had this in my /etc/rc.d/rc.modules:

'depmod -a'

If it isn't there try a:

'cat /etc/rc.d/* | grep depmod'

Or you might want to check the error logs in /var/log for more information...
I commented it out since the kernel loads all the modules it needs anyway so depmod is unessesary. Worked like a charm.
Cheers!

In file /etc/rc.d/rc.modules there is "/sbin/depmod -a" on row 34 and "/sbin/depmod -A" on row 40 (note the capital letter A; is that a problem?).

I need to check the link you gave me to see what that means... Tjena! ;)


All times are GMT -5. The time now is 03:48 PM.