Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2022 12:38:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 253175] virtio_random(4): Hangs after shutdown, reboot, halt commands on Vultr / Hetzner / ARP Networks (Qemu)
Message-ID:  <bug-253175-27103-gW1ATE80K9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253175-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253175-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253175

--- Comment #40 from commit-hook@FreeBSD.org ---
A commit in branch releng/13.1 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dfa67c45842bb5d34780a536b1bff1ac64=
f381562

commit fa67c45842bb5d34780a536b1bff1ac64f381562
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2022-03-16 04:41:51 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2022-03-19 12:36:26 +0000

    virtio_random(8): MFC: avoid deadlock at shutdown time (regression fix)

    FreeBSD 13+ running as virtual guest may load virtio_random(8) driver
    by means of devd(8) unless the driver is blacklisted or disabled
    via device.hints(5). Currently, the driver may prevent
    the system from rebooting or shutting down correctly.

    This change deactivates virtio_random at very late stage
    during system shutdown sequence to avoid deadlock
    that results in kernel hang.

    PR:             253175
    Tested by:      tom
    Relnotes:       yes
    Approved by:    re (gjb)

    (cherry picked from commit adbf7727b3a2aad3c2faa6e543ee7fa7a6c9a3d5)
    (cherry picked from commit 4a11315a2c3fc55333772f48aaef32ae1eb11ceb)

 sys/dev/virtio/random/virtio_random.c | 35 +++++++++++++++++++++++++++++++=
++++
 1 file changed, 35 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253175-27103-gW1ATE80K9>