[Bug 253175] virtio_random(4): Hangs after shutdown, reboot, halt commands on Vultr / Hetzner / ARP Networks (Qemu)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Mar 2022 11:30:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253175

--- Comment #32 from Eugene Grosbein <eugen@freebsd.org> ---
13.1-BETA1 is ready and we have not much time to settle this before release.
I'd like to see some response from anyone who can test the patch.

One does not need to perform long buildworld nor buildkernel proces but rebuild
single kernel module only and perform single reboot to test it. You need kernel
sources (or full source tree) for any revision of 13.x. Assuming amd64:

fetch -o /tmp/patch-virtio_random.c
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232380
cd /usr/src
patch < /tmp/patch-virtio_random.c
cd sys/modules/virtio/random
make obj depend && make all
kldunload virtio_random # if you did not blacklist it
kldload /usr/obj/usr/src/amd64.amd64/sys/modules/virtio/random/virtio_random.ko
shutdown -r now

If it reboots, please report. If it hangs, please report, too.

Also I'd like to see some response from authors of original code. Otherwise, I
will commit it shortly after positive feedback from users.

-- 
You are receiving this mail because:
You are the assignee for the bug.