Groups > SUSE Linux > SUSE Linux Enterprise server > SLES9: lsmod does not display what is using a module - any other




SLES9: lsmod does not display what is using a module - any
other

SLES9: lsmod does not display what is using a module - any other
Fri, 14 Jul 2006 09:19:55 GMT
Hi All,
	On many occasions I have observed that the information returned from 
"lsmod" is somewhat lacking - specifically in describing what is using
a 
kernel module.

I need to unload the tape drive module, using "rmmod st" fails and 
reports the module is in use. It should not be and I can not currently 
see what is using it (see below).

Does anyone know a way of getting this information and is there a known 
reason why the "Used by" info is not reported?

Lack of information observed on both SLES9 SP1 and SP3 systems.

Regards

Stephen Chaddock


***** lsmod list *****

lsmod
Module                  Size  Used by
edd                    26008  0
joydev                 26816  0
sg                     53920  0
st                     57500  2
sr_mod                 33316  0
ide_cd                 54788  0
cdrom                  55196  2 sr_mod,ide_cd
nvram                  25736  0
usbserial              48240  0
parport_pc             53568  1
lp                     27908  0
parport                56520  2 parport_pc,lp
thermal                28936  0
processor              34496  1 thermal
fan                    20484  0
button                 22672  0
battery                25092  0
ac                     21252  0
ipv6                  324220  34
ohci_hcd               37124  0
sworks_agp             25760  0
agpgart                48300  1 sworks_agp
evdev                  26240  0
8021q                  36104  0
bond0                  78172  0
usbcore               129244  4 usbserial,ohci_hcd
e100                   60292  0
ext3                  136232  8
jbd                    87332  1 ext3
subfs                  24448  2
dm_mod                 72192  0
reiserfs              276432  5
cciss                  59748  17
aic7xxx               211124  1
sd_mod                 37376  0
scsi_mod              132292  6 sg,st,sr_mod,cciss,aic7xxx,sd_mod

Post Reply
about | contact