[BusyBox] Re: [PATCH] modprobe fixup

Mike Castle dalgoda at ix.netcom.com
Mon Aug 16 20:20:57 UTC 2004


On Mon, Aug 16, 2004 at 01:36:25PM -0500, Chip Rosenthal wrote:
> Looks good!  Now when I do "modprobe eth1" it's loading the tulip driver
> correctly.

Yay.  Hopefully it'll get accepted.  ;->

> I had one additional problem (back on rc1) that I'm unable to test.
> Before, when I did an NFS mount it failed to load the modules, so the
> mount would fail. Unfortunately, I've switched to a kernel that has KMOD
> disabled, so I'm no longer able to test that.

I don't think this is too surprising.

The official modutils comes with a built in set of aliases (see
util/alias.h for details).  But busybox does not.  Yet another deviation
between the two.

Of course, supporting a lot of built in aliases makes for a bigger binary,
which sort of defeats the purpose of busybox.

I think if someone wants all of the generic support, they should probably
build a static version of the real modutils rather than trying to use the
busybox version (otherwise, by the time all of the features get added,
they'll end up the same size).

I'm actually fighting this issue myself with using busybox+dietlibc for
initrds with udhcp.  My choice was to stick with busybox and have my script
add ``alias net-pf-17 af_packet'' to the modules.conf on the initrd.

I suspect that approach may need to become the norm.  Possibly making use
of ``modprobe -c | grep'' to keep up to date.

mrc
-- 
     Mike Castle      dalgoda at ix.netcom.com      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc



More information about the busybox mailing list