Black screen with logs: Hard drive appears unaccessible after attempt to wake up computer

Posted on

When attempting to unlock the computer after letting it idle for a while, I get a blank screen and logs indicating input/output errors. This is not consistently happening, but I would say every one or two weeks.

I ran the BIOS full diagnostic tests against the system, and particularly against the hard drive, and it reports no problems.

This began to happen, perhaps coincidentally, after the update to 9.3.

Example logs:

[..] Failed to rotate /var/log/journal/[..]: Input/output error
[..] Failed to ope /var/log/journal/[..]: Input/output error

When this happen, I'm unable to diagnose the computer. I reboot it with Alt SysRq, and then I examine the journal logs and I see nothing happening right before. It looks like if the communication with the hard drive gets totally lost. I have updated the vendor firmware to the latest. Since the BIOS sees no problem with the drive, I'm inclined to think it is a kernel power management issue with the drive driver?

What could this be?

Here is some system information:

$ inxi -Fz

System:
  Kernel: 5.14.0-362.24.1.el9_3.x86_64 arch: x86_64 bits: 64
  Console: pty pts/0 Distro: Red Hat Enterprise Linux 9.3 (Plow)
Machine:
  Type: Laptop System: Dell product: Precision 5560 v: N/A serial: <filter>
  Mobo: Dell model: 0WPMMN v: A00 serial: <filter> UEFI: Dell v: 1.26.0
    date: 12/19/2023
Battery:
  ID-1: BAT0 charge: 67.1 Wh (100.0%) condition: 67.1/84.3 Wh (79.6%)
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11850H bits: 64 type: MT MCP
    cache: L2: 10 MiB
  Speed (MHz): avg: 1715 min/max: 800/4800 cores: 1: 1048 2: 1613 3: 801
    4: 801 5: 4798 6: 800 7: 869 8: 801 9: 2690 10: 1003 11: 801 12: 1063
    13: 4772 14: 801 15: 3979 16: 801
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA TU117GLM [T1200 Laptop GPU] driver: nouveau v: kernel
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
  Display: server: X.Org v: 1.20.11 with: Xwayland v: 22.1.9 driver: X:
    loaded: modesetting unloaded: fbdev dri: iris gpu: i915 resolution:
    1: 1920x1080~60Hz 2: 1920x1200
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.1.4 renderer: Mesa Intel UHD
    Graphics (TGL GT1)
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Tiger Lake-H HD Audio driver: snd_hda_intel
  API: ALSA v: k5.14.0-362.24.1.el9_3.x86_64 status: kernel-api
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi
  IF: wlp0s20f3 state: down mac: <filter>
  Device-2: Intel I210 Gigabit Network driver: igb
  IF: enp6s0 state: down mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
  IF: enp0s13f0u4 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: zcctun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: <filter> bt-v: 5.2
Drives:
  Local Storage: total: 476.94 GiB used: 186.17 GiB (39.0%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN810 NVMe WDC 512GB
    size: 476.94 GiB
Partition:
  ID-1: / size: 69.95 GiB used: 33.77 GiB (48.3%) fs: xfs dev: /dev/dm-1
  ID-2: /boot size: 1014 MiB used: 569.5 MiB (56.2%) fs: xfs
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 46.7 MiB (7.8%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 389.56 GiB used: 151.8 GiB (39.0%) fs: xfs
    dev: /dev/dm-3
Swap:
  ID-1: swap-1 type: partition size: 15.6 GiB used: 0 KiB (0.0%)
    dev: /dev/dm-2
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: nouveau temp: 38.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 30.82 GiB used: 5.22 GiB (16.9%)
    igpu: 64 MiB
  Processes: 432 Uptime: 9m Shell: Bash inxi: 3.3.33
$ cat /sys/power/state 
freeze mem disk
$ cat /sys/power/mem_sleep 
[s2idle]

Responses