I use a diskless workstation. With re driver provided by FreeBSD kernel
(9/10/11.x), system randomly crashed because ethernet driver stalls (and
datarate is always less than 300mbps). With official realtek driver
(v194.01), system now runs as expected (with datarate up to 1 Gbps).
Internal re driver is broken on this ethernet adapter (maybe on several
other adapters) :
re0@pci0:2:0:0: class=0x020000 card=0x78511462 chip=0x816810ec rev=0x0c
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
Regards,
JKB
I don't know if it's enough as I cannot reboot with FreeBSD officiel
driver. I use Realtek one :
Mar 24 21:35:06 pythagore kernel: re0: <Realtek PCIe GBE Family
Controller> port 0xe000-0xe0ff mem
0xf7d00000-0xf7d00fff,0xf0000000-0xf0003fff irq 19 at device 0.0 on pci2
Mar 24 21:35:06 pythagore kernel: re0: Using Memory Mapping!
Mar 24 21:35:06 pythagore kernel: re0: Using 1 MSI-X message
Mar 24 21:35:06 pythagore kernel: re0: version:1.94.01
Mar 24 21:35:06 pythagore kernel: re0: Ethernet address: d8:cb:8a:7d:10:59
Mar 24 21:35:06 pythagore kernel: re0: Ethernet address: d8:cb:8a:7d:10:59
Mar 24 21:35:06 pythagore kernel: re0: link state changed to UP
This adapter doesn't work as expected on diskless workstation with
kernel driver. No problem with Realtek driver.
re0@pci0:2:0:0: class=0x020000 card=0x78511462 chip=0x816810ec rev=0x0c
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
Regards,
JKB
On 11/04/2018 22:01, BERTRAND Joël wrote:
> Rodney W. Grimes a écrit :
>> SO if you want to submit your pciconf -lv,
>> PLEASE include the dmesg output for the device.
> I don't know if it's enough as I cannot reboot with FreeBSD officiel
> driver. I use Realtek one :
>
> Mar 24 21:35:06 pythagore kernel: re0: <Realtek PCIe GBE Family
> Controller> port 0xe000-0xe0ff mem
> 0xf7d00000-0xf7d00fff,0xf0000000-0xf0003fff irq 19 at device 0.0 on pci2
> Mar 24 21:35:06 pythagore kernel: re0: Using Memory Mapping!
> Mar 24 21:35:06 pythagore kernel: re0: Using 1 MSI-X message
> Mar 24 21:35:06 pythagore kernel: re0: version:1.94.01
> Mar 24 21:35:06 pythagore kernel: re0: Ethernet address: d8:cb:8a:7d:10:59
> Mar 24 21:35:06 pythagore kernel: re0: Ethernet address: d8:cb:8a:7d:10:59
> Mar 24 21:35:06 pythagore kernel: re0: link state changed to UP
>
> This adapter doesn't work as expected on diskless workstation with
> kernel driver. No problem with Realtek driver.
>
> re0@pci0:2:0:0: class=0x020000 card=0x78511462 chip=0x816810ec rev=0x0c
> hdr=0x00
> vendor = 'Realtek Semiconductor Co., Ltd.'
> device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
> class = network
> subclass = ethernet
>
I know you said you couldn't do this, but it may well be very useful to
compare this to the output when using the built in FreeBSD driver as it
may highlight a key difference.
I'm thinking given the ages of the Realtek driver we could be looking at
a different operational mode, different MSI-X count etc.
Here's some other links with potentially relevant info:
https://forums.freebsd.org/threads/replacing-realtek-re-driver.55861/
https://unixblogger.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/
Regards
Steve
Hi all, I would love to assist and perform testing in any way I can. I have
2 devices running Realtek devices. One is a 4-port NIC. If we can
narrow-down the issue and create a reproduceable failure, I might be able
to hunt through the code to help identify the problem (I am primarily
tapped on rtwn(4), but I would not mind lending an extra pair of eye-balls)
Laptop machine running 12.0-CURRENT:
re0@pci0:3:0:0: class=0x020000 card=0x21de103c chip=0x813610ec rev=0x08
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8101/2/6E PCI Express Fast Ethernet controller'
class = network
subclass = ethernet
Think Server running 11.1-RELEASE-p8:
re0@pci0:4:0:0: class=0x020000 card=0x012310ec chip=0x816810ec rev=0x07
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
re1@pci0:5:0:0: class=0x020000 card=0x012310ec chip=0x816810ec rev=0x07
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
re2@pci0:6:0:0: class=0x020000 card=0x012310ec chip=0x816810ec rev=0x07
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
re3@pci0:7:0:0: class=0x020000 card=0x012310ec chip=0x816810ec rev=0x07
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
pcib9@pci0:8:0:0: class=0x060401 card=0x30a517aa chip=0x88931283 rev=0x41
hdr=0x01
vendor = 'Integrated Technology Express, Inc.'
device = 'IT8893E PCIe to PCI Bridge'
class = bridge
subclass = PCI-PCI
> On 11 Apr 2018, at 17:19, Alex Dupre <a...@FreeBSD.org> wrote:
> I agree that is a complex problem with a non obvious solution, I have
> also used many re cards successfully and others not, but surely it's not
> a NFS issue.
I have this interface in an Intel NUC,
re0@pci0:3:0:0: class=0x020000 card=0x20678086 chip=0x816810ec rev=0x15 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
and I have had serious problems running an iSCSI initiator with some work load. I tried both the
builtin “re” driver in FreeBSD and the 1.94.01 version driver available from the Realtek website
with similar results.
More or less the same workload on a different machine with Intel “em” cards and
the same FreeBSD version works.
Borja.