From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 16:20:12 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 081F2106566C; Fri, 19 Mar 2010 16:20:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B8AE28FC23; Fri, 19 Mar 2010 16:20:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o2JG9mWQ080072; Fri, 19 Mar 2010 10:09:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 19 Mar 2010 10:10:07 -0600 (MDT) Message-Id: <20100319.101007.177863014340882353.imp@bsdimp.com> To: jhb@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <201003190837.48346.jhb@freebsd.org> References: <20100318192758.GP52442@uriah.heep.sax.de> <201003190837.48346.jhb@freebsd.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-stable@FreeBSD.org 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 16:20:12 -0000 In message: <201003190837.48346.jhb@freebsd.org> John Baldwin writes: : 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. Yes. Do other cards cause this same problem? The cbb1: Bad Vcc is a big clue something is going wrong with the bridge, not the card. Warner