From nobody Sat Sep 24 11:24:30 2022 X-Original-To: acpi@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 4MZRW32nsmz4cPtb for ; Sat, 24 Sep 2022 11:24:31 +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 4MZRW31373z3tWf for ; Sat, 24 Sep 2022 11:24:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MZRW307gHz14Cg for ; Sat, 24 Sep 2022 11:24:31 +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 28OBOUsP038848 for ; Sat, 24 Sep 2022 11:24:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28OBOUYt038847 for acpi@FreeBSD.org; Sat, 24 Sep 2022 11:24:30 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: acpi@FreeBSD.org Subject: [Bug 263557] ACPI S3 doesn't resume on a MateBook X Pro 2021 Date: Sat, 24 Sep 2022 11:24:30 +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: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pmc@citylink.dinoex.sub.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acpi@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: ACPI and power management development List-Archive: https://lists.freebsd.org/archives/freebsd-acpi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-acpi@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664018671; 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=483LIhtkxvWrTiBysxalh2NyZ+zaaORPwWLI9vxJQxc=; b=dg/j7OymQXF9iSK2v5SL3J27vjL+jU3ZtUMH6uMyTL0Y0eSxkY20/R2bqbaAnPP07WU4kx nJL4SbOsmvSG0UO4fSWLUxhtEHLc0SREwDTy2401LQYlEG53v9BUlFhzJQ1GyeCWNNOIAM EAo1Z8flE1fsvhJ0PPm9Or4w3dtdMPKYqjfjtGCwHOK1sfAg1qLPzt9uFf9TNYUzr3g49M 7H1K3nWaw6X1etvGZuvgMKp2goHgQG6wrCylPwK7s2rwt2JruAQqGia+Co+MkXK/cK4u+u 4hUm7QpLqp5tlqZDPPFWC/xW+Qs3ATzkM7YaOEfmPbdSFLxwdLApUBfy1W5LpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664018671; a=rsa-sha256; cv=none; b=xtm7YTElAZzq5LMsABC7AmXBWj5Wm+OFWhgMz3R+OVuc8ZM6A8j57hs18gJ2pEXj0myd4t xCLU9wAqqxVKHuoYHmoJL2BlvzXppDwYZrqxwkxta3oUnk9ih1QCcj6IAz+M/BdCSzMonK WMGr78Z9KG4zeuNR+4YuSczsJ8UPyiBEQ1KaAQNCDiNCxPNmGSQfeQFV8anHOMWe6LJvk6 IBUd9/RodNCCbPegY3as4TSNew/sAP+JA9hT2ElEo7Ng5tcDwxVenXwFC+GLEPwMtQ0pnX QVt2OwCLZgLGtyvgUAxG7IdRc6T+1nV51D2jMS3cR1KeqOn+5cvqkr95010Maw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263557 --- Comment #6 from Peter Much --- Some more analysis: When my machine starts, or on wakeup, it shortly rotates the fan.=20 When I try to wakeup with FreeBSD, this happens. Then after a short time the power led goes out, and goes on again, and the fan is tested once again and= the normal startup boot follows. So, apparently the resume is done, but it fails, and then a normal reboot follows. There is a file sys/amd64/acpica/acpi_wakecode.S It is apparently one of the first things that should be run on wakeup. I created an endless loop right at the beginning of that code. This does not change the behaviour. For verification I did the same in OpenBSD, and there it has the expected effect: on resume the power led goes on, and stays on, and nothing more happens. So apparently our "wakecode" is not found, instead the thing hops to wheree= ver to execute code, and then obviousely crashes. Something must be wrong with the place where we put this code, or the way we tell the bios that place. Here is the respective boot message: acpi0: wakeup code va 0xfffffe001317f000 pa 0x9c000 --=20 You are receiving this mail because: You are the assignee for the bug.=