2008-11-06 15:50:44

by Matt Mackall

[permalink] [raw]
Subject: iwlagn: wrong command queue 31, command id 0x0

As of 75fa67706cce5272bcfc51ed646f2da21f3bdb6e, I'm seeing this:

[ 5470.869820] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1204
iwl_rx_handle+0x11a/0x21b [iwlagn]()
[ 5470.869824] wrong command queue 31, command id 0x0
[ 5470.869827] Modules linked in: nls_utf8 hfsplus usb_storage uvcvideo
compat_ioctl32 videodev v4l1_compat iwlagn snd_hda_intel sdhci_pci
ehci_hcd uhci_hcd
[ 5470.869850] Pid: 0, comm: swapper Tainted: G W 2.6.28-rc3 #39
[ 5470.869854] Call Trace:
[ 5470.869858] <IRQ> [<ffffffff8024fc7e>] warn_slowpath+0xb4/0xda
[ 5470.869873] [<ffffffff803559cd>] __next_cpu+0x19/0x26
[ 5470.869885] [<ffffffffa009b032>] iwl_rx_handle+0x11a/0x21b [iwlagn]
[ 5470.869896] [<ffffffffa009b335>] iwl4965_irq_tasklet+0x202/0x2b4
[iwlagn]
[ 5470.869906] [<ffffffffa0097592>] iwl4965_isr+0x21/0x101 [iwlagn]
[ 5470.869912] [<ffffffff80254459>] tasklet_action+0x89/0xf1
[ 5470.869918] [<ffffffff80254c6b>] __do_softirq+0x8e/0x163
[ 5470.869925] [<ffffffff8022674c>] call_softirq+0x1c/0x28
[ 5470.869930] [<ffffffff80227db5>] do_softirq+0x45/0xa5
[ 5470.869935] [<ffffffff802547a5>] irq_exit+0x4e/0x94
[ 5470.869946] [<ffffffff8022802d>] do_IRQ+0xc2/0xe1
[ 5470.869950] [<ffffffff80225338>] ret_from_intr+0x0/0x2e
[ 5470.869953] <EOI> [<ffffffff80265663>] ktime_get_ts+0x21/0x4a
[ 5470.869963] [<ffffffff80391123>] acpi_idle_enter_bm+0x2ca/0x35c
[ 5470.869968] [<ffffffff8039112b>] acpi_idle_enter_bm+0x2d2/0x35c
[ 5470.869973] [<ffffffff80391123>] acpi_idle_enter_bm+0x2ca/0x35c
[ 5470.869979] [<ffffffff80435f0e>] cpuidle_idle_call+0x90/0xce
[ 5470.869985] [<ffffffff80223ec0>] cpu_idle+0x56/0x9a
[ 5470.869988] ---[ end trace cacb4f9954dd9364 ]---

Device is a 4965:

14:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or
AGN [Kedron] Network Connection (rev 61)

--
Mathematics is the supreme nostalgia of our time.



2008-11-06 17:07:04

by Reinette Chatre

[permalink] [raw]
Subject: Re: iwlagn: wrong command queue 31, command id 0x0

On Wed, 2008-11-05 at 20:16 -0800, Matt Mackall wrote:
> As of 75fa67706cce5272bcfc51ed646f2da21f3bdb6e, I'm seeing this:
>
> [ 5470.869820] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1204
> iwl_rx_handle+0x11a/0x21b [iwlagn]()
> [ 5470.869824] wrong command queue 31, command id 0x0

This is a known issue that is being tracked at
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703

Reinette


2008-11-07 01:13:13

by Zhu Yi

[permalink] [raw]
Subject: Re: iwlagn: wrong command queue 31, command id 0x0

On Thu, 2008-11-06 at 12:16 +0800, Matt Mackall wrote:
> As of 75fa67706cce5272bcfc51ed646f2da21f3bdb6e, I'm seeing this:

On which git repo? I couldn't find the commit on either linux-2.6 or
wireless-testing/-2.6.

Thanks,
-yi


2008-11-07 06:06:18

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: iwlagn: wrong command queue 31, command id 0x0

On Thu, Nov 6, 2008 at 9:58 PM, Matt Mackall <[email protected]> wrote:
> On Fri, 2008-11-07 at 05:40 +0100, Marcel Holtmann wrote:
>> Hi Matt,
>>
>> > [ 5470.869820] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1204
>> > iwl_rx_handle+0x11a/0x21b [iwlagn]()
>> > [ 5470.869824] wrong command queue 31, command id 0x0
>>
>> I am seeing this a lot with my X61 running a 64-bit kernel/OS and my D-
>> Link DIR-615 access point. With some other access points I am seeing
>> it never or a lot less.
>
>> What kind of laptop and access point are you using? Is you access
>> point 802.11n capable? Do you run the i386 or x86_64 version of your
>> distro?
>
> Laptop is a Fujitsu 8010p. I've tried this with kernel only once with a
> G-capable Airport (with various other unknown access points in range),
> but it failed to find any networks. 64-bit kernel and Debian unstable.
>
> 2.6.27 mostly works fine here, though occasionally I need to load/unload
> iwlagn after s2ram.

FWIW I get this on 32 bit kernel, wireless-testing, 11G AP, and it
happens a lot. But its a very noisy environment.

Luis

2008-11-07 04:37:20

by Marcel Holtmann

[permalink] [raw]
Subject: Re: iwlagn: wrong command queue 31, command id 0x0

Hi Yi,

>> As of 75fa67706cce5272bcfc51ed646f2da21f3bdb6e, I'm seeing this:
>
> On which git repo? I couldn't find the commit on either linux-2.6 or
> wireless-testing/-2.6.

don't bother trying to track down the exact commit. This bug has been
introduced sometime between 2.6.26 and 2.6.27 and was originally a BUG
that crashed your machine. My last working kernel without this problem
was the Ubuntu 8.04 kernel.

So starting with 2.6.28-rc1, Johannes turned the BUG into a WARN_ON
and now we do actually see the issue and the code in question. Check
kerneloops.org for reference since I did post all of my warnings there.

Regards

Marcel


2008-11-07 04:40:44

by Marcel Holtmann

[permalink] [raw]
Subject: Re: iwlagn: wrong command queue 31, command id 0x0

Hi Matt,

> [ 5470.869820] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1204
> iwl_rx_handle+0x11a/0x21b [iwlagn]()
> [ 5470.869824] wrong command queue 31, command id 0x0

I am seeing this a lot with my X61 running a 64-bit kernel/OS and my D-
Link DIR-615 access point. With some other access points I am seeing
it never or a lot less.

What kind of laptop and access point are you using? Is you access
point 802.11n capable? Do you run the i386 or x86_64 version of your
distro?

Regards

Marcel


2008-11-07 01:23:39

by Matt Mackall

[permalink] [raw]
Subject: Re: iwlagn: wrong command queue 31, command id 0x0

On Fri, 2008-11-07 at 09:13 +0800, Zhu Yi wrote:
> On Thu, 2008-11-06 at 12:16 +0800, Matt Mackall wrote:
> > As of 75fa67706cce5272bcfc51ed646f2da21f3bdb6e, I'm seeing this:
>
> On which git repo? I couldn't find the commit on either linux-2.6 or
> wireless-testing/-2.6.

Appears to be the head of Linus' tree:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=75fa67706cce5272bcfc51ed646f2da21f3bdb6e

--
Mathematics is the supreme nostalgia of our time.


2008-11-07 05:58:50

by Matt Mackall

[permalink] [raw]
Subject: Re: iwlagn: wrong command queue 31, command id 0x0

On Fri, 2008-11-07 at 05:40 +0100, Marcel Holtmann wrote:
> Hi Matt,
>
> > [ 5470.869820] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1204
> > iwl_rx_handle+0x11a/0x21b [iwlagn]()
> > [ 5470.869824] wrong command queue 31, command id 0x0
>
> I am seeing this a lot with my X61 running a 64-bit kernel/OS and my D-
> Link DIR-615 access point. With some other access points I am seeing
> it never or a lot less.

> What kind of laptop and access point are you using? Is you access
> point 802.11n capable? Do you run the i386 or x86_64 version of your
> distro?

Laptop is a Fujitsu 8010p. I've tried this with kernel only once with a
G-capable Airport (with various other unknown access points in range),
but it failed to find any networks. 64-bit kernel and Debian unstable.

2.6.27 mostly works fine here, though occasionally I need to load/unload
iwlagn after s2ram.

--
Mathematics is the supreme nostalgia of our time.