From nobody Thu Sep 18 18:26:48 2025 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 4cSPHD5fsLz67psP for ; Thu, 18 Sep 2025 18:26:48 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cSPHD2DZ1z4Pg9 for ; Thu, 18 Sep 2025 18:26:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758220008; 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=1xRIgGL7COO9QlgKIIUR/4/J21QrczY0oFAbySqC7Nk=; b=EqgLDlruMwujKL9TQ6QfF8sHhQgnIM7iVSgAZoLlko7EskFnqDCby4rSu4ShUJnrJdsATE Hdjdq+sASI85+8hDj1Prfxd1jBEshiSJBm1LSJy0fpH1iyo/mAsvUb2VMw10r4EL3BV6b/ mINP7BAJLwoz2kVwQIWE8gXT4KGa7DM+5+IFCXYjHtJ3Yo/WyylcoHe3OBgCSQcQ8ORFgt RwL6SiiCONI9Ehh5c5NGXQDMJseGaG9PHI9E1ye0ez4/76+hNBKXr84xEuM7WUOV4TCyNl CEnNRNK3dWta+StunuRn4BwwdocHRf1mXmF0sr0W6llJcJgWk6kh7L6kvKK5WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758220008; 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=1xRIgGL7COO9QlgKIIUR/4/J21QrczY0oFAbySqC7Nk=; b=oYygzSJ9taHzAqM8ro5mRdQFn67txxAoeKwNyBsL3Sd8mVcdYYgcB54P7CroTf8gz7eMfr sAR/mbfoBqoI7Vx6LDQMZJ678yv8TidEgJt/r6+d27pWBRD1hN8+84040CpbzNcrEyMd4Z 0dPBeWTTpuEF9GnryZhpAKu5GCsHQ99DWRLKN6fp38UL4f0ZHBEfDKePc9O/FwAAz++eYU tanMwOuHHK7mWBzDgMqXOE8Ki28OCThy8RqPVMmMXv47+gQ0CBFp0eZ1NZjZsrUzTyPdZZ xxriL0Wn/J+OL8IeOE0htJ7IEiVUWd2nWCDP0BwMowRTgd4hwRX960aeGDGVBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758220008; a=rsa-sha256; cv=none; b=qRum9iRbw7wa9Jm/ggOm4rrK08ra4EWxoRKQVc1lzxi4wQO/BC2jIUC++rpQy5kZkYqucd EvxtWeErzbB02Ok1r/OsllydQo0KbO1fMAuNCuw19m1Q8GOeFkkEaPjz8ygIA99w5evawO Mv6ICG0dO9QpvS2I060V3klhIWQcuICPxee1Q2mgo8jLnIysuKIcxNE7vqWQKoAXcz4Sjg qSTxMKSKVn/IX6vu2xsdMHxEvppjhAapghBKozjf07QzGHoVuuUl+Yf9WXNFXaqUwGPZT6 d4hlj5kqhImP3ZK/Edr3mROIuNp4Qa5yL+ap4Jy+DDxmCVVlrRAyVwe209wBYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cSPHD1Wdrz7Py for ; Thu, 18 Sep 2025 18:26:48 +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 58IIQmIv072985 for ; Thu, 18 Sep 2025 18:26:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58IIQmxL072981 for bugs@FreeBSD.org; Thu, 18 Sep 2025 18:26:48 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 289634] ACPI(4) not managing power on 16.0-CURRENT Date: Thu, 18 Sep 2025 18:26:48 +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: 16.0-CURRENT X-Bugzilla-Keywords: crash, dogfood, needs-patch, needs-qa, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D289634 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #26 from Marek Zarychta --- (In reply to Aymeric Wibo from comment #24) >So, at this point I'm fairly certain AcpiEnterSleepStatePrep is getting pa= ssed the right >state for your system to sleep (ACPI_STATE_S3, which should= also be what that function >was getting before my changes), but it is fail= ing with my changes for some reason (which >it shouldn't because I'm in the= ory not touching that code). The OS was entering sleep, at least partially, but was waking up promptly. >As a sanity check, can you compile the pre-revert changes with ACPI_DEBUG_= OUTPUT set so I >can see what is being passed to acpi_EnterSleepState? >If you could also check which one of the returns AcpiEnterSleepStatePrep i= s hitting >(APCICA code, sys/contrib/dev/acpica/components/hardware/hwxfsle= ep.c, by sprinkling some >printf's there e.g.) that would help me a lot too. OK, I will do, but it will take some time. I need to read more about how to= do it first. Thank you for fixing the issue! --=20 You are receiving this mail because: You are the assignee for the bug.=