Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2006 17:54:19 -0500 (CDT)
From:      "Reid Linnemann" <lreid@cs.okstate.edu>
To:        sam@errno.com
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: atheros 'device timeout'
Message-ID:  <20060615225419.D0494A0631@a.cs.okstate.edu>
In-Reply-To: <449039F6.1000703@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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,
  Today I got a device timeout with reset messages enabled, does this
offer any clues?

 ath0: device timeout
 ath_draintxq: beacon queue 0x3e672440
 ath_tx_stopdma: tx queue [0] 0, link 0
 ath_tx_stopdma: tx queue [1] 0x3e9ff0a8, link 0xed0dc0d4
 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
 T0 (0xed0db130 0x3e9fe130) 3e9fe15c 30d58436 01240110 01001020 03320000
00006f6c 00000000 00000000
 T1 (0xed0db15c 0x3e9fe15c) 3ea02280 30f3b80e 00000000 000000ec 03320000
00006f6c d3190001 000203c1
 T0 (0xed0df280 0x3ea02280) 3ea022ac 3e433936 0124016c 01001020 03320000
00006f6c 00000000 00000000
 T1 (0xed0df2ac 0x3ea022ac) 3e9ff0a8 3139e016 00000000 00000148 03320000
00006f6c 0f790001 00011707
 T0 (0xed0dc0a8 0x3e9ff0a8) 3e9ff0d4 10ad1236 0124016c 01001020 03320000
00006f6c 00000000 00000000
 T1 (0xed0dc0d4 0x3e9ff0d4) 00000000 3148f016 00000000 00000148 03320000
00006f6c 1ae30001 0000d709
 ath_stoprecv: rx queue 0x21a82c, link 0xc4ba682c
 R0 (0xc4ba6858 0x21a858) 0021a884 23126000 00000000 00000800 1fed8000
08291911 !
 R0 (0xc4ba6884 0x21a884) 0021a8b0 311f5000 00000000 00000800 1ffd8000
09741911 !
 R0 (0xc4ba68b0 0x21a8b0) 0021a8dc 22890000 00000000 00000800 1fed8000
0a831911 !
 R0 (0xc4ba68dc 0x21a8dc) 0021a908 3125d800 00000000 00000800 201d8000
30a31911 !
 R0 (0xc4ba6908 0x21a908) 0021a934 311f4000 00000000 00000800 200d8000
31501911 !
 R0 (0xc4ba6934 0x21a934) 0021a960 30824800 00000000 00000800 203d8000
32681911 !
 R0 (0xc4ba6960 0x21a960) 0021a98c 30863800 00000000 00000800 203d8000
337e1911 !
 R0 (0xc4ba698c 0x21a98c) 0021a9b8 30df4000 00000000 00000800 200d8000
28e91911 !
 R0 (0xc4ba69b8 0x21a9b8) 0021a9e4 30f1e000 00000000 00000800 100d8000
57ec1911 !
 R0 (0xc4ba69e4 0x21a9e4) 0021aa10 309e0000 00000000 00000800 1ffd8000
792f1911 !
 R0 (0xc4ba6a10 0x21aa10) 0021aa3c 30f5f000 00000000 00000800 102d8000
20991911 !
 R0 (0xc4ba6a3c 0x21aa3c) 0021aa68 30f5b000 00000000 00000800 100d8000
21571911 !
 R0 (0xc4ba6a68 0x21aa68) 0021aa94 12935800 00000000 00000800 102d8000
22041911 !
 R0 (0xc4ba6a94 0x21aa94) 0021aac0 3140c800 00000000 00000800 1ffd8000
22af1911 !
 R0 (0xc4ba6ac0 0x21aac0) 0021aaec 3123d000 00000000 00000800 1ffd8000
23d31911 !
 R0 (0xc4ba6aec 0x21aaec) 0021ab18 310eb800 00000000 00000800 100d8000
40d51911 !
 R0 (0xc4ba6b18 0x21ab18) 0021ab44 3124d000 00000000 00000800 101d8000
418d1911 !
 R0 (0xc4ba6b44 0x21ab44) 0021ab70 22890800 00000000 00000800 101d8000
43171911 !
 R0 (0xc4ba6b70 0x21ab70) 0021ab9c 311c7800 00000000 00000800 1fed8000
38011911 !
 R0 (0xc4ba6b9c 0x21ab9c) 0021abc8 30f20000 00000000 00000800 102d8000
38c81911 !
 R0 (0xc4ba6bc8 0x21abc8) 0021abf4 314ca800 00000000 00000800 100d8000
3aab1911 !
 R0 (0xc4ba6bf4 0x21abf4) 0021ac20 31437800 00000000 00000800 1ffd8000
60961911 !
 R0 (0xc4ba6c20 0x21ac20) 0021ac4c 309c0000 00000000 00000800 101d8000
63211911 !
 R0 (0xc4ba6c4c 0x21ac4c) 0021ac78 30de5800 00000000 00000800 100d8000
05371911 !
 R0 (0xc4ba6c78 0x21ac78) 0021aca4 30d75000 00000000 00000800 1fed8000
46c21911 !
 R0 (0xc4ba6ca4 0x21aca4) 0021acd0 3a2fd800 00000000 00000800 200d8000
228f1911 !
 R0 (0xc4ba6cd0 0x21acd0) 0021acfc 30f31800 00000000 00000800 101d8000
52691911 !
 R0 (0xc4ba6cfc 0x21acfc) 0021ad28 3b9b8800 00000000 00000800 102d8000
53231911 !
 R0 (0xc4ba6d28 0x21ad28) 0021ad54 128d5800 00000000 00000800 1ffd8000
53de1911 !
 R0 (0xc4ba6d54 0x21ad54) 0021ad80 311a9000 00000000 00000800 1ffd8000
551c1911 !
 R0 (0xc4ba6d80 0x21ad80) 0021adac 3b840800 00000000 00000800 10248000
60b81911 !
 R0 (0xc4ba6dac 0x21adac) 0021add8 30a05000 00000000 00000800 1ff48000
61af1911 !
 R0 (0xc4ba6dd8 0x21add8) 0021ae04 3110b800 00000000 00000800 10048000
626e1911 !
 R0 (0xc4ba6e04 0x21ae04) 0021ae30 311b8800 00000000 00000800 1ff48000
63241911 !
 R0 (0xc4ba6e30 0x21ae30) 0021ae5c 0e219800 00000000 00000800 10048000
63ff1911 !
 R0 (0xc4ba6e5c 0x21ae5c) 0021ae88 30ed9000 00000000 00000800 101c0000
00ba1911 !
 R0 (0xc4ba6e88 0x21ae88) 0021aeb4 3ae9a800 00000000 00000800 100c0000
01671911 !
 R0 (0xc4ba6eb4 0x21aeb4) 0021a800 30d06000 00000000 00000800 1fec0000
02ad1911 !
 R0 (0xc4ba6800 0x21a800) 0021a82c 3124d800 00000000 00000800 100c0000
035a1911 !
 R0 (0xc4ba682c 0x21a82c) 0021a82c 3142c800 00000000 00000800 1fed8000
0f0e1911 !



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