Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2006 14:27:29 -0500
From:      Reid Linnemann <lreid@cs.okstate.edu>
To:        Sam Leffler <sam@errno.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: atheros 'device timeout'
Message-ID:  <4496FAA1.90900@cs.okstate.edu>
In-Reply-To: <4493737D.80704@errno.com>
References:  <20060615225419.D0494A0631@a.cs.okstate.edu> <4493737D.80704@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As was spoken by Sam Leffler on 06/16/06 22:14~
> Reid Linnemann wrote:
>> On 6/14/2006, "Sam Leffler" <sam@errno.com> wrote:
>>> Reid Linnemann wrote:
>>>> Thanks Sam, I've disabled power save mode in both wireless windows
>>>> clients and I'll see if the problem lightens up. Also, do you know why
>>>> device timeouts would be spat out by the driver when no stations are
>>>> associated with the AP? The device timeouts persisted after my clients
>>>> were shut down, and no other stations appear to be in the area.
>>> No idea.  The problem with buffered mcast frames is because the h/w xmit
>>> queue for the frames stops running and blocks the lower priority queues
>>> causing the watchdog timer to fire (and generate the device timeout
>>> msg).  I'm pretty sure this is a race between ath_tx_start and
>>> ath_beacon_proc but I've not had time to rework the code and test (this
>>> problem does not exist in the linux version but it's structured very
>>> differently).  If no clients are associated (or associated w/ power save
>>> enabled) then no frames should be buffered and this problem should not
>>> occur.  To debug you can enable reset msgs in the driver (athdebug
>>> reset) and look to see what h/w q the frame(s) were on when the reset
>>> was done.  Note that to do that you must enable ATH_DEBUG.
>>>
>>> 	Sam

Sam,
   I grabbed a clean 6-STABLE tree today, recompile, and I got another 
timeout captured. The debug output does look slightly different:

ath0: device timeout
ath_draintxq: beacon queue 0x3e9ab000
ath_tx_stopdma: tx queue [0] 0, link 0
ath_tx_stopdma: tx queue [1] 0x3e9af0c0, link 0xed0d80f0
ath_tx_stopdma: tx queue [2] 0, link 0
ath_tx_stopdma: tx queue [3] 0, link 0
ath_tx_stopdma: tx queue [8] 0, link 0
Q1[  0] (DS.V:0xed0dd700 DS.P:0x3e9b4700) L:3e9b4730 D:3e624836 F:043
01240110 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0dd730 DS.P:0x3e9b4730) L:3e9b4e80 D:30bcf00e F:043
00000000 000000ec 00010000 0000001b f1710001 0000c6d1
Q1[  1] (DS.V:0xed0dde80 DS.P:0x3e9b4e80) L:3e9b4eb0 D:312f2036 F:043
0124011f 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0ddeb0 DS.P:0x3e9b4eb0) L:3e9b6500 D:307f500e F:043
00000000 000000fb 00010000 0000001b e5f20001 0000e883
Q1[  2] (DS.V:0xed0df500 DS.P:0x3e9b6500) L:3e9b6530 D:3e76b236 F:043
0124011f 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0df530 DS.P:0x3e9b6530) L:3e9b5ba0 D:310c800e F:043
00000000 000000fb 00010000 0000001b e5f50001 0000e885
Q1[  3] (DS.V:0xed0deba0 DS.P:0x3e9b5ba0) L:3e9b5bd0 D:30639836 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0debd0 DS.P:0x3e9b5bd0) L:3e9b5d80 D:3e62433e F:043
00000000 00000060 00010000 0000001b e6110001 0000e887
Q1[  4] (DS.V:0xed0ded80 DS.P:0x3e9b5d80) L:3e9b5db0 D:3e6aac36 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0dedb0 DS.P:0x3e9b5db0) L:3e9b6e60 D:3e76b43e F:043
00000000 00000060 00010000 0000001b e6130001 0000e889
Q1[  5] (DS.V:0xed0dfe60 DS.P:0x3e9b6e60) L:3e9b6e90 D:3e607136 F:0413
21240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0dfe90 DS.P:0x3e9b6e90) L:3e9b59c0 D:3e60733e F:0413
00000000 00000060 00010000 0000001b e6140001 0000e88b
Q1[  6] (DS.V:0xed0de9c0 DS.P:0x3e9b59c0) L:3e9b59f0 D:3e569336 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0de9f0 DS.P:0x3e9b59f0) L:3e9b6320 D:3e72583e F:043
00000000 00000060 00010000 0000001b e6150001 0000e88d
Q1[  7] (DS.V:0xed0df320 DS.P:0x3e9b6320) L:3e9b6350 D:3e569936 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0df350 DS.P:0x3e9b6350) L:3e9b6c80 D:30b3e03e F:043
00000000 00000060 00010000 0000001b e6160001 0000e88f
Q1[  8] (DS.V:0xed0dfc80 DS.P:0x3e9b6c80) L:3e9b6cb0 D:3077a136 F:043
0124011f 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0dfcb0 DS.P:0x3e9b6cb0) L:3e9b79a0 D:30eca80e F:043
00000000 000000fb 00010000 0000001b e6190001 0000e891
Q1[  9] (DS.V:0xed0e09a0 DS.P:0x3e9b79a0) L:3e9b79d0 D:3e725b36 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0e09d0 DS.P:0x3e9b79d0) L:3e9b7040 D:3e60783e F:043
00000000 00000060 00010000 0000001b edb70001 00002893
Q1[ 10] (DS.V:0xed0e0040 DS.P:0x3e9b7040) L:3e9b7070 D:3e607036 F:0413
21240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0e0070 DS.P:0x3e9b7070) L:3e9acb40 D:3e76b13e F:0413
00000000 00000060 00010000 0000001b edb80001 00002895
Q1[ 11] (DS.V:0xed0d5b40 DS.P:0x3e9acb40) L:3e9acb70 D:3e725636 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d5b70 DS.P:0x3e9acb70) L:3e9ac1e0 D:3e4a803e F:043
00000000 00000060 00010000 0000001b edb90001 00002897
Q1[ 12] (DS.V:0xed0d51e0 DS.P:0x3e9ac1e0) L:3e9ac210 D:3e624736 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d5210 DS.P:0x3e9ac210) L:3e9b77c0 D:3e569d3e F:043
00000000 00000060 00010000 0000001b edba0001 00002899
Q1[ 13] (DS.V:0xed0e07c0 DS.P:0x3e9b77c0) L:3e9b77f0 D:3e569536 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0e07f0 DS.P:0x3e9b77f0) L:3e9ad680 D:3e6aae3e F:043
00000000 00000060 00010000 0000001b edbc0001 0000289b
Q1[ 14] (DS.V:0xed0d6680 DS.P:0x3e9ad680) L:3e9ad6b0 D:3e6aad36 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d66b0 DS.P:0x3e9ad6b0) L:3e9ac780 D:3e6aa53e F:043
00000000 00000060 00010000 0000001b edbd0001 0000289d
Q1[ 15] (DS.V:0xed0d5780 DS.P:0x3e9ac780) L:3e9ac7b0 D:3e624d36 F:0413
21240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d57b0 DS.P:0x3e9ac7b0) L:3e9ac960 D:3e6aa43e F:0413
00000000 00000060 00010000 0000001b edbe0001 0000289f
Q1[ 16] (DS.V:0xed0d5960 DS.P:0x3e9ac960) L:3e9ac990 D:3e4a8936 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d5990 DS.P:0x3e9ac990) L:3e9ada40 D:3e4a8a3e F:043
00000000 00000060 00010000 0000001b edbf0001 000028a1
Q1[ 17] (DS.V:0xed0d6a40 DS.P:0x3e9ada40) L:3e9ada70 D:31096036 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d6a70 DS.P:0x3e9ada70) L:3e9ad2c0 D:3e4a823e F:043
00000000 00000060 00010000 0000001b edc10001 000028a3
Q1[ 18] (DS.V:0xed0d62c0 DS.P:0x3e9ad2c0) L:3e9ad2f0 D:3e607e36 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d62f0 DS.P:0x3e9ad2f0) L:3e9ad4a0 D:3e56643e F:043
00000000 00000060 00010000 0000001b edc20001 000028a5
Q1[ 19] (DS.V:0xed0d64a0 DS.P:0x3e9ad4a0) L:3e9ad4d0 D:3e4a8536 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d64d0 DS.P:0x3e9ad4d0) L:3e9ae580 D:308fb43e F:043
00000000 00000060 00010000 0000001b f55a0001 0000c8a7
Q1[ 20] (DS.V:0xed0d7580 DS.P:0x3e9ae580) L:3e9ae5b0 D:3e624e36 F:0413
21240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d75b0 DS.P:0x3e9ae5b0) L:3e9ae3a0 D:3e62493e F:0413
00000000 00000060 00010000 0000001b f55b0001 0000c8a9
Q1[ 21] (DS.V:0xed0d73a0 DS.P:0x3e9ae3a0) L:3e9ae3d0 D:3e725136 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d73d0 DS.P:0x3e9ae3d0) L:3e9ae1c0 D:3e4a8b3e F:043
00000000 00000060 00010000 0000001b f55c0001 0000c8ab
Q1[ 22] (DS.V:0xed0d71c0 DS.P:0x3e9ae1c0) L:3e9ae1f0 D:3e4c3936 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d71f0 DS.P:0x3e9ae1f0) L:3e9af0c0 D:30fef93e F:043
00000000 00000060 00010000 0000001b f55d0001 0000c8ad
Q1[ 23] (DS.V:0xed0d80c0 DS.P:0x3e9af0c0) L:3e9af0f0 D:3e569636 F:043
01240084 01001020 00010000 0000001b 00000000 00000000
(DS.V:0xed0d80f0 DS.P:0x3e9af0f0) L:00000000 D:311ae13e F:043
00000000 00000060 00010000 0000001b f55f0001 0000c8af
ath_stoprecv: rx queue 0x3e9c5750, link 0xed0c9750
R[ 0] (DS.V:0xed0c9000 DS.P:0x3e9c5000) L:3e9c5030 D:30de9800 !
00000000 00000800 1fed8000 58c31911
R[ 1] (DS.V:0xed0c9030 DS.P:0x3e9c5030) L:3e9c5060 D:30dd1800 !
00000000 00000800 102d8000 59761911
R[ 2] (DS.V:0xed0c9060 DS.P:0x3e9c5060) L:3e9c5090 D:30e57000 !
00000000 00000800 102d8000 5ae21911
R[ 3] (DS.V:0xed0c9090 DS.P:0x3e9c5090) L:3e9c50c0 D:30a57000 !
00000000 00000800 100d8000 4e9d1911
R[ 4] (DS.V:0xed0c90c0 DS.P:0x3e9c50c0) L:3e9c50f0 D:31129000 !
00000000 00000800 101d8000 611c1911
R[ 5] (DS.V:0xed0c90f0 DS.P:0x3e9c50f0) L:3e9c5120 D:30b1e000 !
00000000 00000800 1ffd8000 61c61911
R[ 6] (DS.V:0xed0c9120 DS.P:0x3e9c5120) L:3e9c5150 D:30c84800 !
00000000 00000800 100d8000 62761911
R[ 7] (DS.V:0xed0c9150 DS.P:0x3e9c5150) L:3e9c5180 D:307d5000 !
00000000 00000800 102d8000 63af1911
R[ 8] (DS.V:0xed0c9180 DS.P:0x3e9c5180) L:3e9c51b0 D:310b3800 !
00000000 00000800 102d8000 750c1911
R[ 9] (DS.V:0xed0c91b0 DS.P:0x3e9c51b0) L:3e9c51e0 D:30cc8000 !
00000000 00000800 100d8000 75fb1911
R[10] (DS.V:0xed0c91e0 DS.P:0x3e9c51e0) L:3e9c5210 D:30d2b800 !
00000000 00000800 1ffd8000 76b21911
R[11] (DS.V:0xed0c9210 DS.P:0x3e9c5210) L:3e9c5240 D:31070000 !
00000000 00000800 100d8000 77de1911
R[12] (DS.V:0xed0c9240 DS.P:0x3e9c5240) L:3e9c5270 D:309bd800 !
00000000 00000800 100d8000 18c71911
R[13] (DS.V:0xed0c9270 DS.P:0x3e9c5270) L:3e9c52a0 D:30afe000 !
00000000 00000800 1fcd8000 1b1f1911
R[14] (DS.V:0xed0c92a0 DS.P:0x3e9c52a0) L:3e9c52d0 D:312d2000 !
00000000 00000800 100d8000 070f1911
R[15] (DS.V:0xed0c92d0 DS.P:0x3e9c52d0) L:3e9c5300 D:309dc800 !
00000000 00000800 1ffd8000 07be1911
R[16] (DS.V:0xed0c9300 DS.P:0x3e9c5300) L:3e9c5330 D:310e4000 !
00000000 00000800 101d8000 08f11911
R[17] (DS.V:0xed0c9330 DS.P:0x3e9c5330) L:3e9c5360 D:30d38000 !
00000000 00000800 1fed8000 09991911
R[18] (DS.V:0xed0c9360 DS.P:0x3e9c5360) L:3e9c5390 D:30c8c000 !
00000000 00000800 1ffd8000 00c21911
R[19] (DS.V:0xed0c9390 DS.P:0x3e9c5390) L:3e9c53c0 D:30c53800 !
00000000 00000800 101d8000 01ad1911
R[20] (DS.V:0xed0c93c0 DS.P:0x3e9c53c0) L:3e9c53f0 D:306f4800 !
00000000 00000800 102d8000 027b1911
R[21] (DS.V:0xed0c93f0 DS.P:0x3e9c53f0) L:3e9c5420 D:30eea800 !
00000000 00000800 102d8000 035a1911
R[22] (DS.V:0xed0c9420 DS.P:0x3e9c5420) L:3e9c5450 D:30c36000 !
00000000 00000800 101d8000 27c11911
R[23] (DS.V:0xed0c9450 DS.P:0x3e9c5450) L:3e9c5480 D:311c6000 !
00000000 00000800 102d8000 29651911
R[24] (DS.V:0xed0c9480 DS.P:0x3e9c5480) L:3e9c54b0 D:31070800 !
00000000 00000800 102d8000 2a721911
R[25] (DS.V:0xed0c94b0 DS.P:0x3e9c54b0) L:3e9c54e0 D:30c67000 !
00000000 00000800 102d8000 10901911
R[26] (DS.V:0xed0c94e0 DS.P:0x3e9c54e0) L:3e9c5510 D:3126a800 !
00000000 00000800 101d8000 11cf1911
R[27] (DS.V:0xed0c9510 DS.P:0x3e9c5510) L:3e9c5540 D:30e9b800 !
00000000 00000800 102d8000 12ce1911
R[28] (DS.V:0xed0c9540 DS.P:0x3e9c5540) L:3e9c5570 D:310a8800 !
00000000 00000800 102d8000 13861911
R[29] (DS.V:0xed0c9570 DS.P:0x3e9c5570) L:3e9c55a0 D:30bbf000 !
00000000 00000800 1fed8000 7eb91911
R[30] (DS.V:0xed0c95a0 DS.P:0x3e9c55a0) L:3e9c55d0 D:30c35800 !
00000000 00000800 1ffd8000 30ef1911
R[31] (DS.V:0xed0c95d0 DS.P:0x3e9c55d0) L:3e9c5600 D:30dc9000 !
00000000 00000800 100d8000 31b81911
R[32] (DS.V:0xed0c9600 DS.P:0x3e9c5600) L:3e9c5630 D:30eea000 !
00000000 00000800 100d8000 32861911
R[33] (DS.V:0xed0c9630 DS.P:0x3e9c5630) L:3e9c5660 D:30f1c800 !
00000000 00000800 101d8000 332e1911
R[34] (DS.V:0xed0c9660 DS.P:0x3e9c5660) L:3e9c5690 D:30c94000 !
00000000 00000800 102d8000 33f41911
R[35] (DS.V:0xed0c9690 DS.P:0x3e9c5690) L:3e9c56c0 D:30baf800 !
00000000 00000800 1fed8000 09f41911
R[36] (DS.V:0xed0c96c0 DS.P:0x3e9c56c0) L:3e9c56f0 D:30a37000 !
00000000 00000800 1ffd8000 50c91915
R[37] (DS.V:0xed0c96f0 DS.P:0x3e9c56f0) L:3e9c5720 D:310ac000 !
00000000 00000800 102d8000 52791915
R[38] (DS.V:0xed0c9720 DS.P:0x3e9c5720) L:3e9c5750 D:30ef2800 !
00000000 00000800 1fed8000 53261915
R[39] (DS.V:0xed0c9750 DS.P:0x3e9c5750) L:3e9c5750 D:30f3c800 !
00000000 00000800 1fed8000 17861911

-- 
Reid Linnemann
Senior Systems Analyst
Oklahoma Department of CareerTech
405-743-5422
rlinn@okcareertech.org

-Ars longa, vita brevis-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4496FAA1.90900>