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

Hongxu Jia hongxu.jia at windriver.com
Thu Sep 20 16:25:40 UTC 2018


On 2018年09月20日 12:54, richard.purdie at linuxfoundation.org wrote:
> 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
Hi RP,

Without modify config, just revert two commits on kernel source could 
fix the issue
(sshd start successfully)


1. Revert "random: fix crng_ready() test"

This reverts commit 43838a23a05fbd13e47d750d3dfd77001536dd33


2. Revert "random: use a different mixing algorithm for 
add_device_randomness()"

This reverts commit dc12baacb95f205948f64dc936a47d89ee110117

But I am not sure the affect of the modification to other arch, and the root
cause the above two commits introduced

Still requiring more digging

//Hongxu

> 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