RTL8111/8168B NIC & FreeBSD

Shteryana Shopova syrinx at FreeBSD.org
Mon Dec 16 19:06:16 UTC 2013


Hm,

It's neither -

re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
0x2000-0x20ff mem 0xd1404000-0xd1404fff,0xd1400000-0xd1403fff irq 18
at device 0.1 on pci4
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x5c800000
re0: MAC rev. 0x00000000

cheers,
Shteryana


On Mon, Dec 16, 2013 at 3:47 AM, Yonghyeon PYUN <pyunyh at gmail.com> wrote:
> On Sun, Dec 15, 2013 at 06:46:35AM +0200, Shteryana Shopova wrote:
>> Hi,
>>
>> I hit the same problem with the same chip on FreeBSD 11.0-CURRENT #0
>> r258178 - the card would receive nothing or (perhaps not-so-)random
>> crap. ifconfig down/up and disabling RX/TX check-summing makes the
>> card work for me as a temporary workaround.
>>
>
> David's controller is RTL8168G.  Are you sure you have the same
> controller?  If your controller is RTL8168E-VL(Chip rev.
> 0x2c800000 in dmesg), try the patch at the following URL.
> http://people.freebsd.org/~yongari/re/re.8168evl.diff
>
>> re0 at pci0:4:0:1:    class=0x020000 card=0x07981025 chip=0x816810ec
>> rev=0x14 hdr=0x00
>>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>>     device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
>>     class      = network
>>     subclass   = ethernet
>>
>> cheers,
>> Shteryana
>>
>>
>> On Sat, Dec 14, 2013 at 11:31 PM, David Rufino <david.rufino at gmail.com> wrote:
>> > Hello,
>> >
>> > I'm having similar problems using an onboard RTL 8168B NIC. I noticed
>> > there were some recent changes to the re0 driver, so I tried -STABLE
>> > (r258961). The device is detected but can't send or receive packets.
>> > Interestingly it doesn't work in Debian wheezy, but does work fine in
>> > Windows 7 with latest drivers. I'm happy to assist in any way. Here's
>> > some relevant debugging information
>> >
>> > pciconf -l -v
>> >
>> > re0 at pci0:1:0:0: class=0x020000 card=0x81161019 chip=0x816810ec rev=0x0c hdr=0x00
>> >   vendor     = 'Realtek Semiconductor Co., Ltd.'
>> >   device      = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
>> >   class        = network
>> >   subclass  = ethernet
>> >
>> > re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
>> > 0xe000-0xe0ff mem 0xfea00000-0xfea00fff,0xd0800000-0xd0803fff irq 32
>> > at device 0.0 on pci1
>> > re0: Using 1 MSI-X message
>> > re0: ASPM disabled
>> > re0: Chip rev. 0x4c000000
>> > re0: MAC rev. 0x00000000
>> > miibus0: <MII bus> on re0
>> > re0: Ethernet address: 74:27:ea:d3:de:5a
>> >
>> > Thanks!,
>> > David
>> >
>> >>
>> >> Hello,
>> >>
>> >> we are trying to install FreeBSD on a computer that uses the NIC mentioned
>> >> above. The NIC is running under linux without problems, which we've tested
>> >> for several days transferring several GB of data.


More information about the freebsd-net mailing list