[OE-core] [PATCH] qemu.inc: Drop rng-tools

Martin Jansa martin.jansa at gmail.com
Thu Nov 22 17:39:53 UTC 2018


Hi all,

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.

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).

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.

Cheers,

On Thu, Nov 16, 2017 at 2:26 PM Otavio Salvador <
otavio.salvador at ossystems.com.br> wrote:

> Hello Richard,
> Hello Ross,
>
> On Thu, Nov 16, 2017 at 11:14 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > On Thu, 2017-11-16 at 13:11 +0000, Burton, Ross wrote:
> >> On 15 November 2017 at 19:59, Otavio Salvador <otavio.salvador at ossyst
> >> ems.com.br> wrote:
> >> > > Are you enabling the virtio-rng driver so qemu can bridge the
> >> > host entropy
> >> > > into the guest?
> >> >
> >> > I am not. Do you have an example of command line for it?
> >>  https://wiki.qemu.org/Features/VirtIORNG talks about qemu's support
> >> and what to turn on there (the default qemu machines enable that).
> >>
> >> http://elixir.free-electrons.com/linux/latest/source/drivers/char/hw_
> >> random/Kconfig documents HW_RANDOM_VIRTIO and says at the top that
> >> the devices feed into the kernel pool.
> >
> > Just to add, for qemuarm:
> >
> > machine/qemuarm.conf:QB_OPT_APPEND = "-show-cursor -usb -device
> usb-tablet -device virtio-rng-pci"
> >
> > the key piece being virtio-rng-pci on the commandline.
>
> I did try it here. Thanks for the pointers.
>
> We use a Docker container to run QEMU and in this environment, it does
> not work well. At least I did not get it working.
>
> I don't know if it is a problem or not for OE-Core. Possibly people
> will run things inside a container and keep rng-tools makes it working
> in those environments.
>
> I will keep investigating here if I can make it work in a container ...
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181122/2b0a6823/attachment.html>


More information about the Openembedded-core mailing list