Skip to content

S0ix suspend issues on Novacustom V5xx #9372

Description

@marmarek

How to file a helpful issue

Qubes OS release

R4.2 / R4.3

Brief summary

Using S0ix results in a broken system after resume.

Steps to reproduce

  1. Enable S0ix according to Support for the S0ix sleep state #6411
  2. Suspend the system

Expected behavior

System correctly suspends, and is fully functional after resume

Actual behavior

Power LED blinks, but according to /sys/kernel/debug/pmc_core/substate_residencies it didn't actually suspend. /sys/kernel/debug/pmc_core/substate_requirements also has empty "status" column next to all requirements.

After resume wired network is broken. sys-net logs have:

sys-net logs

[2024-07-22 12:45:30] [  237.842643] e1000e 0000:00:07.0 ens7: NIC Link is Down
[2024-07-22 12:45:30] [  237.863042] Freezing user space processes
[2024-07-22 12:45:30] [  237.864602] Freezing user space processes completed (elapsed 0.001 seconds)
[2024-07-22 12:45:30] [  237.864626] OOM killer disabled.
[2024-07-22 12:45:30] [  237.864637] Freezing remaining freezable tasks
[2024-07-22 12:45:30] [  237.865584] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
[2024-07-22 12:45:30] [  237.865607] xen:manage: Using suspend/resume for sleep/wakeup
[2024-07-22 12:45:30] [  237.868291] e1000e: EEE TX LPI TIMER: 00000011
[2024-07-22 12:46:34] [  237.935960] xen:grant_table: Grant tables using version 1 layout
[2024-07-22 12:46:34] [  237.983971] iwlwifi 0000:00:06.0: WRT: Invalid buffer destination
[2024-07-22 12:46:34] [  238.141605] iwlwifi 0000:00:06.0: Not valid error log pointer 0x0024B5C0 for RT uCode
[2024-07-22 12:46:34] [  238.141784] iwlwifi 0000:00:06.0: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[2024-07-22 12:46:34] [  238.141818] iwlwifi 0000:00:06.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[2024-07-22 12:46:34] [  238.141849] iwlwifi 0000:00:06.0: WFPM_AUTH_KEY_0: 0x80
[2024-07-22 12:46:34] [  238.141874] iwlwifi 0000:00:06.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[2024-07-22 12:46:34] [  238.142487] iwlwifi 0000:00:06.0: RFIm is deactivated, reason = 4
[2024-07-22 12:46:37] [  240.729199] e1000e 0000:00:07.0 ens7: Failed to disable ULP
[2024-07-22 12:48:46] [  369.728111] e1000e 0000:00:07.0 ens7: Hardware Error
[2024-07-22 12:48:46] [  369.728146] e1000e 0000:00:07.0 ens7: Timesync Tx Control register not set as expected
[2024-07-22 12:48:46] [  369.829179] e1000e 0000:00:07.0: EEE advertisement - unable to acquire PHY
[2024-07-22 12:48:46] [  369.832451] OOM killer enabled.
[2024-07-22 12:48:46] [  369.832458] Restarting tasks ... done.

After resume, sys-net was semi-frozen from some time (over a minute), qubes.SuspendPost service failed (due to vchan timeout). qvm-run --nogui appears to work, but I'm not 100% sure if it's only because I tried it later.

Wireless appears to be functional (at least listing available networks work).

sys-usb appears to be functional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: power managementThis issue pertains to power management in Qubes OS.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.2This issue affects Qubes OS 4.2.affects-4.3This issue affects Qubes OS 4.3.hardware supportThis issue pertains to the hardware that Qubes OS supports.needs diagnosisRequires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions