From owner-freebsd-current@freebsd.org Mon Jun 22 10:14:14 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 8DB273468BD for ; Mon, 22 Jun 2020 10:14:14 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 49r4yF0nxFz4Vc0 for ; Mon, 22 Jun 2020 10:14:12 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (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) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 59E922519 for ; Mon, 22 Jun 2020 19:14:09 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1592820849; bh=piAVPF1ZdWX9sRiY1Z4ajN0Li8M5QtMdszRQZXiHNa0=; h=Date:To:Subject:From:In-Reply-To:References; b=UOuxpTpRO8aB0kRxvkkWRLDJ8DsDEF8QKv57WWvPwVw6e2nBBZ1iuza+DZFsFIt9D I+gaD7v4RvuQ6UbHY63UEztX1loOPBQneWEMGtHoE/q8yphjo0UVZhTm2HG5VWVYfL b5vd6QpAB4HZf9R69SaMwHZo7CtyZUwARKrDt+GxKckPMypULtTdYUa/DhLaBLYW4r 434JVE86GjgoO9kd0ofs4diYXgDX4hBM1qKLxgA3mIWtK91Sf7mdJmOA7ZksbcC5DE I7Oa5mVa7dLf4e/LsDy0GWS2Ewv/r8JLO5V6F2YtOa4JPfnKSD0m/n9YgyXneVIIDC VZqWYP4l5oymg== Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 634784C08C; Mon, 22 Jun 2020 19:14:06 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at eastasia.home.utahime.org Date: Mon, 22 Jun 2020 19:13:48 +0900 (JST) Message-Id: <20200622.191348.2299220192956341788.yasu@utahime.org> To: freebsd-current@freebsd.org Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot From: Yasuhiro KIMURA In-Reply-To: <20200622.164523.492970231904065687.yasu@utahime.org> References: <20200619.052348.232031363704679601.yasu@utahime.org> <20200622.164523.492970231904065687.yasu@utahime.org> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49r4yF0nxFz4Vc0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=utahime.org header.s=maybe2019112701 header.b=UOuxpTpR; dmarc=none; spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org X-Spamd-Result: default: False [-1.03 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[utahime.org:s=maybe2019112701]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.029]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[utahime.org]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; DKIM_TRACE(0.00)[utahime.org:+]; MID_CONTAINS_FROM(1.00)[]; NEURAL_SPAM_SHORT(0.01)[0.014]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; RCVD_TLS_ALL(0.00)[] 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 10:14:14 -0000 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) > I tried bisect and found this problem happens with r342108 and > after. Commit message of r342108 says as following. > > yasu@rolling-vm-freebsd5[1012]% LANG=C svn log -c 342108 > ------------------------------------------------------------------------ > r342108 | cem | 2018-12-15 14:46:04 +0900 (Sat, 15 Dec 2018) | 7 lines > > efirt: When present, attempt to use EFI runtime services to shutdown > > PR: maybe related to 233998 (inconclusive at this time) > Submitted by: byuu (previous version) > Reviewed by: imp > Differential Revision: https://reviews.freebsd.org/D18506 > > ------------------------------------------------------------------------ > yasu@rolling-vm-freebsd5[1013]% > > Judging from it, I think it's very likely that this commit caused the > problem. > > Then is there anything I can do for further investigation? I submitted this problem to Bugzilla. Bug 247474 - `shutdown -p now` fails to power off with VirtualBox UEFI boot https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247474 --- Yasuhiro KIMURA