qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /dev/hwrng no such device


From: Peter Maydell
Subject: Re: /dev/hwrng no such device
Date: Sun, 9 Feb 2020 10:47:33 +0000

On Thu, 6 Feb 2020 at 16:52, Wesley Chow <address@hidden> wrote:
> Yes great, thank you for the tip.. I should have been looking in dmesg for 
> PCI stuff all along. While CONFIG_PCI_HOST_GENERIC was not set, setting it 
> didn't help. But that did give me an error which I tracked down to this:
>
> https://bugs.launchpad.net/qemu/+bug/1790975
>
> Starting QEMU with:
>
> -M virt,highmem=off
>
> ...fixes the /dev/hwrng issue.

Yeah, that bug bites people from time to time. It's a guest kernel bug,
so the options are:
 * use highmem=off to work around it
 * compile your kernel with LPAE support (not a bad idea
   anyway for the virt board, it allows you to have more RAM
   and a bigger pci window)
 * use a newer kernel where the bug has been fixed

Glad to hear you got things working.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]