fwupd + zed infinite loop

Bug #1922613 reported by Kevin McMurtrie
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fwupd (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

zed and fwupd will sometimes infinite loop together and slow the computer to a crawl. Booting and waking from sleep are the most common triggers. Killing either one of them fixes it.

Apr 5 17:29:52 fuel fwupd[560153]: 00:29:52:0033 FuEngine ata failed to change udev device /sys/devices/pci0000:00/0000:00:1f.2/ata8/host7/target7:0:0/7:0:0:0/block/sdb: cannot ensure ID: FuUdevDevice:
Apr 5 17:29:52 fuel fwupd[560153]: WDC WD40EZRZ-00GXCB0
Apr 5 17:29:52 fuel fwupd[560153]: Serial: WD-WCC7K5PENUZC
Apr 5 17:29:52 fuel fwupd[560153]: Flags: none
Apr 5 17:29:52 fuel fwupd[560153]: Version: 80.00A80
Apr 5 17:29:52 fuel zed: eid=9158 class=config_sync pool_guid=0x2D095FFB2B65A8E6
Apr 5 17:29:52 fuel fwupd[560153]: 00:29:52:0801 FuEngine ata failed to change udev device /sys/devices/pci0000:00/0000:00:1f.2/ata8/host7/target7:0:0/7:0:0:0/block/sdb/sdb9: cannot ensure ID: FuUdevDevice:
Apr 5 17:29:52 fuel fwupd[560153]: WDC WD40EZRZ-00GXCB0
Apr 5 17:29:52 fuel fwupd[560153]: Serial: WD-WCC7K5PENUZC
Apr 5 17:29:52 fuel fwupd[560153]: Flags: none
Apr 5 17:29:52 fuel fwupd[560153]: Version: 80.00A80
Apr 5 17:29:52 fuel zed: eid=9159 class=config_sync pool_guid=0x2D095FFB2B65A8E6
Apr 5 17:29:52 fuel fwupd[560153]: 00:29:52:0910 FuEngine ata failed to change udev device /sys/devices/pci0000:00/0000:00:1f.2/ata8/host7/target7:0:0/7:0:0:0/block/sdb/sdb1: cannot ensure ID: FuUdevDevice:
Apr 5 17:29:52 fuel fwupd[560153]: WDC WD40EZRZ-00GXCB0
Apr 5 17:29:52 fuel fwupd[560153]: Serial: WD-WCC7K5PENUZC
Apr 5 17:29:52 fuel fwupd[560153]: Flags: none
Apr 5 17:29:52 fuel fwupd[560153]: Version: 80.00A80
Apr 5 17:29:53 fuel fwupd[560153]: 00:29:53:0763 FuEngine ata failed to change udev device /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda: cannot ensure ID: FuUdevDevice:
Apr 5 17:29:53 fuel fwupd[560153]: WDC WD40EZRZ-00GXCB0
Apr 5 17:29:53 fuel fwupd[560153]: Serial: WD-WCC7K2NPYYEU
Apr 5 17:29:53 fuel fwupd[560153]: Flags: none
Apr 5 17:29:53 fuel fwupd[560153]: Version: 80.00A80
Apr 5 17:29:54 fuel fwupd[560153]: 00:29:54:0416 FuEngine ata failed to change udev device /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/sda9: cannot ensure ID: FuUdevDevice:
Apr 5 17:29:54 fuel fwupd[560153]: WDC WD40EZRZ-00GXCB0
Apr 5 17:29:54 fuel fwupd[560153]: Serial: WD-WCC7K2NPYYEU
Apr 5 17:29:54 fuel fwupd[560153]: Flags: none
Apr 5 17:29:54 fuel fwupd[560153]: Version: 80.00A80
Apr 5 17:29:54 fuel zed: eid=9160 class=config_sync pool_guid=0x2D095FFB2B65A8E6
Apr 5 17:29:54 fuel zed: eid=9161 class=config_sync pool_guid=0x2D095FFB2B65A8E6

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: fwupd 1.4.5-1
ProcVersionSignature: Ubuntu 5.8.0-48.54-generic 5.8.18
Uname: Linux 5.8.0-48-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: X-Cinnamon
Date: Mon Apr 5 17:29:03 2021
InstallationDate: Installed on 2018-10-28 (890 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: fwupd
UpgradeStatus: Upgraded to groovy on 2020-12-14 (112 days ago)

Revision history for this message
Kevin McMurtrie (kevinmcmurtrie) wrote :
Revision history for this message
Kevin McMurtrie (kevinmcmurtrie) wrote :

Sorry, duplicate of #1918024

Revision history for this message
Mario Limonciello (superm1) wrote :

So zed is causing change events that fwupd is picking up and going crazy with. It seems like fwupd should be filtering these events.

1) Can you bring this bug report upstream to https://github.com/fwupd/fwupd ?
2) Would it be possible to switch to the fwupd snap and see if this issue persists? This will check if it's still present in the latest release of fwupd.

# sudo apt remove fwupd
# sudo snap install fwupd --classic

Changed in fwupd (Ubuntu):
status: New → Triaged
Revision history for this message
Kevin McMurtrie (kevinmcmurtrie) wrote :

Trying the snap version.
It would have been nice to know in advance that 'sudo snap install fwupd --classic' reboots everything but the kernel.

Revision history for this message
Mario Limonciello (superm1) wrote :

What's the result of the test of the snap? Alternatively you can check Ubuntu 22.04 daily images which have 1.7.x.

Changed in fwupd (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for fwupd (Ubuntu) because there has been no activity for 60 days.]

Changed in fwupd (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.