From nobody Mon Mar 4 16:30:39 2024 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 4TpPM40CCbz5CtLN for ; Mon, 4 Mar 2024 16:30:40 +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 4TpPM36Hk1z4Hh0 for ; Mon, 4 Mar 2024 16:30:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709569839; a=rsa-sha256; cv=none; b=FLyh3iUiUp4ocvwKZFVKF9adjrQVfA/g9B6YZ9ph39ZJK3iuisQsIFVG8e5YRnMCJPXHcb JYBgBpf6N2PsH6eRRylIxWVqHXI4ksdHX4clYioGU15ZXrp/acVwNJG7wFik+JwqPRTIF1 6E1Q2ByulGZRjhheNY381yVtkY6XmmNHPrHpRfx+OTjJ/MW5yONgV9c/VxMMqzIcDi9+h6 xJtoQfovdmOlqIo6SopWGKKQB7vINlGxXilgoDp+qktTyC3jLCFZG/cvD23UjQ57wAWiYm FlmXeGSwTkGy0XnNUg0S7TCvcJLS38vEDnyLPKwx5R0owHtNJS2S60P7zqgcBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709569839; 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: in-reply-to:in-reply-to:references:references; bh=kPfNboQHwZAUtxPDzwlHbCIzT7HGZ87WBEuDZX40oHk=; b=urTXpkJYMUL4KfZpDpnQtVt+Fwkbbtg2qHMVJoLBf5Ne24ZG2BSfONknltynY5XsyRKzEJ ST4T/jQj1WJCXqHlXV0fqn9m7VXzzqiR0szQSmSkJ9CwbxTe8+Mp8TKvevhXYTGQrEgRkm ejnbnAEAmMS+hdvg5o2jv7w++5+zPq9wsq+rayrhc7KVJOi0UzHovbLeE3pO1LR0rnS4aL QRcPd4kE43KvKjGBxnhCqz2euyKCsktpRSumtRc0kDC0P6IzlHFA+Ifb1vFEu7bXEbWdyV x8KholLTZnid51grfQs4d34oPcXAfxy1hn0W7tSTgR30+2P75qob4SCcQ/H24g== 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 4TpPM35vVdzSwB for ; Mon, 4 Mar 2024 16:30:39 +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 424GUdMW038556 for ; Mon, 4 Mar 2024 16:30:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 424GUdRx038552 for bugs@FreeBSD.org; Mon, 4 Mar 2024 16:30:39 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 277450] "poweroff" does not power off the system when EFI is used Date: Mon, 04 Mar 2024 16:30:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277450 --- Comment #9 from Andriy Gapon --- When hw.efi.poweroff=3D1, EFI shutdown routine is invoked much earlier than= ACPI, so ACPI has no play. It seems that the system hangs in the EFI routine inst= ead of powering off. So it must be a problem with the EFI implementation or something like that. FreeBSD EFI shutdown code is extremely simple: if ((howto & RB_POWEROFF) !=3D 0 && efi_poweroff) (void)efi_reset_system(EFI_RESET_SHUTDOWN); --=20 You are receiving this mail because: You are the assignee for the bug.=