trouble with Realtek NIC RTL8101E/RTL8102E under FreeBSD 7.2
Alexander Kaphuk
sashaandtanya at gmail.com
Thu Dec 17 19:16:36 UTC 2009
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 at 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?
Thanks.
More information about the freebsd-net
mailing list