[TRACKING] Fedora 35 kernel 5.16.5 s2idle and maybe wifi issues

Suspend is working for me with the acpi_osi workaround but while I am cycling suspend/resume then sooner or later something happens to Pipewire or something underlying, all sound devices vanish from the system and sound related processes including pipewrite block shutting the machine down. I cannot even kill them with SIGKILL. It could be related to my USB-C dock.

EDIT: It’s probably this bug:
https://patchwork.kernel.org/project/alsa-devel/patch/20220214125711.20531-1-tiwai@suse.de/
and it should be fixed in the maintree soon.

1 Like

@Adam_Strauch the USB audio issues sound like what I encountered with an AMD Thinkpad: 2051038 – Thinkpad T495 fails to enter S3 sleep after first sleep/resume; audio tasks refusing to freeze - unrelated issue. BTW in latest 5.16 kernels, at least on Fedora the behavior morphed to what you describe. Sleep happens, but on resume audio is messed up. I’ve blacklisted the USB audio module on that machine for now.

Glad to see it’s already being dealt with upstream.

1 Like

@dimitris Thanks, I blacklisted the module and when I reboot I will test it with the latest Fedora kernel. It would be nice to stop drifting from the upstream.

I reported the upstream patch here.
https://bugzilla.redhat.com/show_bug.cgi?id=2050036#c11

Got my Framework Laptop last Thursday and installed Fedora 35 (5.16.9-200.fc35.x86_64 kernel). Everything is working well… except for the Wifi card (AX210) which is connecting to my home WiFi network (on the latest generation eero AP’s with WiFi6 support).

The main issues are:

  • It doesn’t reattach to the network after any sustained period (more than a hour) of suspend state (laptop closed)
  • Randomly craps out, sometimes in short succession, sometimes it then runs fine for 8+ hours.

It’s somewhat similar to Fedora 34: Wifi card crashing randomly - #13 by Andrew_Marshall but that was Fedora 34 instead of 35. In both cases, turning WiFi off and on successfully re-attaches to the network and all is well again.

Here are the relevent kernel messages:

[84883.920623] iwlwifi 0000:00:14.3: Unhandled alg: 0x71b
[85798.920967] iwlwifi 0000:00:14.3: Unhandled alg: 0x71b
[86107.927391] iwlwifi 0000:00:14.3: Unhandled alg: 0x71b
[88561.509854] iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
[88561.510770] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[88561.510773] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 6
[88561.510777] iwlwifi 0000:00:14.3: Loaded firmware version: 67.8f59b80b.0 QuZ-a0-hr-b0-67.ucode
[88561.510781] iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL    
[88561.510785] iwlwifi 0000:00:14.3: 0x0000A210 | trm_hw_status0
[88561.510787] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[88561.510790] iwlwifi 0000:00:14.3: 0x004CB2DE | branchlink2
[88561.510792] iwlwifi 0000:00:14.3: 0x004C1A5A | interruptlink1
[88561.510795] iwlwifi 0000:00:14.3: 0x004C1A5A | interruptlink2
[88561.510797] iwlwifi 0000:00:14.3: 0x0000B2C8 | data1
[88561.510799] iwlwifi 0000:00:14.3: 0x00001000 | data2
[88561.510801] iwlwifi 0000:00:14.3: 0x00000000 | data3
[88561.510803] iwlwifi 0000:00:14.3: 0xE0002D36 | beacon time
[88561.510806] iwlwifi 0000:00:14.3: 0x0E723725 | tsf low
[88561.510808] iwlwifi 0000:00:14.3: 0x000002BD | tsf hi
[88561.510810] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[88561.510812] iwlwifi 0000:00:14.3: 0x000590CA | time gp2
[88561.510815] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[88561.510817] iwlwifi 0000:00:14.3: 0x00000043 | uCode version major
[88561.510819] iwlwifi 0000:00:14.3: 0x8F59B80B | uCode version minor
[88561.510822] iwlwifi 0000:00:14.3: 0x00000351 | hw version
[88561.510824] iwlwifi 0000:00:14.3: 0x00C89004 | board version
[88561.510826] iwlwifi 0000:00:14.3: 0x80BBFC03 | hcmd
[88561.510828] iwlwifi 0000:00:14.3: 0x24020000 | isr0
[88561.510830] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[88561.510833] iwlwifi 0000:00:14.3: 0x08F00002 | isr2
[88561.510835] iwlwifi 0000:00:14.3: 0x00C36C0C | isr3
[88561.510837] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[88561.510839] iwlwifi 0000:00:14.3: 0x04AA001C | last cmd Id
[88561.510841] iwlwifi 0000:00:14.3: 0x0000B2C8 | wait_event
[88561.510843] iwlwifi 0000:00:14.3: 0x00000080 | l2p_control
[88561.510846] iwlwifi 0000:00:14.3: 0x00010034 | l2p_duration
[88561.510848] iwlwifi 0000:00:14.3: 0x0000003F | l2p_mhvalid
[88561.510850] iwlwifi 0000:00:14.3: 0x00000080 | l2p_addr_match
[88561.510852] iwlwifi 0000:00:14.3: 0x00000009 | lmpm_pmg_sel
[88561.510854] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[88561.510856] iwlwifi 0000:00:14.3: 0x00004030 | flow_handler
[88561.511319] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[88561.511321] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 7
[88561.511324] iwlwifi 0000:00:14.3: 0x20003463 | ADVANCED_SYSASSERT
[88561.511327] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[88561.511330] iwlwifi 0000:00:14.3: 0x80455E52 | umac branchlink2
[88561.511332] iwlwifi 0000:00:14.3: 0xC00811A4 | umac interruptlink1
[88561.511334] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[88561.511336] iwlwifi 0000:00:14.3: 0x0E723718 | umac data1
[88561.511338] iwlwifi 0000:00:14.3: 0x000590BB | umac data2
[88561.511340] iwlwifi 0000:00:14.3: 0x0F98C813 | umac data3
[88561.511343] iwlwifi 0000:00:14.3: 0x00000043 | umac major
[88561.511345] iwlwifi 0000:00:14.3: 0x8F59B80B | umac minor
[88561.511347] iwlwifi 0000:00:14.3: 0x000590C4 | frame pointer
[88561.511349] iwlwifi 0000:00:14.3: 0xC0885E00 | stack pointer
[88561.511351] iwlwifi 0000:00:14.3: 0x00B7010D | last host cmd
[88561.511353] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[88561.511514] iwlwifi 0000:00:14.3: IML/ROM dump:
[88561.511516] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM error/state
[88561.511602] iwlwifi 0000:00:14.3: 0x00005DDF | IML/ROM data1
[88561.511690] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[88561.511707] iwlwifi 0000:00:14.3: Fseq Registers:
[88561.511745] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[88561.511778] iwlwifi 0000:00:14.3: 0x80290033 | FSEQ_TOP_INIT_VERSION
[88561.511811] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_CNVIO_INIT_VERSION
[88561.511844] iwlwifi 0000:00:14.3: 0x0000A482 | FSEQ_OTP_VERSION
[88561.511881] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[88561.511915] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[88561.511956] iwlwifi 0000:00:14.3: 0x20000302 | FSEQ_CNVI_ID
[88561.511996] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[88561.512033] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[88561.512072] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[88561.512112] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[88561.512156] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR

Firmware version:

[ 18.164769] iwlwifi 0000:00:14.3: loaded firmware version 67.8f59b80b.0 QuZ-a0-hr-b0-67.ucode op_mode iwlmvm

Any ideas on any fixes? Thanks in advance.

Interesting. I don’t have these issues myself, openSUSE Tumbleweed.

I’ll post my logs in case if you find it useful.

[    5.081334] iwlwifi 0000:aa:00.0: enabling device (0000 -> 0002)
[    5.127504] iwlwifi 0000:aa:00.0: api flags index 2 larger than supported by driver
[    5.127523] iwlwifi 0000:aa:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.34
[    5.127710] iwlwifi 0000:aa:00.0: loaded firmware version 67.8f59b80b.0 ty-a0-gf-a0-67.ucode op_mode iwlmvm
[    5.281998] iwlwifi 0000:aa:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[    5.297832] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[    5.297836] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[    5.297837] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[    5.463635] iwlwifi 0000:aa:00.0: loaded PNVM version dda57f4f
[    5.478965] iwlwifi 0000:aa:00.0: Detected RF GF, rfid=0x10d000
[    5.548130] iwlwifi 0000:aa:00.0: base HW address: (OMITTED)
[    5.885410] iwlwifi 0000:aa:00.0 wlp170s0: renamed from wlan0
[    5.956659] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[    5.956669] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[    5.956671] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[    6.244642] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[    6.244647] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[    6.244647] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1

Kernel is 5.16.8-1-default

Spotted something, our ucodes are different. Perhaps your ucode version is breaking things?

@junaruga I think you meant to report that USB audio issue to the fedora bug titled “Thinkpad …”? That’s the one about USB audio. The one about framework is not related to USB audio.

@dimitris I see the ticket “Thinkpad …” is one written at 2050036 – Framework laptop: 5.16.5 breaks s2idle sleep . Sorry I might post my comment without understanding the issue. I see you posted the upstream patch at 2051038 – Thinkpad T495 fails to enter S3 sleep after first sleep/resume; audio tasks refusing to freeze .

I ran a Fedora system update the other day that installed kernel 5.16.9-200.fc35.x86_64, and my wifi doesn’t work at all. KDE doesn’t even list any wifi adapters. It was working fine with my original kernel, 5.14.10.

Here’s a dmesg dump from where it tries to load the wifi driver:

[    4.312366] iwlwifi 0000:aa:00.0: SecBoot CPU1 Status: 0x75a9, CPU2 Status: 0xb03
[    4.312412] iwlwifi 0000:aa:00.0: UMAC PC: 0x8047f8e0
[    4.312433] iwlwifi 0000:aa:00.0: LMAC PC: 0x0
[    4.312437] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    4.312601] iwlwifi 0000:aa:00.0: Loaded firmware version: 67.8f59b80b.0 ty-a0-gf-a0-67.ucode
[    4.312605] iwlwifi 0000:aa:00.0: 0x00000000 | ADVANCED_SYSASSERT          
[    4.312609] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status0
[    4.312611] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status1
[    4.312613] iwlwifi 0000:aa:00.0: 0x00000000 | branchlink2
[    4.312615] iwlwifi 0000:aa:00.0: 0x00000000 | interruptlink1
[    4.312617] iwlwifi 0000:aa:00.0: 0x00000000 | interruptlink2
[    4.312619] iwlwifi 0000:aa:00.0: 0x00000000 | data1
[    4.312620] iwlwifi 0000:aa:00.0: 0x00000000 | data2
[    4.312622] iwlwifi 0000:aa:00.0: 0x00000000 | data3
[    4.312624] iwlwifi 0000:aa:00.0: 0x00000000 | beacon time
[    4.312626] iwlwifi 0000:aa:00.0: 0x00000000 | tsf low
[    4.312628] iwlwifi 0000:aa:00.0: 0x00000000 | tsf hi
[    4.312630] iwlwifi 0000:aa:00.0: 0x00000000 | time gp1
[    4.312632] iwlwifi 0000:aa:00.0: 0x00000000 | time gp2
[    4.312634] iwlwifi 0000:aa:00.0: 0x00000000 | uCode revision type
[    4.312635] iwlwifi 0000:aa:00.0: 0x00000000 | uCode version major
[    4.312637] iwlwifi 0000:aa:00.0: 0x00000000 | uCode version minor
[    4.312639] iwlwifi 0000:aa:00.0: 0x00000000 | hw version
[    4.312641] iwlwifi 0000:aa:00.0: 0x00000000 | board version
[    4.312643] iwlwifi 0000:aa:00.0: 0x00000000 | hcmd
[    4.312645] iwlwifi 0000:aa:00.0: 0x00000000 | isr0
[    4.312647] iwlwifi 0000:aa:00.0: 0x00000000 | isr1
[    4.312649] iwlwifi 0000:aa:00.0: 0x00000000 | isr2
[    4.312651] iwlwifi 0000:aa:00.0: 0x00000000 | isr3
[    4.312652] iwlwifi 0000:aa:00.0: 0x00000000 | isr4
[    4.312654] iwlwifi 0000:aa:00.0: 0x00000000 | last cmd Id
[    4.312656] iwlwifi 0000:aa:00.0: 0x00000000 | wait_event
[    4.312658] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_control
[    4.312660] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_duration
[    4.312662] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_mhvalid
[    4.312663] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_addr_match
[    4.312665] iwlwifi 0000:aa:00.0: 0x00000000 | lmpm_pmg_sel
[    4.312667] iwlwifi 0000:aa:00.0: 0x00000000 | timestamp
[    4.312669] iwlwifi 0000:aa:00.0: 0x00000000 | flow_handler
[    4.312753] iwlwifi 0000:aa:00.0: Start IWL Error Log Dump:
[    4.312755] iwlwifi 0000:aa:00.0: Transport status: 0x00000042, valid: 7
[    4.312759] iwlwifi 0000:aa:00.0: 0x201013F2 | ADVANCED_SYSASSERT
[    4.312762] iwlwifi 0000:aa:00.0: 0x00000000 | umac branchlink1
[    4.312764] iwlwifi 0000:aa:00.0: 0x8045E20E | umac branchlink2
[    4.312767] iwlwifi 0000:aa:00.0: 0x00000000 | umac interruptlink1
[    4.312769] iwlwifi 0000:aa:00.0: 0x00000000 | umac interruptlink2
[    4.312771] iwlwifi 0000:aa:00.0: 0x0000000C | umac data1
[    4.312773] iwlwifi 0000:aa:00.0: 0x00040000 | umac data2
[    4.312776] iwlwifi 0000:aa:00.0: 0xDEADBEEF | umac data3
[    4.312778] iwlwifi 0000:aa:00.0: 0x00000043 | umac major
[    4.312780] iwlwifi 0000:aa:00.0: 0x8F59B80B | umac minor
[    4.312782] iwlwifi 0000:aa:00.0: 0x00011ED1 | frame pointer
[    4.312785] iwlwifi 0000:aa:00.0: 0xC0887F34 | stack pointer
[    4.312787] iwlwifi 0000:aa:00.0: 0x00000000 | last host cmd
[    4.312789] iwlwifi 0000:aa:00.0: 0x00000000 | isr status reg
[    4.312844] iwlwifi 0000:aa:00.0: IML/ROM dump:
[    4.312846] iwlwifi 0000:aa:00.0: 0x00000B03 | IML/ROM error/state
[    4.312867] iwlwifi 0000:aa:00.0: 0x000075A9 | IML/ROM data1
[    4.312885] iwlwifi 0000:aa:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    4.312898] iwlwifi 0000:aa:00.0: Fseq Registers:
[    4.312910] iwlwifi 0000:aa:00.0: 0x60000100 | FSEQ_ERROR_CODE
[    4.312923] iwlwifi 0000:aa:00.0: 0x00440005 | FSEQ_TOP_INIT_VERSION
[    4.312935] iwlwifi 0000:aa:00.0: 0x00080009 | FSEQ_CNVIO_INIT_VERSION
[    4.312948] iwlwifi 0000:aa:00.0: 0x0000A652 | FSEQ_OTP_VERSION
[    4.312960] iwlwifi 0000:aa:00.0: 0x00000002 | FSEQ_TOP_CONTENT_VERSION
[    4.312972] iwlwifi 0000:aa:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[    4.312985] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVI_ID
[    4.312997] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVR_ID
[    4.313009] iwlwifi 0000:aa:00.0: 0x00400410 | CNVI_AUX_MISC_CHIP
[    4.313023] iwlwifi 0000:aa:00.0: 0x00400410 | CNVR_AUX_MISC_CHIP
[    4.313037] iwlwifi 0000:aa:00.0: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    4.313051] iwlwifi 0000:aa:00.0: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    4.313063] iwlwifi 0000:aa:00.0: Failed to start RT ucode: -110
[    4.313066] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    5.785454] iwlwifi 0000:aa:00.0: Failed to run INIT ucode: -110
[    5.798314] iwlwifi 0000:aa:00.0: retry init count 0
[    5.803815] iwlwifi 0000:aa:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[    5.809688] thermal thermal_zone6: failed to read out thermal zone (-61)
[    5.809694] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[    5.809697] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[    5.809699] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[    6.872471] iwlwifi 0000:aa:00.0: SecBoot CPU1 Status: 0x7663, CPU2 Status: 0xb03
[    6.872533] iwlwifi 0000:aa:00.0: UMAC PC: 0x8047f8e0
[    6.872555] iwlwifi 0000:aa:00.0: LMAC PC: 0x0
[    6.872558] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    6.872715] iwlwifi 0000:aa:00.0: Loaded firmware version: 67.8f59b80b.0 ty-a0-gf-a0-67.ucode
[    6.872719] iwlwifi 0000:aa:00.0: 0x00000000 | ADVANCED_SYSASSERT          
[    6.872722] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status0
[    6.872724] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status1
[    6.872726] iwlwifi 0000:aa:00.0: 0x00000000 | branchlink2
[    6.872728] iwlwifi 0000:aa:00.0: 0x00000000 | interruptlink1
[    6.872729] iwlwifi 0000:aa:00.0: 0x00000000 | interruptlink2
[    6.872731] iwlwifi 0000:aa:00.0: 0x00000000 | data1
[    6.872733] iwlwifi 0000:aa:00.0: 0x00000000 | data2
[    6.872734] iwlwifi 0000:aa:00.0: 0x00000000 | data3
[    6.872736] iwlwifi 0000:aa:00.0: 0x00000000 | beacon time
[    6.872738] iwlwifi 0000:aa:00.0: 0x00000000 | tsf low
[    6.872740] iwlwifi 0000:aa:00.0: 0x00000000 | tsf hi
[    6.872741] iwlwifi 0000:aa:00.0: 0x00000000 | time gp1
[    6.872743] iwlwifi 0000:aa:00.0: 0x00000000 | time gp2
[    6.872745] iwlwifi 0000:aa:00.0: 0x00000000 | uCode revision type
[    6.872746] iwlwifi 0000:aa:00.0: 0x00000000 | uCode version major
[    6.872748] iwlwifi 0000:aa:00.0: 0x00000000 | uCode version minor
[    6.872750] iwlwifi 0000:aa:00.0: 0x00000000 | hw version
[    6.872752] iwlwifi 0000:aa:00.0: 0x00000000 | board version
[    6.872753] iwlwifi 0000:aa:00.0: 0x00000000 | hcmd
[    6.872755] iwlwifi 0000:aa:00.0: 0x00000000 | isr0
[    6.872757] iwlwifi 0000:aa:00.0: 0x00000000 | isr1
[    6.872758] iwlwifi 0000:aa:00.0: 0x00000000 | isr2
[    6.872760] iwlwifi 0000:aa:00.0: 0x00000000 | isr3
[    6.872762] iwlwifi 0000:aa:00.0: 0x00000000 | isr4
[    6.872763] iwlwifi 0000:aa:00.0: 0x00000000 | last cmd Id
[    6.872765] iwlwifi 0000:aa:00.0: 0x00000000 | wait_event
[    6.872767] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_control
[    6.872768] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_duration
[    6.872770] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_mhvalid
[    6.872772] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_addr_match
[    6.872773] iwlwifi 0000:aa:00.0: 0x00000000 | lmpm_pmg_sel
[    6.872775] iwlwifi 0000:aa:00.0: 0x00000000 | timestamp
[    6.872777] iwlwifi 0000:aa:00.0: 0x00000000 | flow_handler
[    6.872897] iwlwifi 0000:aa:00.0: Start IWL Error Log Dump:
[    6.872899] iwlwifi 0000:aa:00.0: Transport status: 0x00000042, valid: 7
[    6.872902] iwlwifi 0000:aa:00.0: 0x201013F2 | ADVANCED_SYSASSERT
[    6.872905] iwlwifi 0000:aa:00.0: 0x00000000 | umac branchlink1
[    6.872907] iwlwifi 0000:aa:00.0: 0x8045E20E | umac branchlink2
[    6.872909] iwlwifi 0000:aa:00.0: 0x00000000 | umac interruptlink1
[    6.872910] iwlwifi 0000:aa:00.0: 0x00000000 | umac interruptlink2
[    6.872912] iwlwifi 0000:aa:00.0: 0x0000000C | umac data1
[    6.872914] iwlwifi 0000:aa:00.0: 0x00040000 | umac data2
[    6.872916] iwlwifi 0000:aa:00.0: 0xDEADBEEF | umac data3
[    6.872918] iwlwifi 0000:aa:00.0: 0x00000043 | umac major
[    6.872920] iwlwifi 0000:aa:00.0: 0x8F59B80B | umac minor
[    6.872921] iwlwifi 0000:aa:00.0: 0x0001201B | frame pointer
[    6.872923] iwlwifi 0000:aa:00.0: 0xC0887F34 | stack pointer
[    6.872925] iwlwifi 0000:aa:00.0: 0x00000000 | last host cmd
[    6.872927] iwlwifi 0000:aa:00.0: 0x00000000 | isr status reg
[    6.873049] iwlwifi 0000:aa:00.0: IML/ROM dump:
[    6.873050] iwlwifi 0000:aa:00.0: 0x00000B03 | IML/ROM error/state
[    6.873070] iwlwifi 0000:aa:00.0: 0x00007663 | IML/ROM data1
[    6.873083] iwlwifi 0000:aa:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    6.873091] iwlwifi 0000:aa:00.0: Fseq Registers:
[    6.873103] iwlwifi 0000:aa:00.0: 0x60000100 | FSEQ_ERROR_CODE
[    6.873115] iwlwifi 0000:aa:00.0: 0x00440005 | FSEQ_TOP_INIT_VERSION
[    6.873127] iwlwifi 0000:aa:00.0: 0x00080009 | FSEQ_CNVIO_INIT_VERSION
[    6.873139] iwlwifi 0000:aa:00.0: 0x0000A652 | FSEQ_OTP_VERSION
[    6.873151] iwlwifi 0000:aa:00.0: 0x00000002 | FSEQ_TOP_CONTENT_VERSION
[    6.873162] iwlwifi 0000:aa:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[    6.873191] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVI_ID
[    6.873313] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVR_ID
[    6.873333] iwlwifi 0000:aa:00.0: 0x00400410 | CNVI_AUX_MISC_CHIP
[    6.873355] iwlwifi 0000:aa:00.0: 0x00400410 | CNVR_AUX_MISC_CHIP
[    6.873378] iwlwifi 0000:aa:00.0: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    6.873400] iwlwifi 0000:aa:00.0: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    6.873420] iwlwifi 0000:aa:00.0: Failed to start RT ucode: -110
[    6.873423] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    8.361806] iwlwifi 0000:aa:00.0: Failed to run INIT ucode: -110
[    8.375102] iwlwifi 0000:aa:00.0: retry init count 1
[    8.380531] iwlwifi 0000:aa:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[    8.387025] thermal thermal_zone6: failed to read out thermal zone (-61)
[    8.387032] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[    8.387033] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[    8.387034] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[    9.432432] iwlwifi 0000:aa:00.0: SecBoot CPU1 Status: 0x7667, CPU2 Status: 0xb03
[    9.432467] iwlwifi 0000:aa:00.0: UMAC PC: 0x8047f8e0
[    9.432478] iwlwifi 0000:aa:00.0: LMAC PC: 0x0
[    9.432480] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    9.432589] iwlwifi 0000:aa:00.0: Loaded firmware version: 67.8f59b80b.0 ty-a0-gf-a0-67.ucode
[    9.432590] iwlwifi 0000:aa:00.0: 0x00000000 | ADVANCED_SYSASSERT          
[    9.432591] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status0
[    9.432592] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status1
[    9.432592] iwlwifi 0000:aa:00.0: 0x00000000 | branchlink2
[    9.432593] iwlwifi 0000:aa:00.0: 0x00000000 | interruptlink1
[    9.432593] iwlwifi 0000:aa:00.0: 0x00000000 | interruptlink2
[    9.432594] iwlwifi 0000:aa:00.0: 0x00000000 | data1
[    9.432594] iwlwifi 0000:aa:00.0: 0x00000000 | data2
[    9.432595] iwlwifi 0000:aa:00.0: 0x00000000 | data3
[    9.432595] iwlwifi 0000:aa:00.0: 0x00000000 | beacon time
[    9.432596] iwlwifi 0000:aa:00.0: 0x00000000 | tsf low
[    9.432596] iwlwifi 0000:aa:00.0: 0x00000000 | tsf hi
[    9.432597] iwlwifi 0000:aa:00.0: 0x00000000 | time gp1
[    9.432597] iwlwifi 0000:aa:00.0: 0x00000000 | time gp2
[    9.432598] iwlwifi 0000:aa:00.0: 0x00000000 | uCode revision type
[    9.432598] iwlwifi 0000:aa:00.0: 0x00000000 | uCode version major
[    9.432599] iwlwifi 0000:aa:00.0: 0x00000000 | uCode version minor
[    9.432599] iwlwifi 0000:aa:00.0: 0x00000000 | hw version
[    9.432600] iwlwifi 0000:aa:00.0: 0x00000000 | board version
[    9.432600] iwlwifi 0000:aa:00.0: 0x00000000 | hcmd
[    9.432601] iwlwifi 0000:aa:00.0: 0x00000000 | isr0
[    9.432601] iwlwifi 0000:aa:00.0: 0x00000000 | isr1
[    9.432602] iwlwifi 0000:aa:00.0: 0x00000000 | isr2
[    9.432602] iwlwifi 0000:aa:00.0: 0x00000000 | isr3
[    9.432603] iwlwifi 0000:aa:00.0: 0x00000000 | isr4
[    9.432603] iwlwifi 0000:aa:00.0: 0x00000000 | last cmd Id
[    9.432604] iwlwifi 0000:aa:00.0: 0x00000000 | wait_event
[    9.432604] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_control
[    9.432605] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_duration
[    9.432605] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_mhvalid
[    9.432606] iwlwifi 0000:aa:00.0: 0x00000000 | l2p_addr_match
[    9.432606] iwlwifi 0000:aa:00.0: 0x00000000 | lmpm_pmg_sel
[    9.432607] iwlwifi 0000:aa:00.0: 0x00000000 | timestamp
[    9.432607] iwlwifi 0000:aa:00.0: 0x00000000 | flow_handler
[    9.432759] iwlwifi 0000:aa:00.0: Start IWL Error Log Dump:
[    9.432760] iwlwifi 0000:aa:00.0: Transport status: 0x00000042, valid: 7
[    9.432761] iwlwifi 0000:aa:00.0: 0x201013F2 | ADVANCED_SYSASSERT
[    9.432762] iwlwifi 0000:aa:00.0: 0x00000000 | umac branchlink1
[    9.432762] iwlwifi 0000:aa:00.0: 0x8045E20E | umac branchlink2
[    9.432763] iwlwifi 0000:aa:00.0: 0x00000000 | umac interruptlink1
[    9.432763] iwlwifi 0000:aa:00.0: 0x00000000 | umac interruptlink2
[    9.432764] iwlwifi 0000:aa:00.0: 0x0000000C | umac data1
[    9.432764] iwlwifi 0000:aa:00.0: 0x00040000 | umac data2
[    9.432765] iwlwifi 0000:aa:00.0: 0xDEADBEEF | umac data3
[    9.432766] iwlwifi 0000:aa:00.0: 0x00000043 | umac major
[    9.432766] iwlwifi 0000:aa:00.0: 0x8F59B80B | umac minor
[    9.432767] iwlwifi 0000:aa:00.0: 0x0001201B | frame pointer
[    9.432767] iwlwifi 0000:aa:00.0: 0xC0887F34 | stack pointer
[    9.432768] iwlwifi 0000:aa:00.0: 0x00000000 | last host cmd
[    9.432768] iwlwifi 0000:aa:00.0: 0x00000000 | isr status reg
[    9.432822] iwlwifi 0000:aa:00.0: IML/ROM dump:
[    9.432822] iwlwifi 0000:aa:00.0: 0x00000B03 | IML/ROM error/state
[    9.432833] iwlwifi 0000:aa:00.0: 0x00007667 | IML/ROM data1
[    9.432843] iwlwifi 0000:aa:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    9.432850] iwlwifi 0000:aa:00.0: Fseq Registers:
[    9.432853] iwlwifi 0000:aa:00.0: 0x60000100 | FSEQ_ERROR_CODE
[    9.432856] iwlwifi 0000:aa:00.0: 0x00440005 | FSEQ_TOP_INIT_VERSION
[    9.432859] iwlwifi 0000:aa:00.0: 0x00080009 | FSEQ_CNVIO_INIT_VERSION
[    9.432863] iwlwifi 0000:aa:00.0: 0x0000A652 | FSEQ_OTP_VERSION
[    9.432866] iwlwifi 0000:aa:00.0: 0x00000002 | FSEQ_TOP_CONTENT_VERSION
[    9.432869] iwlwifi 0000:aa:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[    9.432872] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVI_ID
[    9.432876] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVR_ID
[    9.432879] iwlwifi 0000:aa:00.0: 0x00400410 | CNVI_AUX_MISC_CHIP
[    9.432884] iwlwifi 0000:aa:00.0: 0x00400410 | CNVR_AUX_MISC_CHIP
[    9.432889] iwlwifi 0000:aa:00.0: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    9.432895] iwlwifi 0000:aa:00.0: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    9.432897] iwlwifi 0000:aa:00.0: Failed to start RT ucode: -110
[    9.432898] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   10.924593] iwlwifi 0000:aa:00.0: Failed to run INIT ucode: -110
[   10.937394] iwlwifi 0000:aa:00.0: retry init count 2

@n1kt0 I didn’t have any issues like this with 5.16.9/10/11. I do sometimes see similar-looking errors on resume from sleep (both S3 and s2idle), opened a fedora bug to track that. But after that wifi still works post-resume.

I saw a message here (can’t find it atm) that pointed to recent kernels disabling the wifi6 bands based on responses obtained by iwlwifi from the BIOS, but that shouldn’t be disappearing the wireless adapter completely.

I see fedora 35 is by now at 5.16.13 . Does anyone have data on whether all 5.16 regressions that framework’s hardware suffers from have been resolved? I’, still on 5.15.18 because of these regressions.

Maybe not resolved yet. Working in progress here https://bugzilla.redhat.com/show_bug.cgi?id=2050036#c26.

I changed the sleep mode from s2idle to deep. And I don’t see any problems on the kernel 5.16 on Fedora 35.

Just upgraded to Fedora 36 (with 5.17.6-300.fc36.x86_64) and so far so good, the kernel dmesg is much quieter (over the last 3-4 hours) and wifi looks to be much more stable. Crossed fingers.

It seems WiFi is more stable from the kernel 5.17.

Wifi might be fixed but the standby issue which started after 5.15.18 is still present with 15.17.13…

Thanks for the fix and reporting dimitris.

Edit:

I have noticed this fix is not always working, there are times when the laptop is not sleeping properly when pressing the power button, laptop is hot and battery drained a lot. I think I will remove this from grub and maybe simulate closing the lid with a magnet until the issue is fixed, if it is fixed.

Same problem here: even after adding the !Windows 2020 switch, s2idle doesn’t work reliably for me (F36/kernel 5.18.7-200): sometimes (but not always) the laptop appears to shut down (screen is off, kb backlight is off, power button light pulses), but the fan keeps running.

1 Like

(non) Update with BIOS 3.09: I tested removing the "acpi_osi=!Windows 2020" kernel command line parameter, it consistently regresses to being unable to enter s2idle, so no change in behavior for me.

FWIW here’s my full kernel command line under Fedora 36:

$ cat /proc/cmdline 
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-5.18.10-200.fc36.x86_64 root=UUID=f58ce626-0077-11ed-ab80-dfc16885529e ro rootflags=subvol=root rd.luks.uuid=luks-f66b1586-0077-11ed-af5c-934ee0d4a0c5 rhgb quiet "acpi_osi=!Windows 2020" nvme.noacpi=1

So with the acpi_osi cmdline parameter included, I haven’t experienced the inability to enter suspend or spontaneous wakeups that @Usernames and @Edwin_van_Ouwerkerk have reported here. Perhaps related, the default ACPI wakeup settings seem a bit liberal to be, they include the external USB keyboard for example:

$ cat /proc/acpi/wakeup |grep enabled
PEG0	  S4	*enabled   pci:0000:00:06.0
XHCI	  S4	*enabled   pci:0000:00:14.0
RP10	  S4	*enabled   pci:0000:00:1d.0
TXHC	  S4	*enabled   pci:0000:00:0d.0
TDM0	  S4	*enabled   pci:0000:00:0d.2
TDM1	  S4	*enabled   pci:0000:00:0d.3
TRP0	  S4	*enabled   pci:0000:00:07.0
TRP1	  S4	*enabled   pci:0000:00:07.1
TRP2	  S4	*enabled   pci:0000:00:07.2
TRP3	  S4	*enabled   pci:0000:00:07.3
PWRB	  S4	*enabled   platform:PNP0C0C:00

Maybe there’s a USB mouse in the mix somewhere that produces these failures to sleep/spontaneous resumes?

Hey @dimitris appreciate your efforts here!

No peripherals connected, it seemed quite random what causes the higher energy state with "acpi_osi=!Windows 2020"

I have noticed despite the power LED and KB staying illuminated without this parameter the actually energy usage is very similar (assuming the KB LEDs are off) and closing the lid has consistently been working. If you have suggestions for me to test I will happily to them :slight_smile:

P.S. not sure if it’s a good idea to share the UUID from you args.

Running out of ideas… Are you on a recent BIOS, 3.07 or 3.09? Also, you’re on Fedora, right?

Edit: flash drive? Do you also have nvme.noacpi=1? Also which model? I’m using a Samsung SSD 970 EVO Plus 2TB, FWIW.

I didn’t leave "acpi_osi=!Windows 2020" very long because it seemed to be less reliable/consistent. I can put it on again to see if I can find a cause for the “hot sleep” but in my current situation I won’t be able to test reliably (badly behaving board replacement).

I was previously on BIOS 3.07 now on 3.09
Fedora 36 (gnome)
Samsung 980 pro 1TB set with nvme.noacpi=1