NetBSD Problem Report #12026

Received: (qmail 15544 invoked from network); 22 Jan 2001 02:58:45 -0000
Message-Id: <200101220258.SAA07429@nbwww.isc.org>
Date: Sun, 21 Jan 2001 18:58:45 -0800 (PST)
From: dp@recycled.net
Reply-To: dp@recycled.net
To: gnats-bugs@gnats.netbsd.org
Subject: ftp get when progress bar on fails
X-Send-Pr-Version: www-1.0

>Number:         12026
>Category:       port-hpcmips
>Synopsis:       ftp get when progress bar on fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hpcmips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 22 02:59:00 +0000 2001
>Closed-Date:    Sun Oct 28 02:42:19 +0000 2001
>Last-Modified:  Sun Oct 28 02:42:19 +0000 2001
>Originator:     Dan P
>Release:        1.5Q
>Organization:
Recycled Networking
>Environment:
NetBSD pocketbsd.int.recycled.net 1.5Q NetBSD 1.5Q (POCKETBSD) #1: Mon Nov 20 03:42:53 PST 2000     root@pocketbsd.int.recycled.net:/storage/netbsd/NetBSD-current/src/sys/arch/hpcmips/compile/POCKETBSD hpcmips
>Description:
Performing a 'get' using /usr/bin/ftp will fail if the progress bar is on and succeed if the progress bar is off.
Failure will occur some way into retreiving the file -- usually 2% but sometimes around 40%.

Failure will have this message:
ftp: netin: Bad file descriptor
421 Service not available, remote server has closed connection

Occurs when running today's sources (20010121) with either today's sources /usr/bin/ftp or stock 1.5 /usr/bin/ftp.
>How-To-Repeat:
FTP any file with the progress bar on.
>Fix:
Turn off progress bar.
>Release-Note:
>Audit-Trail:

From: Luke Mewburn <lukem@wasabisystems.com>
To: dp@recycled.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-hpcmips/12026: ftp get when progress bar on fails
Date: Mon, 22 Jan 2001 16:05:48 +1100

 Can you provide the output of `ftp -d' ?

From: Luke Mewburn <lukem@wasabisystems.com>
To: DP <dp@recycled.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-hpcmips/12026: ftp get when progress bar on fails
Date: Tue, 23 Jan 2001 17:16:57 +1100

 On Mon, Jan 22, 2001 at 09:06:32AM -0600, DP wrote:
 > Certainly - it's attached. 
 > Dan

 this looks like a signal bug in the hpcmips then.

 i would guess that it's something to do with restartable signals
 not working correctly, because that netin problem occurred on other
 platforms when porting lukemftp to them.


 > 
 > pocketbsd# ftp -d 172.16.0.43
 > Connected to 172.16.0.43.
 > 220 triton FTP server (Version: 7.1.0) ready.
 > ftp_login: user `<null>' pass `<null>' host `172.16.0.43'
 > Name (172.16.0.43:root): dpoler
 > ---> USER dpoler
 > 331 Password required for dpoler.
 > Password:
 > ---> PASS XXXX
 > 230- NetBSD 1.4.2 (TRITON) #3: Sat Dec  2 12:19:30 CST 2000
 > 230- 
 > 230- Welcome to NetBSD!
 > 230- 
 > 230 User dpoler logged in.
 > ---> SYST
 > 215 UNIX Type: L8 Version: 7.1.0
 > Remote system type is UNIX.
 > Using binary mode to transfer files.
 > ---> FEAT
 > 211- Features supported
 >  MDTM
 >  REST STREAM
 >  SIZE
 > 211 End
 > features[0] = 1
 > features[1] = 1
 > features[2] = 0
 > features[3] = 1
 > features[4] = 1
 > features[5] = 0
 > ---> PWD
 > 257 "/home/dpoler" is the current directory.
 > got remotepwd
 > tp> cd /usr/src/pkgsrc/distfiles
 > ---> CWD /usr/src/pkgsrc/distfiles
 > 250 CWD command successful.
 > ---> PWD
 > 257 "/usr/src/pkgsrc/distfiles" is the current directory.
 > got remotepwd as `/usr/src/pkgsrc/distfiles'
 > ftp> dir
 > ---> EPSV
 > 500 'EPSV': command not understood.
 > disabling epsv4 for this connection
 > ---> PASV
 > 227 Entering Passive Mode (172,16,0,43,254,88)
 > ---> LIST
 > 150 Opening ASCII mode data connection for '/bin/ls'.
 > total 5152
 > -rw-r--r--  1 root  125  1708806 Mar 21  2000 bash-2.04.tar.gz
 > -rw-r--r--  1 root  125   907945 Mar 21  2000 bash-doc-2.04.tar.gz
 > 226 Transfer complete.
 > ftp> bin
 > ---> TYPE I
 > 200 Type set to I.
 > ftp> get bash-doc-2.04.tar.gz
 > local: bash-doc-2.04.tar.gz remote: bash-doc-2.04.tar.gz
 > ---> SIZE bash-doc-2.04.tar.gz
 > 213 907945
 > ---> PASV
 > 227 Entering Passive Mode (172,16,0,43,254,86)
 > ---> RETR bash-doc-2.04.tar.gz
 > 150 Opening BINARY mode data connection for 'bash-doc-2.04.tar.gz' (907945 bytes).
 >   0% |                                     |  2500       2.40 KB/s    06:07 ETAftp: netin: Bad file descriptor
 >   0% |                                     |    -1       0.00 KB/s    --:-- ETA
 > 421 Service not available, remote server has closed connection.
 > ftp> 


 -- 
 Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
 Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
 Wasabi Systems - providing NetBSD sales, support and service.
State-Changed-From-To: open->closed 
State-Changed-By: shin 
State-Changed-When: Sat Oct 27 19:40:44 PDT 2001 
State-Changed-Why:  
this problem was fixed by syssrc/sys/arch/mips/mips/syscall.c(rev. 1.3). 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.