Kmod vs kerneld

Kmod vs kerneld

Post by Scott Johnso » Thu, 11 Feb 1999 04:00:00



Hello,

I've recently upgraded my Linux system (Red Hat 5.2) to
kernel 2.2.1, and was wondering about the interactions between
kerneld and kmod.  I did get and install the latest version of
the kernel modules package (2.1.121), but the init scripts still
fire up kerneld.  Given that kmod is supposed to do the same thing,
is this a problem, or is kerneld essentially ignored?

Scott

 
 
 

Kmod vs kerneld

Post by jxfau.. » Fri, 12 Feb 1999 04:00:00



> the kernel modules package (2.1.121), but the init scripts still
> fire up kerneld.  Given that kmod is supposed to do the same thing,
> is this a problem, or is kerneld essentially ignored?

Remove the starting of kerneld from your init scripts. It is
obselete under 2.2

 
 
 

Kmod vs kerneld

Post by James Youngma » Fri, 12 Feb 1999 04:00:00



> Hello,

> I've recently upgraded my Linux system (Red Hat 5.2) to
> kernel 2.2.1, and was wondering about the interactions between
> kerneld and kmod.  I did get and install the latest version of
> the kernel modules package (2.1.121), but the init scripts still
> fire up kerneld.  Given that kmod is supposed to do the same thing,
> is this a problem, or is kerneld essentially ignored?

I have this in /etc/rc.d/rc.sysinit, I can't remember if it is
original or if I added it:-

if [ -x /sbin/kerneld -a -n "$USEMODULES" ]; then
    if [ -f /proc/sys/kernel/modprobe ]; then
        # /proc/sys/kernel/modprobe indicates built-in kmod instead
        echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
    else
        /sbin/kerneld
        KERNELD=yes
    fi
fi

# I also have this in /etc/crontab:-

0-59/5 * * * * root /sbin/rmmod -a /etc/crontab

IIRC this is all covered in /usr/src/linux/Documentation/kmod.txt.

--

 
 
 

1. kerneld and kmod (was: kmod and modules...)

   what kind of machine/distribution you have? I suppose there is
   no need for you to worry about how to manually load ppp_deflate
   as an module, because if you have machine configured correctly,
   either kerneld or kmod will automatically calls modprobe and
   load/unload whatever module(s) on as need basis.

   regards.

--

                                      ("\''/").___..--''"`-._
                          \           `9_ 9  )   `-.  (     ).`-.__.`)
                           \ /\       (_Y_.)'  ._   )  `._ `. ``-..-'

                         .( o ).   (il).-''  ((i).'  ((!.-'

2. Beware patch 108993-26!

3. modprobe kmod kerneld and conf.modules

4. uninstalling a network card

5. Advice requested: kerneld & kmod

6. Serial Configuration Error, Carrireer Detect On

7. Announcement: Ygl 3.0.3 2d Graphics Library available

8. using kmod instead of kerneld

9. kerneld/kmod problem with modem

10. kerneld - kmod - dummy problem

11. kmod, kerneld and /proc/sys/kernel/modprobe

12. kmod, modprobe and kerneld 2.2.14