[BusyBox-cvs] [BusyBox 0000278]: [PATCH] on-demand module loading fails with 2.6.X

bugs at busybox.net bugs at busybox.net
Thu Jun 2 21:55:20 UTC 2005


The following issue has been SUBMITTED.
======================================================================
<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:                     assigned
======================================================================
Date Submitted:             06-02-2005 14:55 PDT
Last Modified:              06-02-2005 14:55 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

======================================================================

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                  
 
======================================================================




More information about the busybox-cvs mailing list