From owner-freebsd-net@FreeBSD.ORG Sat Mar 13 00:45:31 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 716EA1065670; Sat, 13 Mar 2010 00:45:31 +0000 (UTC) (envelope-from steven@uplinklabs.net) Received: from mail-iw0-f185.google.com (mail-iw0-f185.google.com [209.85.223.185]) by mx1.freebsd.org (Postfix) with ESMTP id 3A17F8FC14; Sat, 13 Mar 2010 00:45:30 +0000 (UTC) Received: by iwn15 with SMTP id 15so1670579iwn.7 for ; Fri, 12 Mar 2010 16:45:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.148.1 with SMTP id n1mr169148ibv.96.1268439593432; Fri, 12 Mar 2010 16:19:53 -0800 (PST) In-Reply-To: <201003121754.o2CHsH7V065932@freefall.freebsd.org> References: <201003121754.o2CHsH7V065932@freefall.freebsd.org> Date: Fri, 12 Mar 2010 16:19:53 -0800 Message-ID: From: Steven Noonan To: yongari@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: freebsd-net@freebsd.org Subject: Re: kern/144689: [re] TCP transfer corruption using if_re X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2010 00:45:31 -0000 On Fri, Mar 12, 2010 at 9:54 AM, wrote: > Synopsis: [re] TCP transfer corruption using if_re > > State-Changed-From-To: open->feedback > State-Changed-By: yongari > State-Changed-When: Fri Mar 12 17:53:37 UTC 2010 > State-Changed-Why: > This looks like Rx checksum offloading issue. Would you try > disabling Rx checksum offloading and test it again? > #ifconfig re0 -rxcsum > Also show me dmesg output(re(4) related part). > > > Responsible-Changed-From-To: freebsd-net->yongari > Responsible-Changed-By: yongari > Responsible-Changed-When: Fri Mar 12 17:53:37 UTC 2010 > Responsible-Changed-Why: > Mine. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=144689 > Hmm. Disabling Rx checksum offloading helped for one clone process, but then this showed up in dmesg during my second test (it seems to be doing this regularly for some reason): re0: link state changed to DOWN re0: link state changed to UP And no, the cable isn't loose or something. It just decides to take the interface down and put it back up. Here's the rest of 'dmesg | grep re0': firewire0: on fwohci0 dcons_crom0: on firewire0 fwe0: on firewire0 fwip0: on firewire0 firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 re0: port 0x1200-0x12ff mem 0x88000000-0x880001ff irq 18 at device 0.0 on cardbus0 re0: Chip rev. 0x10000000 re0: MAC rev. 0x00000000 miibus1: on re0 re0: Ethernet address: 00:18:4d:6e:c0:29 re0: [FILTER] re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: detached re0: port 0x1200-0x12ff mem 0x88000000-0x880001ff irq 18 at device 0.0 on cardbus0 re0: Chip rev. 0x10000000 re0: MAC rev. 0x00000000 miibus1: on re0 re0: Ethernet address: 00:18:4d:6e:c0:29 re0: [FILTER] re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: PHY read failed re0: link state changed to DOWN re0: link state changed to UP re0: PHY read failed - Steven