From owner-freebsd-net@FreeBSD.ORG Thu Dec 17 18:52:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12DB81065696 for ; Thu, 17 Dec 2009 18:52:15 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id BBECA8FC31 for ; Thu, 17 Dec 2009 18:52:14 +0000 (UTC) Received: by ywh2 with SMTP id 2so2405379ywh.27 for ; Thu, 17 Dec 2009 10:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=of5ixkDGFE0+1KGimShmJG0CPX6JxkAdPyHex9jyj1Y=; b=XObqQjzXbHcRA/cExXxtVi4jc/2dG/aXY23Dr3xMEfKuzfAwa4wbt6A1lIGYtCMVhE BVvlY5ff8f+TjW7nOIl+kxpM0xDI/gPd/Nc6gT+CnAKrVzlfgNLVtLvUmrvGYNQQDLv0 K7RsNtoH1D1DNoT2DFSNc1iAr+7hlu2fDL6r8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=OJldX291bNLXCStiHjcYB6SYOPXtYrJ7LHgegBS+tmq5ztyBezVryMdlUmfiMfzjKx YbP20GB9XqS8rCyUeINqb7/exGp6+t348NG1JD8BxMnRGIKjAtonIxOywBFDHHUeQAAn xLphkOVDWQOIlVC9zm5Fa7kp9dk7hbcigi4Ns= Received: by 10.150.9.18 with SMTP id 18mr4567265ybi.164.1261075933844; Thu, 17 Dec 2009 10:52:13 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 20sm822425ywh.47.2009.12.17.10.52.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 10:52:12 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 17 Dec 2009 10:52:04 -0800 From: Pyun YongHyeon Date: Thu, 17 Dec 2009 10:52:04 -0800 To: Alexander Kapshuk Message-ID: <20091217185204.GA12063@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: trouble with Realtek NIC RTL8101E/RTL8102E under FreeBSD 7.2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 18:52:15 -0000 On Thu, Dec 17, 2009 at 12:00:17PM +0200, Alexander Kapshuk wrote: > Dear FreeBSD-net Community, > > I have trouble with FreeBSD 7.2 as well as PCBSD 7.1.1 detecting my > NIC properly. > > Please see below for some technical details related to the problem. > > output of less /var/run/dmesg.boot | grep re0 > > re0: port 0x2000-0x20ff > mem 0xd4010000-0xd4010fff,0xd4000000-0xd400ffff irq 17 at device 0.0 > on pci3 > re0: Using 1 MSI messages > re0: Chip rev. 0x24800000 > re0: MAC rev. 0x00400000 > re0: Unknown H/W revision: 0x24c00000 > device_attach: re0 attach returned 6 > re0: port 0x2000-0x20ff > mem 0xd4010000-0xd4010fff,0xd4000000-0xd400ffff irq 17 at device 0.0 > on pci3 > re0: Using 1 MSI messages > re0: Chip rev. 0x24800000 > re0: MAC rev. 0x00400000 > re0: Unknown H/W revision: 0x24c00000 > device_attach: re0 attach returned 6 > re0: port 0x2000-0x20ff > mem 0xd4010000-0xd4010fff,0xd4000000-0xd400ffff irq 17 at device 0.0 > on pci3 > re0: Using 1 MSI messages > re0: Chip rev. 0x24800000 > re0: MAC rev. 0x00400000 > re0: Unknown H/W revision: 0x24c00000 > device_attach: re0 attach returned 6 > re0: port 0x2000-0x20ff > mem 0xd4010000-0xd4010fff,0xd4000000-0xd400ffff irq 17 at device 0.0 > on pci3 > re0: Using 1 MSI messages > re0: Chip rev. 0x24800000 > re0: MAC rev. 0x00400000 > re0: Unknown H/W revision: 0x24c00000 > device_attach: re0 attach returned 6 > Support for the controller was made in r195675 and the change was already MFCed to stable/8 and stable7. Try recent CURRENT or 8/stable and 7/stable. I guess you can download the following files from latest stable/7 via web interface and rebuilding both re(4) and rl(4) on your 7.2-RELEASE should make your controller recognized. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rl.c http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h > output of pciconf -l | grep re0 > > re0@pci0:3:0:0: class=0x020000 card=0x306a103c chip=0x813610ec rev=0x02 hdr=0x00 > > output of ifconfig > > ath0: flags=8802 metric 0 mtu 1500 > ether 00:24:2c:5e:06:f2 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 1 (2412 Mhz 11b) > authmode OPEN privacy OFF txpower 50 bmiss 7 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 burst > bintval 0 > lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > pflog0: flags=0<> metric 0 mtu 33204 > pfsync0: flags=0<> metric 0 mtu 1460 > syncpeer: 224.0.0.240 maxupd: 128 > > > Please let me know if you require further details that might be of help. > > Look forward to hearing from anyone who would care to help at your convenience. > > Regards, > > Alexander Kapshuk.