Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2010 12:53:43 GMT
From:      Steven Noonan <steven@uplinklabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/144689: TCP transfer corruption using if_re
Message-ID:  <201003121253.o2CCrhC9017454@www.freebsd.org>
Resent-Message-ID: <201003121300.o2CD0EV1010245@freefall.freebsd.org>

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

>Number:         144689
>Category:       kern
>Synopsis:       TCP transfer corruption using if_re
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 12 13:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Steven Noonan
>Release:        8.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD xerxes.uplinklabs.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 16:02:27 UTC 2010     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I was attempting to test git-daemon, and discovered that doing 'git clone' remotely is failing every time, with either a zlib decompression error or a protocol error. The git daemon uses TCP to serve its data.

If I use 'git clone' using the git protocol over a tunnel created with 'ssh -L', the clone works without any errors.

The only thing that makes a difference is either tunneling via SSH or using the machine's onboard NIC instead (which uses if_fxp). Those two methods work fine. But using the NIC which utilizes the 'if_re' driver is not working properly. I'm not certain if it makes a difference, but the NIC is connected via a cardbus controller.

It's also worth noting that this problem has never cropped up before using any other operating system, so it seems extremely unlikely to be a hardware issue.

I'm not certain what data would be relevant for this issue, so please let me know what sort of debugging I should do to help narrow down the issue. And thank you in advance for your help!
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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