<div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>I was just hit by this issue as well, we're using VirtualBox instead of QEmu, so of course we were missing "-device virtio-rng-pci" and I haven't found some equivalent of this for VirtualBox.</div><div><br></div><div>Adding rng-tools back to our images allows to use ssh again (without rng-tools sshd never started because ssh-keygen got stuck trying to read /dev/random).</div><div><br></div><div>I don't know how many people are using VirtualBox or docker to run qemu images built with OE, but it's probably worth mentioning in 2.6 release notes.</div><div><br></div><div>Cheers,</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 16, 2017 at 2:26 PM Otavio Salvador <<a href="mailto:otavio.salvador@ossystems.com.br">otavio.salvador@ossystems.com.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Richard,<br>
Hello Ross,<br>
<br>
On Thu, Nov 16, 2017 at 11:14 AM, Richard Purdie<br>
<<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>> wrote:<br>
> On Thu, 2017-11-16 at 13:11 +0000, Burton, Ross wrote:<br>
>> On 15 November 2017 at 19:59, Otavio Salvador <otavio.salvador@ossyst<br>
>> <a href="http://ems.com.br" rel="noreferrer" target="_blank">ems.com.br</a>> wrote:<br>
>> > > Are you enabling the virtio-rng driver so qemu can bridge the<br>
>> > host entropy<br>
>> > > into the guest?<br>
>> ><br>
>> > I am not. Do you have an example of command line for it?<br>
>> <a href="https://wiki.qemu.org/Features/VirtIORNG" rel="noreferrer" target="_blank">https://wiki.qemu.org/Features/VirtIORNG</a> talks about qemu's support<br>
>> and what to turn on there (the default qemu machines enable that).<br>
>><br>
>> <a href="http://elixir.free-electrons.com/linux/latest/source/drivers/char/hw_" rel="noreferrer" target="_blank">http://elixir.free-electrons.com/linux/latest/source/drivers/char/hw_</a><br>
>> random/Kconfig documents HW_RANDOM_VIRTIO and says at the top that<br>
>> the devices feed into the kernel pool.<br>
><br>
> Just to add, for qemuarm:<br>
><br>
> machine/qemuarm.conf:QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet -device virtio-rng-pci"<br>
><br>
> the key piece being virtio-rng-pci on the commandline.<br>
<br>
I did try it here. Thanks for the pointers.<br>
<br>
We use a Docker container to run QEMU and in this environment, it does<br>
not work well. At least I did not get it working.<br>
<br>
I don't know if it is a problem or not for OE-Core. Possibly people<br>
will run things inside a container and keep rng-tools makes it working<br>
in those environments.<br>
<br>
I will keep investigating here if I can make it work in a container ...<br>
<br>
-- <br>
Otavio Salvador O.S. Systems<br>
<a href="http://www.ossystems.com.br" rel="noreferrer" target="_blank">http://www.ossystems.com.br</a> <a href="http://code.ossystems.com.br" rel="noreferrer" target="_blank">http://code.ossystems.com.br</a><br>
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>