OK. I am playing with a RH6 box. From the boxed CD's -> dl all patches ->
upgrade -> dl 2-2-5-22 kernel src/headers -> compile custom almost
monlithic kernel
After the out of box install, boot up worked good.
After recompile, I started getting this error:
>Finding module dependencies
>conf:5: missing module argument
I have tracked the error down to this part of /etc/rc.d/rc.sysinit (sorry
about the wrap):
>if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
> # Get ready for kmod if module support in the kernel
> if [ -z `uname -r | grep "-"` ]; then
> # we're using a new kernel, no preferred needed
> mver=`uname -r`
> else
> ktag="`cat /proc/version`"
> mtag=grep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null
> if [ -n "$mtag" ]; then
> mver=echo $mtag | sed -e 's,/lib/modules/,,' -e 's,/.rhkmvtag,,'
>-e 's,[ ].*$,,'
> fi
> if [ -n "$mver" ]; then
> ln -sf /lib/modules/$mver /lib/modules/default
> fi
> fi
> [ -n "$mver" -a -f "/boot/module-info-$mver" ] && ln -sf
>/boot/module-info-$mver /boot/module-info
> [ -n "$mver" -a -f "/boot/System.map-$mver" ] && ln -sf
>/boot/System.map-$mver /boot/System.map
> action "Finding module dependencies" depmod -a
>fi
>
># load sound modules
>if [ -n "$USEMODULES" ]; then
> if grep -s -q "^alias sound" /etc/conf.modules ; then
> action "Loading sound module" modprobe sound
> fi
> if grep -s -q "^alias midi" /etc/conf.modules ; then
> action "Loading midi module" modprobe midi
> fi
>fi
>
>if [ -f /proc/sys/kernel/modprobe ]; then
> if [ -n "$USEMODULES" ]; then
> echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
> else
> echo "" > /proc/sys/kernel/modprobe
> fi
>fi
I really don't know what to do. depmod and modprobe both come back with
the same conf:5 cryptic error.
During the kernel upgrade, I accidentally/intentionally deleted a file
called module-info-2.2.5-15 b/c it was an old file. I can't figure out
what creates module-info-2.2.5-22, so I can't replace it. Also, I think
there should be a file called /lib/modules/2.2.5-22/modules.dep that isn't
there. It is present for the old kernel, but not this one. What creates
that file?
This is a tough one, so don't loose sleep over it. I just thought it might
be easier to track down by comparing what other people had in their box.
Thx.
R. J. 9-8-99 11:42p.
****************************************************************
Banging your head against a wall uses 150 calories an hour.
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]