You are not logged in.

#1 2023-09-23 14:18:38

ahtson
Member
Registered: 2023-09-23
Posts: 9

[SOLVED] Wireless device spontaneusly disappears

Sometimes my wireless device completely disappears, it doesn't show up in "ip link". This problem has occurred after two or three days even when I temporarily switched to Debian 12.  I have a hunch that this problem could be caused by the fact that I am using public wi-fi network since it only appears when I am connected to my dormitory's public wi-fi.

Here's the output of "lspci -k"

0000:00:14.3 Network controller: Intel Corporation Tiger Lake PCH CNVi WiFi (rev 11)
        Subsystem: Rivet Networks Tiger Lake PCH CNVi WiFi
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Here's the output of "ip link set wlan0 up" and "ip link set wlp0s20f3 up"

Cannot find device "wlan0"
Cannot find device "wlp0s20f3"

Here's the full output of "dmesg | grep firmware":

[    1.843022] systemd[1]: TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[    2.838412] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.978348] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[    3.078704] iwlwifi 0000:00:14.3: loaded firmware version 72.daa05125.0 QuZ-a0-hr-b0-72.ucode op_mode iwlmvm
[    3.093478] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.098027] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[    3.235654] iwlwifi 0000:00:14.3: Loaded firmware version: 72.daa05125.0 QuZ-a0-hr-b0-72.ucode
[    4.781364] Bluetooth: hci0: Failed to send firmware data (-38)
[    5.360897] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    5.362237] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[    6.399958] iwlwifi 0000:00:14.3: Loaded firmware version: 72.daa05125.0 QuZ-a0-hr-b0-72.ucode
[    7.634234] Bluetooth: hci0: Failed to send firmware data (-38)
[    8.201835] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    8.203688] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[    8.586543] iwlwifi 0000:00:14.3: Loaded firmware version: 72.daa05125.0 QuZ-a0-hr-b0-72.ucode
[    9.826437] Bluetooth: hci0: Waiting for firmware download to complete

The output of "iw dev" is completely blank.
An output of "rfkill":

ID TYPE      DEVICE              SOFT      HARD
 0 wlan      acer-wireless  unblocked unblocked
 1 bluetooth acer-bluetooth unblocked unblocked
 4 bluetooth hci0           unblocked unblocked

Here's what "dmesg -w" shows:

[    3.235571] iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
[    3.235654] iwlwifi 0000:00:14.3: Loaded firmware version: 72.daa05125.0 QuZ-a0-hr-b0-72.ucode
[    3.235656] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[    3.235658] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[    3.235659] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    3.235660] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[    3.235661] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[    3.235663] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[    3.235664] iwlwifi 0000:00:14.3: 0x00000000 | data1
[    3.235665] iwlwifi 0000:00:14.3: 0x00000000 | data2
[    3.235666] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    3.235667] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[    3.235668] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[    3.235669] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    3.235670] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    3.235671] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[    3.235672] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[    3.235673] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[    3.235674] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[    3.235676] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[    3.235677] iwlwifi 0000:00:14.3: 0x00000000 | board version
[    3.235678] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[    3.235679] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[    3.235680] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    3.235681] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[    3.235682] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[    3.235683] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    3.235684] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[    3.235685] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[    3.235687] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    3.235688] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    3.235689] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    3.235690] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    3.235691] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[    3.235692] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    3.235693] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[    3.235733] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    3.235734] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 7
[    3.235736] iwlwifi 0000:00:14.3: 0x2000031C | ADVANCED_SYSASSERT
[    3.235737] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    3.235738] iwlwifi 0000:00:14.3: 0x80455E9C | umac branchlink2
[    3.235739] iwlwifi 0000:00:14.3: 0xC0081208 | umac interruptlink1
[    3.235741] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[    3.235742] iwlwifi 0000:00:14.3: 0x00000001 | umac data1
[    3.235743] iwlwifi 0000:00:14.3: 0x0030AB38 | umac data2
[    3.235744] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[    3.235745] iwlwifi 0000:00:14.3: 0x00000048 | umac major
[    3.235746] iwlwifi 0000:00:14.3: 0xDAA05125 | umac minor
[    3.235747] iwlwifi 0000:00:14.3: 0x0000D261 | frame pointer
[    3.235748] iwlwifi 0000:00:14.3: 0xC0887F0C | stack pointer
[    3.235750] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[    3.235751] iwlwifi 0000:00:14.3: 0x00100029 | isr status reg
[    3.235778] iwlwifi 0000:00:14.3: IML/ROM dump:
[    3.235779] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM error/state
[    3.235787] iwlwifi 0000:00:14.3: 0x00005761 | IML/ROM data1
[    3.235796] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    3.235802] iwlwifi 0000:00:14.3: Fseq Registers:
[    3.235804] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[    3.235807] iwlwifi 0000:00:14.3: 0x80290033 | FSEQ_TOP_INIT_VERSION
[    3.235810] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_CNVIO_INIT_VERSION
[    3.235813] iwlwifi 0000:00:14.3: 0x0000A482 | FSEQ_OTP_VERSION
[    3.235816] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[    3.235819] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[    3.235822] iwlwifi 0000:00:14.3: 0x20000302 | FSEQ_CNVI_ID
[    3.235825] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[    3.235828] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[    3.235833] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[    3.235838] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    3.235843] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    5.374632] iwlwifi 0000:00:14.3: retry init count 0
[    5.378985] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX203, REV=0x351
[    6.399798] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5767, CPU2 Status: 0x3
[    6.399826] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x0
[    6.399834] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x42
[    6.399842] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x0
[    6.399850] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x0
[    6.399858] iwlwifi 0000:00:14.3: UMAC PC: 0x8047209c
[    6.399866] iwlwifi 0000:00:14.3: LMAC PC: 0x14f8c
[    6.399868] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    6.399958] iwlwifi 0000:00:14.3: Loaded firmware version: 72.daa05125.0 QuZ-a0-hr-b0-72.ucode
[    6.399960] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[    6.399961] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[    6.399962] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    6.399962] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[    6.399963] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[    6.399963] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[    6.399964] iwlwifi 0000:00:14.3: 0x00000000 | data1
[    6.399964] iwlwifi 0000:00:14.3: 0x00000000 | data2
[    6.399965] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    6.399965] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[    6.399966] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[    6.399966] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    6.399967] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    6.399967] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[    6.399968] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[    6.399968] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[    6.399969] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[    6.399969] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[    6.399970] iwlwifi 0000:00:14.3: 0x00000000 | board version
[    6.399970] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[    6.399971] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[    6.399971] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    6.399972] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[    6.399972] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[    6.399973] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    6.399973] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[    6.399974] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[    6.399974] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    6.399975] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    6.399975] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    6.399976] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    6.399976] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[    6.399977] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    6.399977] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[    6.400016] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    6.400017] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 7
[    6.400017] iwlwifi 0000:00:14.3: 0x2000031C | ADVANCED_SYSASSERT
[    6.400018] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    6.400019] iwlwifi 0000:00:14.3: 0x80455E9C | umac branchlink2
[    6.400019] iwlwifi 0000:00:14.3: 0xC0081208 | umac interruptlink1
[    6.400020] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[    6.400020] iwlwifi 0000:00:14.3: 0x00000001 | umac data1
[    6.400021] iwlwifi 0000:00:14.3: 0x0030AB38 | umac data2
[    6.400021] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[    6.400022] iwlwifi 0000:00:14.3: 0x00000048 | umac major
[    6.400022] iwlwifi 0000:00:14.3: 0xDAA05125 | umac minor
[    6.400023] iwlwifi 0000:00:14.3: 0x0000C2E0 | frame pointer
[    6.400024] iwlwifi 0000:00:14.3: 0xC0887F0C | stack pointer
[    6.400024] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[    6.400025] iwlwifi 0000:00:14.3: 0x0010002D | isr status reg
[    6.400052] iwlwifi 0000:00:14.3: IML/ROM dump:
[    6.400053] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM error/state
[    6.400061] iwlwifi 0000:00:14.3: 0x00005767 | IML/ROM data1
[    6.400069] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    6.400074] iwlwifi 0000:00:14.3: Fseq Registers:
[    6.400076] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[    6.400079] iwlwifi 0000:00:14.3: 0x80290033 | FSEQ_TOP_INIT_VERSION
[    6.400081] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_CNVIO_INIT_VERSION
[    6.400084] iwlwifi 0000:00:14.3: 0x0000A482 | FSEQ_OTP_VERSION
[    6.400086] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[    6.400088] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[    6.400091] iwlwifi 0000:00:14.3: 0x20000302 | FSEQ_CNVI_ID
[    6.400093] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[    6.400095] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[    6.400100] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[    6.400104] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    6.400108] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    6.400110] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[    6.400111] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    7.321305] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[    7.333046] iwlwifi 0000:00:14.3: retry init count 1
[    7.337408] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX203, REV=0x351

P.S. Forgot to mention that "modprobe iwlwifi" doesn't help either
P.P.S Problem can temporarily be fixed when I enter UEFI before booting into system

Last edited by ahtson (2023-10-25 18:09:02)

Offline

#2 2023-09-23 21:15:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: [SOLVED] Wireless device spontaneusly disappears

It repeatedly fails to initiate the firmware - very early in the boot.
In case you're using iwd, https://wiki.archlinux.org/title/Iwd#Re … after_boot
Is there a paralell windows installation?
(3rd link below)

If none of the above solves the problem, please post your complete system journal for a boot where you lost the device, eg

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the previous (-1) one.

Offline

#3 2023-09-24 10:13:58

ahtson
Member
Registered: 2023-09-23
Posts: 9

Re: [SOLVED] Wireless device spontaneusly disappears

No, I don't have Windows on dual-boot. I don't have any other system installed on my machine except Arch.
I have edited 'iwd.service' like you advised, but I am still not sure if it's helped. Wireless interface disappears spontaneously and I can't predict when it will happen: sometimes it happens after two or three days. If it happens, I shall edit this comment and add my system journal.

Last edited by ahtson (2023-09-24 10:16:15)

Offline

#4 2023-09-24 18:06:04

ahtson
Member
Registered: 2023-09-23
Posts: 9

Re: [SOLVED] Wireless device spontaneusly disappears

Interface has disappeared again. I have restarted my machine: here's my complete systemjournal:
http://0x0.st/HVP_.txt

Last edited by ahtson (2023-09-24 18:09:22)

Offline

#5 2023-09-24 19:06:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: [SOLVED] Wireless device spontaneusly disappears

You're not running iwd or wpa_supplicant in that journal.
iwlwifi loads next to an

Sep 24 21:02:52 archlinux kernel:  ? intel_tc_port_init+0x253/0x260 [i915 6fb751e1b80e25872299278c99cc688be1babce3]

in i915 and the firmware messages

Sep 24 21:02:53 archlinux kernel: iwlwifi 0000:00:14.3: Failed to start RT ucode: -110

a timeout before NM has even really started.

1. please try the main kernel instead of the LTS one
2. try to https://wiki.archlinux.org/title/Kernel … acklisting iwlwifi and iwlmvm and manually "modprobe iwlwifi" later (do NOT use the kernel parameter shown there, as that will prevent the module from ever loading, but you can "modprobe.blacklist=iwlwifi,iwlmvm" at the kernel commandline)

Offline

#6 2023-09-29 14:51:04

ahtson
Member
Registered: 2023-09-23
Posts: 9

Re: [SOLVED] Wireless device spontaneusly disappears

seth wrote:

You're not running iwd or wpa_supplicant in that journal.
iwlwifi loads next to an

Sep 24 21:02:52 archlinux kernel:  ? intel_tc_port_init+0x253/0x260 [i915 6fb751e1b80e25872299278c99cc688be1babce3]

in i915 and the firmware messages

Sep 24 21:02:53 archlinux kernel: iwlwifi 0000:00:14.3: Failed to start RT ucode: -110

a timeout before NM has even really started.

1. please try the main kernel instead of the LTS one
2. try to https://wiki.archlinux.org/title/Kernel … acklisting iwlwifi and iwlmvm and manually "modprobe iwlwifi" later (do NOT use the kernel parameter shown there, as that will prevent the module from ever loading, but you can "modprobe.blacklist=iwlwifi,iwlmvm" at the kernel commandline)

I switched kernels and it disappeared again, then I have tried blacklisting it and modprobe'ing it manually, which has helped temporarily.
http://0x0.st/HVIg.txt
What do I do? Can I remove this problem completely?

Offline

#7 2023-09-29 15:02:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: [SOLVED] Wireless device spontaneusly disappears

which has helped temporarily

What does that mean? The journal you posted shows that iwlwifi was loaded automatically ~1s into the boot?

Offline

#8 2023-09-29 16:38:26

ahtson
Member
Registered: 2023-09-23
Posts: 9

Re: [SOLVED] Wireless device spontaneusly disappears

seth wrote:

which has helped temporarily

What does that mean? The journal you posted shows that iwlwifi was loaded automatically ~1s into the boot?

Sorry, my bad. I thought, that I can revert blacklisting after manually modprobing iwlwifi

Offline

#9 2023-09-29 17:57:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: [SOLVED] Wireless device spontaneusly disappears

I'm still not sure what's that suppsoed  to mean, but please try to add "modprobe.blacklist=iwlwifi,iwlmvm" to the kernel parameters, make sure ("lsmod | grep iwl") that they were not loaded, then manully load them ("sudo modprobe iwlwifi", iwlmvm should get dragged along) and monitor the impact on the wifi (notably any firmware crashes - and of course whether you can use the wifi)

If this is a race condition, this can be automized to help the system over the initial boot, maybe adding i915 to the initramfs will aready do
https://wiki.archlinux.org/title/Kernel … _KMS_start

Offline

Board footer

Powered by FluxBB