From owner-freebsd-hackers@freebsd.org Wed Apr 11 10:45:43 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BD9FF88C65 for ; Wed, 11 Apr 2018 10:45:43 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC9EC70939 for ; Wed, 11 Apr 2018 10:45:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id w3BAjXkI040261; Wed, 11 Apr 2018 10:45:33 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id w3BAjXbL040260; Wed, 11 Apr 2018 03:45:33 -0700 (PDT) (envelope-from david) Date: Wed, 11 Apr 2018 03:45:33 -0700 From: David Wolfskill To: BERTRAND =?iso-8859-1?Q?Jo=EBl?= Cc: freebsd-hackers@freebsd.org Subject: Re: Realtek re(4) driver Message-ID: <20180411104533.GC1134@albert.catwhisker.org> Reply-To: hackers@freebsd.org Mail-Followup-To: hackers@freebsd.org, BERTRAND =?iso-8859-1?Q?Jo=EBl?= , freebsd-hackers@freebsd.org References: <20180411121404.71a07fef@ernst.home> <8919d821-2200-a2aa-87c3-bcad16bc75fb@systella.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hI0LKvM4dmXJ5Wy2" Content-Disposition: inline In-Reply-To: <8919d821-2200-a2aa-87c3-bcad16bc75fb@systella.fr> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 10:45:43 -0000 --hI0LKvM4dmXJ5Wy2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 11, 2018 at 12:32:00PM +0200, BERTRAND Jo=EBl 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). >=20 > Internal re driver is broken on this ethernet adapter (maybe on several > other adapters) : >=20 > re0@pci0:2:0:0: class=3D0x020000 card=3D0x78511462 chip=3D0x816810ec rev= =3D0x0c > hdr=3D0x00 > vendor =3D 'Realtek Semiconductor Co., Ltd.' > device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Contro= ller' > class =3D network > subclass =3D ethernet >=20 > Regards, >=20 > 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@pci0:3:0:0: class=3D0x020000 card=3D0x05b71028 chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet freebeast(11.1-S)[2] ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 options=3D8209b 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=20 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active freebeast(11.1-S)[3]=20 (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 --=20 David H. Wolfskill david@catwhisker.org Well, what did you EXPECT from Trump? He has a history of breaking promise= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --hI0LKvM4dmXJ5Wy2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlrN501fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ 7hdrCwgA0g7vKNdRGYyATMu36uGuf8ulwaiuu3cAFMu6fLiKpxtZ0jn861x11hUL ITIuMPn+abI6G2cVtE+Mvqk8bizcEP+ls57Ku+bSJ+xACfURIs6o5mvSt/wswbU7 sXyhDS3mSf3XHxDrqK7T8S660rWdGIqoXS4euFzCPqRrgq0wMegGKQFpbh9/MtVD NQNZ4I5C2Z5HDYcLF9VApQWLxaglwHlg8QpVe/LbD1RElHDPCc/kx76WW+y24PBL aLQSZsUlXqdVB8NfeMEsdEXYlhZcwv1QBWoiNG/IE/sf4M3PBEt3QRbiw6pW/sI9 hkK2byILX2sW96Po5hGtqdiOL4337Q== =CjKr -----END PGP SIGNATURE----- --hI0LKvM4dmXJ5Wy2--