From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 13:19:29 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFEEA1065670; Fri, 19 Mar 2010 13:19:29 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id C14128FC28; Fri, 19 Mar 2010 13:19:29 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 73D5746B09; Fri, 19 Mar 2010 09:19:29 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id A19A18A026; Fri, 19 Mar 2010 09:19:28 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org, Joerg Wunsch Date: Fri, 19 Mar 2010 08:37:48 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100318192758.GP52442@uriah.heep.sax.de> In-Reply-To: <20100318192758.GP52442@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003190837.48346.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 19 Mar 2010 09:19:28 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Warner Losh Subject: Re: Strange problem: if_xe only works in GENERIC kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 13:19:30 -0000 On Thursday 18 March 2010 3:27:58 pm Joerg Wunsch wrote: > I'm running into a strange problem with 8-current (or 8.0-RELEASE) on > an elderly Thinkpad 600E. > > As long as I'm using the GENERIC kernel, an Intel Etherexpress PC card > works as expected: > > interrupt storm detected on "irq11:"; throttling interrupt source > xe0: at port 0x100-0x10f iomem 0x20000000-0x20000fff irq 11 function 0 config 1 on pccard1 > xe0: version 0x45/0x04, 100Mbps capable > xe0: Ethernet address: 00:a0:c9:bc:b5:ef > xe0: [ITHREAD] > > However, as soon as I start removing unneeded stuff from the kernel > config file, the driver completely jams. It just sits there, the > machine blocks, until I eventually pop out the card, when I get the > following messages: > > cbb1: ready never happened, status = 00 > xe0: at port 0x100-0x10f iomem 0x20000000-0x20000fff irq 11 function 0 config 1 on pccard1 > xe0: version 0xff/0x07, 100Mbps capable > xe0: Ethernet address: 00:a0:c9:bc:b5:ef > xe0: [ITHREAD] > xe0: detached > cbb1: Bad Vcc requested > > As the CPU is a little slow, recompiling kernels takes an eternity on > it (even with NO_KERNELCLEAN), so I could not isolate it to a single > line in the config file so far. Sounds like the process of removing things prevented the interrupt storm from being throttled somehow, and that ejecting the card caused the interrupt storm to finally stop at which point the card was probed. I would talk to Warner (imp@) about trying to fix the interrupt storm. Also, if you could narrow down which particular item that you trim "breaks" it, that would be helpful. -- John Baldwin