Network Manager insists I don't have a network connection but I do

Network Manager applet displays a broken icon and the message “No available connections”:
Screenshot_20231005_005517

Network Manager shows all of my connections available:

ip link shows my interface as in “DORMANT” mode.

Also my wireless connection randomly breaks and I have to reset the whole computer to get it back.

Any ideas?

@lavadrop:

Which machine hardware?

  • Which WLAN/WiFi hardware?
    Is the appropriate Firmware package installed?

It’s an Intel WiFi AX210.
I’m using the 6.5.4-1 kernel.
I have never installed the firmware explicitly and has been working fine for many months. This started happening when I switched DE to Plasma from Gnome.

That looks quite like the problem I am seeing but I have a working network connection.

For me the NetworkManager dumped core and I was left with a icon that looks like yours.

Can you run share the output of “ls -ltr /var/lib/systemd/coredump”?

Like written, for me the problem is that the Network Manager is crashing, the journal shows:

NetworkManager[1319]: g_mutex_clear() called on uninitialised or locked mutex
systemd[1]: Created slice Slice /system/systemd-coredump.
systemd[1]: Started Process Core Dump (PID 2496/UID 0).
systemd-coredump[2497]: [🡕] Process 1319 (NetworkManager) of user 0 dumped core.

    Stack trace of thread 1319:
    #0  0x00007fd00fe91dec __pthread_kill_implementation (libc.so.6 + 0x91dec)
    #1  0x00007fd00fe3f0c6 raise (libc.so.6 + 0x3f0c6)
    #2  0x00007fd00fe268d7 abort (libc.so.6 + 0x268d7)
    ...

I see two other topics that show a similar problem.
I did install the debugsources of the relevant libs but I wonder what to do, open a bug at bugzilla.opensuse.org?

Would like to give it some follow-up this afternoon.

I had a gpu driver crash earlier so Network Manager appears to be working normally and the result of that CLI command was total 0

For the problem I have, it seems to be covered by:

Wil have to check more but if so, it is a regression in glib2.

If GNOME then, the GNOME Keyring stores the WLAN/Wifi secrets.
If KDE Plasma then, KWallet – specifically the Blowfish encrypted wallet named “kdewallet” – stores the WLAN/WiFi secrets.

It could also be a coincidence that when I switched desktops I also updated glib2…

Spoke too soon. Network device driver just crashed after waking from sleep.
Where does one report such crashes?

See what I wrote here, try doing a zypper dup, it might be the problem is solved with the update.

I did, the crash also happened on yesterday’s snapshot.

Okay, If you can reproduce the problem with a up-to-date Tumbleweed install it is another problem I had.

Can you check the journal for a crash?

Try “sudo journalctl -b” and search for something I shared above after “the journal shows:”

With that (complete dump) you can open an issue at https://bugzilla.opensuse.org/

I don’t see a NetworkManager crash, this is what my log shows:

oct 06 22:28:49 klaasje kernel: Restarting tasks ... done.
oct 06 22:28:49 klaasje kernel: random: crng reseeded on system resumption
oct 06 22:28:49 klaasje kernel: PM: suspend exit
oct 06 22:28:49 klaasje kernel: Bluetooth: hci0: Firmware timestamp 2023.28 buildtype 1 build 68350
oct 06 22:28:49 klaasje kernel: Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi
oct 06 22:28:49 klaasje kernel: Bluetooth: hci0: Boot Address: 0x100800
oct 06 22:28:49 klaasje kernel: Bluetooth: hci0: Firmware Version: 254-28.23
oct 06 22:28:49 klaasje kernel: Bluetooth: hci0: Firmware already loaded
oct 06 22:28:49 klaasje kernel: wlp6s0: deauthenticating from 0c:73:29:a1:49:da by local choice (Reason: 3=DEAUTH_LEAVING)
oct 06 22:28:49 klaasje kernel: Bluetooth: MGMT ver 1.22
oct 06 22:28:49 klaasje kernel: RTL8226B_RTL8221B 2.5Gbps PHY r8169-0-500:00: attached PHY driver (mii_bus:phy_addr=r8169-0-500:00, irq=MAC)
oct 06 22:28:49 klaasje kernel: r8169 0000:05:00.0 eno1: Link is Down
oct 06 22:28:49 klaasje kernel: iwlwifi 0000:06:00.0: WRT: Invalid buffer destination
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: WFPM_AUTH_KEY_0: 0x90
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Microcode SW error detected. Restarting 0x0.
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Start IWL Error Log Dump:
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Transport status: 0x0000004B, valid: 6
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Loaded firmware version: 83.e8f84e98.0 ty-a0-gf-a0-83.ucode
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x000002F0 | trm_hw_status0
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | trm_hw_status1
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x004DC410 | branchlink2
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x004D233E | interruptlink1
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x004D233E | interruptlink2
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00016DBE | data1
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000010 | data2
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | data3
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | beacon time
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00027DD2 | tsf low
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | tsf hi
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | time gp1
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x0003BD87 | time gp2
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000001 | uCode revision type
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000053 | uCode version major
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0xE8F84E98 | uCode version minor
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000420 | hw version
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x40C80002 | board version
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x809FFF00 | hcmd
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00020000 | isr0
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x60000000 | isr1
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x58F04802 | isr2
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00C3000C | isr3
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | isr4
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | last cmd Id
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00016DBE | wait_event
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | l2p_control
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | l2p_duration
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | l2p_mhvalid
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | l2p_addr_match
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000018 | lmpm_pmg_sel
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00000000 | timestamp
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: 0x00001038 | flow_handler
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Start IWL Error Log Dump:

Okay, good info.

oct 06 22:28:49 klaasje kernel: r8169 0000:05:00.0 eno1: Link is Down
oct 06 22:28:49 klaasje kernel: iwlwifi 0000:06:00.0: WRT: Invalid buffer destination
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: WFPM_AUTH_KEY_0: 0x90
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Microcode SW error detected. Restarting 0x0.

You WiFi has also an internal processor and the software running there is called microcode. This error shows not the processor of your computer did generate a crash, but it is the software running inside the WiFi.

I guess there is no more information after:

oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Start IWL Error Log Dump:

right?

Searching for r8169 “Microcode SW error detected” gives me:

https://bbs.archlinux.org/viewtopic.php?id=254766

I would try some of the suggestions in that topic.

The error is in iwlwifi, not r8169.

You could be right, but my interpretation is that iwlwifi is forwarding a problem detected by the Microcode SW.

What is your interpretation on what this “Microcode SW” is?

This is microcode running on Intel WiFi chip controlled by iwlwifi driver.

Yes there is, this is the whole log:

Also after seeing the whole log (thanks!), my conclusion is that the problem is a firmware problem based on

oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: Microcode SW error detected. Restarting 0x0.
oct 06 22:28:50 klaasje kernel: ieee80211 phy0: Hardware restart was requested
oct 06 22:28:50 klaasje kernel: iwlwifi 0000:06:00.0: FW error in SYNC CMD NON_QOS_TX_COUNTER_CMD

And the firmware/embedded processor “registers” being dumped.

The problem seems to happen after a wakeup from suspend, correct?