[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kerneld error message on startup



On Tue, Mar 13, 2001 at 06:58:41AM -0500, Keith & Cecile Schooley wrote:
> After compiling a kernel (2.2.17) for the first time, I received a startup
> message indicating that I was using kerneld and almost certainly didn't want
> to.  I don't know how I turned it on, so I don't know how to turn it off.

you turned off loadable kernel module support, or kmod support in the
kernel.  unfortunatly the test the kerneld initscript uses is flawed
so if you do either of these it thinks your running a 2.0 kernel and
needs kerneld.  

this problem goes away in unstable's modutils since it drops support
for 2.0 kernels entirely thus kerneld is removed.  

> I have enabled kmod in the kernel, but don't understand how to set it up
> from Documentation/kmod.txt (refers to a directory that doesn't exist in my
> setup).

you must have disabled loadable kernel modules or kmod, this is the
only way kerneld will get started on a potato system.  (or maybe if
you got rid of /proc but lots of things break if you do that)

> All this should be academic, since I'm actually not using modules at all,
> but I'd like to get rid of the error message.

apply this patch to /etc/init.d/kerneld:

--- /etc/init.d/kerneld Sat Oct 21 13:36:39 2000
+++ kerneld     Tue Mar 13 05:28:35 2001
@@ -5,7 +5,14 @@

 KDOPT=""

-test -f /proc/sys/kernel/modprobe && exit 0
+case `uname -r` in
+    2.0.*)
+    ;;
+    *)
+    exit 0
+    ;;
+esac
+
 test -f /proc/modules || exit 0
 test -f /sbin/kerneld || exit 0


-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpAK__3rKIR_.pgp
Description: PGP signature


Reply to: