2007-06-05 02:27:32

by Daniel Drake

[permalink] [raw]
Subject: mac80211 TX hangs up

Hi,

I've been seeing occasional problems on mac80211 where the connection is
lost. The same device has been used for many hours with the softmac
driver with no problems.

I just saw it again and confirmed that the device stops TXing when this
happens.

After observing this, I tried to scan, and this came up in the logs:

WARNING: at net/mac80211/ieee80211.c:1280 ieee80211_tx()
[<f02ad79f>] ieee80211_master_start_xmit+0x19b/0x4b2 [mac80211]
[<b011b334>] __wake_up_common+0x32/0x55
[<b011b891>] __wake_up+0x32/0x43
[<b02e6f54>] dev_hard_start_xmit+0x18a/0x1e9
[<b02f121c>] __qdisc_run+0xc5/0x190
[<b02e7cbd>] net_tx_action+0xa8/0xd0
[<b032ad2d>] wireless_nlevent_process+0x2a/0x31

The line of code in question is
WARN_ON(__ieee80211_queue_pending(local, control->queue));

This was with mac80211 from 2.6.22-rc3, but the problem has also been
seen with a recent wireless-dev.git.

Any ideas or other reports of this?

Thanks,
Daniel


2007-06-05 02:30:32

by Michael Wu

[permalink] [raw]
Subject: Re: mac80211 TX hangs up

On Monday 04 June 2007 19:26, Daniel Drake wrote:
> WARNING: at net/mac80211/ieee80211.c:1280 ieee80211_tx()
> [<f02ad79f>] ieee80211_master_start_xmit+0x19b/0x4b2 [mac80211]
> [<b011b334>] __wake_up_common+0x32/0x55
> [<b011b891>] __wake_up+0x32/0x43
> [<b02e6f54>] dev_hard_start_xmit+0x18a/0x1e9
> [<b02f121c>] __qdisc_run+0xc5/0x190
> [<b02e7cbd>] net_tx_action+0xa8/0xd0
> [<b032ad2d>] wireless_nlevent_process+0x2a/0x31
>
> The line of code in question is
> WARN_ON(__ieee80211_queue_pending(local, control->queue));
>
> This was with mac80211 from 2.6.22-rc3, but the problem has also been
> seen with a recent wireless-dev.git.
>
> Any ideas or other reports of this?
>
Do you have CONFIG_NET_SCHED on?

-Michael Wu


Attachments:
(No filename) (739.00 B)
(No filename) (189.00 B)
Download all attachments