Re: qemu/kvm viornd0 problems with OpenBSD 6.7

2020-05-25 Thread Steffen Nurpmeso
Hello once again.

Steffen Nurpmeso wrote in
<20200525221543.zdgwt%stef...@sdaoden.eu>:
 |Ya, thanks!, i am doing my OpenBSD 6.7 today!
 |
 |I have switched to use "-device virtio-rng-pci" in qemu not too
 |long ago after figuring out it works quite nice and almost
 |everybody seems to support it.  It is detected just fine for
 |OpenBSD 6.4 .. 6.6, but OpenBSD 6.7 causes qemu/kvm to abort with
 |a libgcrypt error: "Fatal: no entropy gathering module detected".
 |It works fine if i do not use this -device.

Ok, once i started doing food for the animals (just fyi) i had the
idea that the "-chroot ." i use might be the problem.  I have no
idea .. it seems mknod might no longer do what it is supposed to
on Linux, hm, random and urandom however i supplied without any
positive effects.

Anyhow, i can confirm that OpenBSD 6.7 boots regulary with that
virtio-rng if i do not chroot qemu!
(So maybe i have to supply --bind mounts for dev etc.  Hm.)

Good night,

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



qemu/kvm viornd0 problems with OpenBSD 6.7

2020-05-25 Thread Steffen Nurpmeso
Hello!

Ya, thanks!, i am doing my OpenBSD 6.7 today!

I have switched to use "-device virtio-rng-pci" in qemu not too
long ago after figuring out it works quite nice and almost
everybody seems to support it.  It is detected just fine for
OpenBSD 6.4 .. 6.6, but OpenBSD 6.7 causes qemu/kvm to abort with
a libgcrypt error: "Fatal: no entropy gathering module detected".
It works fine if i do not use this -device.

I can tell you this happens with qemu 4.2.0 and on qemu 5.0.0, on
Linux 4.19.{117,123,124}, yep, and it seems to make qemu/kvm
shiver.  4.19.117 even could no longer shutdown the computer
correctly, i seem to recall the last message before the hang being
"kvm: exiting hardware virtualization".  This never happened
before, once i was using this kernel actively.

I also get

  starting network daemons: sshd smtpd sndiod(failed).

for my 

  o-0607-x86# cat /etc/rc.conf.local
  library_aslr=no
  sndiod_flags=no

which feels wrong.  It is still sndiod_flags in rc.conf.
(I also got a "reordering libraries" on the first boot, i think,
even though the file was already in place.  No problem here no
more, however.)

Out in the forest now.  It seems i have to reprepare my MUA port
tomorrow thus, will post it to ports@.

Thank you, and Ciao! from Germany,

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)