Hi Guys,
I have made changes to my kernel, some of my peripherals are loadable modules some are static, static modules load itself at kernel booting, but coming to loadable modules i'm facing issue.
i figure out the script modutils.sh will check the dependencies modules and try to load correct me if i'm wrong.
etc/init.d/modutils.sh
#!/bin/sh
LOAD_MODULE=modprobe
[ -e /sbin/modprobe ] || LOAD_MODULE=insmod
echo "Loading modules"
if [ -e /sbin/depmod -a ! -f /lib/modules/`uname -r`/modules.dep ]; then
echo "Inside loading modules"
[ "$VERBOSE" != no ] && echo "Calculating module dependencies ..."
depmod -Ae
fi
if [ -f /proc/modules ]; then
echo "Inside loading module stage 1"
if [ -f /etc/modules ]; then
[ "$VERBOSE" != no ] && echo -n "Loading modules: "
while read module args
do
case "$module" in
\#*|"") continue ;;
esac
[ "$VERBOSE" != no ] && echo -n "$module "
eval "$LOAD_MODULE $module $args >/dev/null 2>&1"
done < /etc/modules
[ "$VERBOSE" != no ] && echo
fi
fi
echo "exiting loading modules"
: exit 0
and try to check the log:
Loading modules
Inside loading module stage 1
exiting loading modules
and i don't understand why it fails.
the path of loadable modules & depmod binary path are correct and i cross check those path also to confirm.
andbody who has idea why such issue.
regards,
Ganesh