From owner-freebsd-current@FreeBSD.ORG Wed Mar 16 08:09:03 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 60A3F16A4CE for ; Wed, 16 Mar 2005 08:09:03 +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 1276143D5A for ; Wed, 16 Mar 2005 08:09:03 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 46D4A4EFCD6; Wed, 16 Mar 2005 16:09:02 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 42B7A4EFCD3; Wed, 16 Mar 2005 16:09:02 +0800 (CST) Date: Wed, 16 Mar 2005 16:09:02 +0800 (CST) From: Tai-hwa Liang To: pcasidy@casidy.com In-Reply-To: <20050315151101.205C1B870@smtp.casidy.net> Message-ID: <05031615560118.9155@www.mmlab.cse.yzu.edu.tw> References: <20050315151101.205C1B870@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 08:09:03 -0000 On Tue, 15 Mar 2005 pcasidy@casidy.com wrote: > On 14 Mar, Tai-hwa Liang wrote: >> Hello Phil, >> >> Would you please rebuild your if_bfe.ko with the attached patch and >> tell me whether it fixes your problem or not? The attached patch is for >> -CURRENT as of Mar-12-2005; however, you should be able to apply it to >> 5-STABLE as well. > > Good news: no more crash Great! Looks like I can close kern/77804 as well. > Bad news: as soon as I give an IP adress to the interface, the link is > down (the link led on the switch is light off) > When I boot the computer, the led on the switch is on. > When I kldload if_bfe, the led is still on. > When I dhclient or ifconfig bfe0 the NIC to give it an adress, the led > is off and I have the message: > Interrupt storm detected on "irq18: bfe0 uhci2"; throttling interrupt > source. > > One step in the good direction anyway! 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). Does direct connect through crossover cable to another computer work for you? -- Cheers, Tai-hwa Liang