rsync corrupted MAC

Larry Rosenman ler at lerctr.org
Mon Oct 10 21:15:49 UTC 2011


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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=2098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
         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<PERFORMNUD,ACCEPT_RTADV>
         media: Ethernet autoselect (100baseTX <full-duplex>)
         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 at thebighonker.lerctr.org:/usr/obj/usr/src/sys/THEBIGHONKER  amd64
$



$ ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=2088<VLAN_MTU,VLAN_HWCSUM,WOL_MAGIC>
         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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (1000baseT <full-duplex>)
         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 at 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 at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893



More information about the freebsd-stable mailing list