Subject: bin/32182: SSH daemon broken on NetBSD-sparc64
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 11/28/2005 15:14:00
>Number:         32182
>Category:       bin
>Synopsis:       SSH daemon broken on NetBSD-sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 28 15:14:00 +0000 2005
>Originator:     tron@colwyn.zhadum.de
>Release:        NetBSD 3.99.12 2005-11-28 sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD sheridan.zhadum.org.uk 3.99.12 NetBSD 3.99.12 (SHERIDAN) #0: Mon Nov 28 10:36:02 GMT 2005 tron@colwyn.zhadum.org.uk:/src/sys/compile/SHERIDAN sparc64
Architecture: sparc64
Machine: sparc64
>Description:
After updating my ULTRA60 to NetBSD 3.99.12 the SSH daemon no longer works.
It starts, binds to the ports and sits there eating CPU cycles afterwards.
It does *not* write the pid file. According to "ktrace" it uses the
following cycle of system calls a lot:

  7148 sshd     EMUL  "netbsd"
  7148 sshd     CALL  gettimeofday(0xffffffffffff79d0,0)
  7148 sshd     RET   gettimeofday 0
  7148 sshd     CALL  getpid
  7148 sshd     RET   getpid 7148/0x1bec, 1
  7148 sshd     CALL  getpid
  7148 sshd     RET   getpid 7148/0x1bec, 1

>How-To-Repeat:
/etc/rc.d/sshd start
top

>Fix:
None provided.