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
0000244 [BusyBox] Kernel Module Support major always 05-03-05 06:56 07-18-05 15:26
Reporter tkato View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.00
Summary 0000244: lsmod for kernel-2.6
Description I found that lsmod in busybox does not support linux-2.6.
I fix this issue(it is caused by changes of /proc/modules format).
If you use lsmod in busybox with kernel-2.6, please use this patch.

-- screen shot on FC3 (kernel-2.6.11-1.14_FC3smp)
[kato@galaxy busybox]$ ./busybox lsmod
Module Size Used by Not tainted
udf 89157 1
iptable_filter 6849 0
ip_tables 25025 1 iptable_filter
nfsd 210913 9
exportfs 10177 1 nfsd
lockd 64233 2 nfsd
parport_pc 31109 1
lp 16201 0
parport 38793 2 parport_pc,lp
autofs4 22597 0
sunrpc 138885 19 nfsd,lockd
-- screen shot
Additional Information
Attached Files  busybox-lsmod-2_6.patch [^] (1,423 bytes) 05-03-05 06:56
 busybox-lsmod-2_6-minorfix.patch [^] (1,437 bytes) 05-03-05 09:04
 busybox-lsmod-2_6-mconf.patch [^] (2,487 bytes) 05-03-05 14:34

- Relationships

- Notes
(0000201)
tkato
05-03-05 14:36

busybox-lsmod-2.6-mconf.patch contains the fix of configuration relevant issue
reported from Tito:
-- report from Tito
Hi,
I would suggest to change a little the menuconfig
system to reflect the new situation as now CONFIG_FEATURE_2_6_MODULES
is a common config option for insmod and lsmod,
but it is displayed only if insmod is selected.
So maybe changing it to:
    | | [*] Support version 2.2.x to 2.4.x Linux kernel modules
  ? ? [ ] Support version 2.6.x Linux kernel modules
  ? ? [ ] insmod
  ? ? [*] lsmod
  ? ? [ ] modprobe
  ? ? [ ] rmmod
could make sense.

Ciao,
Tito
--
 
(0000202)
gheeres
05-05-05 09:40

I'm not having this problem on my 2.6 system:

-- screen shot
Module Size Used by Not tainted
hostap_pci 50960 2 - Live 0xc486d000
hostap 107656 1 hostap_pci, Live 0xc487d000
sch_htb 16640 2 - Live 0xc4857000
sch_sfq 5376 8 - Live 0xc484e000
sch_prio 5248 0 - Live 0xc484b000
cls_fw 4992 10 - Live 0xc4837000
ppp_mppe_mppc 14212 0 - Live 0xc4846000
sha1 8448 0 - Live 0xc4842000
arc4 2048 0 - Live 0xc4832000
ppp_async 10880 0 - Live 0xc4826000
ppp_generic 27540 2 ppp_mppe_mppc,ppp_async, Live 0xc483a000
slhc 6912 1 ppp_generic, Live 0xc482d000
scx200_wdt 6296 1 - Live 0xc482a000
-- screen shot

Did you compile in 2.6 kernel / module support in busybox for your system? Based on your screen capture, you only included 2.2 and 2.4 support.

Linux Module Utilities --->
  [*] insmod
  [ ] Support version 2.2.x to 2.4.x Linux kernels
  [*] Support version 2.6.x Linux kernels
  [*] lsmod
  [*] modprobe
  [*] rmmod
  [*] Support tainted module checking with new kernels
 
(0000204)
vapier
05-06-05 23:46

should be fixed in the repo now with a new 'pretty 2.6 lsmod print' option
 

- Issue History
Date Modified Username Field Change
05-03-05 06:56 tkato New Issue
05-03-05 06:56 tkato File Added: busybox-lsmod-2_6.patch
05-03-05 09:04 tkato File Added: busybox-lsmod-2_6-minorfix.patch
05-03-05 14:34 tkato File Added: busybox-lsmod-2_6-mconf.patch
05-03-05 14:36 tkato Note Added: 0000201
05-05-05 09:40 gheeres Note Added: 0000202
05-06-05 23:46 vapier Status assigned => resolved
05-06-05 23:46 vapier Resolution open => fixed
05-06-05 23:46 vapier Note Added: 0000204
07-18-05 15:26 andersen Status resolved => closed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker