Re: virtio-rng only returns zeros with CONFIG_HW_RANDOM=m

Ben Hutchings
2013-02-27T03:40:50Z

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

On Wed, 2013-02-27 at 10:43 +1030, Rusty Russell wrote:
> Aurelien Jarno <aurelien@aurel32.net> writes:
> > Hi,
> >
> > I have noticed that virtio-rng only returns zero for kernels >= 2.6.33
> > built with CONFIG_HW_RANDOM=m. This is a bit much too predictable for a
> > random generator ;-).
>
> Wow. Fortunately, all of SLES, RHEL, Ubuntu or Fedora set
> CONFIG_HW_RANDOM=y. What do they know that we don't?
>
> Oops, looks like Debian testing: config-3.2.0-4-amd64:CONFIG_HW_RANDOM=m
[...]

*Groan*. I'll change the configuration for now, but trust this will be
fixed in virtio-rng later. Thanks for letting me know.

Ben.

--
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]