Bug#1055979: fwupd hangs on XPS 15 9530 with external monitor connected
Package: fwupd
Version: 1.9.8-1
Severity: normal
X-Debbugs-Cc: george.shuklin@gmail.com
fwupd is haging (and is killed with timeout).
Laptop: XPS 15 9530 with external monitor connected via USB-C -> DP.
Logs:
Starting fwupd.service - Firmware update daemon...
FuUsbDevice failed to parse platform capability BOS descriptor: no
supported platform version: did not find magic
FuEngine failed to add device
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2/drm_dp_aux2: failed
to add device using on synaptics_mst: failed to enable remote control: failure
writing data register: failed to write 0x5 bytes on layer:0, relative_addr:0x0
fwupd.service: start operation timed out. Terminating.
fwupd.service: Failed with result 'timeout'.
Failed to start fwupd.service - Firmware update daemon.
strace on the hanged service shows:
[pid 4203] lseek(14, 1208, SEEK_SET) = 1208
[pid 4203] write(14, "\4\0\0\0", 4) = 4
[pid 4203] lseek(14, 1202, SEEK_SET) = 1202
[pid 4203] write(14, "\244", 1) = 1
[pid 4203] lseek(14, 1202, SEEK_SET) = 1202
[pid 4203] read(14, "\0\0", 2) = 2
[pid 4203] lseek(14, 1216, SEEK_SET) = 1216
[pid 4203] write(14, "\262", 1) = 1
(in a long loop)
fd 14 is /dev/drm_dp_aux5
If external monitor is disconnected, it works as expected.
-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.0-4-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages fwupd depends on:
ii adduser 3.137
ii libarchive13 3.7.2-1
ii libc6 2.37-12
ii libcbor0.10 0.10.2-1.1
ii libcurl3-gnutls 8.4.0-2
ii libflashrom1 1.3.0-2.1
ii libfwupd2 1.9.8-1
ii libglib2.0-0 2.78.1-4
ii libgnutls30 3.8.1-4+b1
ii libgudev-1.0-0 238-3
ii libgusb2 0.4.5-1.1
ii libjcat1 0.1.9-1
ii libjson-glib-1.0-0 1.8.0-2
ii liblzma5 5.4.4-0.1
ii libmbim-glib4 1.30.0-1
ii libmbim-proxy 1.30.0-1
ii libmm-glib0 1.22.0-1
ii libpolkit-gobject-1-0 123-3
ii libprotobuf-c1 1.4.1-1+b1
ii libqmi-glib5 1.34.0-2
ii libqmi-proxy 1.34.0-2
ii libsqlite3-0 3.44.0-1
ii libsystemd0 254.5-1
ii libtss2-esys-3.0.2-0 4.0.1-3
ii libxmlb2 0.3.14-2
ii shared-mime-info 2.2-1
ii zlib1g 1:1.2.13.dfsg-3
Versions of packages fwupd recommends:
ii bolt 0.9.6-1
ii dbus 1.14.10-3
ii fwupd-amd64-signed [fwupd-signed] 1:1.4+1
ii jq 1.7-1
ii python3 3.11.4-5+b1
pn secureboot-db <none>
ii udisks2 2.10.1-2
Versions of packages fwupd suggests:
pn gir1.2-fwupd-2.0 <none>
-- Configuration Files:
/etc/fwupd/fwupd.conf [Errno 13] Permission denied: '/etc/fwupd/fwupd.conf'
-- no debconf information
Reply to: