From owner-freebsd-net@FreeBSD.ORG Thu Dec 17 19:16:36 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 21FBA106568B for ; Thu, 17 Dec 2009 19:16:36 +0000 (UTC) (envelope-from sashaandtanya@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id A3BC38FC14 for ; Thu, 17 Dec 2009 19:16:35 +0000 (UTC) Received: by fxm27 with SMTP id 27so2232162fxm.3 for ; Thu, 17 Dec 2009 11:16:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=htm7mAThaFoGkP27NdWpohr59lgsuaAmrsWLsoLZaWY=; b=d1SYsgU3d14nhEO8K0V0ZpAP5U+qybLaJVY3igi2PvTC6cH1ca2sqT59iOaSa8P9cc OApu68QIwTmVw/JGCDoqLON49FS4PkG2OB78R06VhxEOgSsYtqlPGdIaYviBzj+xZ+un QYoKpIK1XSe3FYeY0HeMiv4So+DiwE4BhNlIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ClEOYZ9Kc5Q2CtRN4GNokKy6W0BEsjD0DU6+jURx+XADwzw/SvlHCra0BasY0AKBJL ZxTmQvUCo75S8VAdHJDPWH+lLDanxO6f9IwdjfdSpA8XApZkiJP5p6lEWZyjLidqOKtw LjBFF1AhFGFEnlBIIfRfJEwl/0kD6ZstDzJh8= Received: by 10.223.4.84 with SMTP id 20mr3567297faq.97.1261077394417; Thu, 17 Dec 2009 11:16:34 -0800 (PST) Received: from ?192.168.1.2? (93-127-28-148.static.vega-ua.net [93.127.28.148]) by mx.google.com with ESMTPS id 16sm797358fxm.12.2009.12.17.11.16.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 11:16:33 -0800 (PST) Message-ID: <4B2A8387.9040304@gmail.com> Date: Thu, 17 Dec 2009 21:16:23 +0200 From: Alexander Kaphuk User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: pyunyh@gmail.com References: <20091217185204.GA12063@michelle.cdnetworks.com> In-Reply-To: <20091217185204.GA12063@michelle.cdnetworks.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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 19:16:36 -0000 Pyun YongHyeon wrote: > 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. >> > > Thanks a lot! I'll give it a go. I've never rebuilt a driver before. So I'll have to look into it. Can the info on how to do it be found in the Handbook, or should I look elsewhere? Thanks.