https://bugzilla.kernel.org/show_bug.cgi?id=222334

            Bug ID: 222334
           Summary: ASUS Vivobook S5406SA (Lunar Lake): S4 resume corrupts
                    DSDT ("corrupted or replaced") — battery/AC/lid dead
                    until cold reboot
           Product: ACPI
           Version: 2.5
          Hardware: Intel
                OS: Linux
            Status: NEW
          Severity: high
          Priority: P3
         Component: Power-Sleep-Wake
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 311591
  --> https://bugzilla.kernel.org/attachment.cgi?id=311591&action=edit
dmesg: S4 resume, DSDT corrupted or replaced, \_WAK abort, _STA cascade

Machine: ASUS Vivobook S14 S5406SA (Lunar Lake, Core Ultra 200V), BIOS
S5406SA.330 (2026-04-01, latest available; ASUS publishes no detailed
changelogs)
OS: Linux Mint 22.3, kernel 7.2.2-070202-generic (contains ACPICA
operand-resolution fixes 7dfb216eda99, 3a21ffdbc825)
Hibernation target: swapfile (resume=UUID=..., resume_offset=...), 16 GB RAM /
17 GB swapfile

Steps to reproduce:
1. Boot normally; ACPI battery/AC/lid fully functional
(/sys/class/power_supply/BAT0, ADP0, /proc/acpi/button/lid/LID0/state all
readable).
2. systemctl hibernate with default [Sleep] HibernateMode=platform shutdown.
3. Power on; system resumes from image.
4. Within ~30-60 s after resume: BAT0 node disappears from
/sys/class/power_supply entirely; ADP0 node exists but reading "online" returns
ENOENT ("No such device"); LID state reports "unsupported"; \_LID evaluation
aborts. State persists until a COLD reboot (plain reboot restores ACPI).
Reproduced 3 times: 2026-11-12 11:02, 2026-11-26 10:15, 2026-11-27 11:03.

Actual result (kernel log right after resume, 2026-11-27 11:03):

ACPI: PM: Restoring platform NVS memory
ACPI: PM: Waking up from system sleep state S4
ACPI BIOS Error (bug): The DSDT has been corrupted or replaced - old, new
headers below (20260408/tbutils-80)
ACPI: DSDT 0x0000000000000000 028062 (v02 _ASUS_ Notebook 01072009 INTL
20210930)
ACPI: \._G 0x0000000000000000 4C534550 (v67 ?      GPESLCB? 2E5C1500 _GPE
30414C53)
ACPI Error: Please send DMI info to [email protected]
            If system does not work as expected, please boot with
acpi=copy_dsdt (20260408/tbutils-87)
ACPI BIOS Error (bug): Could not resolve symbol [\_WAK.UT], AE_NOT_FOUND
(20260408/psargs-365)
ACPI Error: Aborting method \_WAK due to previous error (AE_NOT_FOUND)
(20260408/psparse-543)
UBSAN: array-index-out-of-bounds in drivers/acpi/acpica/dswexec.c:403:12
       index -1 is out of range for type 'acpi_operand_object *[9]'
       acpi_evaluate_integer -> acpi_resume_power_resources -> acpi_pm_finish
ACPI Error: Null stack entry ... AE_AML_INTERNAL / AE_NOT_FOUND /
AE_AML_PACKAGE_LIMIT cascade:
       \_SB.PC00.RP03.PXSX.WRST._STA, \_SB.PC00.XHCI.RHUB.HS06.BTRT._STA,
       \_SB.PC00.I2C3.PXTC._STA, \_SB.PC00.I2C4.PTPL._STA,
\_SB.PC00.CNVW.WRST._STA, \_SB.PC00.LPCB.LID0._LID ...

Consequences: ACPI battery/AC adapter/lid namespace objects are destroyed or
non-evaluable. Battery charging itself continues at hardware level, so an
unattended machine discharges to 0% with no software-visible battery (observed
twice).

Expected result:
Resume from S4 without ACPI table/namespace corruption; battery, AC adapter and
lid objects remain functional.

Confirmed workaround (2026-11-27 12:50, verified):
/etc/systemd/sleep.conf.d/hibernate.conf:

[Sleep]
HibernateMode=shutdown

With shutdown mode the resume performs a plain POST + software_resume; the
firmware S4 handshake (incl. platform NVS restore, right before which the
corruption is detected) never runs. Verified: zero ACPI errors in the resume
kernel log, BAT0/ADP0/lid fully functional after resume. The kernel's own hint
(acpi=copy_dsdt) and acpi_sleep=nonvs were not needed; not tested individually.

Notes:
- The corruption is detected by AcpiTbCheckDsdtHeader() before executing any
AML method; the garbage "new header" (4C534550 "LSEP", v67) suggests the
firmware hands back an unrelated table or the NVS restore overwrites the DSDT
region.
- Not found in any public tracker as of 2026-11-27 (exact-message search across
web/GitHub: no laptop cases, only VM memory-corruption cases).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to