BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000278 [BusyBox] Kernel Module Support major always 06-02-05 14:55 06-11-06 10:20
Reporter jean2 View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.00
Summary 0000278: [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
Additional Information
Attached Files  busybox-kmod-2.patch [^] (2,555 bytes) 06-02-05 14:55

- Relationships

- Notes
(0000872)
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
06-11-06 10:20 bernhardf Resolution reopened => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker