X-Spam-Check-By: sourceware.org
Message-Id: <1136730738.12349.251344216@webmail.messagingengine.com>
From: "Brett Serkez" <techie@serkez.net>
To: "Lapo Luchini" <lapo@lapo.it>, cygwin@cygwin.com
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="ISO-8859-1"
MIME-Version: 1.0
References: <43BDAFBC.9080401@gmail.com>    <1136506661.2833.251196190@webmail.messagingengine.com>    <43BDBBC2.1040100@gmail.com>    <1136509322.5881.251198868@webmail.messagingengine.com>    <43BDCD93.1060009@gmail.com>    <loom.20060108T093822-493@post.gmane.org>
Subject: Re: cygwin and rsync
In-Reply-To: <loom.20060108T093822-493@post.gmane.org>
Date: Sun, 08 Jan 2006 09:32:18 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> > 3.  To answer your earlier question, I installed cygwin and added
> >     the rsync and openssh which were part of the distribution but
> >     were not installed by default.  I did not compile my own.
>
> Whis is like the usual package list I do use most commonly. I
> never managed to reproduce the problem, so I guess it doesn't
> depend on this.
>
> Does the problem arise only between that Windows host and that Linux
> host, or also in others combinations? Does any other over-ssh
> protocols work as expected? (it never seems to happen suing rsync://)
>
> Until we pin the problem down to something I can reproduce locally I
> fear I can't be much help. One consistent difference could be that I
> never tried Win-to-Linux transfers, as all I got is some FreeBSD
> boxes. I wonder if that can be the culprit, but sure it would be
> strange.
>
> Ever had a Win-to-Win hang? Anything else comes to your mind?

I believe there are atleast two separate hangs that are being
experienced.  Both occur using ssh vs. the rsync:// protocol, but I
suspect that has something to do with the local pipe/socket to
communicate between the local rsync and ssh processes.

The first is the type described in this thread (Linux -> Windows) the
transfer starts and hangs at some point.  The second (Windows -> Linux)
which I reported as resolved using a local pipe vs. socketpair, hangs
immediately, ssh never gets as far as attempting network access.

Since the second never attempts network access, I suspect that Windows
-> Windows would hang, I haven't seen any reports of Linux -> Linux.  If
Linux -> Linux didn't work, I suspect the issue would be wide spread and
corrected.

Brett
----------------------------------------------------------------
Brett C. Serkez, Techie



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

