[BusyBox 0000278]: [PATCH] on-demand module loading fails with 2.6.X
bugs at busybox.net
bugs at busybox.net
Sun Jun 11 17:20:13 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=278
======================================================================
Reported By: jean2
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 278
Category: Kernel Module Support
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: reopened
Fixed in Version: svn
======================================================================
Date Submitted: 06-02-2005 14:55 PDT
Last Modified: 06-11-2006 10:20 PDT
======================================================================
Summary: [PATCH] on-demand module loading fails with 2.6.X
Description:
Kernel modules autoloading doesn't work with BusyBox and
kernel 2.6.X. This feature is useful to load modules on-demand, to
minimise kernel memory footprint and power consumption.
If you have configure properly /etc/modprobes.conf, a simple "ifconfig
eth0" will load the appropriate network driver. Kernel calls modprobe,
which does the insmod.
The fix is pretty safe, when calling insmod for 2.6.X kernel, we don't
pass offending parameters. Note that in the BusyBox context, a lot of
those flags don't make sense and just add bloat, so I would not really
recommend implementing them.
Patch is attached. I made the patch for busybox-1.00 and fully tested
there, but I've verified that it applies smoothly and compile with the
02-june-05 snapshot.
Jean
======================================================================
----------------------------------------------------------------------
landley - 01-08-06 10:59
----------------------------------------------------------------------
Yann Morin fixed this a while back.
Issue History
Date Modified Username Field Change
======================================================================
06-02-05 14:55 jean2 New Issue
06-02-05 14:55 jean2 File Added: busybox-kmod-2.patch
01-08-06 10:59 landley Status assigned => closed
01-08-06 10:59 landley Note Added: 0000872
01-08-06 10:59 landley Resolution open => fixed
01-08-06 10:59 landley Fixed in Version => svn
06-11-06 10:17 bernhardf Status closed => resolved
06-11-06 10:20 bernhardf Status resolved => feedback
06-11-06 10:20 bernhardf Resolution fixed => reopened
06-11-06 10:20 bernhardf Status feedback => closed
======================================================================
More information about the busybox-cvs
mailing list