From owner-freebsd-stable@FreeBSD.ORG Mon Oct 10 21:15:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA32F1065673; Mon, 10 Oct 2011 21:15:48 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7427F8FC1C; Mon, 10 Oct 2011 21:15:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=MOplg+EsXfmF24Z79UtaRnhz10B2lUf5jlcebtNzOEo=; b=lW6XpeL3r66ccifqGpKyyWF7tOWBkc+nBxhhMKYKtDSr7874HwDVEOiZs7rzv9syE7NZIbarPYQUqP1X0om/ZXDj0UEpaW5aoJReCBRkkOktayCXbF9dCn6n+5zqkjInvsR5epR86u+LzzoTpaglPntApqVNnTGfmnX2+un6Z3M=; Received: from [32.97.110.60] (port=24446 helo=[9.41.58.142]) by thebighonker.lerctr.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RDNCL-0001hU-K7; Mon, 10 Oct 2011 16:15:47 -0500 Message-ID: <4E93606D.8070306@lerctr.org> Date: Mon, 10 Oct 2011 16:15:25 -0500 From: Larry Rosenman Organization: LERCTR Consulting User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Louis Mamakos References: <201110101147.30558.jhb@freebsd.org> <4E933BBF.6070209@lerctr.org> <36C97D31-5D01-4AC2-8E48-9A8B04B98F91@transsys.com> In-Reply-To: <36C97D31-5D01-4AC2-8E48-9A8B04B98F91@transsys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-LERCTR-Spam-Score: -2.8 (--) X-Spam-Report: SpamScore (-2.8/5.0) ALL_TRUSTED=-1,BAYES_00=-1.9,TW_XF=0.077 X-LERCTR-Spam-Report: SpamScore (-2.8/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, TW_XF=0.077 Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: rsync corrupted MAC X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 21:15:49 -0000 On 10/10/2011 3:57 PM, Louis Mamakos wrote: > On Oct 10, 2011, at 2:38 PM, Larry Rosenman wrote: > >> On 10/10/2011 10:47 AM, John Baldwin wrote: >>> On Sunday, October 09, 2011 5:06:26 pm Larry Rosenman wrote: >>>> Any ideas on which side or what might be broke here? >>>> >>>> ler/MAIL-ARCHIVE/2008/12/INBOX >>>> Corrupted MAC on input. >>>> Disconnecting: Packet corrupt >>>> rsync: connection unexpectedly closed (33845045 bytes received so far) >>> [receiver] >>>> rsync error: error in rsync protocol data stream (code 12) at io.c(605) >>> [receiver=3.0.9] >>>> rsync: connection unexpectedly closed (1450 bytes received so far) >>> [generator] >>>> rsync error: unexplained error (code 255) at io.c(605) [generator=3.0.9] >>> I've had somewhat similar issues (ssh getting corruption in its data stream) >>> when a NIC in my netbook was corrupting packet data when it ran at 1G (it >>> worked fine at 10/100). Pyun eventually fixed the issue by applying enough >>> workarounds (it was likely a hardware bug in the NIC's chipset). However, it >>> wasn't easy to debug unfortunately. :( >>> >> Any ideas on where to start? >> >> from the 8.2 box (tbh.lerctr.org in the script): >> >> 8.2->PIX->Provider->Internet->Motorola SBG6580 (Time-Warner)->Trendnet TEG-160WS Gig switch->9.0 box (borg.lerctr.org). >> >> So, where do I start? > I'd turn off IP / TCP / UDP checksum offloading on your NIC if it supports it, and see if you are getting network layer checksum errors. If the IP checksum is wrong, then it happened on the last hops between the NIC and memory or across the previous network hop. > > > Good idea, but, it didn't show ANY errors on EITHER side (both are em nics). Next? $ ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=2098 ether 00:30:48:2e:99:ba inet 192.147.25.65 netmask 0xffffff00 broadcast 192.147.25.255 inet6 fe80::230:48ff:fe2e:99ba%em0 prefixlen 64 scopeid 0x1 inet 192.147.25.45 netmask 0xffffff00 broadcast 192.147.25.255 inet 192.147.25.11 netmask 0xffffff00 broadcast 192.147.25.255 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active $ $ uname -a FreeBSD thebighonker.lerctr.org 8.2-STABLE FreeBSD 8.2-STABLE #45: Sat Oct 8 10:57:43 CDT 2011 root@thebighonker.lerctr.org:/usr/obj/usr/src/sys/THEBIGHONKER amd64 $ $ ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=2088 ether 00:30:48:8e:9f:f3 inet 192.168.200.4 netmask 0xffffff00 broadcast 192.168.200.255 inet6 fe80::230:48ff:fe8e:9ff3%em0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active $ uname -a FreeBSD borg.lerctr.org 9.0-BETA3 FreeBSD 9.0-BETA3 #1: Sun Oct 9 10:03:42 CDT 2011 root@borg.lerctr.org:/usr/obj/usr/src/sys/BORG-DTRACE amd64 $ -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893