[BusyBox-cvs] [BusyBox 0000244]: lsmod for kernel-2.6
bugs at busybox.net
bugs at busybox.net
Tue May 3 21:36:38 UTC 2005
A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=244>
======================================================================
Reported By: tkato
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 244
Category: Kernel Module Support
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 05-03-2005 06:56 PDT
Last Modified: 05-03-2005 14:36 PDT
======================================================================
Summary: 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 at 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
======================================================================
----------------------------------------------------------------------
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
--
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
======================================================================
More information about the busybox-cvs
mailing list