You are not logged in.

#1 2022-01-30 17:54:40

Per9olini
Member
Registered: 2022-01-30
Posts: 4

[SOLVED]iwd.service & NetworkManager-wait-online.service fail to start

Hi, since the lastest update (2022-01-21) the wireless on my laptop refuses to start, or rather it will inconsistenly appear for a second then dissapear from de DE entirely, as if it never exsited.
So far i found out that both iwd.service and NetworkManager-wait-online.service are having problems starting either after a normal boot or (in the rare cases it manages to grab a wireless connection) after coming form sleep.

 lspci -k
00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 03)
        Subsystem: Lenovo Device 3802
00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 03)
        Subsystem: Lenovo Device 3803
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device_pci_legacy
00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 605] (rev 03)
        Subsystem: Lenovo Device 3805
        Kernel driver in use: i915
        Kernel modules: i915
00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03)
        Subsystem: Lenovo V130-15IGM Laptop (Lenovo) - Type 81HL
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_apl
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
        Subsystem: Lenovo Device 3801
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 03)
        Subsystem: Lenovo Device 380c
        Kernel driver in use: ahci
00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
        Kernel driver in use: pcieport
00:14.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
        Kernel driver in use: pcieport
00:14.1 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
        Kernel driver in use: pcieport
00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 03)
        Subsystem: Lenovo Device 3813
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:16.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO I2C Host Controller (rev 03)
        Subsystem: Lenovo Device 3815
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO I2C Host Controller (rev 03)
        Subsystem: Lenovo Device 3816
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.2 Signal processing controller: Intel Corporation Device 31b0 (rev 03)
        Subsystem: Lenovo Device 3817
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.3 Signal processing controller: Intel Corporation Device 31b2 (rev 03)
        Subsystem: Lenovo Device 3818
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:17.0 Signal processing controller: Intel Corporation Device 31b4 (rev 03)
        Subsystem: Lenovo Device 3819
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:17.1 Signal processing controller: Intel Corporation Device 31b6 (rev 03)
        Subsystem: Lenovo Device 381a
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:17.2 Signal processing controller: Intel Corporation Device 31b8 (rev 03)
        Subsystem: Lenovo Device 381b
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:17.3 Signal processing controller: Intel Corporation Device 31ba (rev 03)
        Subsystem: Lenovo Device 381c
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:18.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 03)
        Subsystem: Lenovo Device 381d
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:18.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 03)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:18.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 03)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:19.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 03)
        Subsystem: Lenovo Device 381f
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:19.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 03)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:19.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 03)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor LPC Controller (rev 03)
        Subsystem: Lenovo Device 3821
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
        Subsystem: Lenovo Device 3822
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 Non-Volatile memory controller: Sandisk Corp Device 5019 (rev 01)
        Subsystem: Sandisk Corp Device 5019
        Kernel driver in use: nvme
02:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth (rev 99)
        Subsystem: Intel Corporation Dual Band Wireless-AC 3165
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Lenovo Lenovo V130-15IGM Laptop - Type 81HL
        Kernel driver in use: r8169
        Kernel modules: r8169
 
 systemctl --failed
  UNIT                               LOAD   ACTIVE SUB    DESCRIPTION                
● iwd.service                        loaded failed failed Wireless service
● NetworkManager-wait-online.service loaded failed failed Network Manager Wait Online 
 systemctl status iwd.service
× iwd.service - Wireless service
     Loaded: loaded (/usr/lib/systemd/system/iwd.service; enabled; vendor preset: disabled)
     Active: failed (Result: core-dump) since Sun 2022-01-30 13:42:39 -03; 30min ago
    Process: 1314 ExecStart=/usr/lib/iwd/iwd (code=dumped, signal=SEGV)
   Main PID: 1314 (code=dumped, signal=SEGV)
        CPU: 43ms

ene 30 13:42:39 pergolini-81hl systemd[1]: iwd.service: Scheduled restart job, restart counter is at 6.
ene 30 13:42:39 pergolini-81hl systemd[1]: Stopped Wireless service.
ene 30 13:42:39 pergolini-81hl systemd[1]: iwd.service: Start request repeated too quickly.
ene 30 13:42:39 pergolini-81hl systemd[1]: iwd.service: Failed with result 'core-dump'.
ene 30 13:42:39 pergolini-81hl systemd[1]: Failed to start Wireless service. 
 systemctl status NetworkManager-wait-online.service
× NetworkManager-wait-online.service - Network Manager Wait Online
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sun 2022-01-30 13:30:54 -03; 42min ago
       Docs: man:nm-online(1)
    Process: 413 ExecStart=/usr/bin/nm-online -s -q (code=exited, status=1/FAILURE)
   Main PID: 413 (code=exited, status=1/FAILURE)
        CPU: 437ms

ene 30 13:29:54 pergolini-81hl systemd[1]: Starting Network Manager Wait Online...
ene 30 13:30:54 pergolini-81hl systemd[1]: NetworkManager-wait-online.service: Main process exited, code=exited, status=1/FAILURE
ene 30 13:30:54 pergolini-81hl systemd[1]: NetworkManager-wait-online.service: Failed with result 'exit-code'.
ene 30 13:30:54 pergolini-81hl systemd[1]: Failed to start Network Manager Wait Online. 

if i restart the services, i'm back in bussiness:

 root@pergolini-81hl /home/pergolini # systemctl status iwd.service
● iwd.service - Wireless service
     Loaded: loaded (/usr/lib/systemd/system/iwd.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2022-01-30 14:17:13 -03; 28min ago
   Main PID: 3210 (iwd)
      Tasks: 1 (limit: 9303)
     Memory: 576.0K
        CPU: 123ms
     CGroup: /system.slice/iwd.service
             └─3210 /usr/lib/iwd/iwd

ene 30 14:17:13 pergolini-81hl iwd[3210]:                         0-7
ene 30 14:17:13 pergolini-81hl iwd[3210]:                 HT TX MCS differ, max NSS: 2
ene 30 14:17:13 pergolini-81hl iwd[3210]:                 VHT Capabilities:
ene 30 14:17:13 pergolini-81hl iwd[3210]:                         Short GI for 80Mhz
ene 30 14:17:13 pergolini-81hl iwd[3210]:                         Max RX MCS: 0-9 for NSS: 1
ene 30 14:17:13 pergolini-81hl iwd[3210]:                         Max TX MCS: 0-9 for NSS: 1
ene 30 14:17:13 pergolini-81hl iwd[3210]:         Ciphers: CCMP TKIP BIP
ene 30 14:17:13 pergolini-81hl iwd[3210]:         Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device
ene 30 14:17:22 pergolini-81hl iwd[3210]: Unexpected connection related event -- is another supplicant running?
ene 30 14:17:22 pergolini-81hl iwd[3210]: Unexpected connection related event -- is another supplicant running?
 systemctl status NetworkManager-wait-online.service
● NetworkManager-wait-online.service - Network Manager Wait Online
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; vendor preset: disabled)
     Active: active (exited) since Sun 2022-01-30 14:16:59 -03; 22s ago
       Docs: man:nm-online(1)
    Process: 3197 ExecStart=/usr/bin/nm-online -s -q (code=exited, status=0/SUCCESS)
   Main PID: 3197 (code=exited, status=0/SUCCESS)
        CPU: 25ms

But still, i would like it if it didn't fail at all.
Read all i could about the subject but i'm not sure whats actually causing the problem, would be grateful for some guidence/ advice (where to read, what does/means what and why isn't it doing it the same way as before) so i can fix it. Thank you.

Last edited by Per9olini (2022-01-30 20:13:15)

Offline

#2 2022-01-30 18:03:02

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

Re: [SOLVED]iwd.service & NetworkManager-wait-online.service fail to start

cat /etc/NetworkManager/conf.d/wifi_backend.conf

Offline

#3 2022-01-30 18:31:54

Per9olini
Member
Registered: 2022-01-30
Posts: 4

Re: [SOLVED]iwd.service & NetworkManager-wait-online.service fail to start

Zod wrote:
cat /etc/NetworkManager/conf.d/wifi_backend.conf

No such file or directory.

Offline

#4 2022-01-30 18:34:21

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

Re: [SOLVED]iwd.service & NetworkManager-wait-online.service fail to start

Offline

#5 2022-01-30 19:11:11

Per9olini
Member
Registered: 2022-01-30
Posts: 4

Re: [SOLVED]iwd.service & NetworkManager-wait-online.service fail to start

Don't i need it?

Last edited by Per9olini (2022-01-30 19:12:23)

Offline

#6 2022-01-30 19:18:42

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

Re: [SOLVED]iwd.service & NetworkManager-wait-online.service fail to start

It means you do not want 2 network management services enabled at the same time.

NetworkManager want to use wpa_supplicant for wifi by default. If that's what you want disable IWD.

If you would like you can use IWD as the backend, hence the link, but you still need to disable IWD.

Unless, of course, you want to use just IWD. In that case you need to disable NetworkManager.

Offline

#7 2022-01-30 19:40:35

Per9olini
Member
Registered: 2022-01-30
Posts: 4

Re: [SOLVED]iwd.service & NetworkManager-wait-online.service fail to start

Super clear, didn´t know these services excluded each other, i do remember setting up NetworkManager during install, but after the update i saw iwd and thougnt it was part of it or something. Now i know better.
Disabling IWD fixed the issue, thank you so much.

Offline

Board footer

Powered by FluxBB