From owner-freebsd-current@FreeBSD.ORG Fri Dec 12 04:47:56 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D970C1065670 for ; Fri, 12 Dec 2008 04:47:56 +0000 (UTC) (envelope-from petry@netmasters.com) Received: from colo3.NetMasters.Com (colo3.netmasters.com [144.202.0.66]) by mx1.freebsd.org (Postfix) with ESMTP id B0ED98FC12 for ; Fri, 12 Dec 2008 04:47:56 +0000 (UTC) (envelope-from petry@netmasters.com) Received: from dolly.netmasters.com (dolly.netmasters.com [199.201.245.12]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by colo3.NetMasters.Com (Postfix) with ESMTPSA id BA71B102C66; Thu, 11 Dec 2008 23:31:55 -0500 (EST) Message-Id: From: Michael Petry To: pyunyh@gmail.com In-Reply-To: <20081212024713.GK46707@cdnetworks.co.kr> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 11 Dec 2008 23:31:55 -0500 References: <20081212024713.GK46707@cdnetworks.co.kr> X-Mailer: Apple Mail (2.929.2) MailScanner-NULL-Check: 1229661119.11301@Gk5kx1o90gZ8D7hkp80ZoA X-NetMasters-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: BA71B102C66.1B1A8 X-NetMasters-MailScanner: Found to be clean X-NetMasters-MailScanner-From: petry@netmasters.com X-Spam-Status: No Cc: freebsd-current@FreeBSD.org Subject: Re: CFT: RTL8168C re(4) attach issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 12 Dec 2008 04:47:56 -0000 On Dec 11, 2008, at 9:47 PM, Pyun YongHyeon wrote: > Hi, > > There had been several reports that some revision of RTL8168C were > not able to access PHY which in turn resulted in device attach > failure. For instance re(4) used to show the following messages. > re0: Chip rev. 0x3c000000 > re0: MAC rev. 0x00200000 > re0: PHY write failed > re0: PHY write failed > re0: MII without any phy! > > For users who suffered from these issues, please try re(4)/rl(4) at > the following URL and let me know how it goes. > http://people.freebsd.org/~yongari/re/if_re.c (copy it to /usr/usr/ > sys/dev/re/) > http://people.freebsd.org/~yongari/re/if_rlreg.h (copy it /usr/src/ > sys/pci/) > http://people.freebsd.org/~yongari/re/if_rl.c (copy it /usr/src/sys/ > pci/) > > And rebuild re(4) and rl(4). Since the issue is not always happen > testers should do power recycle several times to verify the issue. > > Thanks. > -- > Regards, > Pyun YongHyeon > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org > " Thanks!! That got it working for me. HP Pavilion a6442p with a Realtek on the motherboard re0: port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff, 0xfdff0000-0xfdffffff irq 18 at device 0.0 on pci2 re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00200000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:1f:c6:4c:55:dc re0: [FILTER] re0@pci0:2:0:0: class=0x020000 card=0x2a6f103c chip=0x816810ec rev=0x02 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' class = network subclass = ethernet Mike