Created attachment 305370 [details] dmidecode system information 11/5/2023 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.
Created attachment 305371 [details] kludge fix for my laptop eh
Created attachment 305457 [details] nvs patch to sleep.c for the m6 sleekbook/ m6 k010 Better non-kludge patch, in the exact same style as the already existing patch in sleep.c for the Lenovo G50-45.