Subject: kern/14087: scp failure with NEW_PIPE
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 09/28/2001 14:05:48
>Synopsis: scp failure with NEW_PIPE
>Arrival-Date: Fri Sep 28 05:09:00 PDT 2001
>Originator: Frank van der Linden
>Release: NetBSD-current, 27 sept 2001
Noone, nowhere, nonono.
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
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
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.
scp netbsd.gz cvs.netbsd.org: