From owner-freebsd-current@freebsd.org Mon Jun 22 16:13:07 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 AACB033220C for ; Mon, 22 Jun 2020 16:13:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49rDwH6yRtz3f5K for ; Mon, 22 Jun 2020 16:13:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x835.google.com with SMTP id v19so10592523qtq.10 for ; Mon, 22 Jun 2020 09:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6HMVHcOYXBOKMOkpQFchvniDLdNmsE2P020ux8OUZI8=; b=M5bGgh0D/CkV71fnvbnAREU0iHbBuYox77JH4NLyyJ9CDm22qPuoX31rjud4Seoa8A Oz4MQRL18f3gRMDLyhidGsdPavTaMw6tY/xrjhVgVW7ZiTvKJklmuOZ6Whxr90khjmzE 8zyGzw2/TLpaxSL41KBc48L+ya2g7Y4tDfVQx17lo8GYy0WP5B3/6IV296pD6cT6NdQC 9GnBHUYrn6aFMfnR36UmzSaYfC//zDkAEAT1wItsPJoSqZtPnK3zS1EKDf8Bp9sYdRIw LviScSWi8J1Wum4yOWO6S+PhOaNBsBBfXqL2uJAiurQ4X4Pb5s2bfmpHW2t01CcCKZAE y2DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6HMVHcOYXBOKMOkpQFchvniDLdNmsE2P020ux8OUZI8=; b=sM+15e/t71zmz9wNLZnLZUgk6I6rpu4Ke+03EKqzuQlUsKxb7qt099s9/RjEdwG30/ u9JbRiJifbZcU9krvWnoTgBqyjJiRLezbtBsuFv5QEqrrxS2zIVjNjTAyu+I2ESZ2LPF SBe0VX+o5pZFkuz7MJ9kAHo1HktwP8DRV7OE6m5xac/s8DroUVUFz5CtFxRkXF8F6KO7 YXZZPvIMbQaTm9FUWany5kEZdAYQIxhsdVkRuvAnLPq0UIODKBpI1vGcUiOAGKcgWAWF PvizRSWYmaTjYCPABq1NJuq0lU95q6/cFZ0uCtgOIIHCjUOprqfUeYSsWouqeQFiipEj Crgg== X-Gm-Message-State: AOAM533kzhooQuk3qPwREDv8BNIsp20zGMCK0hhMFPjUmO3btuj2jaIo Et76l8X7qT2Wqj6wkG7ECfeiC+9yL17Ww5e+qFopdnGXPPY= X-Google-Smtp-Source: ABdhPJyOWWDS4eoMo9IQDMQMAxYJkDxPOI5xNPPIaPAi03Z/9BDPs6TUl4c8WVj+BdI7nTSbA6YpCJpFuTc11/8l1q4= X-Received: by 2002:ac8:6f55:: with SMTP id n21mr17260232qtv.175.1592842378315; Mon, 22 Jun 2020 09:12:58 -0700 (PDT) MIME-Version: 1.0 References: <20200622.164523.492970231904065687.yasu@utahime.org> <20200622.191348.2299220192956341788.yasu@utahime.org> <20200623.003808.2170454908846294820.yasu@utahime.org> In-Reply-To: <20200623.003808.2170454908846294820.yasu@utahime.org> From: Warner Losh Date: Mon, 22 Jun 2020 10:12:47 -0600 Message-ID: Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot To: Yasuhiro KIMURA Cc: FreeBSD Current X-Rspamd-Queue-Id: 49rDwH6yRtz3f5K X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=M5bGgh0D; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::835) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.37 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.94)[-0.940]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::835:from]; NEURAL_HAM_SHORT(-0.44)[-0.440]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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 16:13:08 -0000 On Mon, Jun 22, 2020 at 9:40 AM Yasuhiro KIMURA wrote: > 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?) > I believe so. However, I've not dived deeply enough into this problem to understand if it is a bug in our code or theirs. Warner > --- > 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" >