[OE-core] [PATCH V2 1/2] openssh: upgrade 7.8p1 -> 7.8p1+git to support openssl 1.1.x

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Thu Sep 20 04:54:25 UTC 2018


On Thu, 2018-09-20 at 09:45 +0800, Hongxu Jia wrote:
> I will fix it as my top priority today.
> 
> Reproduce steps:
> 
> - Build core-image-sato-sdk on qemuarm64
> - Run qemu
> - Log over ssh (openssh) failed
> 

I did have a little bit of a look at this. It seems to hang during key
generation before starting the server during boot.

I had a suspicion that the problem could be a lack of entropy. We're
supposed to have the virtio entropy generation being passed through
from the host to avoid problems with entropy starvation but I'm not
sure its running for arm64.

I noticed the .config shows CONFIG_CRYPTO_DEV_VIRTIO=m but setting that
to =y didn't help. The virtio rng connects via pci bus iirc and
CONFIG_PCI isn't set so I'm now looking into that...

To update, adding this config to the kernel:

CONFIG_CRYPTO_DEV_VIRTIO=y
CONFIG_PCI=y
CONFIG_PCI_HOST_GENERIC=y

appears to solve the problem and lets my simple tests work. I'll have
to run some better tests but I think this is the problem, lack pci
support in the kernel meaning the rng virtio passthrough doesn't work.

Cheers,

Richard









More information about the Openembedded-core mailing list