From owner-freebsd-current@FreeBSD.ORG Mon May 26 20:40:59 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B38751065677 for ; Mon, 26 May 2008 20:40:59 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 766748FC12 for ; Mon, 26 May 2008 20:40:59 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m4QKew4Y069322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 May 2008 13:40:59 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <483B205A.5060800@freebsd.org> Date: Mon, 26 May 2008 13:40:58 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Jose Amengual M References: <55AD3F1F-5485-4941-912D-A2751EE776F1@rdc.cl> In-Reply-To: <55AD3F1F-5485-4941-912D-A2751EE776F1@rdc.cl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-current@freebsd.org Subject: Re: Freebsd 8.0 ath, Soekris 4511, tinybsd, IRQ storm. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 20:40:59 -0000 Jose Amengual M wrote: > Hi guys. > > I'm working with FreeBSD 8.0 current using tinybsd to make a image for > my Soekris 4511 box. > > The build image is ok and the system boot up perfect, It detect all > the network cards includin the ath0 that is a 400 mw NMP-8602 PLUS. > > In the moment that I do : > > ifconfig wlan create wlandev ath0 > ifconfig wlan up > > I'm reciving this : > > interrupt storm detected on "irq11:"; throttling interrupt source > > and is only when I take up the wlan0 interface, if I don't do anything > with the ath0 card, the system works perfect. > > I search in the net for an info and I found a lot of information about > how to build FreeBSD in Soekris boxes, kernel conf files, etc, but > nothing about this caind of problem in version 8.0. > > My vmstat -i is : > > tinybsd# vmstat -i > interrupt total rate > irq0: clk 170695 490 > irq4: sio0 1993 5 > irq8: rtc 43697 125 > irq9: sis1 392 1 > irq11: ath0 32626 93 > irq14: ata0 16261 46 > Total 265664 763 > > my pciconf -lv is : > > tinybsd# pciconf -lv > hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x30001022 > rev=0x00 hdr=0x00 > class = bridge > subclass = HOST-PCI > cbb0@pci0:0:9:0: class=0x060700 card=0x00000000 chip=0xac50104c > rev=0x02 hdr=0x02 > class = bridge > subclass = PCI-CardBus > ath0@pci0:0:16:0: class=0x020000 card=0x2062168c chip=0x001b168c > rev=0x01 hdr=0x00 > class = network > subclass = ethernet > sis0@pci0:0:18:0: class=0x020000 card=0x0020100b chip=0x0020100b > rev=0x00 hdr=0x00 > class = network > subclass = ethernet > sis1@pci0:0:19:0: class=0x020000 card=0x0020100b chip=0x0020100b > rev=0x00 hdr=0x00 > class = network > subclass = ethernet > > > My dmesg with ath part : > > ath0: mem 0xa0010000-0xa001ffff irq 11 at device 16.0 > on pci0 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: mac 10.5 phy 6.1 radio 6.3 > sis0: port 0xe100-0xe1ff mem > 0xa0020000-0xa0020fff irq 5 at device 18.0 on pci0 > sis0: Silicon Revision: DP83816A > > > I can send more information if is needed. > > I already change the wireless card ( I have for of the same) and the > matherboard, I upgrade the bios of the Soekris board to 1.38. > > Any ideas about the irq storm ? > > any special configurations ? > What are the interrupts? Does the storm persist or stop? Does your card otherwise work as expected? I've noticed an increase in system complaints about interrupt storms on many devices, not just ath, as though the tunable thresholds are too low. Sam