From owner-freebsd-wireless@FreeBSD.ORG Sat Apr 23 00:39:56 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 515EA1065675 for ; Sat, 23 Apr 2011 00:39:56 +0000 (UTC) (envelope-from radmanly@comcast.net) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0278FC15 for ; Sat, 23 Apr 2011 00:39:55 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta05.emeryville.ca.mail.comcast.net with comcast id aoEt1g00C1eYJf8A5ofv35; Sat, 23 Apr 2011 00:39:55 +0000 Received: from [192.168.1.108] ([24.245.56.44]) by omta19.emeryville.ca.mail.comcast.net with comcast id aoft1g00A0xErkQ01ofuun; Sat, 23 Apr 2011 00:39:55 +0000 Message-ID: <4DB21FD9.4050503@comcast.net> Date: Fri, 22 Apr 2011 19:39:53 -0500 From: Rad Manly User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110313 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: Adrian Chadd References: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: "Hardware error, resetting" on Atheros AR9285 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2011 00:39:56 -0000 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: 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, > 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@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscribe@freebsd.org > " > >