Skip to contentSkip to conversation

System will crash when trying to wake up from second suspend

DISCUSSION Bagas Sanjaya 1 participant 1 message Nov 6, 2023 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

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

Quoted 8 lines

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

Quoted 7 lines

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

Signature · 1 line
An old man doll... just what I always wanted! - Clara