NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/56318: sshd fails to start on NetBSD/pmax 9.2 R3000 3MIN



>Number:         56318
>Category:       lib
>Synopsis:       sshd fails to start on NetBSD/pmax 9.2 R3000 3MIN
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 19 15:05:00 +0000 2021
>Originator:     Izumi Tsutsui
>Release:        NetBSD 9.2
>Organization:
>Environment:
System: NetBSD proudia 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/pmax/compile/GENERIC pmax
Architecture: mipsel
Machine: pmax
>Description:
/etc/rc.d/sshd (actually /usr/bin/ssh-keygen and /usr/sbin/sshd) fails
to start on NetBSD/pmax 9.2:

---
# uname -a
NetBSD proudia 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/pmax/compile/GENERIC pmax
# sysctl hw.model
hw.model = DECstation 5000/125 (3MIN)
# /etc/rc.d/sshd start
assertion "(*wnumtop) == 0" failed: file "/usr/src/crypto/external/bsd/openssl/dist/crypto/bn/bn_div.c", line 439, function "bn_div_fixed_top"
[1]   Abort trap (core dumped) "${keygen}" -t "${type}" ${bitarg} -f "${f}" -...
Starting sshd.
assertion "(*wnumtop) == 0" failed: file "/usr/src/crypto/external/bsd/openssl/dist/crypto/bn/bn_div.c", line 439, function "bn_div_fixed_top"
[1]   Abort trap (core dumped) RC_PID= _rc_pid= _rc_original_stdout_fd= _rc_o...
# gdb /usr/bin/ssh-keygen ssh-keygen.core 
gdb: Undefined symbol "__clz_tab" (symnum = 3221)
# gdb /usr/sbin/sshd sshd.core 
gdb: Undefined symbol "__clz_tab" (symnum = 3221)
# file /usr/bin/ssh-keygen 
/usr/bin/ssh-keygen: ELF 32-bit LSB pie executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.2, not stripped
# file /usr/sbin/sshd
/usr/sbin/sshd: ELF 32-bit LSB pie executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.2, not stripped
#
---

Full dmesg is here:
 https://dmesgd.nycbug.org/index.cgi?do=view&id=6179

>How-To-Repeat:
Install NetBSD/pmax 9.2 (on MIPS1?) and start /etc/rc.d/sshd.

>Fix:
Not sure.

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index