From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 7 23:50:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 349FD16A46B for ; Thu, 7 Feb 2008 23:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 17E5A13C457 for ; Thu, 7 Feb 2008 23:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m17No0t6018300 for ; Thu, 7 Feb 2008 23:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m17No0NT018299; Thu, 7 Feb 2008 23:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 7 Feb 2008 23:50:00 GMT Resent-Message-Id: <200802072350.m17No0NT018299@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Sugioarto Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBC3216A41A for ; Thu, 7 Feb 2008 23:46:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AE2CA13C45D for ; Thu, 7 Feb 2008 23:46:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m17NiFpN036736 for ; Thu, 7 Feb 2008 23:44:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m17NiFFl036725; Thu, 7 Feb 2008 23:44:15 GMT (envelope-from nobody) Message-Id: <200802072344.m17NiFFl036725@www.freebsd.org> Date: Thu, 7 Feb 2008 23:44:15 GMT From: Martin Sugioarto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/120376: High interrupt load when booting with ath (PCMCIA) already inserted, also panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 23:50:01 -0000 >Number: 120376 >Category: kern >Synopsis: High interrupt load when booting with ath (PCMCIA) already inserted, also panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 07 23:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Martin Sugioarto >Release: FreeBSD7.0 PRERELEASE >Organization: >Environment: FreeBSD link.local 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Wed Feb 6 15:31:41 CET 2008 root@link.local:/usr/obj/usr/src/sys/LINK i386 >Description: My ath(4) card (Netgear WG511T PCMCIA) is not working at all when I insert it before switching my laptop on. Instead systat/top show high load with interrupts. I also attached kernel messages appearing (see part of dmesg output). In this state you can also cause a panic when you eject the card. I can use my wireless LAN with ath(4) perfectly (perhaps associating a bit slow, but at least it works) when inserting it after login appears. Here some additional info (while the card is not working). In case you need more contact me. dmesg (small part): ath0: device timeout ath0: ath_reset: unable to reset hardware; hal status 3231587658 ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x480 hal flags 0xc0) ath0: ath_chan_set: unable to reset channel 11 (2462 Mhz, flags 0x480 hal flags 0xc0) from systat: /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> /0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100 root irq16: cbb XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root swi4: cloc XXXXXXXXXXXXXXXXXXXXXXXXXXXXX root idle: cpu1 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX root idle: cpu0 XXXXXXXXX # sysctl hw.ath hw.ath.hal.swba_backoff: 0 hw.ath.hal.sw_brt: 10 hw.ath.hal.dma_brt: 2 hw.ath.hal.version: 0.9.20.3 hw.ath.txbuf: 200 hw.ath.rxbuf: 40 hw.ath.regdomain: 0 hw.ath.countrycode: 0 hw.ath.xchanmode: 1 hw.ath.outdoor: 1 hw.ath.calibrate: 30 # sysctl dev.ath dev.ath.0.%desc: Atheros 5212 dev.ath.0.%driver: ath dev.ath.0.%location: slot=0 function=0 dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1385 subdevice=0x4b00 class=0x020000 dev.ath.0.%parent: cardbus0 dev.ath.0.smoothing_rate: 95 dev.ath.0.sample_rate: 10 dev.ath.0.countrycode: 0 dev.ath.0.regdomain: 0 dev.ath.0.slottime: 1489 dev.ath.0.acktimeout: 372 dev.ath.0.ctstimeout: 372 dev.ath.0.softled: 0 dev.ath.0.ledpin: 0 dev.ath.0.ledon: 0 dev.ath.0.ledidle: 2700 dev.ath.0.txantenna: 0 dev.ath.0.rxantenna: 7 dev.ath.0.diversity: 1 dev.ath.0.txintrperiod: 5 dev.ath.0.diag: 0 dev.ath.0.tpscale: 0 dev.ath.0.tpc: 0 dev.ath.0.tpack: 63 dev.ath.0.tpcts: 63 dev.ath.0.fftxqmin: 2 dev.ath.0.fftxqmax: 50 dev.ath.0.monpass: 24 >How-To-Repeat: Insert ath(4)-card, switch laptop on and boot FreeBSD. >Fix: >Release-Note: >Audit-Trail: >Unformatted: