From owner-freebsd-stable@FreeBSD.ORG Wed Jan 14 00:32:37 2009 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 32BAB106564A for ; Wed, 14 Jan 2009 00:32:37 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id E97CC8FC0A for ; Wed, 14 Jan 2009 00:32:36 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so272044rvf.43 for ; Tue, 13 Jan 2009 16:32:36 -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=zJAtnG6I8gi0mlXkVjLRwWfBe1OS1B8i81s0bxymWJo=; b=R989kXQRflOE1srdU+gODQUn07vysbM3F9hsuf4wj4PVPSwH9s2L7zB8GPEEQWIst4 Uyso8G/mfX0G47letzWka8dGM7jU83zhwuqQt5uUzx5AzeXXDxhlBxcihFtOr3XesRG5 CHRfRwgHHXtt52JS2n+152iQHNNFIQlgN5wCc= 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=UOL3tb5qRpuAP7pG6S/gC9BmbivBM7kBx5KPt1YOwsxv69wOtg2v40CS71Rl1at14I 46YsZZP/NJeWf8bYCkYjrXbKS+YLhZTO7LMY/QLRAY1FSm/Hc7RvSf5iRKB1tpQz+1wG 3fia2o8d2EU6N8UIsRUtIgHdXrVveJv67bLiU= Received: by 10.141.84.5 with SMTP id m5mr2646208rvl.175.1231893156651; Tue, 13 Jan 2009 16:32:36 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id g31sm16574006rvb.4.2009.01.13.16.32.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Jan 2009 16:32:35 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.14.3/8.14.3) with ESMTP id n0E0WUla055520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Jan 2009 09:32:30 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.14.3/8.14.3/Submit) id n0E0WT70055519; Wed, 14 Jan 2009 09:32:29 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 14 Jan 2009 09:32:28 +0900 From: Pyun YongHyeon To: FreeBSD Message-ID: <20090114003228.GA55351@cdnetworks.co.kr> References: <8dfae1c10901070639x67945324jeeecfcac647d7976@mail.gmail.com> <8dfae1c10901071550s69d99802p31ca7c775f3d6823@mail.gmail.com> <88527079.20090111192206@donpac.ru> <20090112011146.GC46346@cdnetworks.co.kr> <496BBFF6.7010300@optiksecurite.com> <20090113004018.GG46346@cdnetworks.co.kr> <496CB0A2.2020103@optiksecurite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <496CB0A2.2020103@optiksecurite.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.1 Breaks re and rl Network Interface Drivers 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: Wed, 14 Jan 2009 00:32:37 -0000 On Tue, Jan 13, 2009 at 10:17:54AM -0500, FreeBSD wrote: > Pyun YongHyeon a ?crit : > >On Mon, Jan 12, 2009 at 05:11:02PM -0500, FreeBSD wrote: > > > Pyun YongHyeon a ?crit : > > > >On Sun, Jan 11, 2009 at 07:22:06PM +0300, Eugene Gladchenko wrote: > > > > > Walter, > > > > > > > > > > Thursday, January 8, 2009, 2:50:40 AM, you wrote: > > > > > > > > > > WV> Booting kernel.old, which is 7.0-RELEASE-p7 completely > > alleviates > > all > > > > > WV> problems. I believe this roundly confirms that this is a bug > > in the > > > > > WV> 7.1-RELEASE re kernel drivers. > > > > > > > > > > Does kern/130011 look similar? > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=130011 > > > > > > > >Do you have RTL8168C controller? If not, it's not related with > > > >Walter's issue as 7.0-RELEASE didn't have a support for RTL8168C. > > > > > > > > > > > > > > The re driver was really broken in 7.1-RC2 and the fix didn't get > > to > > 7.1-RELEASE. > > > > > > > >If you have re(4) issues, please provide more details such as > > > >dmesg output, way to reproduce the issue etc. > > > > > > > > > > Hi, > > > > > > I have the exact same card and the exact same problem as the PR you > > > mentionned. > > > > > > re0@pci0:3:0:0: class=0x020000 card=0x02831028 chip=0x816810ec rev=0x02 > > > hdr=0x00 > > > vendor = 'Realtek Semiconductor' > > > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > > > class = network > > > subclass = ethernet > > > > > > > > > re0: > > Gigabit Ethernet> port 0xd800-0xd8ff mem > > > 0xfeaff000-0xfeafffff,0xfdff0000-0xfdffffff irq 18 at device 0.0 on pci3 > > > re0: Chip rev. 0x3c000000 > > > re0: MAC rev. 0x00400000 > > > re0: PHY write failed > > > re0: PHY write failed > > > re0: MII without any phy! > > > device_attach: re0 attach returned 6 > > > > > > I tried to compile a new kernel with the latest version of the 3 files > > > listed in the PR: > > > src/sys/dev/re/if_re.c,v 1.147 2008/12/22 00:46:22 yongari > > > src/sys/pci/if_rl.c,v 1.170.2.10 2009/01/12 04:10:40 yongari > > > src/sys/pci/if_rlreg.h,v 1.67.2.16 2009/01/12 03:48:25 yongari > > > > > > >You need lastest if_rl.c and if_rlreg.h as well as if_re.c. > > > > That's exactly what I tried. Look at the 3 revision of the specified You've used if_rlreg.h in stable/7. > files. I even tried with a if_rl.c from the 22/12/08 but got the same > problem. > Use if_re.c, if_rl.h and if_rl.c in HEAD. Not all changes were MFCed. -- Regards, Pyun YongHyeon