Realtek re(4) driver

David Wolfskill david at catwhisker.org
Wed Apr 11 10:45:43 UTC 2018


On Wed, Apr 11, 2018 at 12:32:00PM +0200, BERTRAND Joël wrote:
> ...
> 	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 at 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
> ....

In counterpoint, my build machine for the last few years has been a Dell
mini-tower I bought from Costco... with its original disk drive removed
(replaced by an SSD, then supplemented with 3 more for a poudriere
scratch-space).  It runs a GENERIC kernel, tracking stable/11 & head
daily, using poudriere to build local packages weekly, and acting as an
NFS server for my "production" machines for their weekly updates.

Its NIC:

re0 at pci0:3:0:0: class=0x020000 card=0x05b71028 chip=0x816810ec rev=0x0c hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet

freebeast(11.1-S)[2] ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether 98:90:96:d6:c9:6d
        hwaddr 98:90:96:d6:c9:6d
        inet 172.16.8.10 netmask 0xffffff00 broadcast 172.16.8.255 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex,master>)
        status: active
freebeast(11.1-S)[3] 

(It is connected to a "dumb" 16-port Netgear gigabit switch.)

I will admit that I avoid having the machine try to do too much
else while the production machines are using it as an NFS server
(serving /usr/src & /usr/obj, while (e.g.) "make installworld" runs
on the production machines), but other than that, I have no issues
involving performance and behavior of the NIC and its driver.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Well, what did you EXPECT from Trump?  He has a history of breaking promises.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20180411/cb2f6e0d/attachment.sig>


More information about the freebsd-hackers mailing list