Fwupd causing errors with KDE Discover and Gnome-software package managers

Just out of curiosity I installed Gnome-software to check how it works in Garuda Gnome. The program opened with categories to explore. When I clicked on Updates, it showed below message

Sorry, something went wrong: Failed to connect to daemon: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)".

I did a little research in Arch Wiki and Github.
I tried the following command in terminal:

 ╭─mohand@mohan in ~ took 34s
 ╰─λ fwupdmgr get-devices
Failed to connect to daemon: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)

 ╭─mohand@mohan in ~ took 25s
[πŸ”΄] Γ— fwupdmgr refresh
Failed to connect to daemon: Error calling StartServiceByName for org.freedesktop.fwupd: Timeout was reached

 ╭─mohand@mohan in ~ took 25s
[πŸ”΄] Γ— systemctl status fwupd
Γ— fwupd.service - Firmware update daemon
     Loaded: loaded (/usr/lib/systemd/system/fwupd.service; static)
     Active: failed (Result: core-dump) since Sun 2021-08-08 14:53:59 IST; 1min 9s ago
       Docs: https://fwupd.org/
    Process: 146144 ExecStart=/usr/lib/fwupd/fwupd (code=dumped, signal=SEGV)
   Main PID: 146144 (code=dumped, signal=SEGV)
        CPU: 763ms

Aug 08 14:53:58 mohan-81w1 systemd[1]: Starting Firmware update daemon...
Aug 08 14:53:59 mohan-81w1 systemd[1]: fwupd.service: Main process exited, code=dumped, status=11/SEGV
Aug 08 14:53:59 mohan-81w1 systemd[1]: fwupd.service: Failed with result 'core-dump'.
Aug 08 14:53:59 mohan-81w1 systemd[1]: Failed to start Firmware update daemon.

 ╭─mohand@mohan in ~ took 137ms
[πŸ”΄] Γ— systemctl enable fwupd
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
 
Possible reasons for having this kind of units are:
β€’ A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
β€’ A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
β€’ A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
β€’ In case of template units, the unit is meant to be enabled with some
  instance name specified.

 ╭─mohand@mohan in ~ took 3s
 ╰─λ systemctl status fwupd
Γ— fwupd.service - Firmware update daemon
     Loaded: loaded (/usr/lib/systemd/system/fwupd.service; static)
     Active: failed (Result: core-dump) since Sun 2021-08-08 14:53:59 IST; 1min 55s ago
       Docs: https://fwupd.org/
   Main PID: 146144 (code=dumped, signal=SEGV)
        CPU: 763ms

Aug 08 14:53:58 mohan-81w1 systemd[1]: Starting Firmware update daemon...
Aug 08 14:53:59 mohan-81w1 systemd[1]: fwupd.service: Main process exited, code=dumped, status=11/SEGV
Aug 08 14:53:59 mohan-81w1 systemd[1]: fwupd.service: Failed with result 'core-dump'.
Aug 08 14:53:59 mohan-81w1 systemd[1]: Failed to start Firmware update daemon.

 ╭─mohand@mohan in ~ took 22ms
[πŸ”΄] Γ— systemctl start fwupd
Job for fwupd.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status fwupd.service" and "journalctl -xeu fwupd.service" for details.

journalctl -xeu fwupd.service
β–‘β–‘ Subject: A start job for unit fwupd.service has begun execution
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ A start job for unit fwupd.service has begun execution.
β–‘β–‘ 
β–‘β–‘ The job identifier is 3626.
Aug 08 14:56:06 mohan-81w1 systemd[1]: fwupd.service: Main process exited, code=dumped, status=11/SEGV
β–‘β–‘ Subject: Unit process exited
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ An ExecStart= process belonging to unit fwupd.service has exited.
β–‘β–‘ 
β–‘β–‘ The process' exit code is 'dumped' and its exit status is 11.
Aug 08 14:56:06 mohan-81w1 systemd[1]: fwupd.service: Failed with result 'core-dump'.
β–‘β–‘ Subject: Unit failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ The unit fwupd.service has entered the 'failed' state with result 'core-dump'.
Aug 08 14:56:06 mohan-81w1 systemd[1]: Failed to start Firmware update daemon.
β–‘β–‘ Subject: A start job for unit fwupd.service has failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ A start job for unit fwupd.service has finished with a failure.
β–‘β–‘ 
β–‘β–‘ The job identifier is 3626 and the job result is failed.

My system details are as below:

inxi -Fza
System:    Kernel: 5.13.8-zen2-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=72aff60b-c34e-4690-bc06-8c9695d4ab85 
           rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
           systemd.unified_cgroup_hierarchy=1 loglevel=3 
           Desktop: GNOME 40.3 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.1 Distro: Garuda Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 81W1 v: IdeaPad 3 15ADA05 serial: <filter> Chassis: 
           type: 10 v: IdeaPad 3 15ADA05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0Q55724WIN serial: <filter> UEFI: LENOVO v: E8CN27WW 
           date: 01/15/2021 
Battery:   ID-1: BAT0 charge: 16.8 Wh (50.9%) condition: 33.0/35.0 Wh (94.2%) volts: 7.5 min: 7.5 
           model: SMP L16M2PB2 type: Li-poly serial: <filter> status: Discharging cycles: 376 
CPU:       Info: Dual Core model: AMD Ryzen 3 3250U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 
           family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108109 cache: L2: 1024 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 20761 
           Speed: 1262 MHz min/max: 1400/2600 MHz boost: disabled Core speeds (MHz): 1: 1262 2: 1261 
           3: 1391 4: 1386 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Picasso vendor: Lenovo driver: amdgpu v: kernel bus-ID: 02:00.0 
           chip-ID: 1002:15d8 class-ID: 0300 
           Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-5.1:6 
           chip-ID: 174f:118d class-ID: 0e02 serial: <filter> 
           Display: wayland server: X.Org 1.21.1.2 compositor: gnome-shell driver: loaded: amdgpu,ati 
           unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") s-diag: 583mm (23") 
           Monitor-1: XWAYLAND0 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") 
           diag: 389mm (15.3") 
           OpenGL: renderer: AMD Radeon Vega 3 Graphics (RAVEN2 DRM 3.41.0 5.13.8-zen2-1-zen LLVM 12.0.1) 
           v: 4.6 Mesa 21.1.6 direct render: Yes 
Audio:     Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo driver: snd_hda_intel 
           v: kernel bus-ID: 02:00.1 chip-ID: 1002:15de class-ID: 0403 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo 
           driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x bus-ID: 02:00.5 chip-ID: 1022:15e2 
           class-ID: 0480 
           Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus-ID: 02:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k5.13.8-zen2-1-zen running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: no 
           Sound Server-4: PipeWire v: 0.3.33 running: yes 
Network:   Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo 
           driver: rtw_8822ce v: N/A modules: rtw88_8822ce port: 2000 bus-ID: 01:00.0 chip-ID: 10ec:c822 
           class-ID: 0280 
           IF: wlp1s0 state: up mac: <filter> 
           Device-2: Lite-On Dell Wireless Mouse WM118 type: USB driver: hid-generic,usbhid bus-ID: 1-4:3 
           chip-ID: 04ca:00a8 class-ID: 0301 
Drives:    Local Storage: total: 931.51 GiB used: 30.61 GiB (3.3%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
           block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 
           serial: <filter> rev: LFM1 scheme: GPT 
Partition: ID-1: / raw-size: 147.76 GiB size: 147.76 GiB (100.00%) used: 16.84 GiB (11.4%) fs: btrfs 
           dev: /dev/sda8 maj-min: 8:8 
           ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.7 MiB (26.8%) fs: vfat 
           dev: /dev/sda2 maj-min: 8:2 
           ID-3: /home raw-size: 147.76 GiB size: 147.76 GiB (100.00%) used: 16.84 GiB (11.4%) fs: btrfs 
           dev: /dev/sda8 maj-min: 8:8 
           ID-4: /var/log raw-size: 147.76 GiB size: 147.76 GiB (100.00%) used: 16.84 GiB (11.4%) 
           fs: btrfs dev: /dev/sda8 maj-min: 8:8 
           ID-5: /var/tmp raw-size: 147.76 GiB size: 147.76 GiB (100.00%) used: 16.84 GiB (11.4%) 
           fs: btrfs dev: /dev/sda8 maj-min: 8:8 
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: zram size: 9.6 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 38.0 C mobo: N/A gpu: amdgpu temp: 38.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 243 Uptime: 1h 20m wakeups: 1 Memory: 9.6 GiB used: 2.75 GiB (28.6%) Init: systemd 
           v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1208 lib: 336 
           Shell: fish v: 3.3.1 running-in: gnome-terminal inxi: 3.3.06 

I am a beginner, so don't know what's wrong. Please can someone help?

This feels like a bug in fwupd.

2 Likes

Latest version of fwupd 1.62 is causing errors and takes a long time to launch KDE Discover package manager.

Work around: downgrade fwupd to version 1.61

2 Likes

Threads merged.

Definitely looks like a bug in fwupd.

1 Like

Thanks

I downgraded the package to fwupd version 1.61 and It works now.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.