D-Link DWA-547 completely freezes system
*Khashayar Naderehvandi wrote on */Fri Jan 8 13:42:21 CET 2010 /*:
*
Quoted 15 lines
I recently purchased a wireless-n card, namely the D-link DWA-547. It has an atheros chipset and is nicely detected by the ath9k driver. I have been trying to get this card working with the Ubuntu 9.10 kernel (which is based on 2.6.31), as well as linux 2.6.32. I have also tried Ubuntu 9.10 backport wireless modules.
lspci reports:
07:02.0 Network controller [0280]: Atheros Communications Inc. AR922X Wireless Network Adapter [168c:0029] (rev 01)
Subsystem: D-Link System Inc Device [1186:3a78]
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 12 Memory atfbae0000(32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Kernel modules: ath9k
Quoted 8 lines
The problem is that after a few minutes - sometimes seconds - the system halts to a complete freeze where the reset button is the only way out. Sometimes this happens before X has started, sometimes it happens right after a connection is established. There is no way for me to gather any information after the freeze and I haven't found anything in the logs. So, unfortunately, at the moment I have no clue as of how to provide this list with more information (and that's why this ended up being an email to the list, rather than a bug report)
I had the same problem with the DWA-547 that I bought yesterday. The system freezes deterministically everytime when I enter the WPA2 password in nm-applet. The next time booting, nm-applet had the password saved and tries to connect right away, hence it freezes before the Desktop is fully up. It is a 64bit Linux installation of Ubuntu 9.10, updated yesterday.
I just booted from a 32bit Ubuntu 9.10 CD; then it works and doesn't freeze. So I assume it's a problem with the ath9k driver specifically in the 64bit kernel. Now I'll replace my 64bit installation with the 32bit one, as I have no reason to run 64bit Linux anyway.
If yours is a 64bit kernel: could you try the same (boot from 32bit CD) to see if things get better?
Regards,
Michael
update: I re-installed Ubuntu 9.10 with 32bit kernel, and it worked. But the bitrate was only a tenth of the one I could get in Windows (checked with my provider's internet speedtest website).
So I tried ndiswrapper; it achieves Windows speed, but then freezes again.
Then I removed ndiswrapper, sudo apt-get install linux-backports-modules-karmic, reboot -- and everything works fine and with high speed. The reported bitrate of iwconfig seems to be wrong however; it says 11Mb/s, but my actual download bitrate is 27Mbit/s peak.
Regards,
Michael
Quoted 46 lines · Michael Pronath
*Khashayar Naderehvandi wrote on */Fri Jan 8 13:42:21 CET 2010 /*:
*Quoted 15 lines
I recently purchased a wireless-n card, namely the D-link DWA-547. It has an atheros chipset and is nicely detected by the ath9k driver. I have been trying to get this card working with the Ubuntu 9.10 kernel (which is based on 2.6.31), as well as linux 2.6.32. I have also tried Ubuntu 9.10 backport wireless modules.
lspci reports:
07:02.0 Network controller [0280]: Atheros Communications Inc. AR922X Wireless Network Adapter [168c:0029] (rev 01)
Subsystem: D-Link System Inc Device [1186:3a78]
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 12 Memory atfbae0000(32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Kernel modules: ath9kQuoted 8 lines
The problem is that after a few minutes - sometimes seconds - the system halts to a complete freeze where the reset button is the only way out. Sometimes this happens before X has started, sometimes it happens right after a connection is established. There is no way for me to gather any information after the freeze and I haven't found anything in the logs. So, unfortunately, at the moment I have no clue as of how to provide this list with more information (and that's why this ended up being an email to the list, rather than a bug report)
I had the same problem with the DWA-547 that I bought yesterday. The system freezes deterministically everytime when I enter the WPA2 password in nm-applet. The next time booting, nm-applet had the password saved and tries to connect right away, hence it freezes before the Desktop is fully up. It is a 64bit Linux installation of Ubuntu 9.10, updated yesterday.
I just booted from a 32bit Ubuntu 9.10 CD; then it works and doesn't freeze. So I assume it's a problem with the ath9k driver specifically in the 64bit kernel. Now I'll replace my 64bit installation with the 32bit one, as I have no reason to run 64bit Linux anyway.
If yours is a 64bit kernel: could you try the same (boot from 32bit CD) to see if things get better?
Regards,
Michael
Quoted 6 lines · Michael Pronath
I had the same problem with the DWA-547 that I bought yesterday. The system freezes deterministically everytime when I enter the WPA2 password in nm-applet. The next time booting, nm-applet had the password saved and tries to connect right away, hence it freezes before the Desktop is fully up. It is a 64bit Linux installation of Ubuntu 9.10, updated yesterday.
A fix for AR9220 (or generally any PCI card with AR92xx chipset that is not capable of working in the 5 GHz band) was committed to wireless-testing two days ago.
Quoted 4 lines
I just booted from a 32bit Ubuntu 9.10 CD; then it works and doesn't freeze. So I assume it's a problem with the ath9k driver specifically in the 64bit kernel. Now I'll replace my 64bit installation with the 32bit one, as I have no reason to run 64bit Linux anyway.
Well, it may be a different problem, as the initialization was wrong on 32-bit kernels too. But I cannot be sure that incorrect initialization would prevent the card from working every time.
Anyway, it should be possible to try the fix by using the current compat-wireless:
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
Signature · 2 lines
Regards, Pavel Roskin
Quoted 11 lines
Quoted 6 lines
I had the same problem with the DWA-547 that I bought yesterday. ?The system freezes deterministically everytime when I enter the WPA2 password in nm-applet. ?The next time booting, nm-applet had the password saved and tries to connect right away, hence it freezes before the Desktop is fully up. ?It is a 64bit Linux installation of Ubuntu 9.10, updated yesterday.
A fix for AR9220 (or generally any PCI card with AR92xx chipset that is not capable of working in the 5 GHz band) was committed to wireless-testing two days ago.
That is great news! I will try this as soon as I find the time to open up my computer to plug in the card.
Thanks a lot for doing this work!
Quoted 9 lines
Quoted 4 lines
I just booted from a 32bit Ubuntu 9.10 CD; then it works and doesn't freeze. So I assume it's a problem with the ath9k driver specifically in the 64bit kernel. Now I'll replace my 64bit installation with the 32bit one, as I have no reason to run 64bit Linux anyway.
Well, it may be a different problem, as the initialization was wrong on 32-bit kernels too. ?But I cannot be sure that incorrect initialization would prevent the card from working every time.
Yes, indeed, I was hit by this bug in both 32-bit and 64-bit versions of Ubuntu (and Fedora if I don't misremember).
Michael, if I may ask, which version of Windows do you run? I was testing this card with Windows 7 64-bit for comparison, and the card brought down the system in much the same was as it brought down Ubuntu for me.
Regards,
K.
Quoted 19 lines · Khashayar Naderehvandi
(...)
Quoted 10 lines
Quoted 5 lines
I just booted from a 32bit Ubuntu 9.10 CD; then it works and doesn't freeze. So I assume it's a problem with the ath9k driver specifically in the 64bit kernel. Now I'll replace my 64bit installation with the 32bit one, as I have no reason to run 64bit Linux anyway.
Well, it may be a different problem, as the initialization was wrong on 32-bit kernels too. But I cannot be sure that incorrect initialization would prevent the card from working every time.
Yes, indeed, I was hit by this bug in both 32-bit and 64-bit versions of Ubuntu (and Fedora if I don't misremember).
Michael, if I may ask, which version of Windows do you run? I was testing this card with Windows 7 64-bit for comparison, and the card brought down the system in much the same was as it brought down Ubuntu for me.
Quoted 2 lines
Regards,
K.
OK. I just wondered why it always crashed in 64bit Linux, and never crashed in 32bit Linux on my system.
I used Windows XP Home 32bit. It worked there.
Regards,
Michael
Quoted 6 lines
Anyway, it should be possible to try the fix by using the current compat-wireless:
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
I just had a few minutes to kill so I tried out the latest compat-wireless. Unfortunately, nothing has changed for me. This time I had an instant crash as soon as I modprobed ath9k. And, once again, the crash leaves no logs worth sending in so I can't even file a bug report.
Regards,
K.
Quoting Khashayar Naderehvandi <[email protected]>:
Quoted 5 lines
I just had a few minutes to kill so I tried out the latest compat-wireless. Unfortunately, nothing has changed for me. This time I had an instant crash as soon as I modprobed ath9k. And, once again, the crash leaves no logs worth sending in so I can't even file a bug report.
I ordered DWL-547 yesterday, so I may be able to compare the initialization in ath9k and ndiswrapper using mmiotrace. I hope it would be a revision exhibiting the problem.
As for Ubiquiti SR72-12, I was able to test it extensively, and it appears to work just fine, except that ACK timeout needs to be slightly increased for AP operations, as discussed in another thread.
Signature · 2 lines
Regards, Pavel Roskin
Quoted 8 lines
I just had a few minutes to kill so I tried out the latest compat-wireless. Unfortunately, nothing has changed for me. This time I had an instant crash as soon as I modprobed ath9k. And, once again, the crash leaves no logs worth sending in so I can't even file a bug report.
Regards,
K.
The crash problem you're experiencing seems quite similar to what I am experiencing when using ath9k with my DWA-552. As of now, I am completely unable to use my DWA-552 because when it does not crash immediately on loading ath9k or doing the first "iwconfig wlan0 up", it never initializes properly. I already have a thread open (titled "trouble with DWA-552 and ath9k") on that topic. No update since I was able to send a trace on January 13.
I keep hoping this problem will be corrected soon.
Brian