Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61257 - [fwupd] daemon no longer works (at least on Dell XPS 13 9370), causing fwupdmgr to fail

Attached to Project: Community Packages
Opened by Andrej Podzimek (andrej) - Thursday, 03 January 2019, 00:43 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Saturday, 12 January 2019, 22:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

It worked find until today’s system upgrade (fwupd 1.2.1—>1.2.2, kernel 4.19.12—>4.20). There are 2 new problems now:

1. It should depend on `tpm2-tools` (AUR), or else it complains about missing `tpm2_pcrlist` and fails.
2. Even after (1) is fixed, it stopped working altogether; with the following error messages:

```
Jan 03 01:25:05 doprdelle systemd[1]: Starting Firmware update daemon...
Jan 03 01:25:05 doprdelle fwupd[20625]: Started with an incompatible locale!
Jan 03 01:25:10 doprdelle fwupd[20625]: failed to add USB device 0bda:8153: failed to add device using on dell: invalid dock component request Query 3 0 2 1 0
Jan 03 01:25:10 doprdelle fwupd[20625]: Failed to load engine: Failed to prepare SQL: no such column: protocol
Jan 03 01:25:10 doprdelle systemd[1]: fwupd.service: Main process exited, code=exited, status=1/FAILURE
Jan 03 01:25:10 doprdelle systemd[1]: fwupd.service: Failed with result 'exit-code'.Jan 03 01:25:10 doprdelle systemd[1]: Failed to start Firmware update daemon.
```

Additional info:

* package version(s)
linux 4.20.arch1-1
fwupd 1.2.2-1
tpm2-tools 3.1.3-1
bolt 0.7-1

Steps to reproduce:

Try to run fwupdmgr on a Dell XPS 13 9370 with a Dell TB16 dock plugged in.
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Saturday, 12 January 2019, 22:59 GMT
Reason for closing:  Implemented
Additional comments about closing:  Added as optdeps in fwupd 1.2.3-2.
Comment by Andrej Podzimek (andrej) - Thursday, 03 January 2019, 00:58 GMT
Just for the record, the device the log rambles about is an ethernet adapter in the dock:

Bus 004 Device 004: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

AFAICT, the device works perfectly fine. I don’t have it connected right now, but can see that NetworkManager is keeping it active and it has already talked to some ethernet peers in the past. There were no complaints in the log until fwupd 1.2.1. Problems started with 1.2.2.

# ethtool -i enp63s0u1u2
driver: r8152
version: v1.09.9
firmware-version:
expansion-rom-version:
bus-info: usb-0000:3f:00.0-1.2
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

# ethtool enp63s0u1u2
Settings for enp63s0u1u2:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00007fff (32767)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
Link detected: no
Comment by Chih-Hsuan Yen (yan12125) - Thursday, 03 January 2019, 07:36 GMT
The second issue appears to be the same one as  FS#61241 , and a upstream developer gave a possible fix at https://github.com/hughsie/fwupd/pull/911.
Comment by Thom Wiggers (twiggers) - Thursday, 10 January 2019, 19:28 GMT
The second issue is causing the crash; the fix for #61241 solves that.
Comment by Chih-Hsuan Yen (yan12125) - Saturday, 12 January 2019, 18:06 GMT
The first issue (tpm2-tools missing) looks still valid. Upstream has a PKGBUILD with additional optdepends [1] since version 1.2.2. (There's an extra comma, which is fixed later in upstream)

[1] https://github.com/hughsie/fwupd/commit/b56015ed3f1da50256ade8d2c89be097298bd5aa#diff-f54e64756c2a62ce00547ddd1b07bbbf
Comment by Bruno Pagani (ArchangeGabriel) - Saturday, 12 January 2019, 18:34 GMT
I’m on it.

Loading...