insmod: ERROR: could not insert module pf_ring.ko: File exists 报该错误的时候说明linux内核已经加载了该文件。

[root@h187 kernel]# rmmod pf_ring rmmod: ERROR: Module pf_ring is in use by: ixgbe 说明pf_ring 已经在万兆网卡驱动上调用了。

[root@h187 kernel]# rmmod ixgbe [root@h187 kernel]# [root@h187 kernel]# [root@h187 kernel]# rmmod pf_ring

需要先卸载ixgbe万兆网卡驱动,然后在从内核中移除pf_ring