Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 17:44:51 +0900
From:      Yonghyeon PYUN <pyunyh@gmail.com>
To:        Shteryana Shopova <syrinx@FreeBSD.org>
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>, David Rufino <david.rufino@gmail.com>
Subject:   Re: RTL8111/8168B NIC & FreeBSD
Message-ID:  <20131218084450.GB1400@michelle.cdnetworks.com>
In-Reply-To: <CAExw9940J6HJv8am1JtKAWyrfQ_zV9bEKUFkF3NVQJ2aDRc_kw@mail.gmail.com>
References:  <CAAwjuuzPEB%2BhT11bo6h33GsnUjcqZ5o2O1xfMkq90JwjkyB9Mg@mail.gmail.com> <CAExw994hJRh-zmCEx=Ey=T66Ppy5b76%2B-%2BiS9k3iA3R5HbcHeQ@mail.gmail.com> <20131216014704.GB3345@michelle.cdnetworks.com> <CAExw9940J6HJv8am1JtKAWyrfQ_zV9bEKUFkF3NVQJ2aDRc_kw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 16, 2013 at 09:06:14PM +0200, Shteryana Shopova wrote:
> 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

Your controller is RTL8411B. Try this one instead.
http://people.freebsd.org/~yongari/re/re.rxdv_gated.diff

> 
> cheers,
> Shteryana
> 
> 
> On Mon, Dec 16, 2013 at 3:47 AM, Yonghyeon PYUN <pyunyh@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@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@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131218084450.GB1400>