fwupd / fwupd

A system daemon to allow session software to update firmware
GNU Lesser General Public License v2.1
2.89k stars 433 forks source link

Several error prints on get-devices #7402

Closed CragW closed 1 month ago

CragW commented 3 months ago

Describe the bug Run fwupdtool get-devices, seeing a bunch of error messages at the top.

Error message that has been tracking in #7376:

14:59:24.472 FuEngine no GUIDs for device AUX A/DDI A/PHY A [7c2dd454e6f29453896a4824e8234317d237f8c5]

Error message that has been tracking in #7377:

14:59:24.783 FuPluginIntelMe failed to get public key using file-id 0x40002300: generic failure [0xb]

New error, likely thunderbolt retimer requires a default unsigned flag:

14:59:24.492 FuEngine thunderbolt [16d35c510618116e7899ae45e62605572872e713] does not declare signed/unsigned payload -- perhaps add fu_device_add_flag(device, FWUPD_DEVICE_FLAG_UNSIGNED_PAYLOAD);

New errors, likely meter lake related: 1

14:59:24.710 FuUdevDevice Meteor Lake-P Serial IO I2C Controller [6cbdb3bced1db1ff556b5aa303f7d88410e1f6c9] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE

2

14:59:24.717 FuUdevDevice Meteor Lake-P Serial IO I2C Controller [b7a9095c55d5e5fde72e6474656c4d1b1ac23bb4] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE

3

14:59:24.723 FuUdevDevice Communication controller [5fed1486be004d67ea79838d2e83aaa11bb72645] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE

4

14:59:24.792 FuUdevDevice Meteor Lake-P Serial IO SPI Controller [5c6cdb64edfe08e8511d7120de20486d25dac1c4] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE

5

14:59:24.796 FuUdevDevice Bridge [5ca35f261be27f4d2786162a4e2dd1494697e678] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE

6

14:59:24.799 FuUdevDevice Meteor Lake-P SPI Controller [321e1276dd9bd3e6641d9ba3878d575b2074ef9e] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE

Steps to Reproduce

$ build-fwupd
$ fwupdtool get-devices

Expected behavior No error messages

fwupd version information Please provide the version of the daemon and client.

$ fwupdtool --version
Loading…                 [************************************** ]
WARNING: This package has not been validated, it may not work properly.
compile   org.freedesktop.fwupd         2.0.0
compile   com.hughsie.libxmlb           0.3.18
compile   com.hughsie.libjcat           0.2.0
runtime   org.freedesktop.fwupd-efi     1.4
compile   org.freedesktop.gusb          0.4.8
runtime   com.hughsie.libxmlb           0.3.x
runtime   com.hughsie.libjcat           0.2.0
runtime   org.freedesktop.gusb          0.4.8
runtime   org.freedesktop.fwupd         2.0.0
runtime   org.kernel                    6.8.0-36-generic

Please note how you installed it (apt, dnf, pacman, source, etc): source, at git-8963b3de4c9.

**fwupd device information** Please provide the output of the fwupd devices recognized in your system. ```shell $ fwupdtool get-devices --show-all-devices Loading… [**************** ]15:13:03.318 FuEngine no GUIDs for device AUX A/DDI A/PHY A [7c2dd454e6f29453896a4824e8234317d237f8c5] Loading… [***************** ]15:13:03.339 FuEngine thunderbolt [16d35c510618116e7899ae45e62605572872e713] does not declare signed/unsigned payload -- perhaps add fu_device_add_flag(device, FWUPD_DEVICE_FLAG_UNSIGNED_PAYLOAD); Loading… [******************** ]15:13:03.557 FuUdevDevice Meteor Lake-P Serial IO I2C Controller [6cbdb3bced1db1ff556b5aa303f7d88410e1f6c9] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE Loading… [******************** ]15:13:03.563 FuUdevDevice Meteor Lake-P Serial IO I2C Controller [b7a9095c55d5e5fde72e6474656c4d1b1ac23bb4] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE 15:13:03.568 FuUdevDevice Communication controller [5fed1486be004d67ea79838d2e83aaa11bb72645] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE Loading… [********************* ]15:13:03.628 FuPluginIntelMe failed to get public key using file-id 0x40002300: generic failure [0xb] Loading… [********************* ]15:13:03.638 FuUdevDevice Meteor Lake-P Serial IO SPI Controller [5c6cdb64edfe08e8511d7120de20486d25dac1c4] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE 15:13:03.640 FuUdevDevice Bridge [5ca35f261be27f4d2786162a4e2dd1494697e678] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE Loading… [********************** ]15:13:03.643 FuUdevDevice Meteor Lake-P SPI Controller [321e1276dd9bd3e6641d9ba3878d575b2074ef9e] forgot to call fu_udev_device_add_flag() with OPEN_READ and/or OPEN_WRITE Loading… [************************************** ] WARNING: This package has not been validated, it may not work properly. Dell Inc. Latitude 7350 │ ├─WD22TB4: │ │ Device ID: 2374acb11e255ff04bb5fa7987ae7c72d8d6e191 │ │ Summary: High performance dock │ │ Current version: 01.01.00.07 │ │ Vendor: Dell Inc. (USB:0x413C) │ │ Install Duration: 1 minute │ │ Serial Number: 6R2X0L3/3107576664195875 │ │ GUID: cd357cf1-40b2-5d87-b8df-bb2dd82774aa ← USB\VID_413C&PID_B06E&hub&embedded │ │ Device Flags: • Updatable │ │ • Device stages updates │ │ • Device can recover flash failures │ │ • Device is usable for the duration of the update │ │ • Signed Payload │ │ │ ├─Package level of Dell dock: │ │ Device ID: 4f132bcf28f75bc13ecca0b1fa310481a5e792c5 │ │ Summary: A representation of dock update status │ │ Current version: 01.00.36.00 │ │ Vendor: Dell Inc. (USB:0x413C) │ │ Install Duration: 5 seconds │ │ GUIDs: d8927ff5-a5b2-5618-848b-8e8bfb75b66f │ │ 8ceeeffd-51b6-580c-9b75-69143227aff8 ← USB\VID_413C&PID_B06E&hub&status │ │ Device Flags: • Updatable │ │ • Device can recover flash failures │ │ • Device is usable for the duration of the update │ │ • Unsigned Payload │ │ │ ├─RTS5413 in Dell dock: │ │ Device ID: 71b8f7728d4d4e1f1844c76c5f71f635a14cdb08 │ │ Summary: USB 3.1 Generation 1 Hub │ │ Current version: 01.22 │ │ Vendor: Dell Inc. (USB:0x413C) │ │ Install Duration: 14 seconds │ │ GUIDs: b27d25f1-019d-5718-b41a-02ddaefe5577 ← USB\VID_413C&PID_B06F │ │ ac5b774c-b49d-566b-9255-85f0f7f8a4ed ← USB\VID_413C&PID_B06F&hub │ │ Device Flags: • Updatable │ │ • Device stages updates │ │ • Device is usable for the duration of the update │ │ • Signed Payload │ │ │ ├─RTS5487 in Dell dock: │ │ Device ID: 25b0943c0c4cf80f6b2e9dd56dc70ef516c9924c │ │ Summary: USB 3.1 Generation 2 Hub │ │ Current version: 01.57 │ │ Vendor: Dell Inc. (USB:0x413C) │ │ Install Duration: 3 seconds │ │ GUIDs: acfcd89b-105d-55b9-b85b-08bf8508f38c ← USB\VID_413C&PID_B06E │ │ 568ffa1e-a0db-5287-9ea3-872b60f7730b ← USB\VID_413C&PID_B06E&hub │ │ Device Flags: • Updatable │ │ • Device stages updates │ │ • Device is usable for the duration of the update │ │ • Signed Payload │ │ │ ├─VMM5331 in Dell dock: │ │ Device ID: 84d3c30dec8fab61423826ba7b9ca583a8296895 │ │ Summary: Multi Stream Transport controller │ │ Current version: 05.07.04 │ │ Vendor: Dell Inc. (USB:0x413C) │ │ Install Duration: 6 minutes │ │ GUID: 89fec0b6-6b76-5008-b82c-5e5c6c164007 ← MST-panamera-vmm5331-259 │ │ Device Flags: • Updatable │ │ • Device stages updates │ │ • Device is usable for the duration of the update │ │ • Unsigned Payload │ │ │ └─USB4 controller in Dell dock: │ Device ID: 7c5b6dadf8126e3820c86cb56d9e1777084a98a8 │ Summary: USB4 controller │ Current version: 41.81 │ Vendor: Dell Inc. (USB:0x8087, TBT:0x00D4) │ Install Duration: 46 seconds │ GUID: bd79ce60-525b-5f39-a3f6-c98c495039ff ← TBT-00d4b071 │ Device Flags: • Updatable │ • Device stages updates │ • Device is usable for the duration of the update │ • Signed Payload │ ├─Unknown Device: │ Device ID: a68c39791960b3933e30fa803e3ad3bb813e8850 │ GUID: e4d9b4f9-ae47-5fe3-9ef0-a27b093b8553 ← GPIO\ID_INTC1083:00 │ ├─BC901 NVMe SK hynix 512GB: │ Device ID: 71b677ca0f1bc2c5b804fa1d59e52064ce589293 │ Summary: NVM Express solid state drive │ Current version: 51005151 │ Vendor: SK hynix (NVME:0x1C5C) │ Serial Number: 4YC5N014810305A0T │ GUIDs: e843baa5-1ac3-58ef-a1d5-da7c169d7a70 ← STORAGE-DELL-111426 │ e16555f6-3161-11ec-8d3d-0242ac130003 │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Device is usable for the duration of the update │ • Signed Payload │ ├─CoreTM Ultra 7 165U: │ Device ID: 4bde70ba4e39b28f9eab1628f9dd6e6244c03027 │ Current version: 0x0000001c │ Vendor: Intel │ GUIDs: e38fa480-0c3d-5240-be48-b590e507eed9 ← CPUID\PRO_0&FAM_06&MOD_AA │ 189c1794-cc75-56bd-b1f7-8f4af3aa3f82 ← CPUID\PRO_0&FAM_06&MOD_AA&STP_4 │ Device Flags: • Internal device │ ├─Internal SPI Controller: │ Device ID: 78bee22d775d81748f1c74c8af148c1f6237a845 │ Summary: Memory Technology Device │ Vendor: DMI:Dell Inc. │ GUIDs: af783c5c-0390-55a5-ac35-7a6c43c6dbec ← MTD\NAME_BIOS │ 9075b214-df4f-5c9a-8a1f-569d8e7b39c9 ← MTD\VENDOR_Dell-Inc.&NAME_BIOS │ 8d08474f-b5f9-5fce-a1a5-64bc154e032a ← MTD\VENDOR_Dell-Inc.&PRODUCT_Latitude-7350&NAME_BIOS │ Device Flags: • Internal device │ • Needs a reboot after installation │ • Cryptographic hash verification is available │ ├─Meteor Lake-P [Intel Graphics]: │ Device ID: 5792b48846ce271fab11c4a545f7a3df0d36e00a │ Current version: 08 │ Vendor: Intel Corporation (PCI:0x8086) │ GUIDs: 9922fd5e-1672-5a7c-bdc2-3a1e2a04025e ← PCI\VEN_8086&DEV_7D45 │ a55f070a-2ba4-5aea-b68b-241ab3e09c2a ← PCI\VEN_8086&DEV_7D45&SUBSYS_10280CBE │ Device Flags: • Internal device │ • Cryptographic hash verification is available │ ├─System Firmware: │ │ Device ID: da09124945f291ef6e9e9a50ef324a067716a70a │ │ Summary: UEFI System Resource Table device (updated via NVRAM) │ │ Current version: 66304 │ │ Vendor: Dell Inc. (DMI:Dell Inc.) │ │ Update State: Success │ │ GUID: d42287a8-51f4-4b9a-8f7c-bd2c6d25d7a7 │ │ Device Flags: • Internal device │ │ • Updatable │ │ • System requires external power source │ │ • Needs a reboot after installation │ │ • Cryptographic hash verification is available │ │ • Device is usable for the duration of the update │ │ Device Requests: • Message │ │ │ ├─AMT [unprovisioned]: │ │ Device ID: 8d5470e73fd9a31eaa460b2b6aea95483fe3f14c │ │ Summary: Hardware and firmware technology for remote out-of-band management │ │ Current version: 18.0.5.2141 │ │ Bootloader Version: 18.0.5.2141 │ │ Vendor: Intel Corporation (MEI:0x8086) │ │ GUIDs: 12f80028-b4b7-4b2d-aca8-46e0ff65814c │ │ 1ccb36c3-6cdc-5bbc-9fc7-e9e2cb977ce4 ← MEI\VEN_8086&DEV_7E70 │ │ b76da8a5-923a-5cb4-ab1d-c02f26a536be ← MEI\VEN_8086&DEV_7E70&SUBSYS_10280CBE │ │ Device Flags: • Internal device │ │ │ ├─BootGuard Configuration: │ │ Device ID: b0d4430dfa6bde9f0c22680df36dbc8c15c80753 │ │ Current version: 20 │ │ Vendor: Intel Corporation (MEI:0x8086) │ │ GUIDs: dd17041c-09ea-4b17-a271-5b989867ec65 │ │ 1ccb36c3-6cdc-5bbc-9fc7-e9e2cb977ce4 ← MEI\VEN_8086&DEV_7E70 │ │ b76da8a5-923a-5cb4-ab1d-c02f26a536be ← MEI\VEN_8086&DEV_7E70&SUBSYS_10280CBE │ │ Device Flags: • Internal device │ │ │ └─UEFI dbx: │ Device ID: 362301da643102b9f38477387e2193e57abaa590 │ Summary: UEFI revocation database │ Current version: 423 │ Minimum Version: 423 │ Vendor: UEFI:Linux Foundation │ Install Duration: 1 second │ GUIDs: 4a6cd2cb-8741-5257-9d1f-89a275dacca7 ← UEFI\CRT_E28D59CA489BD2AD580F2EA5D62D6A29BB9C02AE5A818434A37DA7FC11DFF9E9&ARCH_X64 │ f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64 │ Device Flags: • Internal device │ • Updatable │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Only version upgrades are allowed │ • Signed Payload │ ├─TPM: │ Device ID: c6a80ac3a22083423992a3cb15018989f37834d6 │ Current version: 1.769.0.0 │ Vendor: ST Microelectronics (TPM:STM) │ GUIDs: 3680fbf1-593f-586f-91ac-c528b37e8373 ← TPM\VEN_STM&DEV_0000 │ df479455-9790-58c9-b22a-bce5bc9eb149 ← TPM\VEN_STM&MOD_ST33TPHF2XSPI │ 8d0b4adc-a42f-59eb-9df8-665923afa086 ← TPM\VEN_STM&DEV_0000&VER_2.0 │ d565c809-9cf5-51c1-9ab7-d66b9d70ffbd ← TPM\VEN_STM&MOD_ST33TPHF2XSPI&VER_2.0 │ 4e4dc7f6-cbef-5034-9492-8988a6da0284 ← 0cbe-2.0 │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Needs a reboot after installation │ • Device can recover flash failures │ • Full disk encryption secrets may be invalidated when updating │ • Signed Payload │ ├─UEFI Device Firmware: │ Device ID: 62eaeac7e8b975f47f5e95f824a40c1914a84dab │ Summary: UEFI System Resource Table device (updated via NVRAM) │ Current version: 1358975313 │ Minimum Version: 1358975313 │ Vendor: DMI:Dell Inc. │ Update State: Success │ GUID: e16555f6-3161-11ec-8d3d-0242ac130003 │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ Device Requests: • Message │ ├─UEFI Platform Key: │ Device ID: 6924110cde4fa051bfdc600a60620dc7aa9d3c6a │ Summary: Dell Inc. Platform Key │ Vendor: Dell Inc. │ GUID: 5f7cc4ea-9f7a-5c5f-b535-dfbcc73f5ba6 ← UEFI\CRT_2493B118EABD632FD3BA49C333A8329B1982E872 │ ├─USB4 Retimer: │ Device ID: 16d35c510618116e7899ae45e62605572872e713 │ Summary: A physical layer protocol-aware, software-transparent extension device that forms two separate electrical link segments │ Current version: 23.81 │ Vendor: Intel (THUNDERBOLT:0x8087) │ GUIDs: 74fb1b87-53e6-5115-bd02-a9fefd06ed9a ← THUNDERBOLT\VEN_8087&DEV_0D9C │ dac6f95d-7c5b-52b5-8c79-a0436a5ef784 ← TBT-80870d9c-retimer0-0:1.1 │ Device Flags: • Internal device │ • Updatable │ • Device stages updates │ ├─Unifying Receiver: │ Device ID: 2a00cc81fbe939006a9132911cc58b6f38960326 │ Summary: Miniaturised USB wireless receiver │ Current version: RQR12.11_B0032 │ Bootloader Version: BOT01.04_B0016 │ Vendor: Logitech, Inc. (HIDRAW:0x046D, USB:0x046D) │ Install Duration: 30 seconds │ GUID: 279ed287-3607-549e-bacc-f873bb9838c4 ← HIDRAW\VEN_046D&DEV_C52B │ Device Flags: • Updatable │ • Signed Payload │ └─YJ3JK: Device ID: aec1a869eb0df71b7cea6b3ac71d39b830faf164 GUID: 340848af-fb81-553f-a1d4-9b81b5539548 ← DRM\VEN_AUO&DEV_CFA4 Device Flags: • Internal device ```

Additional questions

hughsie commented 2 months ago

@CragW is main branch better now?

CragW commented 2 months ago

Yes, much better now. :)

3 warnings are left with main branch up to this moment:

fwupdtool get-devices
[sudo] password for crabo: 
Loading…                 [****************                       ]
01:03:47.164 FuEngine             failed to add device /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-DP-2/drm_dp_aux2: failed to setup: aux dpcd write failed: failed to write 6 bytes to 19: Input/output error
01:03:47.217 FuEngine             failed to add device /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-eDP-1/drm_dp_aux0: failed to setup: aux dpcd write failed: failed to write 6 bytes to 19: Input/output error
Loading…                 [*********************                  ]
01:03:47.553 FuPluginIntelMe      failed to get public key using file-id 0x40002300: generic failure [0xb]
Loading…                 [************************************** ]
WARNING: This package has not been validated, it may not work properly.
Dell Inc. Latitude 7350
│

main-warnings.txt

hughsie commented 2 months ago

failed to get public key using file-id 0x40002300:

@CragW you need to follow the MEInfo instructions here https://blogs.gnome.org/hughsie/2023/05/09/msi-and-insecure-kms/ -- we need to know how to get the KM on that hardware. i.e. it should be an actual warning.