From owner-freebsd-current@freebsd.org Mon Jun 22 15:14:51 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E51534F636 for ; Mon, 22 Jun 2020 15:14:51 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49rCd61X2Hz3T9p for ; Mon, 22 Jun 2020 15:14:50 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:fd51:4cdd:960c:aca5] (unknown [IPv6:2a02:8109:1140:c3d:fd51:4cdd:960c:aca5]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id CCA9A7220C6D0; Mon, 22 Jun 2020 17:14:45 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot From: Michael Tuexen In-Reply-To: Date: Mon, 22 Jun 2020 17:14:45 +0200 Cc: Yasuhiro KIMURA , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200619.052348.232031363704679601.yasu@utahime.org> <20200622.164523.492970231904065687.yasu@utahime.org> <20200622.191348.2299220192956341788.yasu@utahime.org> To: Warner Losh X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 49rCd61X2Hz3T9p X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:680, ipnet:2001:638::/32, country:DE]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 15:14:51 -0000 > On 22. Jun 2020, at 16:57, Warner Losh wrote: >=20 > On Mon, Jun 22, 2020 at 4:14 AM Yasuhiro KIMURA = wrote: >=20 >> From: Yasuhiro KIMURA >> Subject: Re: `shutdown -p now` fails to power off with VirtualBox = UEFI boot >> Date: Mon, 22 Jun 2020 16:45:23 +0900 (JST) >>=20 >>> I tried bisect and found this problem happens with r342108 and >>> after. Commit message of r342108 says as following. >>>=20 >>> yasu@rolling-vm-freebsd5[1012]% LANG=3DC svn log -c 342108 >>> = ------------------------------------------------------------------------ >>> r342108 | cem | 2018-12-15 14:46:04 +0900 (Sat, 15 Dec 2018) | 7 = lines >>>=20 >>> efirt: When present, attempt to use EFI runtime services to shutdown >>>=20 >>> PR: maybe related to 233998 (inconclusive at this time) >>> Submitted by: byuu (previous version) >>> Reviewed by: imp >>> Differential Revision: https://reviews.freebsd.org/D18506 >>>=20 >>> = ------------------------------------------------------------------------ >>> yasu@rolling-vm-freebsd5[1013]% >>>=20 >>> Judging from it, I think it's very likely that this commit caused = the >>> problem. >>>=20 >>> Then is there anything I can do for further investigation? >>=20 >> I submitted this problem to Bugzilla. >>=20 >> Bug 247474 - `shutdown -p now` fails to power off with VirtualBox = UEFI boot >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247474 >>=20 >=20 > Does setting the tunable hw.efi.poweroff=3D0 help you? That works for me (FreeBSD head on Virtual Box, latest release, on Mac = OS). Best regards Michael >=20 > Warner >=20 >=20 >> --- >> Yasuhiro KIMURA >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >>=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"