From owner-freebsd-current@FreeBSD.ORG Wed Mar 16 14: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 2506516A4CE for ; Wed, 16 Mar 2005 14:38:08 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6775543D1F for ; Wed, 16 Mar 2005 14:38:07 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 7AE464EFCDF; Wed, 16 Mar 2005 22:38:06 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 6DA694EFCDB; Wed, 16 Mar 2005 22:38:06 +0800 (CST) Date: Wed, 16 Mar 2005 22:38:06 +0800 (CST) From: Tai-hwa Liang To: pcasidy@casidy.com In-Reply-To: <20050316103218.C99E8B86C@smtp.casidy.net> Message-ID: <050316221455D.12369@www.mmlab.cse.yzu.edu.tw> References: <20050316103218.C99E8B86C@smtp.casidy.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-current@freebsd.org Subject: Re: Panic: Use-after-free in bfe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 16 Mar 2005 14:38:08 -0000 On Wed, 16 Mar 2005 pcasidy@casidy.com wrote: > On 16 Mar, Tai-hwa Liang wrote: >> >> Not sure about the reason of the interrupt storm you observed; however, >> the link down problem sounds like some sort of switch incompatibility to me. >> I remembered that someone said that manually tweak the media type *may* >> be a possible workaround(i.e. "ifconfig bfe0 media 10baseT/UTP" or >> "ifconfig bfe0 media 100baseTX). > > I tried both media with no success. > >> Does direct connect through crossover cable to another computer work >> for you? > > I have just tried using a crossover cable with no success even if i > force the media. That's weird. With that patch, my ASUS P4PE builtin BCM4401 works perfectly in 6-CURRENT as of Mar-15-2005. pciconf as follows: bfe0@pci2:5:0: class=0x020000 card=0x80a81043 chip=0x440114e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4401 10/100 Integrated Ethernet Controller' class = network subclass = ethernet I'm not sure whether this helps, but you may try to disable the usb drivers(either remove them from kernel build or just don't load the related modules) since the other difference between us is that my bfe0 doesn't share irq with uhci/ehci: bfe0: mem 0xed000000-0xed001fff irq 20 at device 5.0 on pci2 atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 18 at device 31.1 on pci0 uhci0: port 0xd800-0xd81f irq 16 at device 29.0 on pci0 uhci1: port 0xd400-0xd41f irq 19 at device 29.1 on pci0 uhci2: port 0xd000-0xd01f irq 18 at device 29.2 on pci0 ehci0: mem 0xed800000-0xed8003ff irq 23 at device 29.7 on pci0 > If that can help, with works pretty well with NDISulator. Haven't tried that on bfe0 before; however, does ndis0 shares the same irq with your uhci devices? -- Cheers, Tai-hwa Liang