linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Holger Schurig <holgerschurig@gmail.com>
Cc: linux-wireless@vger.kernel.org, Zhu Yi <yi.zhu@intel.com>
Subject: Re: BUG: oops when "rmmod ipw2200"
Date: Thu, 5 Nov 2009 10:33:29 -0500	[thread overview]
Message-ID: <20091105153329.GB2817@tuxdriver.com> (raw)
In-Reply-To: <S1754043AbZKEPJ1/20091105150927Z+225@vger.kernel.org>

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@intel.com>
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@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>

Can you revert that and attempt to recreate?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

  reply	other threads:[~2009-11-05 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-05 14:59 BUG: oops when "rmmod ipw2200" Holger Schurig
2009-11-05 15:33 ` John W. Linville [this message]
2009-11-05 15:53   ` Holger Schurig
2009-11-09  9:30   ` Zhu Yi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091105153329.GB2817@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=holgerschurig@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=yi.zhu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).