1a608
![]() |
|
|
|
|
|||||||
| Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have a Compaq Presario CQ56Z with an Atheros AR9285 wireless chip running FreeBSD-RELEASE 8.2 AMD64. Whenever I bring up the wireless connection, I get messages like this on the console over and over again:
Code:
Apr 16 21:01:11 ceres kernel: ath0: hardware error; resetting Apr 16 21:01:11 ceres kernel: ath0: 0x00000000 0x00002000 0x00000000, 0x00000000 0x00000000 0x00000000 Any ideas? Thanks, Rad Last edited by radmanly; April 23rd, 2011 at 18:29. Reason: Problem solved. |
|
#2
|
||||
|
||||
|
Try updating to -STABLE. I've noticed the ath driver got some updates recently.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
Thanks for the reply.
Can I just get the latest driver or do I have to upgrade the whole OS? |
|
#4
|
||||
|
||||
|
The easiest is to upgrade everything. You might be able to diff the changes and import them in your release but that will take a lot of fiddling.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#5
|
|||
|
|||
|
Quote:
Last edited by DutchDaemon; April 18th, 2011 at 22:40. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043 |
|
#6
|
|||
|
|||
|
I assume you upgraded to -STABLE and the problem is still there, right?
I took a deep dive into the ath source code. I believe the 0x00002000 in the second position of the printed array refers to this from dev/ath/ath_hal/ar5416/ar5416reg.h: Code:
#define AR_INTR_SYNC_LOCAL_TIMEOUT 0x00002000 Last edited by DutchDaemon; April 18th, 2011 at 22:41. |
|
#7
|
|||
|
|||
|
I found this discussion thread about a similar (perhaps identical?) problem under Linux. The similarities are:
Quote:
Code:
* Fatal errors are unrecoverable. Typically these * are caused by DMA errors. |
|
#8
|
|||
|
|||
|
Hi! Is there a solution for this problem? Himself confronted with it.
|
|
#9
|
|||
|
|||
|
Not yet. I'm trying to compile a debug version of the driver. I've set:
Code:
options AH_DEBUG options ATH_DEBUG options ATH_DIAGAPI Code:
sysctl hw.ath.hal.debug=0xffffffff sysctl hw.ath.debug=0xffffffff
Last edited by radmanly; April 20th, 2011 at 15:16. |
|
#10
|
|||
|
|||
|
I was able to get debug messages from ATH_DEBUG by compiling everything into the kernel and setting
Code:
hw.ath.hal.debug=0xffffffff Code:
options AH_DEBUG Suggestions or help would be appreciated. Last edited by DutchDaemon; April 20th, 2011 at 18:21. |
|
#11
|
|||
|
|||
|
Does anyone know the default mode for the ath driver? This discussion reports getting the "hardware error; resetting" messages running in adhoc mode because the "tx descriptor gets setup wrong." I didn't explicitly configure the mode when bringing up wlan0 so I assume it's operating in the default mode.
Is adhoc mode the default for the ath driver? (If you're out there Adrian Chadd, please have mercy on us and offer some guidance!) |
|
#12
|
|||
|
|||
|
I tried explicitly setting station mode ("wlanmode sta") but it made no difference.
|
|
#13
|
|||
|
|||
|
Quote:
![]() A 30 second update, since I'm currently supposed to be working (and work doesn't currently include "wireless hacking") : * There's a -lot- of AR9285 fixes in the freebsd-head ath driver; so please update to HEAD to test before you do anything; * No I won't be back-porting the fixes to -8 for now - -8 serves as a "comparison" to how things were in the past - the -8 code works for some users and doesn't work for others, so -HEAD should (should!) work for more users and not suddenly break for existing working users. * No I won't budge from that, not for now. What I can do later is post instructions on how to build the -HEAD ath driver for -8, that's how I do my testing. ![]() Now: * I've just committed something to -HEAD to fix the fatal error you've seen. The bus timeout interrupt isn't handled as an error by the HAL so it should just be being ignored. I'll likely add some statistics soon so we at least count those errors. * When you're doing testing, please disable power saving (powerd) and re-test. I know that power saving mode for the AR5416 and later chips (ie, everything that's 11n) is incomplete. I don't have the time at the moment to implement all the power saving fixes from ath9k, I'm sorry. * And IIRC the default mode is station, not adhoc. You can check this by "ifconfig wlan0", it'll tell you the wlanmode if it's not station.Further technical questions should be posted to freebsd-wireless@freebsd.org. I'm thankful that someone contacted the list with some technical information. I'm currently unable to really help users out here as I've got a lot on my plate at the moment, but I'll try to find/fix whatever bugs I can. Finally, I've emailed some contacts inside atheros to see if (a) they can help me debug the issue further, and (b) how this problem was solved in ath9k. I hope that helps. ![]() Adrian |
| The Following User Says Thank You to adrian@ For This Useful Post: | ||
radmanly (April 23rd, 2011) | ||
|
#14
|
|||
|
|||
|
It helps tremendously! After pulling the latest driver from -HEAD and rebuilding, the problem seems to be gone.
Thank you, Adrian!
|
|
#15
|
|||
|
|||
|
Are there instructions on how to remove this error?
Last edited by DutchDaemon; May 15th, 2011 at 01:45. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "pg_config" | LocalEtc | Installation and Maintenance of FreeBSD Ports or Packages | 7 | February 9th, 2011 18:30 |
| [Solved] Shared object "libX11.so.6" not found, required by "soffice.bin" | alie | Installation and Maintenance of FreeBSD Ports or Packages | 3 | January 21st, 2011 03:31 |
| [Solved] 7-2 hald_enable="YES" dbus_enable="YES" samba_enable="YES" not found | ter2007 | Installation and Maintenance of FreeBSD Ports or Packages | 2 | December 1st, 2009 15:58 |
| [Solved] Atheros/Attansic L2 gives "No Buffer Space Available" | levinas69 | System Hardware | 4 | November 23rd, 2009 23:23 |
| Can not make " libnice" , error "-Wno-missing-field-initializers" | admail2 | Installation and Maintenance of FreeBSD Ports or Packages | 10 | June 26th, 2009 01:29 |