2009-08-26 19:39:11

by Howard Chu

[permalink] [raw]
Subject: ath9k DMA problems

Still seeing occasional hangs using the ath9k in 2.6.31-rc6, and even worse
using compat-wireless 2009-08-22. Today I got this which was even more
interesting:

[369014.776586] wlan0: associate with AP 00:12:17:26:56:10 (try 1)
[369014.779197] wlan0: RX ReassocResp from 00:12:17:26:56:10 (capab=0x411
status=0 aid=2)
[369014.779197] wlan0: associated
[369472.707961] ath9k: DMA failed to stop in 10 ms AR_CR=0xdeadbeef
AR_DIAG_SW=0xdeadbeef

This is on an HP dv5z laptop, it reports an AR9280 at boot.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/


2009-08-29 01:06:26

by Howard Chu

[permalink] [raw]
Subject: Re: ath9k DMA problems

Am I the only one having these problems? ath9k hasn't worked well for me since
2.6.29.4; every snapshot since then has suffered from random drops. In
2.6.29.6 it at least would quickly reassociate. The current ones hang within
20-30 minutes of use and never come back. The compat-wireless snapshots have
all been equally unusable.

Howard Chu wrote:
> Still seeing occasional hangs using the ath9k in 2.6.31-rc6, and even worse
> using compat-wireless 2009-08-22. Today I got this which was even more
> interesting:
>
> [369014.776586] wlan0: associate with AP 00:12:17:26:56:10 (try 1)
> [369014.779197] wlan0: RX ReassocResp from 00:12:17:26:56:10 (capab=0x411
> status=0 aid=2)
> [369014.779197] wlan0: associated
> [369472.707961] ath9k: DMA failed to stop in 10 ms AR_CR=0xdeadbeef
> AR_DIAG_SW=0xdeadbeef
>
> This is on an HP dv5z laptop, it reports an AR9280 at boot.


--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/

2009-08-30 18:01:35

by Kunal Gangakhedkar

[permalink] [raw]
Subject: Re: ath9k DMA problems

On Saturday 29 Aug 2009 6:36:23 am Howard Chu wrote:
> Am I the only one having these problems? ath9k hasn't worked well for me
> since 2.6.29.4; every snapshot since then has suffered from random drops.
> In 2.6.29.6 it at least would quickly reassociate. The current ones hang
> within 20-30 minutes of use and never come back. The compat-wireless
> snapshots have all been equally unusable.
>
> Howard Chu wrote:
> > Still seeing occasional hangs using the ath9k in 2.6.31-rc6, and even
> > worse using compat-wireless 2009-08-22. Today I got this which was even
> > more interesting:
> >
> > [369014.776586] wlan0: associate with AP 00:12:17:26:56:10 (try 1)
> > [369014.779197] wlan0: RX ReassocResp from 00:12:17:26:56:10 (capab=0x411
> > status=0 aid=2)
> > [369014.779197] wlan0: associated
> > [369472.707961] ath9k: DMA failed to stop in 10 ms AR_CR=0xdeadbeef
> > AR_DIAG_SW=0xdeadbeef
> >
> > This is on an HP dv5z laptop, it reports an AR9280 at boot.

Neither for me - I'm on an HP dv6 series laptop and have AR9285 chip.
I have also posted my logs to the ath9k-devel list, but yet to receive any
further response.

The driver seems quite erratic - especially under heavy network load & also
after pm-resume.

Admittedly, I haven't tried compat-wireless at all.

Kunal