Re: building af_packet as a kernel module

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

 



Hi,

On 30.06.2017 06:06, Kevin Wilson wrote:
> [...]
> I am using Ubuntu 16.04.
> 
> After reboot, the af_packet.ko kernel module is loaded:
> lsmod

> af_packet              45056  2
> 
> But I cannot remove it:
> rmmod af_packet
> rmmod: ERROR: Module af_packet is in use
> 
> I want to be able to rmmod it, for adding debug printing, etc.
> [...]
I googled this:

https://stackoverflow.com/questions/448999/is-there-a-way-to-figure-out-what-is-using-a-linux-kernel-module

and short answer is to use 'lsof' command (ls open files),
if lsmod fails to give ref info

-- 
Best regards,
Kamil Konieczny
Samsung R&D Institute Poland


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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