From owner-freebsd-current@FreeBSD.ORG Sat Nov 11 11:56:31 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF4AF16A40F for ; Sat, 11 Nov 2006 11:56:31 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45E0F43D6A for ; Sat, 11 Nov 2006 11:56:30 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so657271uge for ; Sat, 11 Nov 2006 03:56:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ML4IZ4BIALKahS5pZIwr1lgbs4G+S5jI/0sW2MIyXijXFXaiWOXPzwrfxKaIYdVgoD1lTZib4fZ4xhA3uY4wJqvfQ/K3VlCjInRREp3aOLh4fafd+XWYulUzxi2BdqHUU0Zcs82xfB8AgCbrv+WDFGzoO4FJ6shpRYl5UwT6T6Q= Received: by 10.66.232.9 with SMTP id e9mr4973815ugh.1163246189202; Sat, 11 Nov 2006 03:56:29 -0800 (PST) Received: from ?192.168.1.200? ( [80.217.194.157]) by mx.google.com with ESMTP id x33sm3303016ugc.2006.11.11.03.56.28; Sat, 11 Nov 2006 03:56:28 -0800 (PST) Message-ID: <4555BA65.4020603@gmail.com> Date: Sat, 11 Nov 2006 12:56:21 +0100 From: Pawel Worach User-Agent: Thunderbird 1.5.0.7 (X11/20061109) MIME-Version: 1.0 To: Andre Oppermann References: <200611021653.kA2GrRWx008044@repoman.freebsd.org> <455530E0.5090000@gmail.com> <4555B45D.6020800@freebsd.org> In-Reply-To: <4555B45D.6020800@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: sendfile data corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 11:56:31 -0000 Andre Oppermann wrote: > > I'm looking into the problem. Please try a binary FTP transfer as well > and check if the checksums match. ftpd uses sendfile(2) as well but w/o > headers or trailers and does the send in one swoop. > Oh, didn't think of that, ftpd is ok, transferring a 64MB file does not trash it. Meanwhile a couple of other things where tested, SMP disabled (removed from kernel config), added some printf's which when printing to a serial console moves the offset where the breakage begins to 0x01000000, sometimes. -- Pawel