Qubes temporarily stops passing network traffic

I am a bit lost with this issue and hoping someone can maybe point me in some troubleshooting directions

Setup

Hardware: NovaCustoms NV41 with Coreboot
OS: Qubes 4.2.1 (installed as 4.2)
Network card: Intel AX-200/201 WiFi module
sys-firewall: Fedora 39 ( 6.6.25-1.qubes.fc37.x86_64)
sys-net: Fedora 39 (6.6.25-1.qubes.fc37.x86_64)

What’s happening

For nearly as long as I have had the laptop (3 months), random times throughout the day I will lose network access for anything from a few seconds to maybe a minute at a time before connection is restored during this time the laptop can not pass any network traffic. It will then just start working again on its own.

From what I have seen on the network in this time no other devices are experiencing this as other devices will work when the nv41 does not so I don’t believe it’s access point issue.

In the xfce panel the network manager shows that the wifi conenction is there and there’s a good signal strength.

None of the appVMs are able to make network connections e,g, browsing, ping (name or ip) , ssh, vpn connections

To what kind of network do you connect? How is/are your routers/switches configured?

Please post the output of

[user@sys-net ~]$ lspci -k

and

[user@sys-net ~]$ sudo dmesg

and

[user@sys-net ~]$ lsmod

Did you fiddle with any kind of powermanagement?

Hi @OvalZero

To what kind of network do you connect? How is/are your routers/switches configured?

Currently:

 WiFi6 with WPA3  dlink  (previously other hardware - WiFi5 and WPA2 to same results)
 |
 V
connected to router 
 |
 V
connected to internet

As mentioned other devices connected to wifi work, and I can also connect out directly from the router

Did you fiddle with any kind of powermanagement?

no it was all stock, other than 2 days ago changing max charge via coreboot settings

Output of the 3 commands can be seen here

https://cryptpad.fr/code/#/2/code/view/uUeVLEn4i+UNTRMDIED4Py6w3frEfFU6I-c8K5J+jaI/

The dmesg looks to have caught around the time I had some problems and rebooted up until now

Seems like a microcode thing ,

[ 10.677126] iwlwifi 0000:00:06.0: Microcode SW error detected. Restarting 0x0.
[ 10.677357] iwlwifi 0000:00:06.0: Start IWL Error Log Dump:
[ 10.677382] iwlwifi 0000:00:06.0: Transport status: 0x0000004A, valid: 6
[ 10.677409] iwlwifi 0000:00:06.0: Loaded firmware version: 83.e8f84e98.0 so-a0-hr-b0-83.ucode
[ 10.677444] iwlwifi 0000:00:06.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
[ 10.677470] iwlwifi 0000:00:06.0: 0x00008210 | trm_hw_status0
[ 10.677496] iwlwifi 0000:00:06.0: 0x00000001 | trm_hw_status1
[ 10.677521] iwlwifi 0000:00:06.0: 0x004D9024 | branchlink2
[ 10.677542] iwlwifi 0000:00:06.0: 0x004CF2F2 | interruptlink1
[ 10.677567] iwlwifi 0000:00:06.0: 0x004CF2F2 | interruptlink2
[ 10.677591] iwlwifi 0000:00:06.0: 0x0000B514 | data1
[ 10.677612] iwlwifi 0000:00:06.0: 0x00000010 | data2
[ 10.677631] iwlwifi 0000:00:06.0: 0x00000000 | data3
[ 10.677649] iwlwifi 0000:00:06.0: 0x0580CC4C | beacon time
[ 10.677668] iwlwifi 0000:00:06.0: 0x42BF03F4 | tsf low
[ 10.677686] iwlwifi 0000:00:06.0: 0x00000528 | tsf hi
[ 10.677704] iwlwifi 0000:00:06.0: 0x00000000 | time gp1
[ 10.677721] iwlwifi 0000:00:06.0: 0x005FD761 | time gp2
[ 10.677739] iwlwifi 0000:00:06.0: 0x00000001 | uCode revision type
[ 10.677760] iwlwifi 0000:00:06.0: 0x00000053 | uCode version major
[ 10.677782] iwlwifi 0000:00:06.0: 0xE8F84E98 | uCode version minor
[ 10.677803] iwlwifi 0000:00:06.0: 0x00000370 | hw version
[ 10.677821] iwlwifi 0000:00:06.0: 0x00C80002 | board version
[ 10.677842] iwlwifi 0000:00:06.0: 0x8091F500 | hcmd
[ 10.677860] iwlwifi 0000:00:06.0: 0x24020000 | isr0
[ 10.677877] iwlwifi 0000:00:06.0: 0x01000000 | isr1
[ 10.677894] iwlwifi 0000:00:06.0: 0x48F0000A | isr2
[ 10.677912] iwlwifi 0000:00:06.0: 0x00C3281C | isr3
[ 10.677929] iwlwifi 0000:00:06.0: 0x00000000 | isr4
[ 10.677947] iwlwifi 0000:00:06.0: 0x0407001C | last cmd Id
[ 10.677965] iwlwifi 0000:00:06.0: 0x0000B514 | wait_event
[ 10.677982] iwlwifi 0000:00:06.0: 0x000000D4 | l2p_control
[ 10.677999] iwlwifi 0000:00:06.0: 0x00010034 | l2p_duration
[ 10.678017] iwlwifi 0000:00:06.0: 0x00000007 | l2p_mhvalid
[ 10.678035] iwlwifi 0000:00:06.0: 0x00000000 | l2p_addr_match
[ 10.678057] iwlwifi 0000:00:06.0: 0x00000009 | lmpm_pmg_sel
[ 10.678074] iwlwifi 0000:00:06.0: 0x00000000 | timestamp
[ 10.678092] iwlwifi 0000:00:06.0: 0x0000D800 | flow_handler
[ 10.678159] iwlwifi 0000:00:06.0: Start IWL Error Log Dump:
[ 10.678178] iwlwifi 0000:00:06.0: Transport status: 0x0000004A, valid: 7
[ 10.678201] iwlwifi 0000:00:06.0: 0x2010190E | ADVANCED_SYSASSERT
[ 10.678259] iwlwifi 0000:00:06.0: 0x00000000 | umac branchlink1
[ 10.678286] iwlwifi 0000:00:06.0: 0x804703E0 | umac branchlink2
[ 10.678310] iwlwifi 0000:00:06.0: 0xC0081500 | umac interruptlink1
[ 10.678335] iwlwifi 0000:00:06.0: 0x00000000 | umac interruptlink2
[ 10.678360] iwlwifi 0000:00:06.0: 0x0101971C | umac data1
[ 10.678380] iwlwifi 0000:00:06.0: 0xDEADBEEF | umac data2
[ 10.678401] iwlwifi 0000:00:06.0: 0xDEADBEEF | umac data3
[ 10.678421] iwlwifi 0000:00:06.0: 0x00000053 | umac major
[ 10.678442] iwlwifi 0000:00:06.0: 0xE8F84E98 | umac minor
[ 10.678462] iwlwifi 0000:00:06.0: 0x005FD75C | frame pointer
[ 10.678487] iwlwifi 0000:00:06.0: 0xC0886BE0 | stack pointer
[ 10.678512] iwlwifi 0000:00:06.0: 0x007D010C | last host cmd
[ 10.678536] iwlwifi 0000:00:06.0: 0x00000000 | isr status reg
[ 10.678592] iwlwifi 0000:00:06.0: IML/ROM dump:
[ 10.678613] iwlwifi 0000:00:06.0: 0x00000B03 | IML/ROM error/state
[ 10.678669] iwlwifi 0000:00:06.0: 0x00004FC9 | IML/ROM data1
[ 10.678727] iwlwifi 0000:00:06.0: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
[ 10.678778] iwlwifi 0000:00:06.0: Fseq Registers:
[ 10.678826] iwlwifi 0000:00:06.0: 0x60000000 | FSEQ_ERROR_CODE
[ 10.678878] iwlwifi 0000:00:06.0: 0x00350002 | FSEQ_TOP_INIT_VERSION
[ 10.678929] iwlwifi 0000:00:06.0: 0x00150001 | FSEQ_CNVIO_INIT_VERSION
[ 10.678978] iwlwifi 0000:00:06.0: 0x0000A482 | FSEQ_OTP_VERSION
[ 10.679025] iwlwifi 0000:00:06.0: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[ 10.679076] iwlwifi 0000:00:06.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[ 10.679126] iwlwifi 0000:00:06.0: 0x00080400 | FSEQ_CNVI_ID
[ 10.679177] iwlwifi 0000:00:06.0: 0x01300504 | FSEQ_CNVR_ID
[ 10.679245] iwlwifi 0000:00:06.0: 0x00080400 | CNVI_AUX_MISC_CHIP
[ 10.679295] iwlwifi 0000:00:06.0: 0x01300504 | CNVR_AUX_MISC_CHIP
[ 10.679346] iwlwifi 0000:00:06.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 10.679402] iwlwifi 0000:00:06.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 10.679457] iwlwifi 0000:00:06.0: 0x00150001 | FSEQ_PREV_CNVIO_INIT_VERSION
[ 10.679508] iwlwifi 0000:00:06.0: 0x00350002 | FSEQ_WIFI_FSEQ_VERSION
[ 10.679555] iwlwifi 0000:00:06.0: 0x00350002 | FSEQ_BT_FSEQ_VERSION
[ 10.679606] iwlwifi 0000:00:06.0: 0x000001B8 | FSEQ_CLASS_TP_VERSION
[ 10.679661] iwlwifi 0000:00:06.0: UMAC CURRENT PC: 0x8048f214
[ 10.679708] iwlwifi 0000:00:06.0: LMAC1 CURRENT PC: 0xd0
[ 10.679858] iwlwifi 0000:00:06.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[ 10.679891] ieee80211 phy0: Hardware restart was requested
[ 10.759505] vif vif-5-0 vif5.0: Guest Rx ready
[ 11.261066] iwlwifi 0000:00:06.0: WRT: Invalid buffer destination
[ 11.365066] iwlwifi 0000:00:06.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[ 11.365115] iwlwifi 0000:00:06.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 11.365168] iwlwifi 0000:00:06.0: WFPM_AUTH_KEY_0: 0x90
[ 11.365279] iwlwifi 0000:00:06.0: CNVI_SCU_SEQ_DATA_DW9: 0x10
[ 11.366382] iwlwifi 0000:00:06.0: RFIm is deactivated, reason = 4

I’d try out and switch to the latest kernel image before tweaking kernel module params. (I’m sorry, I can’t test it for you. I got a different wifi chipset.)

Edit: Up until kernel 5.1x? (I’m not sure about the exact minor versions) there were problems connecting to 5GHz wifi with constant link resets.

I’ve had troubles with qubes at the beginning due to mac “cloaking” (i.e. arp spoofing) settings in nm. My switches (with LPS) didn’t like this, until i set permanent mac ids for known networks in nm on the laptop.

1 Like

You can also try to use latest firmware if latest kernel won’t help:
iwlwifi-so-a0-hr-b0-89.ucode - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel

2 Likes

no need to be sorry. I understand this is likely to be a niche problem :slight_smile: I’ll enable testing and give newer kernel a try

Thanks apparatus, this is also a good avenue to try

2 Likes