Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2007 14:34:47 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Rene Ladan <r.c.ladan@gmail.com>
Cc:        pyunyh@gmail.com, freebsd-hackers@freebsd.org, Pietro Cerutti <pietro.cerutti@gmail.com>
Subject:   Re: re(4) incorrect checksum
Message-ID:  <20070111193447.GA35711@xor.obsecurity.org>
In-Reply-To: <45A659A1.2060401@gmail.com>
References:  <e572718c0701110229q60a66d32o68f789c889b4a06@mail.gmail.com> <45A61C1A.3090600@gmail.com> <20070111122049.GE33964@cdnetworks.co.kr> <45A659A1.2060401@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 11, 2007 at 04:37:05PM +0100, Rene Ladan wrote:
> Pyun YongHyeon schreef:
> > On Thu, Jan 11, 2007 at 12:14:34PM +0100, Rene Ladan wrote:
> >  > Pietro Cerutti schreef:
> >  > > Hi lists,
> >  > >=20
> >  > > FreeBSD gahrtop.localhost 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1:
> >  > > Tue Jan  9 19:34:13 CET 2007
> >  > > root@gahrtop:/usr/obj/usr/src/sys/GAHRTOP  i386
> >  > >=20
> >  > > CPU: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz (2000.15-MHz
> >  > > 686-class CPU)
> >  > >  Cores per package: 2
> >  > >=20
> >  > > re0: <RealTek 8168B/8111B PCIe Gigabit Ethernet> port 0xc800-0xc8ff
> >  > > mem 0xff2ff000-0xff2fffff irq 17 at device 0.0 on pci2
> >  > >=20
> >  > > ($FreeBSD: src/sys/dev/re/if_re.c,v 1.46.2.20 2006/09/21 11:08:28
> >  > > yongari Exp $)
> >  > >=20
> >  > > I get checksum errors on every packet I send, example:
> >  > >=20
> >  > > Checksum: 0x0bc5 [incorrect, should be 0x78fe (maybe caused by
> >  > > checksum offloading?)]
> >  > >=20
> >  > > I think this could be the cause of some web pages (e.g. Gmail in
> >  > > standard view [html view works well]) not to be displayed.
> >  > >=20
> >  > > I tracked down the problem to the re(4) driver just because wlan w=
orks
> >  > > good...
> >  > >=20
> >  > > Any ideas?
> >  > >=20
> >  > I'm also seeing these www problems with my re(4) card (chipid
> >  > 0x816810ec), see
> >  > http://lists.freebsd.org/pipermail/freebsd-current/2006-December/068=
333.html
> >  >=20
> >=20
> > Does your re(4) also work when you disable checksum offload?
> >=20
> Yes, 'ifconfig re0 -txcsum' does the trick.
>=20
> re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xc800-0xc8ff mem
> 0xfe0ff000-0xfe0fffff irq 16 at device 0.0 on pci2
>=20
> if.re.c revision 1.80 2006/12/20 02:13:59 marius

Can you confirm that you see checksum errors when viewing the packet
from another host on the subnet?

It's of course to be expected that a sending host with checksum
offload on the NIC will not see the correct checksum before offloading
the packet to the NIC, and this in itself does not indicate a problem.

Kris

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (FreeBSD)

iD8DBQFFppFXWry0BWjoQKURAse2AJ40VBido0+37ilYXohYfbMj8t3DmQCeOCiH
vxBjGZYIb5imJevNE5GrNS0=
=ja4f
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



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