Skip to contentSkip to conversation

iwlagn: wrong command queue 31, command id 0x0

DISCUSSION Matt Mackall 6 participants 8 messages Nov 6, 2008 – Nov 7, 2008

lore
Share & tools
lore
#0 lore raw

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)

Signature · 1 line
Mathematics is the supreme nostalgia of our time.
#2 lore raw
In reply to Matt Mackall
Quoted 1 line · Matt Mackall

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

#4 lore raw
In reply to Zhu Yi

Hi Yi,

Quoted 4 lines
Quoted 1 line

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

#5 lore raw
In reply to Matt Mackall

Hi Matt,

Quoted 3 lines
[ 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

#6 lore raw
Quoted 6 lines · Marcel Holtmann

Hi Matt,

Quoted 3 lines
[ 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
Quoted 7 lines

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.

Signature · 1 line
Mathematics is the supreme nostalgia of our time.
#7 lore raw
Quoted 15 lines · Matt Mackall
Quoted 6 lines · Marcel Holtmann

Hi Matt,

Quoted 3 lines
[ 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
Quoted 7 lines

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?

Quoted 6 lines

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