Date: Thu, 13 Jul 2006 22:30:27 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: amd64@FreeBSD.org, Olivier Houchard <cognet@FreeBSD.org> Subject: Re: NFS lockup when copying a "special" file Message-ID: <20060713193027.GN82532@ip.net.ua> In-Reply-To: <20060713210902.b393812e.lehmann@ans-netz.de> References: <20060713201434.a5335637.lehmann@ans-netz.de> <1152815780.17757.4.camel@triton.mcneil.com> <20060713210902.b393812e.lehmann@ans-netz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--KjSGHOmKKB2VUiQn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 13, 2006 at 09:09:02PM +0200, Oliver Lehmann wrote: > Sean McNeil wrote: >=20 > > > > I used to have a similar problem and tracked it down to my NIC and > > hardware checksums. Would this happen to be an if_re device? Can you > > give ifconfig info and if hardware checksums are on, try your test with > > them turned off (RXCSUM and TXCSUM). You can try different combos of > > these if turning off both helps. >=20 > Yeah, it is indeed an on-board if_re: >=20 > re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0xe800-0xe8ff mem = 0xcfffff00-0xcfffffff irq 16 at device 11.0 on pci0 > miibus0: <MII bus> on re0 > rgephy0: <RTL8169S/8110S media interface> on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 100= 0baseTX-FDX, auto > re0: Ethernet address: 00:11:09:cf:e2:e1 > re0: [FAST] >=20 >=20 > olivleh1@kartoffel olivleh1> ifconfig > re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=3D18<VLAN_MTU,VLAN_HWTAGGING> > inet6 fe80::211:9ff:fecf:e2e1%re0 prefixlen 64 scopeid 0x1=20 > inet 10.0.1.51 netmask 0xffffff00 broadcast 10.0.1.255 > ether 00:11:09:cf:e2:e1 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > plip0: flags=3D108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 > lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > inet6 ::1 prefixlen 128=20 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3=20 > inet 127.0.0.1 netmask 0xff000000=20 >=20 > olivleh1@kartoffel olivleh1> uname -a > FreeBSD kartoffel.salatschuessel.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Fr= i Jul 7 18:40:18 CEST 2006 olivleh1@kartoffel.salatschuessel.net:/usr/= obj/amd64-athlon64-6.1/usr/src/sys/KARTOFFEL amd64 >=20 > How can I disable checksum offloading? >=20 The re(4) driver has them disabled by default, though manpage is silent about this. : revision 1.37 : date: 2005/01/05 00:06:15; author: cognet; state: Exp; lines: +2 -2 : Disable checksum offloading by default. It seems to produce corrupted pac= kets : with some revisions of the chip (particularly when using multiple TX : descriptors). :=20 : MFC after: 1 week Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --KjSGHOmKKB2VUiQn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEtp9TqRfpzJluFF4RAiwkAJ9zPsAY/TwXyJ/nOiK6CL/MUsOS0gCePs3d dGzDjXfsktiUo5uy7ogMkaY= =xx4m -----END PGP SIGNATURE----- --KjSGHOmKKB2VUiQn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060713193027.GN82532>