From nobody Tue Nov 8 16:09:15 2022 X-Original-To: bugs@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 4N6Chq6hrbz4YNJp for ; Tue, 8 Nov 2022 16:09:15 +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 4N6Chq4SJ1z3svg for ; Tue, 8 Nov 2022 16:09:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667923755; 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; bh=gXE3/JJ47ETTi5CgZn1u11z92s0lH9Bx0qAwX9CTi9g=; b=HIF7I0nYabktF7gZlITtnERvxMvvucP0lIkehpxLwfga2GB1hqx9p1BRbt3pUspWmA9h6D wSO8dTOFMGNUy0iSUtn9+IXSHds330sr7pKu5z6CXiFmm9h+SE6Oq9rtjhNsrnFMCC8vQS NvrpzjeTtDmtdrqB8baZhn0n4pTzeD16cJhkEWfy1QMEfBxrib8R07N7HCdGUuhy9ZBcQg F39u6/s7fnh2rVPmmp1R1sIgdF0+0Lg3A9Yoo1BJ7YbnLtJ0hUBcYW+9put5OloRB8S6fN lZCQBvsiRJOS8+4SWFejTAQ0G60ZDLC75BMUQ5nNksqau9pO7jTWOHoBy36yhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667923755; a=rsa-sha256; cv=none; b=jZTwXB/EVaBhMQXvhZmlao/R8qCi2CKk7hzs2KvptzNnClbRNYi8Eib25iRpBLIHmMu5KR j79F0gg4kn56E+x1xGvbqXTzYdZTYVSFhur1D21jwq22bf/ijz8xp604Wgd9VylGg6aCs8 4N2W3wKSOE+r4TkV88xX2F88jdenV7SUrrTUuNIDiEtGDQQDKpjtvcsmT7w3c8ljtGP27h MK/OevIquQMlUYZdMkwqcPgAw+lqEejFv5qyUf9KcJPVYiQHFJsAJ6ZdeX4/vYhqfKVSA2 zE5MHyFjoVo6FSCjFqwLlaWGOePEav8XFImmpsjZHjwFdBPWVEmgiqnpyEtwYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4N6Chq3VyVznxF for ; Tue, 8 Nov 2022 16:09:15 +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 2A8G9F9g006818 for ; Tue, 8 Nov 2022 16:09:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A8G9Ftn006817 for bugs@FreeBSD.org; Tue, 8 Nov 2022 16:09:15 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: bugs@FreeBSD.org Subject: [Bug 267644] FreeBSD guest running halt -p hangs on Linux client Date: Tue, 08 Nov 2022 16:09:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrew.cagney@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267644 Bug ID: 267644 Summary: FreeBSD guest running halt -p hangs on Linux client Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: andrew.cagney@gmail.com Created attachment 237946 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237946&action= =3Dedit dmesg from VM A pretty vanilla install into a qemu guest created using: sudo virt-install \ --connect=3Dqemu:///system --check=3Dpath_in_use=3Doff --graphics=3Dnone --virt-type=3Dkvm --noreboot --console=3Dpty,target_type= =3Dserial --vcpus=3D1 --memory=3D2048 --cpu=3Dhost-passthrough --network=3Dnetwork:swandefault,model=3Dvirtio --rng=3Dtype=3Drandom,device= =3D/dev/random --security=3Dtype=3Dstatic,model=3Ddac,label=3D'1000:107',relabel=3Dyes \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --filesystem=3Dtarget=3Dpool,type=3Dmount,accessmode=3Dsquash,source=3D/hom= e/pool \ --name=3Dw.freebsd-base \ --os-variant=3Dfreebsd13.0 \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --disk=3Dpath=3D/home/pool/w.freebsd-base.qcow2,size=3D10,bus=3Dvirtio,form= at=3Dqcow2 \ --cdrom=3D/home/pool/w.freebsd-base.iso (the ISO is tweaked to help automate the install). Afterwards: [root@freebsd ~ 0]# halt -p Nov 8 15:48:21 freebsd halt[779]: halted by root Nov 8 15:48:21 freebsd syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop...=20 Syncing disks, vnodes remaining... 2 1 0 done Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... do= ne All buffers synced. Uptime: 37s uhub0: detached uhub1: detached I'd have expected the vm to then quit (the whole shutdown process seems a little slow). I should note that using the host to ask the guest VM to shutdown does work (for instance using virsh say). I've tried it with hosts: Linux 5.15.5-100.fc34.x86_64 qemu-kvm-5.2.0-8.fc34.x86_64 Linux 6.0.5-200.fc36.x86_64 qemu-kvm-6.2.0-16.fc36.x86_64 --=20 You are receiving this mail because: You are the assignee for the bug.=