From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 12 16:08:54 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50AB116A407 for ; Fri, 12 Jan 2007 16:08:54 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id DC36613C428 for ; Fri, 12 Jan 2007 16:08:53 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1236916nfc for ; Fri, 12 Jan 2007 08:08:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=GMin57ytAlFiia9yHt7AecNijFulaF24Ra6+XbsBIQcCFplX+/zz5bpOQlsd/+mO1mbgzqrQxZj6dXaHmmNUeOcQW05ueZ9lCixx8UuEJD2W6VFErdyNYUwVNchNVhlLqFmNhLaonbHhty2XyT93cFpQJwqzEEoGvH+ezD3llUo= Received: by 10.48.48.18 with SMTP id v18mr601413nfv.1168618132603; Fri, 12 Jan 2007 08:08:52 -0800 (PST) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id v20sm10739379nfc.2007.01.12.08.08.50; Fri, 12 Jan 2007 08:08:51 -0800 (PST) Message-ID: <45A7B291.9040405@gmail.com> Date: Fri, 12 Jan 2007 17:08:49 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20061224) MIME-Version: 1.0 To: pyunyh@gmail.com References: <45A61C1A.3090600@gmail.com> <20070111122049.GE33964@cdnetworks.co.kr> <45A659A1.2060401@gmail.com> <20070112020149.GA42529@cdnetworks.co.kr> In-Reply-To: <20070112020149.GA42529@cdnetworks.co.kr> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Pietro Cerutti Subject: Re: re(4) incorrect checksum X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 16:08:54 -0000 Pyun YongHyeon schreef: > 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, > > > > > [..] > > > > > re0: port 0xc800-0xc8ff > > > > > mem 0xff2ff000-0xff2fffff irq 17 at device 0.0 on pci2 > > > > > > > > > > ($FreeBSD: src/sys/dev/re/if_re.c,v 1.46.2.20 2006/09/21 11:08:28 > > > > > yongari Exp $) > > > > > > > > > > I get checksum errors on every packet I send, example: > > > > > > > > > > Checksum: 0x0bc5 [incorrect, should be 0x78fe (maybe caused by > > > > > checksum offloading?)] > > > > > > > > > > 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. > > > > > > > > > > I tracked down the problem to the re(4) driver just because wlan works > > > > > good... > > > > > > > > > > Any ideas? > > > > > > > > > I'm also seeing these www problems with my re(4) card (chipid > > > > 0x816810ec), see > > > > http://lists.freebsd.org/pipermail/freebsd-current/2006-December/068333.html > > > > > > > > > > Does your re(4) also work when you disable checksum offload? > > > > > Yes, 'ifconfig re0 -txcsum' does the trick. > > > > re0: port 0xc800-0xc8ff mem > > 0xfe0ff000-0xfe0fffff irq 16 at device 0.0 on pci2 > > > > if.re.c revision 1.80 2006/12/20 02:13:59 marius > > > > I've never encountered checksum offload issue after wpaul's fix. > How about attached one? It's just vague guess but please give it > try and let me know the result. > The patch doesn't work :( I still need to pass -txcsum (or go wireless using wpi(4) :) ) -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001