[BusyBox-cvs] [BusyBox 0000279]: [PATCH] On-demand net module loading fails with CONFIG_FEATURE_IFUPDOWN_IP

bugs at busybox.net bugs at busybox.net
Thu Jun 2 22:03:38 UTC 2005


The following issue has been SUBMITTED.
======================================================================
<http://busybox.net/bugs/view.php?id=279> 
======================================================================
Reported By:                jean2
Assigned To:                BusyBox
======================================================================
Project:                    BusyBox
Issue ID:                   279
Category:                   Networking Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-02-2005 15:03 PDT
Last Modified:              06-02-2005 15:03 PDT
======================================================================
Summary:                    [PATCH] On-demand net module loading fails with
CONFIG_FEATURE_IFUPDOWN_IP
Description: 
Kernel modules autoloading of network driver doesn't work when ifup use ip
to configure the interface. This feature is useful because it allow to
load the network driver only when it's configured in
/etc/network/interfaces, to
minimise kernel memory footprint and power consumption.

The basic problem is that 'ip' is not designed to support module
autoloading. This problem is most likely present upstream as well, however
all distros I know use ifconfig from ifup (and not ip), which is why
probably nobody noticed it.

The fix is pretty safe, if we don't find the interface in our cache, we
explicitely request it from the kernel.

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 15:03 jean2          New Issue                                    
06-02-05 15:03 jean2          File Added: busybox-ip-module-loading.patch       
            
======================================================================




More information about the busybox-cvs mailing list