modprobe: FATAL: Could not load.....modules.dep
During the boot with my new upgraded kernel I get these messages 2 times
modprobe: FATAL: Could not load /lib/modules/2.6.14-pne/modules.dep: No such file or directory After that, the system boots fine and everything works normally. I just want to know why this error comes , and how can I resolve it? |
Run
Code:
depmod -a The error is most likely produced by a startup script trying to find if there are any new modules installed. |
Quote:
After booting have checked the file modules.dep at required location, the file(modules.dep)is already exist there. I have done some investigation here but not sure it is right or not; modules.dep file is created by rc.modules at run time using code # If the modules.dep file does not exist, generate it in the default # location. if test ! -f ${MODULES_DEP}; then /sbin/depmod fi fi in next step rc.modules execces this modules.dep file in loading modules. # Load modules in /etc/modules if test -f /etc/modules; then modules=`grep -E "^[[:alnum:]][[: print:]]+$" /etc/modules` for mod in ${modules}; do /sbin/modprobe ${mod} done fi can it possible that /sbin/modprobe trying to access this modules.dep file before succesfully executing /sbin/depmod ? |
Quote:
Code:
uname -r |
Quote:
cat /etc/modules #e1000 #ipv6 #ip_tables #ip6_tables #uhci-hcd #280fbs #mtdchar the output for the 'uname' -r is '2.6.14-pne'. |
So what modules are loaded at boot time? What gives?
Code:
lsmod Code:
if test -f /etc/modules; then |
Quote:
I have introduce some print logs in rc.modules and found that error comes before executing rc.modules. below are the logs for the same Unmounting /sys Unmounting /proc mounting FS type proc on /proc Unmounting /proc mounting FS type selinuxfs on /selinux/ modprobe: FATAL: Could not load /lib/modules/2.6.14-pne/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.14-pne/modules.dep: No such file or directory INIT: version 2.85 booting mounting FS type proc on /proc mounting FS type sysfs on /sys Entring in rc.modules Creating modules.dep File has been Created I am going to show the modules.dep file cat /lib/modules/2.6.14-pne/modules.dep Loading, please wait... Modules loaded mounting FS type tmpfs on /dev mounting FS type tmpfs on /dev/shm Starting hardware event daemon:[ OK ] Creating initial udev device nodes:[ OK ] Exit from rc.modules |
Nullxxxxxxxx
|
Is there any script wchich access modules.dep before executing rc.modules at boot time?
|
Quote:
Module Size Used by softdog 7188 0 tipc 194664 58 pmemfs 26028 1 linux_user_bde 18892 0 linux_kernel_bde 27512 1 linux_user_bde fault 35036 0 vmc 76096 2 fault,[permanent] ipmibus 5760 1 vmc ipmi_si 40400 3 ipmi_devintf 9960 6 ipmi_msghandler 57404 3 vmc,ipmi_si,ipmi_devintf |
Quote:
|
All times are GMT -5. The time now is 07:56 PM. |