Date: Thu, 17 Dec 2009 22:37:58 +0200 From: Alexander Kaphuk <sashaandtanya@gmail.com> To: pyunyh@gmail.com Cc: freebsd-net@freebsd.org Subject: Re: trouble with Realtek NIC RTL8101E/RTL8102E under FreeBSD 7.2 Message-ID: <4B2A96A6.2030400@gmail.com> In-Reply-To: <20091217192737.GB12063@michelle.cdnetworks.com> References: <cdce9e810912170200h4e799909sd501b3331169f477@mail.gmail.com> <20091217185204.GA12063@michelle.cdnetworks.com> <4B2A8387.9040304@gmail.com> <20091217192737.GB12063@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Pyun YongHyeon wrote: > On Thu, Dec 17, 2009 at 09:16:23PM +0200, Alexander Kaphuk wrote: > >> 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: <RealTek 8101E/8102E/8102EL PCIe 10/100baseTX> 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: <RealTek 8101E/8102E/8102EL PCIe 10/100baseTX> 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: <RealTek 8101E/8102E/8102EL PCIe 10/100baseTX> 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: <RealTek 8101E/8102E/8102EL PCIe 10/100baseTX> 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<BROADCAST,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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? >> >> > > Basically you may have to save your old driver sources to safe > place. And download the three files above and copy them to > appropriate source directory and rebuild kernel/reboot. > For instance, after downloading, > Copy if_re.c to /usr/src/sys/dev/re/ > Copy if_rl.c to /usr/src/sys/pci/ > Copy if_rlreg.h to /usr/src/sys/pci/ > And rebuild kernel. > Handbook may have instructions how to rebuild kernel. > Good luck. > > >> Thanks. >> >> >> > > No worries. Thanks a lot for your help once again!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B2A96A6.2030400>