<div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>I was just hit by this issue as well, we&#39;re using VirtualBox instead of QEmu, so of course we were missing &quot;-device virtio-rng-pci&quot; and I haven&#39;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&#39;t know how many people are using VirtualBox or docker to run qemu images built with OE, but it&#39;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 &lt;<a href="mailto:otavio.salvador@ossystems.com.br">otavio.salvador@ossystems.com.br</a>&gt; 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>
&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt; On Thu, 2017-11-16 at 13:11 +0000, Burton, Ross wrote:<br>
&gt;&gt; On 15 November 2017 at 19:59, Otavio Salvador &lt;otavio.salvador@ossyst<br>
&gt;&gt; <a href="http://ems.com.br" rel="noreferrer" target="_blank">ems.com.br</a>&gt; wrote:<br>
&gt;&gt; &gt; &gt; Are you enabling the virtio-rng driver so qemu can bridge the<br>
&gt;&gt; &gt; host entropy<br>
&gt;&gt; &gt; &gt; into the guest?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am not. Do you have an example of command line for it?<br>
&gt;&gt;  <a href="https://wiki.qemu.org/Features/VirtIORNG" rel="noreferrer" target="_blank">https://wiki.qemu.org/Features/VirtIORNG</a> talks about qemu&#39;s support<br>
&gt;&gt; and what to turn on there (the default qemu machines enable that).<br>
&gt;&gt;<br>
&gt;&gt; <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>
&gt;&gt; random/Kconfig documents HW_RANDOM_VIRTIO and says at the top that<br>
&gt;&gt; the devices feed into the kernel pool.<br>
&gt;<br>
&gt; Just to add, for qemuarm:<br>
&gt;<br>
&gt; machine/qemuarm.conf:QB_OPT_APPEND = &quot;-show-cursor -usb -device usb-tablet -device virtio-rng-pci&quot;<br>
&gt;<br>
&gt; 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&#39;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>