From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 08:03:42 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC63B1065670 for ; Tue, 6 Jan 2009 08:03:42 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 8445B8FC16 for ; Tue, 6 Jan 2009 08:03:42 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so9039431rvf.43 for ; Tue, 06 Jan 2009 00:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=PVH/oGvCi37AfcsI4HJs2A44/pLkorJoBzY0TQsx4IY=; b=P0CyYCRuq39NcQ2WGkdCnAkPFZ3Ku8++2FoD4FAasmieZcwMqBZ+5yxJQLR39U2ML7 PEKIfPufyU54U5Am5G2gct2XEZi7KYgFCclIDroYXb7T76MGVAVmMU3YuKfg9MoEfI+0 Jac/ynrmtfQWQWzvQJvLG+i77PTxuBzoe1UfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=gtP4H31oCU4uEoVyHiWPHlNiPf8ZlAJ2zEKCFU+hkOsNqseDvnrGEckXBRXpyjEOl4 ivT3t6EeF0gIQhNM7rAoXsJ/k2ILUJZGY7KokHlzpp9MsPiC76knxo0Lx06zyUyCo8S2 Z8i8/hz0hXnQJ8bETb6gzj8mehNhYeuiVuFOc= Received: by 10.140.199.16 with SMTP id w16mr565296rvf.2.1231229022069; Tue, 06 Jan 2009 00:03:42 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id g31sm58858336rvb.4.2009.01.06.00.03.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Jan 2009 00:03:41 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id n0683YTe007507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Jan 2009 17:03:34 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id n0683XfC007506; Tue, 6 Jan 2009 17:03:33 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 6 Jan 2009 17:03:33 +0900 From: Pyun YongHyeon To: Brandon Weisz Message-ID: <20090106080333.GA6168@cdnetworks.co.kr> References: <49600E2E.7070601@avioc.org> <3163F769-48B0-4CFC-8842-BBBDDAE78B51@gmail.com> <20090105032657.GA1842@cdnetworks.co.kr> <4961FACE.4060203@avioc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4961FACE.4060203@avioc.org> User-Agent: Mutt/1.4.2.1i Cc: Garrett Cooper , stable@freebsd.org Subject: Re: Panic in RELENG_7_1 with fxp(4) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 08:03:43 -0000 On Mon, Jan 05, 2009 at 06:19:26AM -0600, Brandon Weisz wrote: > Pyun YongHyeon wrote: > >On Sat, Jan 03, 2009 at 10:16:58PM -0800, Garrett Cooper wrote: > > > On Jan 3, 2009, at 5:17 PM, Brandon Weisz wrote: > > > > > > >After running 7-PRERELEASE from around November 25th, I upgraded > > > >today to find the system panics repeatably on RELENG_7_1 sources. I > > > >can boot back to the old kernel and it operates as expected. It > > > >seems to be related to fxp(4). > > > > > > > >FreeBSD didy.internal 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Jan 3 > > > >18:11:18 CST 2009 bweisz@didy.internal:/usr/obj/usr/src/sys/ > > > >DIDY i386 > > > > > > .... > > > > > > > > >I replaced the fxp(4) card with an old xl(4) card lying on my desk > > > >and the panics stopped. Is this a failing nic card or some other > > > >trigger? > > > > > > > >Brandon > > > > > > Memory serves me correctly an MFC was done not too long before 7.1 > > > release was setup. > > > > > > >I don't know what MFCes were done, at least I didn't MFC any > >changes I made. > > > > > Let's see what Pyun says... > > > > > > >I'm not sure what is root cause of this panic. If you can reliably > >reproduce the panic would you let me know? > >CURRENT has a couple of fixes for edge-cases as well as some new > >hardware features(TSO, VLAN hardware tagging and WOL etc). Would > >you try latest fxp(4) in HEAD? > >I think you can use cvsweb interface to get latest files. > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxp.c > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxpreg.h > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxpvar.h > > > > Hi Pyun > > The system reliably panics on boot up. I tested fxp from HEAD with the > same result. > > 7.1-RELEASE = Panic > 7.1-RELEASE with fxp from HEAD = Panic > 7.1-PRERELEASE from Tue Nov 25 = operates as expected > > This is an old card. Some details on the card: > > fxp0: port 0xd100-0xd13f mem > 0xfca03000-0xfca03fff,0xfc800000-0xfc8fffff irq 17 at device 9.0 on pci0 > miibus0: on fxp0 > inphy0: PHY 1 on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:d0:b7:6c:1c:0a > fxp0: [ITHREAD] > > fxp0@pci0:0:9:0: class=0x020000 card=0x000b8086 chip=0x12298086 > rev=0x08 hdr=0x00 > vendor = 'Intel Corporation' > device = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter' > class = network > subclass = ethernet > > As a test, I unplugged the ethernet cable and the system booted fully, > however it produced a panic as soon as I connected the cable. This > backtrace is from 7.1-RELEASE with fxp sources from HEAD. > I still can't reproduce this but would you try fxp(4) in the following URLs? http://people.freebsd.org/~yongari/fxp/if_fxp.c http://people.freebsd.org/~yongari/fxp/if_fxpreg.h http://people.freebsd.org/~yongari/fxp/if_fxpvar.h -- Regards, Pyun YongHyeon