Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2007 21:12:56 +0200
From:      Michael Nottebrock <lofi@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Various problems with re(4) on a PCIe 8168/8111B onboard NIC
Message-ID:  <200707292113.01023.lofi@freebsd.org>

next in thread | raw e-mail | index | archive | help
--nextPart1429025.e96ZJUYYFQ
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

After recently updating the windows drivers (I dual-boot Windows XP on the=
=20
machine the NIC is in), I hit this problem:=20
http://gentoo-wiki.com/HARDWARE_RTL8168#Troubleshooting which affects re(4)=
=20
like it does the Linux drivers described in the above link.=20

I already wrote the Realtek technical support about it since their "own"=20
=46reeBSD driver (a hacked rl(4) that does not support any of the chip's=20
advanced features) does not manage to power up the PHY on its own either -=
=20
neither does the motherboard's BIOS when trying to netboot.

The other problem is that I have at least two applications misbehaving when=
=20
rxcsum/txcsum is enabled:=20

=2D The Linux Second Life client (yes, yes, I know, but it is nice for show=
ing=20
off GLX and it is really really good at generating network traffic) will=20
cease to receive data after about a minute or so - turning off rcxsum/txcsu=
m=20
will mend it on the spot.

=2D A Fedora Core 4 running in Qemu, networked with bridge(4) and tap(4), c=
annot=20
receive an ip address via DHCP. Interestingly, this even occurs if=20
rxcsum/txcsum was already turned off before launching Qemu - to make it wor=
k,=20
I have to cycle rxcsum/txcsum once. Might be related to promiscuous mode.

I realise that both of these make awful test cases, but so far they are the=
=20
only applications I found to expose those problems.

This is on FreeBSD kiste 6.2-STABLE FreeBSD 6.2-STABLE #4: Sat Jul 28 14:11=
:23=20
CEST 2007     root@:/usr/obj/usr/src/sys/KISTE-SMP  i386. The kernel source=
s=20
are up to date as of 2007-07-27.

The NIC is re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xd800-0xd8=
ff=20
mem 0xfbfff000-0xfbffffff irq 36 at device 0.0 on pci3 / re0@pci3:0:0:=20
class=3D0x020000 card=3D0x81681849 chip=3D0x816810ec rev=3D0x01 hdr=3D0x00.

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--nextPart1429025.e96ZJUYYFQ
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGrOa5Xhc68WspdLARAiU9AJ9qDY0v08sPxdFa94+Th3xImQM/qgCbBEhO
AQv9LUGAybULmiFuBT/v+RU=
=ftaE
-----END PGP SIGNATURE-----

--nextPart1429025.e96ZJUYYFQ--



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