Re: Anyone using kernel 2.1.90+ with RH5.1 (fwd)

Klaus Kudielka (kudielka@crl.go.jp)
Fri, 12 Jun 1998 15:40:39 +0900


Matt Hyne wrote:
> I tried editing the kerneld script to look for /proc/sys/kernel/modprobe
> before executing kerneld but this didn't work.

rc.sysinit already does this for you. BTW, use ntsysv and disable automatic
startup of kerneld. If you boot a 2.0 kernel, rc.sysinit will fire it up,
anyway.

> Finding module dependancies... can't open /lib/modules/prefered/modules.def
> scripts to work with the kmod kernels.

Delete /lib/modules/preferred and apply the following patch to remove some RH
braindamage:

--- rc.sysinit.ORIG Wed Jun 10 16:20:01 1998
+++ rc.sysinit Wed Jun 10 16:22:02 1998
@@ -139,7 +139,7 @@
if [ -f /lib/modules/preferred ]; then
depmod -a preferred
else
- depmod -a preferred
+ depmod -a
fi
echo "done"
fi

With this, 2.1.105 & RH 5.1 run fine on my laptop :-)

--
Klaus Kudielka			     Communications Research Laboratory
Tel. ++81-42-327-6494				  Nukui-Kitamachi 4-2-1
Fax. ++81-42-327-6699			 Koganei, Tokyo 184-8795, Japan
E-mail kudielka@crl.go.jp	  http://www.nt.tuwien.ac.at/~kkudielk/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu