Search Linux Wireless

Re: BUG: oops when "rmmod ipw2200"

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

 



On Thu, Nov 05, 2009 at 03:59:16PM +0100, Holger Schurig wrote:
> This happened on wireless-testing v2.6.32-rc6-41575-g5e68bfb. I
> modprobed ipw2200, put it into monitor mode, used tshark a while to
> monitor, then I stopped tshark, "ifconfig eth2 down" and finally
> "rmmod ipw2200", and voila:
> 
> [  917.189620] ------------[ cut here ]------------
> [  917.189717] kernel BUG at net/wireless/core.c:543!
> [  917.189805] invalid opcode: 0000 [#1] PREEMPT SMP
> [  917.190002] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:02:0d.0/firmware/0000:02:0d.0/loading
> [  917.190136] Modules linked in: lib80211_crypt_wep ipw2200(-) libipw lib80211 ath5k mac80211 ath cfg80211 psmouse uhci_hcd

<snip>

Crud...this has to be the following:

commit e6c5fc53d0f44a772398402ee8a1879818e42b4e
Author: Zhu Yi <yi.zhu@xxxxxxxxx>
Date:   Thu Oct 15 14:50:28 2009 +0800

    ipw2200: fix oops on missing firmware
    
    For non-monitor interfaces, the syntax for alloc_ieee80211/free_80211
    is wrong. Because alloc_ieee80211 only creates (wiphy_new) a wiphy, but
    free_80211() does wiphy_unregister() also. This is only correct when
    the later wiphy_register() is called successfully, which apparently
    is not the case for your fw doesn't exist one.
    
    Signed-off-by: Zhu Yi <yi.zhu@xxxxxxxxx>
    Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>

Can you revert that and attempt to recreate?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux