From mboxrd@z Thu Jan 1 00:00:00 1970 From: abhinav narain Date: Wed, 26 Sep 2012 18:02:52 -0400 Subject: [ath9k-devel] Problem with ath9k, mac80211 modules becoming permanent after couple of insmod/rmmod Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org hi, I have kept a modified mac80211.ko, ath9k.ko file in /lib/modules/temp/ . I am using Backfire [Openwrt] for development. And I want to use these while I run some of my userland code (which automates the task of unloading old modules and inserting the new ones) . It seems that for first time, when I do : rm mac80211 rm ath9k insmod /lib/modules/temp/mac80211.ko insmod /lib/modules/temp/ath9k.ko Everything is fine but when I redo opkg install in Openwrt 2 times, the ath9k, mac80211 kernel modules start showing [permanent] in the lsmod output and hence cannot be unloaded. lsmod output : ath9k 87776 0 [permanent] ath9k_common 1216 1 ath9k ath9k_hw 338448 2 ath9k,ath9k_common ath 14224 3 ath9k,ath9k_common,ath9k_hw mac80211 230400 1 ath9k,[permanent] Can someone please tell me what goes wrong ? (2) I am unable to uninstall the modified module( I think its modified one) as it becomes permanent. I don't see modprobe showing the path of the currently running module in Openwrt, is there some other way to find the path ? -Abhinav Narain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120926/64c274d1/attachment.htm