delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/01/11:18:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_CG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4BB4C735.4070802@gmx.de>
Date: Thu, 01 Apr 2010 18:17:57 +0200
From: Matthias Andree <matthias DOT andree AT gmx DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: scp no longer reports incremental progress
References: <806a89db1003291509t34fb9e26y84a9c8a212f64a6d AT mail DOT gmail DOT com> <4BB125E5 DOT 2020203 AT cwilson DOT fastmail DOT fm> <20100329221438 DOT GA8111 AT ednor DOT casa DOT cgf DOT cx> <20100331181715 DOT GB20959 AT ednor DOT casa DOT cgf DOT cx> <op DOT vahfgdd01e62zd AT balu DOT cs DOT uni-paderborn DOT de> <20100401144305 DOT GA31187 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20100401144305.GA31187@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Am 01.04.2010 16:43, schrieb Christopher Faylor:
> On Thu, Apr 01, 2010 at 02:00:42PM +0300, Matthias Andree wrote:
>>Christopher Faylor wrote on 2010-03-31:
>>
>>> On Mon, Mar 29, 2010 at 06:14:39PM -0400, Christopher Faylor wrote:
>>>> On Mon, Mar 29, 2010 at 06:12:53PM -0400, Charles Wilson wrote:
>>>>> On 3/29/2010 6:09 PM, Jim Reisert AD1C wrote:
>>>>>> I am running the latest Cygwin (1.7.2) and ssh.
>>>>>>
>>>>>> I notice that scp (from local to remote host) no longer shows an
>>>>>> incremental progress bar.  It just reports 100% completion
>>>>>> immediately, then I have to wait until the copy is actually done.
>>>>>
>>>>>> Sink: C0644 11015296 dx4wawd.zip
>>>>>> dx4wawd.zip
>>>>>>                100%   11MB  10.5MB/s   00:00
>>>>>
>>>>> Hmm...same behavior here.  Didn't we see this behavior before, about a
>>>>> year ago?  I think what fixed it back then was some cgf magic in the
>>>>> socket fhandler innards.
>>>>>
>>>>> Uh-oh. One of the changes between 1.7.1 and 1.7.2 was more socket work.
>>>>
>>>> Actually, I think it was pipe related.
>>>
>>> And, it was.  I removed what I thought was an stupid function.  As it
>>> turns out the function was needed but it just wasn't working quite
>>> right.
>>>
>>> Today's snapshot, uploaded a few minutes ago, should fix the problem.
>>
>>Euh, 20100331 seems to introduce regressions for me compared to 20100328.
>>scp now seems broken for me,
>>
>>$ scp -vvvvv somefile user AT example DOT org:/tmp/
>>Executing: program /usr/bin/ssh host example.org, user user, command scp  
>>-v -t -- /tmp/
>>
>>and often just hangs there, while PuTTY's pscp and interactive ssh to the  
>>same host + login works just fine, and also if I'm using the 20100328  
>>snapshot.
>>
>>With gdb attached, it succeeds once in a while.
> 
> How big is "somefile" and where is "example.org"?  Is it a local
> machine?  In another country/state/continent?  What kind of system is
> it?

As written to Corinna, 32-bit i686 openSUSE 11.2 Linux fully patched with
preinstalled openSSH 5.2.

Few MB, or 1.X MB. example.org is behind an ADSL line which is ~12 Mbit/s in the
direction where I'm trying to copy and ~0.6 Mbit/s in the opposite direction.
Note that with 20100328 I sort of "immediately" get the SSH debug trace, whereas
there is no output at all with 20100331. (on Windows 7 Professional 32-bit
German which itself sits on a 100 Mbit/s firehose). 12 hops, 48 ms (the first 10
hops take 7 ms, 11 hops 14 ms, then the typical DSL interleaving on the last hop).

-- 
Matthias Andree

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019