Quote:
Originally Posted by bathory
Run to create the missing modules.dep.
The error is most likely produced by a startup script trying to find if there are any new modules installed.
|
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 ?