DMA issues with ar9280 cards
Hi,
[resend, due to ehlo/MX being checked case sensitive]
I have some issues using any of my AR9280 cards, identified as:
- Ubiquiti SR71E
[ 172.321483] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xf9760000, irq=11 - Sparklan WPEA-110N [ 58.456404] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xf8760000, irq=11
On a recent wireless-testing kernel:
# uname -a % Linux meshnode 2.6.38-rc6-wl-12466-g09f3227 #23 SMP Wed Feb 23 08:48:45 CET 2011 i686 GNU/Linux
I see this behaviour:
# hostapd /etc/hostapd.conf % scan due to ht40 [ 289.389379] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 289.397106] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up [ 289.548409] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 289.700270] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 289.707992] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up [ 289.728509] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 289.880228] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 289.887952] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up [ 289.908455] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 290.060168] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 290.067926] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up .. % scan done, setting up the BSS [ 296.060536] ath: Failed to stop TX DMA in 100 msec after killing last frame [ 296.075985] ath: Failed to stop TX DMA in 100 msec after killing last frame [ 296.083032] ath: Failed to stop TX DMA! [ 296.099187] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 296.106884] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up [ 296.127247] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 297.163998] ath: Failed to stop TX DMA in 100 msec after killing last frame [ 297.182977] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 297.190677] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up [ 297.211004] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 [ 298.247659] ath: Failed to stop TX DMA in 100 msec after killing last frame % ..
A monitor mode vif on another interface tells me that on average only 6 beacons leave the device before it's going deaf. Restarting hostapd will make it send another 6 beacons. Behaviour in sta mode is similar unusable, if I'm lucky enough to get any scan results the connect fails or it goes deaf after the first few packets have been transmitted.
I tried a few different kernel version back to 2.6.36.4 which all have the same behaviour (except the error messages, which have been mask till lately). Also, this issue seems to be only seen on AR9820, all other chips I have (9160, 9220, 93xx) work as expected.
Felix already told me that this is a known issue and going over other reports on this list and linux-wireless-ml it indeed is. Just wanted to know if there is any "known-good" kernel version or a workaround for that?
Signature · 1 line
Bernhard
Quoted 4 lines · Bernhard Schmidt
Felix already told me that this is a known issue and going over other reports on this list and linux-wireless-ml it indeed is. Just wanted to know if there is any "known-good" kernel version or a workaround for that?
I fear you will not get any further info on this mailing list. I would suggest to watch the l-w list and try any patches that are sent there.
They never appear here and there's also no discussion here. Thinking about it I actually don't really understand the purpose of this list. It's mostly disinforming, in that it detracts from l-w, which seems to be the more significant forum for ath9k development.
//Peter
Quoted 6 lines · Peter Stuge
Quoted 4 lines · Bernhard Schmidt
Felix already told me that this is a known issue and going over other reports on this list and linux-wireless-ml it indeed is. Just wanted to know if there is any "known-good" kernel version or a workaround for that?
Quoted 7 lines
I fear you will not get any further info on this mailing list. I would suggest to watch the l-w list and try any patches that are sent there.
They never appear here and there's also no discussion here. Thinking about it I actually don't really understand the purpose of this list. It's mostly disinforming, in that it detracts from l-w, which seems to be the more significant forum for ath9k development.
Would you stop trolling, really. I told you what you can do to help with resolving observed issues, where are your bug reports BTW? Trust me that people are reading these lists, and issues do get fixed, for some reason however *you* are not getting your issues resolved. Have you ever stopped to really consider perhaps its not *us* and that you can likely consider some changes on your behalf to work better with our teams who *are* engaged in fixing issues. Your focus is to say you are very well experienced but don't want to hack.. fine but, given your experience you should be able to work even further with devlopers, but that's not happening, why? Because *you* are expecting people to simply read every e-mail rant from you digged into other people's replies.
Make this simple, split all of your issues, document them into bug reports for a specific kernel release, help see if you can identify them as regressions, etc.
Have you done all this?
LUis
Quoted 9 lines · Luis R. Rodriguez
Quoted 7 lines
I fear you will not get any further info on this mailing list. I would suggest to watch the l-w list and try any patches that are sent there.
They never appear here and there's also no discussion here. Thinking about it I actually don't really understand the purpose of this list. It's mostly disinforming, in that it detracts from l-w, which seems to be the more significant forum for ath9k development.
Would you stop trolling, really.
I'm sorry you feel it is trolling, and not constructive criticism.
Quoted 2 lines
I told you what you can do to help with resolving observed issues, where are your bug reports BTW?
I told you a few times by now why I can't really file the kind of bug reports for my issues that I believe you want.
If I filed bug reports they would lack any useful information, and as has happened the oneor two times that I tried, they would likely be closed without much investigation or discussion.
That's useless, so I'm saving everyone the time until there is something concrete to put into the bug report. What would be useful meanwhile is to discuss particulars of hardware and driver so that I could help find the actual problem.
Quoted 1 line
Trust me that people are reading these lists,
I have no doubt about that. What disappoints me is the lack of duplex communication. Open discussion. Two-way. Sharing. There's not much of that. There can be plenty of reasons, but regardless of why, the situation makes me sad and a little bit bitter. :\
Quoted 1 line
and issues do get fixed,
I also have no doubt about that. But from following this list for well over a year it is clear to me that nearly nothing gets fixed *here* which is why I pointed out to Bernard that l-w is a better place to look for patches, and thus probably also discussion, even though this is an ath9k list. You yourself pointed me to l-w, and it matches my experience.
Quoted 4 lines
for some reason however *you* are not getting your issues resolved. Have you ever stopped to really consider perhaps its not *us* and that you can likely consider some changes on your behalf to work better with our teams who *are* engaged in fixing issues.
I don't have to stop and consider to see why there is not much progress; my issues are a f*ing pain in the ass to work with, especially remotely, and even more so if you're on the vendor side and gagged by NDAs. This is not a reason to throw the fight IMO, and why I am still on this list and still have the card in my machine.
If I just wanted to get work done I would have thrown ath9k far f-ing away from my laptop long long ago.
Quoted 2 lines
Your focus is to say you are very well experienced but don't want to hack..
I'm afraid you misunderstood. I never said I don't want to hack, but I said that I don't have time to really dig into the complete driver, and that this means that in order to help nail these issues I will need help from someone who is knowledgeable about both hardware and driver. Your teams seem like they would fit that perfectly, but they would need to spend some time focusing on the problem(s) together with me, and this seems not to be their modus operandi. Jouni is the exception so far.
Quoted 2 lines
given your experience you should be able to work even further with devlopers, but that's not happening, why?
It's difficult to say because I don't know what your teams are thinking. The questions I got back from Jouni not long ago I would love to pursue, but unfortunately that PCI problem I mentioned again yesterday is effectively blocking ath9k from even seeing the card.
Quoted 2 lines
Because *you* are expecting people to simply read every e-mail rant from you digged into other people's replies.
I try to combine my rants with something useful by now. This list is short on answers in my experience, and I try to not be a part of that problem, even if the answer is just to divert attention elsewhere, in this case to l-w.
Quoted 5 lines
Make this simple, split all of your issues, document them into bug reports for a specific kernel release, help see if you can identify them as regressions, etc.
Have you done all this?
I tried it once for my disconnect problem with the 5414 card, actually someone else had already opened a bug for that, but it got closed prematurely when you thought the issue had some satisfactory resolution. Basically I gave up on that bug for now because the right kind of questions weren't being asked and because I could not get data out of driver to confirm my speculation which might be required.
I have explained at least once, but probably several times by now, why I really can't do all what you ask, for most if not all my issues. In particular I have never had a good system with ath9k, so I can't bisect and I can't consider anything a regression.
The PCI thing I could file and if it would help of course I'll do that, but I'd think discussion on this list could be more efficient as a start. That's how it is in many other projects. And there is some already, over in the other thread, so let's go there.
//Peter