X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=kV 1WHh19CnzpkKstvA0dAH070yjBEAZdpXCs4zQJGNGRiNxITnlmsETD5F/V0B/Wsh /XV4XbrEonlwjBeH9T7NJo/s0cVziaUef9BVdC57THrtgeq3E5uBT/8YlmdClUB8 MBjsBC5EcWj0mxqJ7xDoM7SVSllVR+gwN2ewJASRg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=Qvmp94n/ RbxkjRYch4+Z4DpFBnc=; b=aeJWJrwwciMMMl0JjmoRCruzizcY7wDt41F5k6s4 d/qVK+26jXkb8ZE4gbWXBiZ/J6mGAjxUombCYr/sM1dtHMGGNUTBLBse0Nsg0FoJ wMNhNlb3wVmGZjZSiOpCI553LOdU831l5PhojRiTu9nGxsusiWLjymWxJ9Q0RE9x cu0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.229.170.18 with SMTP id b18mr4991615qcz.5.1366588913006; Sun, 21 Apr 2013 17:01:53 -0700 (PDT) In-Reply-To: References: Date: Sun, 21 Apr 2013 20:01:52 -0400 Message-ID: Subject: Re: rsync: writefd_unbuffered failed (when writing to micro SD cards) From: Christopher de Vidal To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Just got a brand new micro SD card and it's also throwing the error. Any ideas? How can I troubleshoot this more deeply? Christopher de Vidal (You're a good person? If you can prove it, take the money. This is a legitimate offer. TenThousandDollarOffer.com) On Wed, Apr 10, 2013 at 3:59 AM, Christopher de Vidal wrote: > Update: Sometimes it dies randomly and sometimes it dies on a specific > file. If I copy the file manually, it works. The file shows no signs > of corruption on the micro SD card. Also, the micro SD card has a > FAT32 filesystem. > > Christopher de Vidal > > > On Sat, Apr 6, 2013 at 7:20 PM, Christopher de Vidal > wrote: >> I'm using rsync 3.0.9-1 to copy several directories to 32GB micro SD >> cards in both WinXP and Win7. I randomly get this error message; >> Please help me to debug it: >> rsync: writefd_unbuffered failed to write 127 bytes to socket >> [generator]: Broken pipe (32) >> >> I've got rsync on an infinite while loop so it keeps retrying, and it >> copies a little more each time, dying at different places each time. >> >> It has happened on all of my SD cards and with multiple SD card >> readers/phones/tablets, copying from two different computers. The only >> constant is the hard drive (moved from one computer to the other) but >> it's not exhibiting other symptoms of early failure. The directories >> are various sizes but one of the directories is only 231MB with 417 >> files/7 folders. The smallest file is only a few bytes and the largest >> file is 109MB. >> >> Here's the command which syncs the 231MB directory: >> rsync --modify-window=10 --recursive --times --verbose --delete >> --timeout=10 --human-readable --progress --omit-dir-times >> --no-compress --inplace --partial --bwlimit=1000 >> "Appropriate_technology" "/cygdrive/f/C" >> >> I added --no-compress --inplace --partial --bwlimit=1000 after >> searching Google. No good. >> >> I have multiple commands like these for multiple directories. When I >> put just this command in a loop by itself, it works, but when I put >> multiple commands, one of them will randomly generate that error >> message. >> >> My .bashrc and .bash_profile are untouched from the install, as are >> /etc/bash.bashrc and /etc/profile, etc. I'm certain I haven't tweaked >> my environment. Just a typical install. >> >> Ran checkdisk on the drive before attempting again. >> >> Cygwin setup version 2.774 >> Bash version 4.1.10-4 >> base-cygwin 3.1-1 >> cygwin 1.7.17-1 >> cygwin1.dll version 1.7.17 >> Windows 7 64-bit Service Pack 1 >> Intel E2200 2.20GHz Dual Core CPU >> 4GB RAM >> Not swapping or maxed CPU or anything. >> >> Christopher de Vidal -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple