Subject: kern/14087: scp failure with NEW_PIPE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fvdl@wasabisystems.com>
List: netbsd-bugs
Date: 09/28/2001 14:05:48
>Number: 14087
>Category: kern
>Synopsis: scp failure with NEW_PIPE
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 28 05:09:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Frank van der Linden
>Release: NetBSD-current, 27 sept 2001
>Organization:
Noone, nowhere, nonono.
>Environment:
NetBSD k2 1.5Y NetBSD 1.5Y (K1) #0: Fri Sep 28 13:17:18 CEST 2001 fvdl@k2:/work/trees/current/sys/arch/i386/compile/K1 i386
>Description:
Using scp to copy a file over a slowish network fails. The file
in question is:
-rwxr-xr-x 1 fvdl wheel 2247389 Sep 28 12:27 netbsd.gz
The progress bar gets to around 80%, at which point it dies with
'connection closed by remote host'. At the other end, the file
then seems to be complete (the size looks ok), but an md5 check
gives a different checksum.
Things a re ok when I use a kernel from the same sources, compile
without NEW_PIPE.
What seems to happen is that for the NEW_PIPE case, the ssh forked
by scp exits early somehow, causing a SIGPIPE.
Ktrace output available on request.
>How-To-Repeat:
scp netbsd.gz cvs.netbsd.org:
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: