Re: How to remove all unused modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






And its not just network drivers (IIUC)
The module usage count only counts uses/dependencies of other modules,
userspace deps are *not* counted.

ForEx:

$ lsmod |grep '0 $'
radeon                106849  0
battery                 9413  0
ohci1394               35205  0
uhci_hcd               32465  0
ohci_hcd               21981  0

I can assure you that I am currently using the screen driven by the
radeon driver.

Might be it is happening that in 2.6 kernel version ,the way to manipulate the count of references to a module is outside of the module but in 2.4 kernel we used to do within module by MOD_INC_USE_COUNT macro. In 2.6 kernel though the kernel is executing within the module, but the reference count could be zero. I thought for radeon driver it is happening...

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux