From owner-freebsd-current@FreeBSD.ORG Tue Apr 5 00:55:50 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 A887216A4CE for ; Tue, 5 Apr 2005 00:55:50 +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 2C3BB43D2D for ; Tue, 5 Apr 2005 00:55:50 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 1DB1C4EFCD1; Tue, 5 Apr 2005 08:55:48 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 18E534EFCD0; Tue, 5 Apr 2005 08:55:48 +0800 (CST) Date: Tue, 5 Apr 2005 08:55:48 +0800 (CST) From: Tai-hwa Liang To: pcasidy@casidy.com In-Reply-To: <20050404083811.979EAB86C@smtp.casidy.net> Message-ID: <0504050824357.14125@www.mmlab.cse.yzu.edu.tw> References: <20050404083811.979EAB86C@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: Tue, 05 Apr 2005 00:55:50 -0000 On Mon, 4 Apr 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). >> >> Does direct connect through crossover cable to another computer work >> for you? > > Sorry for the delay, had to deal with another network problem. > > I performed the tests you suggested and here are the results: > > I used a crossover cable to link my laptop and my server. > The server is equipped with a > configured as autoselect. > > I tried to force the media both 10 and 100 on both card and the only > case i had the Broadcom card active was when I set the server NIC to > 100. But in that case, the RealTek NIC was not active. > Maybe I have to change the NIC on the server :( I suggest that using other NIC rather than RealTek to test this(I have tried this gigabit card once on my firewall box and it didn't seem to able to co-exist with another two NIC's, if_vr and if_rl). Though it still sounds like that we might miss some magic register settings related to link speed negotiation. I'm still curious: does your card work with Linux(any Live CD such like KNOPPIX is enough)? > The other tests I did besides the previous one was to boot in Safe mode > and to unload usb. > > Now, I don't know what to do. Me neither.... Maybe you would like to file another PR and have it Cc'ed to wpaul@ and dmlb@ since they are more familiar with if_bfe than I am. > Thanks for the fix anyway ;) No problem. Thank you for doing these tests and bringing this up to our attention. -- Cheers, Tai-hwa Liang