Re: [BUG] hang with ath5k

Dave Young
2008-10-27T08:34:51Z

On Sat, Oct 25, 2008 at 6:40 AM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> On Thursday, 16 of October 2008, Dave Young wrote:
>> On Wed, Oct 15, 2008 at 11:58 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
>> > On 10/14/2008 10:42 AM, Dave Young wrote:
>> >> 1) run wpa_supplicant
>> >> 2) ctrl + C
>> >> 3) goto 1)
>> >
>> > It doesn't happen here. How many iterations in average you need to reproduce this?
>> >
>>
>> About 15 times for me,
>> BTW, wpa_gui running while testing
>
> Is this a regression from 2.6.26?
>
> Rafael
>

Test with 2.6.28-rc2, run
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf,
kernel warning triggered:

[ 1648.091084] ------------[ cut here ]------------
[ 1648.091090] WARNING: at net/mac80211/rx.c:2201
__ieee80211_rx+0x1d0/0x5f0 [mac80211]()
[ 1648.091094] Modules linked in: rfcomm l2cap bluetooth container
fuse ath5k mac80211 led_class psmouse serio_raw sg cfg80211 e100 mii
intel_agp agpgart thermal button processor thermal_sys evdev
[ 1648.091127] Pid: 0, comm: swapper Not tainted 2.6.28-rc1-smp #15
[ 1648.091130] Call Trace:
[ 1648.091140] [<c01318a9>] warn_on_slowpath+0x59/0x80
[ 1648.091148] [<c01a15a6>] ? check_bytes_and_report+0x26/0xd0
[ 1648.091155] [<c03f2b06>] ? __kfree_skb+0x36/0x90
[ 1648.091160] [<c0157bff>] ? validate_chain+0xbf/0xea0
[ 1648.091165] [<c03f2b06>] ? __kfree_skb+0x36/0x90
[ 1648.091170] [<c0158c8a>] ? __lock_acquire+0x2aa/0x9a0
[ 1648.091187] [<e01b7640>] __ieee80211_rx+0x1d0/0x5f0 [mac80211]
[ 1648.091199] [<e017a001>] ? ath5k_hw_get_tsf64+0x51/0x90 [ath5k]
[ 1648.091205] [<c0476e0e>] ? _spin_lock+0x5e/0x70
[ 1648.091215] [<e01815f8>] ath5k_tasklet_rx+0x2f8/0x6b0 [ath5k]
[ 1648.091221] [<c0158c8a>] ? __lock_acquire+0x2aa/0x9a0
[ 1648.091227] [<c0137173>] tasklet_action+0x53/0xd0
[ 1648.091232] [<c01368e7>] __do_softirq+0xa7/0x170
[ 1648.091237] [<c0136a15>] do_softirq+0x65/0x70
[ 1648.091242] [<c0136eb7>] irq_exit+0x77/0x90
[ 1648.091247] [<c0106756>] do_IRQ+0x96/0xc0
[ 1648.091252] [<c0104a0c>] common_interrupt+0x28/0x30
[ 1648.091258] [<c015007b>] ? timer_list_show+0x14b/0xd70
[ 1648.091263] [<c010b0a2>] ? default_idle+0x42/0x60
[ 1648.091267] [<c010279e>] cpu_idle+0x6e/0xc0
[ 1648.091272] [<c04646f3>] rest_init+0x53/0x60
[ 1648.091276] ---[ end trace c0bb2248162783d9 ]---
[ 3856.835188] ------------[ cut here ]------------

--
Regards
dave