From owner-freebsd-current@freebsd.org Mon Jun 22 15:40:30 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 5BB2D33059E for ; Mon, 22 Jun 2020 15:40:30 +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 49rDBh43Jyz3WYC for ; Mon, 22 Jun 2020 15:40:28 +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 185E425D4 for ; Tue, 23 Jun 2020 00:40:19 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1592840419; bh=W/vkAd9c8lyWrh7LxMgTWHgLFZMC2JkUCzmF/aG9VNQ=; h=Date:To:Subject:From:In-Reply-To:References; b=CoWgCLfEDXHvZ7r9QOCDr6x8WOKA/gKHOD/Q8q9IbvrlDHq4nRClelg0H/yw6etFz mxwwPWk7/RAid846U7whN5vuR8KfCLerm22yM2wVYq+RvuYkYwHaletEF8Vy4IbWrM iE/QXcJHnF8Sc6Kdm54M16uFH5K/92bj6pAYPBA9JYzEfpjVWDzHxX2lr1R1egDAB+ vnjTf+oEZ6fr7TNmWSY4gchF7WE18E5/ANaLYZo83ZRce6duupFkNfYY9jpn+8EgbE +vT9SYsHAazu3fd+483jGCGVv9fJob/91Xbyd4WRTzbRz5fv1+jOBynb65DWUANYge 0DyeQQkk6OkKQ== 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 AD9404C30E; Tue, 23 Jun 2020 00:40:17 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at eastasia.home.utahime.org Date: Tue, 23 Jun 2020 00:38:08 +0900 (JST) Message-Id: <20200623.003808.2170454908846294820.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: References: <20200622.164523.492970231904065687.yasu@utahime.org> <20200622.191348.2299220192956341788.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: 49rDBh43Jyz3WYC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=utahime.org header.s=maybe2019112701 header.b=CoWgCLfE; 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.43 / 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.02)[-1.023]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.031]; 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:+]; NEURAL_HAM_SHORT(-0.37)[-0.372]; MID_CONTAINS_FROM(1.00)[]; 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 15:40:30 -0000 From: Warner Losh Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot Date: Mon, 22 Jun 2020 08:57:24 -0600 > Does setting the tunable hw.efi.poweroff=0 help you? I add it to /boot/loader.conf and then `shutdown -p now` successfully powers off system. Does existence of this tunable mean that there are some UEFI implementations that have problem with power off functionality? (And VirtualBox is unfortunately one of such implementations?) --- Yasuhiro KIMURA