nvme SSD disk not appearing at S3 resume

Bug #1855892 reported by Enrico Segre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

System apparently correctly suspends (in various ways - from gnome menu, with pm-suspend on bash, with echo ... > /sys/power/pm_test) and resumes bringing up X, gnome, consoles, mouse, keyboard - but not the nvme SSD. Since I have the OS on that, no command relying on disk files is recognized, and I'm forced to hard power off by long press on power button.

Usually at resume it is possible to switch to consoles (Ctrl-Alt-Fn), which display a lot of messages about i/o errors and failing journal writes.

bash may be still alive on either X or consoles, but it will understand only internal commands and thus it is not of much help even for shutting down the system cleanly.

Tried to add the following options in various combinations on the GRUB_CMDLINE_LINUX at no avail:

acpiphp.disable=1
nvme_core.default_ps_max_latency_us=0
acpi_osi=! \"acpi_osi=Windows 2015\"

The only grub option helping is

mem_sleep_default=shallow

but that is a bit of no brainer since it suspends to S2 preventing S3. The same effect have

echo s2idle > /sys/power/mem_sleep

and

echo freeze > /sys/power/state

As for what is said in https://wiki.ubuntu.com/DebuggingKernelSuspend, I've tried pm-tracing but wasn't able to understand enough information from dmesg hash matches. As for debugging, all echos to /sys/power/pm_test resume correctly but the last, echo none, which causes the problem.

The issue does not seem graphics related since X wakes up correctly (initially; it may crash later), and since the problem is identical even with no X (telinit 3).

Hope all necessary debug information is automatically added, if not please ask.

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: pm-utils 1.4.1-18
ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
Uname: Linux 5.3.0-24-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: GNOME-Flashback:GNOME
Date: Tue Dec 10 16:08:33 2019
InstallationDate: Installed on 2019-10-29 (42 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
SourcePackage: pm-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Enrico Segre (enrico-segre) wrote :
Revision history for this message
Enrico Segre (enrico-segre) wrote :
Revision history for this message
Enrico Segre (enrico-segre) wrote :

Attaching the dumps of:

cat /proc/acpi/wakeup > wakeup

echo xxxx > /sys/power/pm_test
sync && echo 1 > /sys/power/pm_trace && pm-suspend
dmesg > dmesg.xxxx

Revision history for this message
Enrico Segre (enrico-segre) wrote :
Revision history for this message
Enrico Segre (enrico-segre) wrote :
Revision history for this message
Enrico Segre (enrico-segre) wrote :
Revision history for this message
Enrico Segre (enrico-segre) wrote :
Revision history for this message
Enrico Segre (enrico-segre) wrote :
Revision history for this message
Enrico Segre (enrico-segre) wrote :

cat /sys/kernel/debug/suspend_stats > suspend_stats

description: updated
Revision history for this message
Enrico Segre (enrico-segre) wrote :

Problem apparently solved (i.e., SDD wakes up from S3, can remove "mem_sleep_default=shallow" from grub) with today's BIOS update to 2.0.2. Or with some firmware update associated with it. The problem with Dell is that these firmware updates declare to address only obscure security tickets, not the real problems...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.