From nobody Fri Mar 11 11:30:03 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2B16519FA595 for ; Fri, 11 Mar 2022 11:30:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KFNyP707Rz4v72 for ; Fri, 11 Mar 2022 11:30:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D10FD185EF for ; Fri, 11 Mar 2022 11:30:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22BBU5L5080968 for ; Fri, 11 Mar 2022 11:30:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22BBU5Qn080967 for virtualization@FreeBSD.org; Fri, 11 Mar 2022 11:30:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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) Date: Fri, 11 Mar 2022 11:30:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, performance, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? mfc-stable12- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646998206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3ZcifFGGku9v4dL4oczntEd3tt876h95lv+n7U7dTJo=; b=Mxs9ckurxhk5mDQ0wq/gEi3uIk4N/iK9OILlwvYxd14FuzNjfBHR20JdEE0v2m/wkdLBXZ 8a6kTwng4OTN4a0yFCYMxJeCUOlBLbbOXs6VFmGyHXW+9zGzYUImFyq/zzV0CIALy7twmw Botau3wKRCnNkEMnzHAm3YZGxksjKVlvtXiVm4ZAT+ggrAq4Z3e9PFnkQIdyICVfl0a2AB h+RF7jJIar1fnnqw4NW9krMFKOs9nS59Pj0bkmUHyR3pYvcE6ugYLU5/VLCzIxZv47rpau nQzIqW15OUrm/JxZ1P8rBJOkdFElWA1yrjjsDlpNU3LGyZ7bkDC3i4RUv+lbdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646998206; a=rsa-sha256; cv=none; b=ojqHfMECG0itbzWE0XMPHgpaQkK/ka8bVLWGd8iY5EawTDdiaznuvw2rXB1tfLp4BB73Lo SsPRdbQR7EGxaAEeUBl/bQus5FfqFsDTrr1QbIUpKeuZCMdJENGbxTTlVtMEQBQzkNxvGC pEO3sXUPup58s6CF6ObyaAtGDjgyDjP9RuTRH0YnWezAribzXt+BfKqSQzd6xMNovyd7hZ PTCjAt6SEWsydKLpqBDQjjgcfMvcsuaeu0dHX06fBfSef8ZJaEv9gBOrtZBq/IfMePESgb YwhdW/mb5Mbvnp2FRRmWvOxrZPRRpAgGGmhYDi/7/RnzzfA6tG5XcntrJ6OM/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253175 --- Comment #32 from Eugene Grosbein --- 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 reb= uild single kernel module only and perform single reboot to test it. You need ke= rnel 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=3D232380 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_rando= m.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. --=20 You are receiving this mail because: You are the assignee for the bug.=