"Hardware error, resetting" on Atheros AR9285

Rad Manly radmanly at comcast.net
Sat Apr 23 00:39:56 UTC 2011


I checked out and built the latest ath driver from -HEAD. 
Unfortunately, the problem persists.  I turned on all of the debugging
flags and saved the log file.  Here's what I see when I load the driver:

Apr 22 18:03:34 ceres kernel: ath0: <Atheros 9285> mem
0xf0100000-0xf010ffff irq 17 at device 0.0 on pci2
Apr 22 18:03:34 ceres kernel: ath0: [ITHREAD]
Apr 22 18:03:34 ceres kernel: [ath] AR9285E_20 detected; using XE TX
gain tables
Apr 22 18:03:34 ceres kernel: [ath] Enabling diversity for Kite
Apr 22 18:03:34 ceres kernel: ath0: AR9285 mac 192.2 RF5133 phy 14.0

Here's an example of the error:

Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0x800965 => 0xe0001071
Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x8014b7
Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: enable IER
Apr 22 18:04:24 ceres kernel: ar5212StartTxDma: queue 1
Apr 22 18:04:24 ceres kernel: ar5212StartTxDma: queue 1
Apr 22 18:04:24 ceres kernel: ar5416GetPendingInterrupts: fatal error,
ISR_RAC 0x0 SYNC_CAUSE 0x2000
Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0xe0001071 => 0x0
Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: disable IER
Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x0
Apr 22 18:04:24 ceres kernel: ath0: hardware error; resetting
Apr 22 18:04:24 ceres kernel: ath0: 0x00000000 0x00002000 0x00000000,
0x00000000 0x00000000 0x00000000
Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0x0 => 0x0
Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x0


To get this, I executed:

ifconfig wlan0 create wlanmode sta wlandev ath0
ifconfig wlan0 up scan

Do you know what could cause this error?  I think the 0x00002000 means
it's a timeout error of some kind but I don't know what's timing out or why.

What can I do to help swat this bug?

Thanks,
Rad


On 04/21/11 23:12, Adrian Chadd wrote:
> Try -HEAD. I've fixed a lot of AR9285 related issues in HEAD.
>
>
>
> Adrian
>
> On 22 April 2011 11:14, <radmanly at comcast.net
> <mailto:radmanly at comcast.net>> wrote:
>
>     Hello,
>
>     Several of us on the FreeBSD forum are having the same problem
>     with the ath driver on the AR9285 chip. The driver loads fine but
>     whenever I bring up an interface, I get "Hardware error,
>     resetting" messages on the screen over and over again, roughly one
>     a second. One user, Claude, reports he upgraded to -STABLE to no
>     avail. I describe the problem in more detail in this thread:
>     http://forums.freebsd.org/showthread.php?t=23297
>
>     Is there anything else I should try before I open a bug report?
>
>     Thanks,
>     Rad
>     _______________________________________________
>     freebsd-wireless at freebsd.org <mailto:freebsd-wireless at freebsd.org>
>     mailing list
>     http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>     To unsubscribe, send any mail to
>     "freebsd-wireless-unsubscribe at freebsd.org
>     <mailto:freebsd-wireless-unsubscribe at freebsd.org>"
>
>


More information about the freebsd-wireless mailing list