Fwd: System will crash when trying to wake up from second suspend

From: Bagas Sanjaya
Date: Mon Nov 06 2023 - 08:32:24 EST


Hi,

I notice a bug report on Bugzilla [1]. Quoting from it:

> Total carbon copy of the following bug in terms of symptoms described, warning displayed after needing to hard restart after failed second suspend, and solution, but with a different laptop vendor and an A10-5745m APU instead of the A6-6310: https://bugzilla.kernel.org/show_bug.cgi?id=189431
>
> The problem occurred on the latest stable patch of Debian 12 at the time of writing, as well as Arch Linux using the latest lts kernel at the time of writing, mainline Arch kernel 6.5.9 as well as the testing Arch 6.6 kernel.
>
> changing linux/drivers/acpi/sleep.c
>
> by removing
>
> if (dmi_get_bios_year() >= 2012)
> acpi_nvs_nosave_s3();
>
> from the acpi_sleep_dmi_check() method
> as a kludge to enable nvs memory during s3 for my laptop and building + installing completely fixed the issue after several days of failed attempts at fixes. Evidentially, the HP envy m6 sleekbook needs nvs memory despite being manufactured after 2012. Bios is at the latest available version provided by HP.
>
> I'll include part of my dmidecode to help better identify my exact laptop model.

See Bugzilla for the full thread and proposed fix patch.

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218106

--
An old man doll... just what I always wanted! - Clara