From owner-freebsd-current@FreeBSD.ORG Tue Feb 22 05:38:08 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2603A16A4CE for ; Tue, 22 Feb 2005 05:38:08 +0000 (GMT) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941BD43D4C for ; Tue, 22 Feb 2005 05:38:07 +0000 (GMT) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.13.1/8.13.1) with ESMTP id j1M5btfr098609; Mon, 21 Feb 2005 21:37:55 -0800 (PST) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.13.1/8.12.9) with ESMTP id j1M5btXx057037; Mon, 21 Feb 2005 21:37:55 -0800 (PST) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.13.1/8.13.1/Submit) id j1M5bsB3057019; Mon, 21 Feb 2005 21:37:54 -0800 (PST) (envelope-from frank) From: Frank Mayhar Message-Id: <200502220537.j1M5bsB3057019@realtime.exit.com> In-Reply-To: <421ABB04.3030301@errno.com> To: Sam Leffler Date: Mon, 21 Feb 2005 21:37:54 -0800 (PST) X-Copyright0: Copyright 2005 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL119 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: current@freebsd.org Subject: Re: Hard hangs running 6-current. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: frank@exit.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 05:38:08 -0000 Sam Leffler wrote: > Other than a busted card the only thing I can think of is you're getting > an interrupt storm from the MIB counters. If so try disabling > HAL_INT_MIB in the driver. The easiest way to do that is probably to > force sc_needmib to 0 in ath_attach by disabling the following code: > > /* > * Check if the device has hardware counters for PHY > * errors. If so we need to enable the MIB interrupt > * so we can act on stat triggers. > */ > if (ath_hal_hwphycounters(ah)) > sc->sc_needmib = 1; > > If your problem does not go away then I can only suggest trying another > card. FWIW I haven't seen this. Sigh. Okay, thanks, Sam. I was afraid it might be hardware, although I have no idea how the card could have become busted. I do have another card lying around, not an Atheros, but I'll drop it in and see if that changes things. First, though, I'll try your hack. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/