From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 10 00:27:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65B5A16A41F for ; Wed, 10 Aug 2005 00:27:52 +0000 (GMT) (envelope-from freebsd@thesnodgrass.com) Received: from fed1rmmtao06.cox.net (fed1rmmtao06.cox.net [68.230.241.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D61345560 for ; Wed, 10 Aug 2005 00:27:51 +0000 (GMT) (envelope-from freebsd@thesnodgrass.com) Received: from [192.168.1.100] (really [68.8.226.201]) by fed1rmmtao06.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050810002751.COCD19494.fed1rmmtao06.cox.net@[192.168.1.100]> for ; Tue, 9 Aug 2005 20:27:51 -0400 Message-ID: <42F93030.2050509@thesnodgrass.com> Date: Tue, 09 Aug 2005 17:37:36 -0500 From: j snod User-Agent: Mozilla Thunderbird 1.0+ (Windows/20050712) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Realtek RTL8169 on FreeBSD 5.4: no carrier X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 00:27:52 -0000 I recently installed FreeBSD 5.4 on an ABIT AA-8 DuraMax and all went well. All hardware detected properly and everything was running great, until I got to configuring my network. ifconfig shows my onboard gigabit LAN as "status: no carrier" I can successfully ping localhost and the IP that was assigned to re0 (192.168.1.31). when I plug an ethernet cable from my FreeBSD box to my router, I get "status: no carrier." Oddly, when I plug an ethernet cable from my FreeBSD box to my laptop's LAN port, I get "status: active". The lights on the ethernet jack indicate the same. Additionally, if I manually set the media with the following command: # ifconfig re0 media 10baseT/UTP mediaopt full-duplex The status magically switches to "active" and I can use my ethernet! I know that there are known problems with RealTek chipsets, but it is listed in the 5.4 supported hardware list. Bottom line is that the onboard LAN is detected, installed, and working properly, but it seems as if the driver can't properly detect when a cable is plugged into the jack. I was hoping someone could help. uname -a: -------------------------------------- FreeBSD db.domain.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 ifconfig: -------------------------------------- re0: flags=8843 mtu 1500 options=18 inet 192.168.1.31 netmast 0xffffff00 broadcast 192.168.1.255 inet6 ... ether 00:50:8d:eb:e5:be media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 Relevant dmesg: -------------------------------------- re0: port 0xee00-0xeeff mem 0xfbfff000-0xfbfff0ff irc 16 at device 1.0 on pci1 miibus0: on re0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:50:8d:eb:e5:be pciconf -lv: -------------------------------------- re0@pci1:1:0: class=0x020000 card=0x1039147b chip=0x816910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169 Gigabit Ethernet Adapter class = network subclass = ethernet pciconf -r pci1:1:0 0:0xff -------------------------------------- 816910ec 02b00007 02000010 00002008 0000ee01 fbfff000 00000000 00000000 00000000 00000000 00000000 1039147b 00000000 000000dc 00000000 40200110 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 f7c20001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000