linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mac80211 : WARN at net/mac80211/rate.h:153
@ 2008-07-14  7:50 Dave Young
  2008-07-14 14:14 ` Michael Buesch
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Young @ 2008-07-14  7:50 UTC (permalink / raw)
  To: linux-wireless; +Cc: linux-kernel

Hi,
I get warnings when I run
dhcpcd wlan0
The driver using is ath5k

warnings like following:

------------[ cut here ]------------
WARNING: at net/mac80211/rate.h:153 rate_control_pid_rate_init+0x7a/0xa0 [mac80211]()
Modules linked in: radeon drm snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss rfcomm l2cap bluetooth vfat fuse snd_hda_intel ath5k mac80211 rtc_cmos rtc_core rtc_lib psmouse snd_pcm snd_timer snd_page_alloc snd_hwdep 3c59x intel_agp snd e100 cfg80211 i2c_i801 serio_raw mii soundcore agpgart thermal processor button thermal_sys evdev sg
Pid: 0, comm: swapper Tainted: G        W 2.6.26-smp #1
 [<c0127954>] warn_on_slowpath+0x54/0x70
 [<c0177000>] ? print_trailer+0xa0/0xf0
 [<c0177071>] ? check_bytes_and_report+0x21/0xc0
 [<c0177452>] ? check_object+0xe2/0x1e0
 [<c0178117>] ? __slab_alloc+0x3a7/0x4c0
 [<f8d6a196>] ? rate_control_pid_alloc_sta+0x16/0x50 [mac80211]
 [<f8d6a2ba>] rate_control_pid_rate_init+0x7a/0xa0 [mac80211]
 [<f8d4fcf7>] ieee80211_ibss_add_sta+0xc7/0x110 [mac80211]
 [<f8d5a377>] __ieee80211_rx_handle_packet+0x417/0x7b0 [mac80211]
 [<c0177071>] ? check_bytes_and_report+0x21/0xc0
 [<f8d5c845>] __ieee80211_rx+0x185/0x560 [mac80211]
 [<c0109769>] ? read_tsc+0x9/0x30
 [<f89199dc>] ? ath5k_hw_get_tsf64+0x4c/0x90 [ath5k]
 [<f89161e3>] ath5k_tasklet_rx+0xf3/0x710 [ath5k]
 [<c0141f1d>] ? clocksource_get_next+0x3d/0x50
 [<c01408ad>] ? update_wall_time+0x28d/0x800
 [<f8919712>] ? ath5k_hw_is_intr_pending+0x22/0x50 [ath5k]
 [<c012d019>] tasklet_action+0x49/0xb0
 [<c012cae6>] __do_softirq+0x76/0xf0
 [<c012cb9b>] do_softirq+0x3b/0x50
 [<c012cf5c>] irq_exit+0x5c/0x70
 [<c0106995>] do_IRQ+0x45/0x80
 [<c012cf55>] ? irq_exit+0x55/0x70
 [<c011288b>] ? smp_apic_timer_interrupt+0x5b/0x90
 [<c010a220>] ? mwait_idle+0x0/0x40
 [<c0104623>] common_interrupt+0x23/0x28
 [<c010a220>] ? mwait_idle+0x0/0x40
 [<c010a252>] ? mwait_idle+0x32/0x40
 [<c01026db>] cpu_idle+0x5b/0xc0
 [<c042054e>] rest_init+0x4e/0x60
 =======================
---[ end trace de545485c8f84982 ]---

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac80211 : WARN at net/mac80211/rate.h:153
  2008-07-14  7:50 mac80211 : WARN at net/mac80211/rate.h:153 Dave Young
@ 2008-07-14 14:14 ` Michael Buesch
  2008-07-14 17:17   ` Mattias Nissler
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Buesch @ 2008-07-14 14:14 UTC (permalink / raw)
  To: Dave Young; +Cc: linux-wireless, linux-kernel, Stefano Brivio, Mattias Nissler

CCing PID guys.
I've seen several people hitting this. What's the meaning of this warning?

On Monday 14 July 2008 09:50:10 Dave Young wrote:
> Hi,
> I get warnings when I run
> dhcpcd wlan0
> The driver using is ath5k
> 
> warnings like following:
> 
> ------------[ cut here ]------------
> WARNING: at net/mac80211/rate.h:153 rate_control_pid_rate_init+0x7a/0xa0 [mac80211]()
> Modules linked in: radeon drm snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss rfcomm l2cap bluetooth vfat fuse snd_hda_intel ath5k mac80211 rtc_cmos rtc_core rtc_lib psmouse snd_pcm snd_timer snd_page_alloc snd_hwdep 3c59x intel_agp snd e100 cfg80211 i2c_i801 serio_raw mii soundcore agpgart thermal processor button thermal_sys evdev sg
> Pid: 0, comm: swapper Tainted: G        W 2.6.26-smp #1
>  [<c0127954>] warn_on_slowpath+0x54/0x70
>  [<c0177000>] ? print_trailer+0xa0/0xf0
>  [<c0177071>] ? check_bytes_and_report+0x21/0xc0
>  [<c0177452>] ? check_object+0xe2/0x1e0
>  [<c0178117>] ? __slab_alloc+0x3a7/0x4c0
>  [<f8d6a196>] ? rate_control_pid_alloc_sta+0x16/0x50 [mac80211]
>  [<f8d6a2ba>] rate_control_pid_rate_init+0x7a/0xa0 [mac80211]
>  [<f8d4fcf7>] ieee80211_ibss_add_sta+0xc7/0x110 [mac80211]
>  [<f8d5a377>] __ieee80211_rx_handle_packet+0x417/0x7b0 [mac80211]
>  [<c0177071>] ? check_bytes_and_report+0x21/0xc0
>  [<f8d5c845>] __ieee80211_rx+0x185/0x560 [mac80211]
>  [<c0109769>] ? read_tsc+0x9/0x30
>  [<f89199dc>] ? ath5k_hw_get_tsf64+0x4c/0x90 [ath5k]
>  [<f89161e3>] ath5k_tasklet_rx+0xf3/0x710 [ath5k]
>  [<c0141f1d>] ? clocksource_get_next+0x3d/0x50
>  [<c01408ad>] ? update_wall_time+0x28d/0x800
>  [<f8919712>] ? ath5k_hw_is_intr_pending+0x22/0x50 [ath5k]
>  [<c012d019>] tasklet_action+0x49/0xb0
>  [<c012cae6>] __do_softirq+0x76/0xf0
>  [<c012cb9b>] do_softirq+0x3b/0x50
>  [<c012cf5c>] irq_exit+0x5c/0x70
>  [<c0106995>] do_IRQ+0x45/0x80
>  [<c012cf55>] ? irq_exit+0x55/0x70
>  [<c011288b>] ? smp_apic_timer_interrupt+0x5b/0x90
>  [<c010a220>] ? mwait_idle+0x0/0x40
>  [<c0104623>] common_interrupt+0x23/0x28
>  [<c010a220>] ? mwait_idle+0x0/0x40
>  [<c010a252>] ? mwait_idle+0x32/0x40
>  [<c01026db>] cpu_idle+0x5b/0xc0
>  [<c042054e>] rest_init+0x4e/0x60
>  =======================
> ---[ end trace de545485c8f84982 ]---
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 



-- 
Greetings Michael.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac80211 : WARN at net/mac80211/rate.h:153
  2008-07-14 14:14 ` Michael Buesch
@ 2008-07-14 17:17   ` Mattias Nissler
  2008-07-15  5:51     ` Dave Young
  0 siblings, 1 reply; 6+ messages in thread
From: Mattias Nissler @ 2008-07-14 17:17 UTC (permalink / raw)
  To: Michael Buesch; +Cc: Dave Young, linux-wireless, linux-kernel, Stefano Brivio

On Mon, 2008-07-14 at 16:14 +0200, Michael Buesch wrote:
> CCing PID guys.
> I've seen several people hitting this. What's the meaning of this warning?

It basically means the rate control cannot find any rate in
local->hw.wiphy->bands[local->hw.conf.channel->band] that is supported
by the sta in question. Normally this should not happen. I guess the
reason is that the supported rates bits in the sta info are all zero,
which would probably be a bug. I haven't seen this here, but I don't use
the IBSS code either. To further investigate this, you could the
following just before the WARN_ON:

printk(KERN_DEBUG "supported rates bitmask: %08x\n",
	sta->supp_rates[sband->band]);

Mattias


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac80211 : WARN at net/mac80211/rate.h:153
  2008-07-14 17:17   ` Mattias Nissler
@ 2008-07-15  5:51     ` Dave Young
  2008-07-15  6:14       ` Vladimir Koutny
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Young @ 2008-07-15  5:51 UTC (permalink / raw)
  To: Mattias Nissler
  Cc: Michael Buesch, linux-wireless, linux-kernel, Stefano Brivio

On Tue, Jul 15, 2008 at 1:17 AM, Mattias Nissler <mattias.nissler@gmx.de> wrote:
> On Mon, 2008-07-14 at 16:14 +0200, Michael Buesch wrote:
>> CCing PID guys.
>> I've seen several people hitting this. What's the meaning of this warning?
>
> It basically means the rate control cannot find any rate in
> local->hw.wiphy->bands[local->hw.conf.channel->band] that is supported
> by the sta in question. Normally this should not happen. I guess the
> reason is that the supported rates bits in the sta info are all zero,
> which would probably be a bug. I haven't seen this here, but I don't use
> the IBSS code either. To further investigate this, you could the
> following just before the WARN_ON:
>
> printk(KERN_DEBUG "supported rates bitmask: %08x\n",
>        sta->supp_rates[sband->band]);

Yes, as you said, I get:

supported rates bitmask: 00000000

>
> Mattias
>
>



-- 
Regards
dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac80211 : WARN at net/mac80211/rate.h:153
  2008-07-15  5:51     ` Dave Young
@ 2008-07-15  6:14       ` Vladimir Koutny
  2008-08-12 14:06         ` Tomas Winkler
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Koutny @ 2008-07-15  6:14 UTC (permalink / raw)
  To: Dave Young
  Cc: Mattias Nissler, Michael Buesch, linux-wireless, linux-kernel,
	Stefano Brivio

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

Dave Young wrote:
> On Tue, Jul 15, 2008 at 1:17 AM, Mattias Nissler <mattias.nissler@gmx.de> wrote:
>> On Mon, 2008-07-14 at 16:14 +0200, Michael Buesch wrote:
>>> CCing PID guys.
>>> I've seen several people hitting this. What's the meaning of this warning?
>> It basically means the rate control cannot find any rate in
>> local->hw.wiphy->bands[local->hw.conf.channel->band] that is supported
>> by the sta in question. Normally this should not happen. I guess the
>> reason is that the supported rates bits in the sta info are all zero,
>> which would probably be a bug. I haven't seen this here, but I don't use
>> the IBSS code either. To further investigate this, you could the
>> following just before the WARN_ON:


This has been solved already:

http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=commitdiff;h=def5e9a210235d690e79ae660972792860568421

Vlado

>>
>> printk(KERN_DEBUG "supported rates bitmask: %08x\n",
>>        sta->supp_rates[sband->band]);
> 
> Yes, as you said, I get:
> 
> supported rates bitmask: 00000000
> 
>> Mattias
>>
>>
> 
> 
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 378 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac80211 : WARN at net/mac80211/rate.h:153
  2008-07-15  6:14       ` Vladimir Koutny
@ 2008-08-12 14:06         ` Tomas Winkler
  0 siblings, 0 replies; 6+ messages in thread
From: Tomas Winkler @ 2008-08-12 14:06 UTC (permalink / raw)
  To: Vladimir Koutny
  Cc: Dave Young, Mattias Nissler, Michael Buesch, linux-wireless,
	linux-kernel, Stefano Brivio

On Tue, Jul 15, 2008 at 9:14 AM, Vladimir Koutny <vlado@work.ksp.sk> wrote:
> Dave Young wrote:
>> On Tue, Jul 15, 2008 at 1:17 AM, Mattias Nissler <mattias.nissler@gmx.de> wrote:
>>> On Mon, 2008-07-14 at 16:14 +0200, Michael Buesch wrote:
>>>> CCing PID guys.
>>>> I've seen several people hitting this. What's the meaning of this warning?
>>> It basically means the rate control cannot find any rate in
>>> local->hw.wiphy->bands[local->hw.conf.channel->band] that is supported
>>> by the sta in question. Normally this should not happen. I guess the
>>> reason is that the supported rates bits in the sta info are all zero,
>>> which would probably be a bug. I haven't seen this here, but I don't use
>>> the IBSS code either. To further investigate this, you could the
>>> following just before the WARN_ON:
>
>
> This has been solved already:
>
> http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=commitdiff;h=def5e9a210235d690e79ae660972792860568421
>
> Vlado

This pacth is wrong it causes that all IBSS traffic is transmitted
rate of BEACON (1MBit) , which is pretty bad performance like. We are
working on possible fixes.
Tomas

>>
>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-12 14:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14  7:50 mac80211 : WARN at net/mac80211/rate.h:153 Dave Young
2008-07-14 14:14 ` Michael Buesch
2008-07-14 17:17   ` Mattias Nissler
2008-07-15  5:51     ` Dave Young
2008-07-15  6:14       ` Vladimir Koutny
2008-08-12 14:06         ` Tomas Winkler

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).