[Buildroot] sshd reports error in libcrypto while trying to read host key

Michael John MJohn at midmark.com
Wed Apr 21 12:20:06 UTC 2021


Hello Peter,

>
> Hello Michael,
>
> On Tue, 20 Apr 2021 14:13:07 +0000, Michael John
> <MJohn at midmark.com> wrote:
>
> > Hello Peter,
> >
> > >
> > > Hello Michael,
> > >
> > > On Fri, 16 Apr 2021 20:07:21 +0000, Michael John
> <MJohn at midmark.com>
> > > wrote:
> > >
> > > > Hello Peter,
> > > >
> > > > >Hello Michael,
> > > > >
> > > > >On Wed, 31 Mar 2021 14:12:15 +0000, Michael John
> > > <MJohn at midmark.com> wrote:
> > > > >
> > > > >> Hello,
> > > > >>
> > > > >> I’ve built openssh and I’m having some issues running it on my
> > > board. While running sshd it reports an error in libcrypto while
> > > trying to read the host key. The host keys are generated under
> /etc/ssh.
> > > > >>
> > > > >> ~> ls /etc/ssh
> > > > >> moduli                                 ssh_host_ecdsa_key
> > > ssh_host_rsa_key
> > > > >> ssh_config                           ssh_host_ecdsa_key.pub
> > > ssh_host_rsa_key.pub
> > > > >> ssh_host_dsa_key             ssh_host_ed25519_key
> sshd_config
> > > > >> ssh_host_dsa_key.pub     ssh_host_ed25519_key.pub
> > > > >>
> > > > >> ~> systemctl status sshd
> > > > >> ● sshd.service - OpenSSH server daemon
> > > > >>      Loaded: loaded (/usr/lib/systemd/system/sshd.service;
> > > enabled; vendor preset: enabled)
> > > > >>      Active: failed (Result: exit-code) since Wed 2021-03-31
> > > > >> 13:21:02
> > > UTC; 11s ago
> > > > >>     Process: 315 ExecStartPre=/usr/bin/ssh-keygen -A
> > > > >> (code=exited,
> > > status=0/SUCCESS)
> > > > >>     Process: 341 ExecStart=/usr/sbin/sshd -D -e (code=exited,
> > > status=1/FAILURE)
> > > > >>    Main PID: 341 (code=exited, status=1/FAILURE)
> > > > >>
> > > > >> Mar 31 13:20:51 cm1sd systemd[1]: Starting OpenSSH server
> > > daemon...
> > > > >> Mar 31 13:20:54 cm1sd systemd[1]: Started OpenSSH server
> > > daemon.
> > > > >> Mar 31 13:21:02 cm1sd sshd[341]: Unable to load host key
> > > > >> "/etc/ssh/ssh_host_rsa_key": error in libcrypto Mar 31 13:21:02
> > > > >> cm1sd
> > > > >> sshd[341]: Unable to load host key: /etc/ssh/ssh_host_rsa_key
> > > > >> Mar
> > > 31 13:21:02 cm1sd sshd[341]: sshd: no hostkeys available -- exiting.
> > > > >> Mar 31 13:21:02 cm1sd systemd[1]: sshd.service: Main process
> > > > >> exited, code=exited, status=1/FAILURE Mar 31 13:21:02 cm1sd
> > > systemd[1]: sshd.service: Failed with result 'exit-code'.
> > > > >>
> > > > >> I’m using:
> > > > >> openssh version 8.5p1
> > > > >> openssl version 1.1.1k
> > > > >> crpytodev-linux fabe5989a3d
> > > > >>
> > > > >> Is there an issue using this combination of packages? These are
> > > > >> the
> > > lastest versions in buildroot.
> > > > >>
> > > > >> My config file (sshd_config) is only trying to load the host
> > > > >> key for
> > > RSA, but I get the same error about libcrypto for ecdsa and
> ed25519.
> > > > >>
> > > > >> Anyone see this issue as well? Any help is appreciated.
> > > > >
> > > > > You can try to run sshd with strace to get a clue about the
> > > > > failing
> > > syscall (in case this is the reason) in libcrypto....
> > > > >
> > > > > Which hardware and which (hardware) crypto device?
> > > > >
> > > > > Regards,
> > > > > Peter
> > > > >
> > > > >>
> > > > >> Thanks.
> > > > >> -Michael
> > > > >>
> > > >
> > > > Here is the tail of the strace output:
> > > >
> > > > mmap2(0xb6b2f000, 8192, PROT_READ|PROT_WRITE,
> > > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) =
> 0xb6b2f000
> > > mmap2(0xb6b31000, 21260, PROT_READ|PROT_WRITE,
> > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6b31000
> > > > close(3)                                = 0
> > > > mprotect(0xb6b2f000, 4096, PROT_READ)   = 0
> > > > openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
> > > > _llseek(3, 0, [0], SEEK_CUR)            = 0
> > > > fstat64(3, {st_mode=S_IFREG|0644, st_size=826, ...}) = 0 read(3,
> > > > "root:x:0:0:root:/root:/usr/bin/e"..., 1024) = 826
> > > > close(3)                                = 0
> > > > openat(AT_FDCWD, "/etc/ssh/ssh_host_rsa_key",
> > > O_RDONLY|O_LARGEFILE) =
> > > > 3 fstat64(3, {st_mode=S_IFREG|0600, st_size=2590, ...}) = 0
> > > > getuid32()                              = 0
> > > > fstat64(3, {st_mode=S_IFREG|0600, st_size=2590, ...}) = 0 read(3,
> > > > "-----BEGIN OPENSSH PRIVATE KEY--"..., 4096) = 2590
> > > > read(3, "", 1506)                       = 0
> > > > read(3, "", 4096)                       = 0
> > > > getpid()                                = 719
> > > > ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x63, 0x66, 0x1c), 0x23e8798)
> > > > = -
> > > 1
> > > > EBADF (Bad file descriptor) ioctl(4, _IOC(_IOC_WRITE, 0x63, 0x67,
> > > > 0x4), 0x23e1ca8) = -1 EBADF (Bad file descriptor) ioctl(4,
> > > > _IOC(_IOC_WRITE, 0x63, 0x67, 0x4), 0x23e2080) = -1 EBADF (Bad file
> > > > descriptor) ioctl(4, _IOC(_IOC_WRITE, 0x63, 0x67, 0x4), 0x23e87b0)
> > > > =
> > > > -1 EBADF (Bad file descriptor)
> > >
> > > Can you search for the corresponding 'open(...) = 4' which file the
> > > file descriptor belongs (or belonged) to? Would suspect your crypto
> > > hardware device '/dev/...' file...
> > >
> >
> > I'm not seeing any line matching this.
> >
> > $ strace /usr/sbin/sshd -D -e | grep open openat(AT_FDCWD,
> > "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1
> ENOENT (No
> > such file or directory) openat(AT_FDCWD,
> > "/lib/tls/v7l/vfp/libcrypto.so.1.1",
> O_RDONLY|O_LARGEFILE|O_CLOEXEC) =
> > -1 ENOENT (No such file or directory) openat(AT_FDCWD,
> > "/lib/tls/v7l/libcrypto.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) =
> -1
> > ENOENT (No such file or directory) openat(AT_FDCWD,
> > "/lib/tls/vfp/libcrypto.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC)
> = -1
> > ENOENT (No such file or directory) openat(AT_FDCWD,
> > "/lib/tls/libcrypto.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1
> > ENOENT (No such file or directory) openat(AT_FDCWD,
> > "/lib/v7l/vfp/libcrypto.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC)
> = -1
> > ENOENT (No such file or directory) openat(AT_FDCWD,
> > "/lib/v7l/libcrypto.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1
> > ENOENT (No such file or directory) openat(AT_FDCWD,
> > "/lib/vfp/libcrypto.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1
> > ENOENT (No such file or directory) openat(AT_FDCWD,
> > "/lib/libcrypto.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
> > openat(AT_FDCWD, "/lib/libdl.so.2",
> O_RDONLY|O_LARGEFILE|O_CLOEXEC) =
> > 3 openat(AT_FDCWD, "/lib/libutil.so.1",
> > O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 openat(AT_FDCWD,
> "/lib/libz.so.1",
> > O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 openat(AT_FDCWD,
> > "/lib/libssl.so.1.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
> > openat(AT_FDCWD, "/lib/libcrypt.so.1",
> O_RDONLY|O_LARGEFILE|O_CLOEXEC)
> > = 3 openat(AT_FDCWD, "/lib/libresolv.so.2",
> > O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 openat(AT_FDCWD,
> "/lib/libc.so.6",
> > O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 openat(AT_FDCWD,
> > "/lib/libatomic.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
> > openat(AT_FDCWD, "/lib/libpthread.so.0",
> > O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 openat(AT_FDCWD,
> "/dev/null",
> > O_RDWR|O_LARGEFILE) = 3 openat(AT_FDCWD, "/dev/crypto",
> > O_RDWR|O_LARGEFILE) = 3 openat(AT_FDCWD, "/etc/ssl/openssl.cnf",
> > O_RDONLY|O_LARGEFILE) = 3 openat(AT_FDCWD, "/dev/hwrng",
> > O_RDONLY|O_LARGEFILE) = 3 openat(AT_FDCWD, "/proc/553/fd",
> >
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY)
> = 5
> > openat(AT_FDCWD, "/etc/ssh/sshd_config",
> O_RDONLY|O_LARGEFILE) = 3
> > openat(AT_FDCWD, "/etc/gai.conf", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No
> > such file or directory) openat(AT_FDCWD, "/etc/nsswitch.conf",
> > O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD,
> "/lib/libnss_files.so.2",
> > O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 openat(AT_FDCWD,
> "/etc/passwd",
> > O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD,
> "/etc/ssh/ssh_host_rsa_key",
> > O_RDONLY|O_LARGEFILE) = 3 openat(AT_FDCWD,
> > "/etc/ssh/ssh_host_rsa_key", O_RDONLY|O_LARGEFILE) = 3
> > openat(AT_FDCWD, "/etc/ssh/ssh_host_rsa_key.pub",
> > O_RDONLY|O_LARGEFILE) = 3
> >
> > crypto device is /dev/crypto
> >
> > > Wait a moment, I get the same failure here (RPi0w), according to
> > > build/cryptodev-linux-
> > > fabe5989a3dc9fba0cd0a40b612247cdde351c01/README you can
> enable
> > > cryptodev logging via
> > >
> > >         $ sysctl ioctl.cryptodev_verbosity=3
> > >
> > > and another (failing) run of sshd gives
> > >
> > >         $ dmesg
> > > [   26.069137] cryptodev: loading out-of-tree module taints kernel.
> > > [   26.082646] cryptodev: driver 1.11 loaded.
> > > [  293.113559] cryptodev: sshd[345] (cryptodev_open:525): allocated
> > > new item at 3d0bde58 [  293.113597] cryptodev: sshd[345]
> > > (cryptodev_open:525): allocated new item at 0c134c14 [
> 293.113620]
> > > cryptodev: sshd[345] (cryptodev_open:525): allocated new item at
> > > 7617e45f [  293.113640] cryptodev: sshd[345] (cryptodev_open:525):
> > > allocated new item at 76de8bfe [  293.113660] cryptodev: sshd[345]
> > > (cryptodev_open:525): allocated new item at d82d7450 [
> 293.113679]
> > > cryptodev: sshd[345] (cryptodev_open:525): allocated new item at
> > > 305fca08 [  293.113701] cryptodev: sshd[345] (cryptodev_open:525):
> > > allocated new item at 413b2286 [  293.113727] cryptodev: sshd[345]
> > > (cryptodev_open:525): allocated new item at 2d346c3e [
> 293.113749]
> > > cryptodev: sshd[345] (cryptodev_open:525): allocated new item at
> > > 04de1c1b [  293.113769] cryptodev: sshd[345] (cryptodev_open:525):
> > > allocated new item at 6407ed5b [  293.113788] cryptodev: sshd[345]
> > > (cryptodev_open:525): allocated new item at 514f4dcd [
> 293.113810]
> > > cryptodev: sshd[345] (cryptodev_open:525): allocated new item at
> > > 0c09d977 [  293.113830] cryptodev: sshd[345] (cryptodev_open:525):
> > > allocated new item at 55c5f1b5 [  293.113850] cryptodev: sshd[345]
> > > (cryptodev_open:525): allocated new item at 6bff11bf [  293.113870]
> > > cryptodev: sshd[345] (cryptodev_open:525): allocated new item at
> > > 87f9d9e6 [  293.113890] cryptodev: sshd[345] (cryptodev_open:525):
> > > allocated new item at 1726e6b9 [  293.113909] cryptodev: sshd[345]
> > > (cryptodev_open:529): Cryptodev handle initialised, 16 elements in
> > > queue [  293.120614] cryptodev: sshd[345]
> (crypto_create_session:300):
> > > got alignmask 0 [  293.120649] cryptodev: sshd[345]
> > > (crypto_create_session:303): preallocating for 32 user pages [
> > > 293.121243] cryptodev: sshd[345] (crypto_destroy_session:358):
> > > Removed session 0x58F7EA46 [  293.121282] cryptodev: sshd[345]
> > > (crypto_destroy_session:361): freeing space for 32 user pages [
> > > 293.121883] cryptodev: sshd[345] (crypto_create_session:300): got
> > > alignmask 0 [  293.121911] cryptodev: sshd[345]
> > > (crypto_create_session:303): preallocating for 32 user pages [
> > > 293.122471] cryptodev: sshd[345] (crypto_destroy_session:358):
> > > Removed session 0xFF3B568E [  293.122509] cryptodev: sshd[345]
> > > (crypto_destroy_session:361): freeing space for 32 user pages [
> > > 293.714449] cryptodev: sshd[345] (cryptodev_cipher_init:156): Failed
> > > to load cipher cbc(blowfish) [  293.714488] cryptodev: sshd[345]
> > > (crypto_create_session:264): Failed to load cipher for cbc(blowfish)
> > >
> > > [...]
> > >
> > > [  294.328797] cryptodev: sshd[345] (cryptodev_cipher_init:156):
> > > Failed to load cipher cbc(camellia) [  294.328835] cryptodev:
> > > sshd[345]
> > > (crypto_create_session:264): Failed to load cipher for cbc(camellia)
> > > [ 294.919951] cryptodev: sshd[345] (cryptodev_cipher_init:156):
> > > Failed to load cipher cbc(camellia) [  294.919988] cryptodev:
> > > sshd[345]
> > > (crypto_create_session:264): Failed to load cipher for cbc(camellia)
> > > [ 295.510857] cryptodev: sshd[345] (cryptodev_cipher_init:156):
> > > Failed to load cipher cbc(camellia) [  295.510896] cryptodev:
> > > sshd[345]
> > > (crypto_create_session:264): Failed to load cipher for cbc(camellia)
> > >
> > > [...]
> > >
> > > [  295.816778] cryptodev: sshd[345] (cryptodev_hash_init:360):
> > > Failed to load transform for rmd160 [  295.816815] cryptodev:
> > > sshd[345]
> > > (crypto_create_session:287): Failed to load hash for rmd160
> > >
> > > [...]
> > >
> > > [  295.944596] cryptodev: sshd[345] (cryptodev_release:585):
> > > Cryptodev handle deinitialised, 16 elements freed
> > >
> > > And here
> > >
> > >         $ grep BLOWFISH build/linux-custom/.config #
> > > CONFIG_CRYPTO_BLOWFISH is not set
> > >         $ grep CAMELLIA build/linux-custom/.config #
> > > CONFIG_CRYPTO_CAMELLIA is not set
> > >
> > > Seems the kernel module cryptodev.ko needs some more kernel
> options
> > > enabled...
> >
> > I was missing these two kernel options. I've enabled them and ran this
> again with cryptodev debug enabled. Not seeing any error about
> failing to load a module.
> >
> > [    8.260969] cryptodev: loading out-of-tree module taints kernel.
> > [    8.290183] cryptodev: driver 1.11 loaded.
> > [  107.915389] cryptodev: sshd[465] (cryptodev_open:525): allocated
> > new item at e11e6ec6 [  107.915410] cryptodev: sshd[465]
> > (cryptodev_open:525): allocated new item at 7a056a82 [  107.915422]
> > cryptodev: sshd[465] (cryptodev_open:525): allocated new item at
> > 8958d969 [  107.915433] cryptodev: sshd[465] (cryptodev_open:525):
> > allocated new item at 5668dff8 [  107.915445] cryptodev: sshd[465]
> > (cryptodev_open:525): allocated new item at ceddf882 [  107.915457]
> > cryptodev: sshd[465] (cryptodev_open:525): allocated new item at
> > c0b32e4b [  107.915468] cryptodev: sshd[465] (cryptodev_open:525):
> > allocated new item at f931b198 [  107.915479] cryptodev: sshd[465]
> > (cryptodev_open:525): allocated new item at 6113eeb0 [  107.915490]
> > cryptodev: sshd[465] (cryptodev_open:525): allocated new item at
> > 88496fa1 [  107.915501] cryptodev: sshd[465] (cryptodev_open:525):
> > allocated new item at fda63da3 [  107.915513] cryptodev: sshd[465]
> > (cryptodev_open:525): allocated new item at 6b601f93 [  107.915524]
> > cryptodev: sshd[465] (cryptodev_open:525): allocated new item at
> > a5c34893 [  107.915535] cryptodev: sshd[465] (cryptodev_open:525):
> > allocated new item at 79a1c78e [  107.915547] cryptodev: sshd[465]
> > (cryptodev_open:525): allocated new item at 41e843cf [  107.915558]
> > cryptodev: sshd[465] (cryptodev_open:525): allocated new item at
> > 3027bcfb [  107.915582] cryptodev: sshd[465] (cryptodev_open:525):
> > allocated new item at 8bec1c66 [  107.915593] cryptodev: sshd[465]
> > (cryptodev_open:530): Cryptodev handle initialised, 16 elements in
> > queue [  107.915997] cryptodev: sshd[465]
> (crypto_create_session:300):
> > got alignmask 0 [  107.916013] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.916055] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x87ACB922 [  107.916072] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.916126] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.916136] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.916165] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xD7520D1F [  107.916179] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.930542] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 3 [  107.930559] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.930611] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xA464DA90 [  107.930642] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.930687] cryptodev: sshd[465] (crypto_create_session:177): bad
> > cipher: 4 [  107.930746] cryptodev: sshd[465]
> > (crypto_create_session:300): got alignmask 0 [  107.930755] cryptodev:
> > sshd[465] (crypto_create_session:303): preallocating for 32 user pages
> > [  107.930788] cryptodev: sshd[465] (crypto_destroy_session:358):
> > Removed session 0x8CA3975C [  107.930802] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.930848] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.930858] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.930889] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x42432AC5 [  107.930902] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.930944] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.930954] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.930983] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x5A91669F [  107.930996] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.931020] cryptodev: sshd[465] (crypto_create_session:177): bad
> > cipher: 12 [  107.936472] cryptodev: sshd[465]
> > (crypto_create_session:300): got alignmask 0 [  107.936491] cryptodev:
> > sshd[465] (crypto_create_session:303): preallocating for 32 user pages
> > [  107.936543] cryptodev: sshd[465] (crypto_destroy_session:358):
> > Removed session 0xA029FE82 [  107.936561] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.936626] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.936638] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.936668] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x804CD437 [  107.936683] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.936726] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.936736] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.936765] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x18AC29E9 [  107.936778] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.936819] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.936830] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.936859] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x2869F044 [  107.936872] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.936910] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.936920] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.936948] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xE5A76CE4 [  107.936961] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.936999] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.937009] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937036] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x30F8A867 [  107.937049] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.937111] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 3 [  107.937121] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937151] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x1D16349D [  107.937166] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.937231] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 3 [  107.937242] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937272] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x0C2A4519 [  107.937287] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.937342] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 3 [  107.937352] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937382] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x7A728B1F [  107.937396] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.937489] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.937500] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937544] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.937555] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937592] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xC1531C23 [  107.937608] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.937625] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x48738365 [  107.937638] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.937684] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.937694] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937737] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  107.937746] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 107.937782] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xCC7A60B3 [  107.937796] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 107.937813] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x392DB3F2 [  107.937826] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.530106] cryptodev: sshd[465] (cryptodev_hash_init:360): Failed to
> > load transform for rmd160 [  108.530127] cryptodev: sshd[465]
> > (crypto_create_session:287): Failed to load hash for rmd160
>
> Here I would suspect CONFIG_CRYPTO_RMD160...
>
> Regards,
> Peter

I missed that, Thank you. I've added CONFIG_CRYPTO_RMD160 to my kernel, rebuilt, and gave it another go. Grep didn't find any error message this time, but sshd is failing with the same error.

~> sysctl ioctl.cryptodev_verbosity=3
ioctl.cryptodev_verbosity = 3
~> /usr/sbin/sshd -D -e
Unable to load host key "/etc/ssh/ssh_host_rsa_key": error in libcrypto
Unable to load host key: /etc/ssh/ssh_host_rsa_key
accumulate_host_timing_secret: ssh_digest_start
~> dmesg | grep crypto
[    8.029921] LoadPin: kernel-module pinned obj="/usr/lib/modules/4.19.130/extra/cryptodev.ko" pid=179 cmdline="/usr/lib/systemd/systemd-modules-load"
[    8.041323] cryptodev: loading out-of-tree module taints kernel.
[    8.077478] cryptodev: driver 1.11 loaded.
[  149.590531] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 5bae23b3
[  149.590556] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 01846568
[  149.590570] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 7cf8df9f
[  149.590583] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 0ff050aa
[  149.590595] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 8ea99e2d
[  149.590607] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 29446dac
[  149.590627] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 178e5f75
[  149.590639] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at fb834044
[  149.590650] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 8f58f0bd
[  149.590662] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 7bd229ab
[  149.590674] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 347fb297
[  149.590686] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 4d4138b8
[  149.590697] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 6f177af9
[  149.590709] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 996a0fa6
[  149.590721] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 756874f3
[  149.590733] cryptodev: sshd[419] (cryptodev_open:525): allocated new item at 23b550b1
[  149.590744] cryptodev: sshd[419] (cryptodev_open:530): Cryptodev handle initialised, 16 elements in queue
[  149.591150] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.591168] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.591210] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xD5CE8C50
[  149.591226] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.591282] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.591295] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.591325] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xDBB9BB28
[  149.591339] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.591787] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 3
[  149.591802] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.591832] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x09CB5E5E
[  149.591862] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.591889] cryptodev: sshd[419] (crypto_create_session:177): bad cipher: 4
[  149.591931] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.591942] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.591970] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x0AF75119
[  149.591985] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592025] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592038] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592064] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x36A81F50
[  149.592078] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592116] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592128] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592155] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x2EFE6947
[  149.592168] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592190] cryptodev: sshd[419] (crypto_create_session:177): bad cipher: 12
[  149.592222] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592233] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592258] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x4DAE74BC
[  149.592272] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592309] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592321] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592348] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x44FFB8DD
[  149.592362] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592397] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592409] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592435] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x0E37862A
[  149.592449] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592486] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592499] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592526] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x471C3613
[  149.592540] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592575] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592586] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592611] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x78DF53B4
[  149.592626] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592661] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.592673] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592699] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x775753B9
[  149.592713] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592770] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 3
[  149.592783] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592811] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x1307B87E
[  149.592828] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592887] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 3
[  149.592899] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.592926] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x8B2F5388
[  149.592943] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.592997] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 3
[  149.593011] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593039] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xF079D78D
[  149.593055] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.593136] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.593149] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593191] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.593203] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593241] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x8AF88FB0
[  149.593258] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.593274] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x54C3F684
[  149.593288] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.593330] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.593342] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593383] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.593394] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593430] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xD1071675
[  149.593446] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.593462] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x83CCD4A6
[  149.593476] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.593514] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.593526] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593565] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.593576] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593610] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xBFFD47D3
[  149.593625] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.593641] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xFDCAC8A9
[  149.593655] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.593695] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.593707] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.593746] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.603455] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.603524] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x926C1613
[  149.603544] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.603562] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xDCF22984
[  149.603577] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.603654] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.603667] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.603712] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.603725] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.604783] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x8D1E0F2C
[  149.604816] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.604837] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x8FC93110
[  149.604852] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.604926] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.604938] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.604989] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.605002] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.605044] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x37D4D5D4
[  149.605061] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.605077] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x3ABE2AEB
[  149.605091] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.605138] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.605150] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.605190] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.605202] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.605239] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x676C1766
[  149.605255] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.605272] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x22B1B376
[  149.605287] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.762202] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.762225] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.762522] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.762539] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.762805] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x046C06E3
[  149.762824] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.762865] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.762877] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.762986] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x9FE117DC
[  149.763002] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.763036] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.763048] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.763095] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.763108] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.763281] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.763297] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.763466] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x5F0F38F8
[  149.763485] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.763527] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.763540] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.763652] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x995A5FDB
[  149.763669] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.763705] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.763717] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.763748] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xF314B6A4
[  149.776331] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.776415] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.776430] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.776590] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x428ED3E6
[  149.776609] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.776654] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.776667] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.776700] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x99BAF333
[  149.776715] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.776747] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.776760] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.776830] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.784038] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.784329] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x41D384A6
[  149.784351] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.784413] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.784424] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.784541] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xD9D56575
[  149.784560] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.784602] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.784614] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.784664] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.784678] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.784893] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x69A26EDF
[  149.784911] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.784955] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.784967] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.785077] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x19EE4E55
[  149.785095] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.785132] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.785144] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.785175] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x48C8CE9E
[  149.785190] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.785223] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.785235] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.785370] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x0B510296
[  149.785388] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.785428] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.785440] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.785471] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xD1E3E2C6
[  149.785486] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.785518] cryptodev: sshd[419] (crypto_create_session:300): got alignmask 0
[  149.785530] cryptodev: sshd[419] (crypto_create_session:303): preallocating for 32 user pages
[  149.807682] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 23b550b1
[  149.807710] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 756874f3
[  149.807726] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 996a0fa6
[  149.807740] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 6f177af9
[  149.807754] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 4d4138b8
[  149.807767] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 347fb297
[  149.807781] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 7bd229ab
[  149.807793] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 8f58f0bd
[  149.807807] cryptodev: sshd[419] (cryptodev_release:564): freeing item at fb834044
[  149.807819] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 178e5f75
[  149.807832] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 29446dac
[  149.807845] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 8ea99e2d
[  149.807858] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 0ff050aa
[  149.807871] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 7cf8df9f
[  149.807885] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 01846568
[  149.807898] cryptodev: sshd[419] (cryptodev_release:564): freeing item at 5bae23b3
[  149.807913] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xD3B95466
[  149.807930] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.807945] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0x02DC0AEC
[  149.807959] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.807971] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xA8DF2A87
[  149.807985] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.807997] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xA2EC6758
[  149.808009] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.808021] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xFD3333B0
[  149.808035] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.808047] cryptodev: sshd[419] (crypto_destroy_session:358): Removed session 0xB5EA13E7
[  149.808061] cryptodev: sshd[419] (crypto_destroy_session:361): freeing space for 32 user pages
[  149.808074] cryptodev: sshd[419] (cryptodev_release:586): Cryptodev handle deinitialised, 16 elements freed

Thanks,
Michael

>
> > [  108.530482] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.530498] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.530550] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.530560] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.530604] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x7E03B1F9 [  108.530622] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.530639] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xC93EF465 [  108.530653] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.530877] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.530893] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.530942] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.530952] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.530993] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x2A569899 [  108.531010] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.531027] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x257C787A [  108.531040] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.531085] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.531096] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.531137] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.531147] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.531187] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xF6CA8FC4 [  108.531202] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.531219] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xE18B4DDF [  108.531234] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.531279] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.531289] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.531330] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.531339] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.531377] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xDA30C430 [  108.531393] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.531410] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x34B694A0 [  108.531424] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.663804] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.663823] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.664200] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.664217] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.664471] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x2219E4AB [  108.664488] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.664528] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.664537] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.664643] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x0D14212D [  108.664658] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.664695] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.664705] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.664753] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.664762] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.673933] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.673952] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.674168] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xA0CB8DAC [  108.675615] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.675676] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.675688] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.675825] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x8B14541C [  108.675842] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.675886] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.675897] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.675937] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xFB3DB3C2 [  108.675953] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.675991] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.676001] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.676123] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xADC7FCCC [  108.676140] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.676178] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.676487] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.676536] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x861A8A7E [  108.676553] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.676601] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.676612] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.676689] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.676700] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.677953] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xA2B3541F [  108.677974] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.678028] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.678040] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.678161] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xF024F5FE [  108.678177] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.678218] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.678228] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.678282] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.678291] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.678490] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xCAD0084C [  108.678506] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.678546] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.678556] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.678663] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x9915D526 [  108.678679] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.678716] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.678726] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.678759] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0xBCFFBC34 [  108.678772] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.678804] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.678814] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.678940] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x9A96D40E [  108.678954] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.678995] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.679006] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.679042] cryptodev: sshd[465] (crypto_destroy_session:358):
> Removed
> > session 0x6FEEBEC1 [  108.679055] cryptodev: sshd[465]
> > (crypto_destroy_session:361): freeing space for 32 user pages [
> > 108.680126] cryptodev: sshd[465] (crypto_create_session:300): got
> > alignmask 0 [  108.680142] cryptodev: sshd[465]
> > (crypto_create_session:303): preallocating for 32 user pages [
> > 108.685393] cryptodev: sshd[465] (cryptodev_release:564): freeing
> item
> > at 8bec1c66 [  108.685417] cryptodev: sshd[465]
> > (cryptodev_release:564): freeing item at 3027bcfb [  108.685431]
> > cryptodev: sshd[465] (cryptodev_release:564): freeing item at
> 41e843cf
> > [  108.685443] cryptodev: sshd[465] (cryptodev_release:564): freeing
> > item at 79a1c78e [  108.685455] cryptodev: sshd[465]
> > (cryptodev_release:564): freeing item at a5c34893 [  108.685467]
> > cryptodev: sshd[465] (cryptodev_release:564): freeing item at
> 6b601f93
> > [  108.685479] cryptodev: sshd[465] (cryptodev_release:564): freeing
> > item at fda63da3 [  108.685491] cryptodev: sshd[465]
> > (cryptodev_release:564): freeing item at 88496fa1 [  108.685503]
> > cryptodev: sshd[465] (cryptodev_release:564): freeing item at
> 6113eeb0
> > [  108.685514] cryptodev: sshd[465] (cryptodev_release:564): freeing
> > item at f931b198 [  108.685526] cryptodev: sshd[465]
> > (cryptodev_release:564): freeing item at c0b32e4b [  108.685539]
> > cryptodev: sshd[465] (cryptodev_release:564): freeing item at
> ceddf882
> > [  108.685551] cryptodev: sshd[465] (cryptodev_release:564): freeing
> > item at 5668dff8 [  108.685562] cryptodev: sshd[465]
> > (cryptodev_release:564): freeing item at 8958d969 [  108.685575]
> > cryptodev: sshd[465] (cryptodev_release:564): freeing item at
> 7a056a82
> > [  108.685587] cryptodev: sshd[465] (cryptodev_release:564): freeing
> > item at e11e6ec6 [  108.685602] cryptodev: sshd[465]
> > (crypto_destroy_session:358): Removed session 0x00C48C20 [
> > 108.685618] cryptodev: sshd[465] (crypto_destroy_session:361): freeing
> > space for 32 user pages [  108.685632] cryptodev: sshd[465]
> > (crypto_destroy_session:358): Removed session 0xE7EBC24C [
> > 108.685646] cryptodev: sshd[465] (crypto_destroy_session:361): freeing
> > space for 32 user pages [  108.685657] cryptodev: sshd[465]
> > (crypto_destroy_session:358): Removed session 0x75DCA55A [
> > 108.685670] cryptodev: sshd[465] (crypto_destroy_session:361): freeing
> > space for 32 user pages [  108.685681] cryptodev: sshd[465]
> > (crypto_destroy_session:358): Removed session 0xDA46C32B [
> > 108.685694] cryptodev: sshd[465] (crypto_destroy_session:361): freeing
> > space for 32 user pages [  108.685706] cryptodev: sshd[465]
> > (crypto_destroy_session:358): Removed session 0x6819A412 [
> > 108.685718] cryptodev: sshd[465] (crypto_destroy_session:361): freeing
> > space for 32 user pages [  108.685729] cryptodev: sshd[465]
> > (crypto_destroy_session:358): Removed session 0x77B8F57D [
> > 108.685742] cryptodev: sshd[465] (crypto_destroy_session:361): freeing
> > space for 32 user pages [  108.685754] cryptodev: sshd[465]
> > (cryptodev_release:586): Cryptodev handle deinitialised, 16 elements
> > freed
> >
> > Thanks,
> > Michael
> >
> > >
> > > Regards,
> > > Peter
> > >
> > >
> > > > close(3)                                = 0
> > > > write(2, "Unable to load host key \"/etc/ss"..., 73Unable to load
> > > > host key "/etc/ssh/ssh_host_rsa_key": error in libcrypto
> > > > ) = 73
> > > > openat(AT_FDCWD, "/etc/ssh/ssh_host_rsa_key",
> > > O_RDONLY|O_LARGEFILE) =
> > > > 3 fstat64(3, {st_mode=S_IFREG|0600, st_size=2590, ...}) = 0
> > > > read(3, "-----BEGIN OPENSSH PRIVATE KEY--"..., 1024) = 1024
> > > > close(3)                                = 0
> > > > openat(AT_FDCWD, "/etc/ssh/ssh_host_rsa_key.pub",
> > > > O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644,
> > > > st_size=564, ...}) = 0 read(3, "ssh-rsa
> > > AAAAB3NzaC1yc2EAAAADAQAB"..., 1024) = 564
> > > > close(3)                                = 0
> > > > write(2, "Unable to load host key: /etc/ss"..., 52Unable to load
> > > > host
> > > > key: /etc/ssh/ssh_host_rsa_key
> > > > ) = 52
> > > > ioctl(4, _IOC(_IOC_READ|_IOC_WRITE, 0x63, 0x66, 0x1c),
> 0x23e6d78)
> > > > = -
> > > 1
> > > > EBADF (Bad file descriptor) ioctl(4, _IOC(_IOC_WRITE, 0x63, 0x67,
> > > > 0x4), 0x23e6d90) = -1 EBADF (Bad file descriptor) write(2,
> > > > "accumulate_host_timing_secret: s"...,
> > > > 49accumulate_host_timing_secret: ssh_digest_start
> > > > ) = 49
> > > > exit_group(255)                         = ?
> > > > +++ exited with 255 +++
> > > >
> > > > Thanks,
> > > > -Michael
> > > >
> >
> > CONFIDENTIALITY NOTICE: This message, including any attachments,
> contains confidential information intended for a specific individual and
> purpose. If you are not the intended recipient, you should delete this
> message and any disclosure, copying, or distribution of this message, or
> the taking of any action based on it, by you is strictly prohibited.

CONFIDENTIALITY NOTICE: This message, including any attachments, contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.


More information about the buildroot mailing list