Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED]NetworkManager Applet crashed when trying connect wifi

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

[SOLVED]NetworkManager Applet crashed when trying connect wifi

#1 Post by dannychen »

Hello,


My NetworkManager applet crashed when trying to connect wifi.
Seems it's an regression issue in booksworm.

inxi -v2

Code: Select all

System:
  Host: code01 Kernel: 6.0.0-4-amd64 arch: x86_64 bits: 64 Desktop: Xfce
    v: 4.16.1 Distro: Debian GNU/Linux bookworm/sid
Machine:
  Type: Laptop System: MECHREVO product: Code01 Ver2.0 v: 1
    serial: <superuser required>
  Mobo: MECHREVO model: Code01 Ver2.0 serial: <superuser required>
    UEFI: INSYDE v: 0016.007.04 date: 09/29/2022
Battery:
  ID-1: BATT charge: 66.9 Wh (100.0%) condition: 66.9/70.4 Wh (95.1%)
CPU:
  Info: 8-core AMD Ryzen 7 6800H with Radeon Graphics [MT MCP] speed (MHz):
    avg: 1529 min/max: 1600/4784
Graphics:
  Device-1: AMD Rembrandt [Radeon 680M] driver: amdgpu v: kernel
  Device-2: IMC Networks XHC Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1200~120Hz
  API: OpenGL v: 4.6 Mesa 22.2.4 renderer: AMD Radeon Graphics (rembrandt
    LLVM 15.0.5 DRM 3.48 6.0.0-4-amd64)
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e
Drives:
  Local Storage: total: 953.87 GiB used: 14.99 GiB (1.6%)
Info:
  Processes: 316 Uptime: 7m Memory: 30.1 GiB used: 1.68 GiB (5.6%) Shell: Bash
  inxi: 3.3.23
cat .xsession-errors

Code: Select all

(wrapper-2.0:1687): LIBDBUSMENU-GLIB-WARNING **: 19:00:39.804: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:1687): LIBDBUSMENU-GLIB-WARNING **: 19:00:40.297: Unable to replace properties on 0: Error getting properties for ID
nm-applet-Message: 19:01:20.160: No keyring secrets found for Xiaomi 12/802-11-wireless-security; asking user.

(nm-applet:1698): GLib-GIO-ERROR **: 19:01:27.206: settings object created with schema 'org.gnome.nm-applet.eap' and path '/org/gnome/nm-applet/eap/54b519e9-4c50-47fe-94a3-b8512bf6e96c/', but path '/org/gnome/nm-applet/eap/' is specified by schema
Last edited by dannychen on 2022-11-27 08:19, edited 3 times in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Wifi applet crashed when trying connect

#2 Post by sunrat »

Firmware for MEDIATEK MT7921 was updated a couple of weeks ago in the firmware-misc-nonfree (20221109-2) for Bookworm. Do you have that installed?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: NetworkManager Applet crashed when trying connect

#3 Post by dannychen »

Yes. I just installed the firmware-misc-nonfree
However the dmesg showed it's still use mt7961 patch.

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: NetworkManager Applet crashed when trying connect

#4 Post by dannychen »

I checked the package info of firmware-misc-nonfree, it seems the actual driver is the MT7961 for MT7921 wifi module.

* MediaTek MT7921 hdr firmware, version 20220908210919a
(mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin)
* MediaTek MT7921 firmware, version 20220908211021
(mediatek/WIFI_RAM_CODE_MT7961_1.bin)

sudo dmesg |grep 'mt'

Code: Select all

[    3.890877] mt7921e 0000:03:00.0: enabling device (0000 -> 0002)
[    3.891029] mt7921e 0000:03:00.0: ASIC revision: 79610010
[    3.972937] mt7921e 0000:03:00.0: firmware: direct-loading firmware mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
[    3.972944] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211014150838a
[    3.983595] mt7921e 0000:03:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7961_1.bin
[    3.983605] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20211014150922
[    5.591205] mt7921e 0000:03:00.0 wlo1: renamed from wlan0

Cyborg
Posts: 38
Joined: 2016-12-01 19:07
Has thanked: 1 time
Been thanked: 2 times

Re: NetworkManager Applet crashed when trying connect wifi

#5 Post by Cyborg »

I encountered the same issue when trying to connect to a new wifi network, after entering the password. However, I've been able to connect to stored networks without issue.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: NetworkManager Applet crashed when trying connect

#6 Post by sunrat »

dannychen wrote: 2022-11-25 13:55 I checked the package info of firmware-misc-nonfree, it seems the actual driver is the MT7961 for MT7921 wifi module.
Firmware is not the same as driver.
Could be a different issue then, possibly with network manager. I'm out of ideas.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: NetworkManager Applet crashed when trying connect wifi

#7 Post by dannychen »

Cyborg wrote: 2022-11-25 17:02 I encountered the same issue when trying to connect to a new wifi network, after entering the password. However, I've been able to connect to stored networks without issue.
Hello,
So how do you solve this issue finnally?

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: NetworkManager Applet crashed when trying connect wifi

#8 Post by dannychen »

There's one similar issue in Arch forum.
https://bbs.archlinux.org/viewtopic.php?id=281134

The issue solved with installing the 1.10.4-3 libnma.

Seems there's still the 1.10.4-1 libnma in Booksworm:
https://packages.debian.org/bookworm/libnma-common

Maybe we need to report this clue the package owner...

Cyborg
Posts: 38
Joined: 2016-12-01 19:07
Has thanked: 1 time
Been thanked: 2 times

Re: NetworkManager Applet crashed when trying connect wifi

#9 Post by Cyborg »

In reply to the above poster, I wasn't able to solve the issue. I connected my laptop to my phone to get online while on holiday, but now that I'm back I've found no issues with my home wifi network, probably because I don't need to input the password.

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: NetworkManager Applet crashed when trying connect wifi

#10 Post by dannychen »

Issued solved by upgrading the libnma-common 1.10.4-2.

Post Reply