Skip to contentSkip to conversation

minstrel_tx_status mac80211 WARNINGs in vanilla 2.6.34.1

PATCH New Sven Geggus 3 participants 4 messages Jul 22, 2010 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hello,

running vanilla 2.6.34.1 I get the following warnings in kernel log:

WARNING: at net/mac80211/rc80211_minstrel.c:70 minstrel_tx_status+0x67/0xd1 [mac80211]()
Hardware name: SCENIC E300/E600
Modules linked in: i915 drm_kms_helper drm video backlight output lp loop

snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy zd1211rw snd_seq_oss usbhid mac80211 option cfg80211 snd_seq_midi usbserial snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd parport_pc ehci_hcd uhci_hcd soundcore intel_agp parport usbcore nls_base snd_page_alloc agpgart rng_core floppy sg
Pid: 0, comm: swapper Tainted: G W 2.6.34.1 #3

Call Trace:
 [<c102af25>] warn_slowpath_common+0x60/0x90
 [<c102af62>] warn_slowpath_null+0xd/0x10
 [<f83cbd48>] minstrel_tx_status+0x67/0xd1 [mac80211]
 [<f83b6eb1>] ieee80211_tx_status+0x1f6/0x5ac [mac80211]
 [<c1261533>] ? skb_dequeue+0x45/0x4c
 [<f83b6896>] ieee80211_tasklet_handler+0x61/0xd6 [mac80211]
 [<c102ed7d>] tasklet_action+0x62/0x9f
 [<c102f331>] __do_softirq+0x77/0xe5
 [<c102f3c5>] do_softirq+0x26/0x2b
 [<c102f52f>] irq_exit+0x29/0x66
 [<c1003e90>] do_IRQ+0x85/0x9b
 [<c1002d29>] common_interrupt+0x29/0x30
 [<c10083ac>] ? default_idle+0x2d/0x42
 [<c1001a9b>] cpu_idle+0x44/0x71
 [<c12e00de>] rest_init+0x96/0x98
 [<c1498862>] start_kernel+0x2a5/0x2aa
 [<c14980b7>] i386_start_kernel+0xb7/0xbf
---[ end trace f22ceacef336878f ]---

Wireless driver is zd1211rw.

Did not test with older kernel because this device has not been in user on this machine before.

WLAN does however seem to work anyway.

Regards

Sven

Signature · 4 lines
The source code is not comprehensible
                 (found in bug section of man 8 telnetd on Redhat Linux)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web
#1 lore raw
Quoted 33 lines · Sven Geggus

Hello,

running vanilla 2.6.34.1 I get the following warnings in kernel log:

WARNING: at net/mac80211/rc80211_minstrel.c:70 minstrel_tx_status+0x67/0xd1 [mac80211]()
Hardware name: SCENIC E300/E600
Modules linked in: i915 drm_kms_helper drm video backlight output lp loop

snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy zd1211rw snd_seq_oss usbhid mac80211 option cfg80211 snd_seq_midi usbserial snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd parport_pc ehci_hcd uhci_hcd soundcore intel_agp parport usbcore nls_base snd_page_alloc agpgart rng_core floppy sg
Pid: 0, comm: swapper Tainted: G W 2.6.34.1 #3

Call Trace:
 [<c102af25>] warn_slowpath_common+0x60/0x90
 [<c102af62>] warn_slowpath_null+0xd/0x10
 [<f83cbd48>] minstrel_tx_status+0x67/0xd1 [mac80211]
 [<f83b6eb1>] ieee80211_tx_status+0x1f6/0x5ac [mac80211]
 [<c1261533>] ? skb_dequeue+0x45/0x4c
 [<f83b6896>] ieee80211_tasklet_handler+0x61/0xd6 [mac80211]
 [<c102ed7d>] tasklet_action+0x62/0x9f
 [<c102f331>] __do_softirq+0x77/0xe5
 [<c102f3c5>] do_softirq+0x26/0x2b
 [<c102f52f>] irq_exit+0x29/0x66
 [<c1003e90>] do_IRQ+0x85/0x9b
 [<c1002d29>] common_interrupt+0x29/0x30
 [<c10083ac>] ? default_idle+0x2d/0x42
 [<c1001a9b>] cpu_idle+0x44/0x71
 [<c12e00de>] rest_init+0x96/0x98
 [<c1498862>] start_kernel+0x2a5/0x2aa
 [<c14980b7>] i386_start_kernel+0xb7/0xbf
---[ end trace f22ceacef336878f ]---
Quoted 6 lines

Wireless driver is zd1211rw.

Did not test with older kernel because this device has not been in user on this machine before.

WLAN does however seem to work anyway.

Well, I just took a quick look -- so, I'm not 100% sure...

But, it looks to me like zd1211rw is reporting tx status on a rate that minstrel didn't expect it to use. It seems like the hardware is pre-wired to do retries on sequentially lower rates, which seems a bit incompatible with minstrel's worldview.

Felix, can we accomodate this? The "WLAN does however seem to work anyway" seems to suggest things work, so can we at least not yell about it?

Thanks,

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 43 lines · John W. Linville
Quoted 33 lines · Sven Geggus

Hello,

running vanilla 2.6.34.1 I get the following warnings in kernel log:

WARNING: at net/mac80211/rc80211_minstrel.c:70 minstrel_tx_status+0x67/0xd1 [mac80211]()
Hardware name: SCENIC E300/E600
Modules linked in: i915 drm_kms_helper drm video backlight output lp loop

snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy zd1211rw snd_seq_oss usbhid mac80211 option cfg80211 snd_seq_midi usbserial snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd parport_pc ehci_hcd uhci_hcd soundcore intel_agp parport usbcore nls_base snd_page_alloc agpgart rng_core floppy sg
Pid: 0, comm: swapper Tainted: G W 2.6.34.1 #3

Call Trace:
 [<c102af25>] warn_slowpath_common+0x60/0x90
 [<c102af62>] warn_slowpath_null+0xd/0x10
 [<f83cbd48>] minstrel_tx_status+0x67/0xd1 [mac80211]
 [<f83b6eb1>] ieee80211_tx_status+0x1f6/0x5ac [mac80211]
 [<c1261533>] ? skb_dequeue+0x45/0x4c
 [<f83b6896>] ieee80211_tasklet_handler+0x61/0xd6 [mac80211]
 [<c102ed7d>] tasklet_action+0x62/0x9f
 [<c102f331>] __do_softirq+0x77/0xe5
 [<c102f3c5>] do_softirq+0x26/0x2b
 [<c102f52f>] irq_exit+0x29/0x66
 [<c1003e90>] do_IRQ+0x85/0x9b
 [<c1002d29>] common_interrupt+0x29/0x30
 [<c10083ac>] ? default_idle+0x2d/0x42
 [<c1001a9b>] cpu_idle+0x44/0x71
 [<c12e00de>] rest_init+0x96/0x98
 [<c1498862>] start_kernel+0x2a5/0x2aa
 [<c14980b7>] i386_start_kernel+0xb7/0xbf
---[ end trace f22ceacef336878f ]---
Quoted 6 lines

Wireless driver is zd1211rw.

Did not test with older kernel because this device has not been in user on this machine before.

WLAN does however seem to work anyway.

Well, I just took a quick look -- so, I'm not 100% sure...

Quoted 8 lines

But, it looks to me like zd1211rw is reporting tx status on a rate that minstrel didn't expect it to use. It seems like the hardware is pre-wired to do retries on sequentially lower rates, which seems a bit incompatible with minstrel's worldview.

Felix, can we accomodate this? The "WLAN does however seem to work anyway" seems to suggest things work, so can we at least not yell about it?

I think we should just drop that WARN_ON(). It's not problematic if minstrel gets feedback for rates that it doesn't have in its list, it should just ignore it.

- Felix
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

PATCH 1/1 minstrel: don't complain about feedback for unrequested rates

"It's not problematic if minstrel gets feedback for rates that it doesn't have in its list, it should just ignore it. - Felix"

---
 net/mac80211/rc80211_minstrel.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
net/mac80211/rc80211_minstrel.c +0 -1
index f65ce6d..778c604 100644
@@ -67,7 +67,6 @@ rix_to_ndx(struct minstrel_sta_info *mi, int rix)
 	for (i = rix; i >= 0; i--)
 		if (mi->r[i].rix == rix)
 			break;
-	WARN_ON(i < 0);
 	return i;
 }
 
Signature · 1 line
1.7.1.1