fwupd / firmware-lenovo

Missing firmware for Lenovo Thinkpad hardware
119 stars 4 forks source link

fwupd does not install anything on Fedora 32 #55

Closed xvitaly closed 4 years ago

xvitaly commented 4 years ago

Describe the bug Fwupd does not install anything. It found updates for my ThinkPad T480 (Intel ME update and UEFI BIOS firmware update) and requested a reboot.

After rebooting, I see only the message "Adding update capsule", then system hangs for 2-3 minutes and reboots again. No updates have been installed.

After booting back to Fedora fwupd will find these updates again and again.

Log:

$ fwupdmgr update 
• Thunderbolt Controller has the latest available firmware version
• Embedded Controller has the latest available firmware version
Upgrade available for Intel Management Engine from 184.70.3626 to 184.77.3664
20L50007RT must remain plugged into a power source for the duration of the update to avoid damage. Continue with update? [Y|n]: y
Downloading 184.77.3664 for Intel Management Engine...
Decompressing…           [***************************************]
Authenticating…          [***************************************]
Updating Intel Management Engine…                                ]
Scheduling…              [***************************************]
Successfully installed firmware
• SAMSUNG MZVLW256HEHP-000L7 has no available firmware updates
Upgrade available for System Firmware from 0.1.31 to 0.1.33
20L50007RT must remain plugged into a power source for the duration of the update to avoid damage. Continue with update? [Y|n]: y
Downloading 0.1.33 for System Firmware...
Decompressing…           [***************************************]
Authenticating…          [***************************************]
Updating System Firmware…[          |                            ]
Scheduling…              [***************************************]
Successfully installed firmware: TPM PCR0 differs from reconstruction, please see https://github.com/fwupd/fwupd/wiki/TPM-PCR0-differs-from-reconstruction
• UEFI Device Firmware has no available firmware updates
• UEFI Device Firmware has no available firmware updates
• UEFI Device Firmware has no available firmware updates

An update requires a reboot to complete. Restart now? [y|N]:

Steps to Reproduce

  1. fwupdmgr refresh
  2. fwupdmgr update

Expected behavior Successful update.

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

$ fwupdmgr --version
client version: 1.4.4
compile-time dependency versions
        gusb:   0.3.4
        efivar: 37
daemon version: 1.4.4

Please note how you installed it (apt, dnf, pacman, source, etc): dnf.

fwupd device information Please provide the output of the fwupd devices recognized in your system.

$ fwupdmgr get-devices --show-all-devices
20L50007RT
│
├─Thunderbolt Controller:
│     Device ID:           c994c96d4262316c36825e4480dc79e618baa1e7
│     Summary:             Unmatched performance for high-speed I/O
│     Current version:     20.00
│     Vendor:              Lenovo (TBT:0x0109)
│     GUIDs:               fe328c2d-5300-597b-a21d-991116db8ab6
│                          15a5ae1d-0ec9-5013-9221-cd6dd753fcb0
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Device stages updates
│   
├─Embedded Controller:
│     Device ID:           c19580db344e418cf2b23297bcf46d75c06e432a
│     Current version:     0.1.20
│     Minimum Version:     0.1.20
│     Vendor:              DMI:LENOVO
│     GUID:                b87a926d-189c-49a1-b1ff-921099b1de89
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─Intel Management Engine:
│     Device ID:           ea0fd60df22477668e549841f6a22a8c31cae587
│     Current version:     184.70.3626
│     Minimum Version:     184.70.3626
│     Vendor:              DMI:LENOVO
│     Update State:        success
│     GUID:                9e21f98b-fe98-455c-b388-da5450ab6979
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─Intel(R) Core™ i7-8550U CPU @ 1.80GHz:
│     Device ID:           4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│     Current version:     0xca
│     Vendor:              GenuineIntel
│     GUID:                b9a2dd81-159e-5537-a7db-e7101d164d3f
│     Device Flags:        • Internal device
│   
├─SAMSUNG MZVLW256HEHP-000L7:
│     Device ID:           f2759da7fe8e0388c5f3601cb072f837b1070b03
│     Summary:             NVM Express Solid State Drive
│     Current version:     5L7QCXB7
│     Vendor:              Samsung Electronics Co Ltd (NVME:0x144D)
│     GUIDs:               f87b9ac8-1cb3-5c0a-ae57-7144f211fe5e
│                          5b3df2da-f745-5fd0-81de-5dafd7f0bf8c
│                          257d6faa-82f3-53e2-afa4-f6b9adc9595d
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─System Firmware:
│     Device ID:           fbd9cb1d5f83a7d298e0d552c60f11ab5f7301fd
│     Current version:     0.1.31
│     Minimum Version:     0.0.1
│     Vendor:              LENOVO (DMI:LENOVO)
│     Update State:        success
│     Update Message:      TPM PCR0 differs from reconstruction, please see https://github.com/fwupd/fwupd/wiki/TPM-PCR0-differs-from-reconstruction
│     GUID:                5d30ad91-8236-4c40-8249-ff61b38dae47
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Supported on remote server
│                          • Needs a reboot after installation
│                          • Cryptographic hash verification is available
│                          • Device is usable for the duration of the update
│   
├─TPM:
│ │   Device ID:           c6a80ac3a22083423992a3cb15018989f37834d6
│ │   Current version:     73.4.17568.4452
│ │   Vendor:              ST Microelectronics (TPM:STM)
│ │   GUIDs:               ff71992e-52f7-5eea-94ef-883e56e034c6
│ │                        84df3581-f896-54d2-bd1a-372602f04c32
│ │                        bfaed10a-bbc1-525b-a329-35da2f63e918
│ │                        70b7b833-7e1a-550a-a291-b94a12d0f319
│ │                        06f005e9-cb62-5d1a-82d9-13c534c53c48
│ │   Device Flags:        • Internal device
│ │ 
│ └─Event Log:
│       Device ID:         58bd405f31c48e6eca290b425f530a94c91e955c
│       GUID:              a25657fe-b5dc-5be0-8b78-8b9dfec678ff
│       Device Flags:      • Internal device
│     
├─UEFI Device Firmware:
│     Device ID:           b1825e2b03a9ebdea247a74f1f3ddee2a21ac565
│     Current version:     16909369
│     Minimum Version:     1
│     Vendor:              DMI:LENOVO
│     GUID:                24aac206-3921-45c0-a79e-0a607b11aef0
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:           66793ff4aaca476be9b106af22077b9fe8d0a313
│     Current version:     16909369
│     Minimum Version:     1
│     Vendor:              DMI:LENOVO
│     GUID:                77e3677e-dcc2-465c-b2a0-6c37aa6ba300
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:           8e6d0ecd7a9737ba818ed0a90fb863aaa9af5a3c
│     Current version:     4784132
│     Minimum Version:     4784132
│     Vendor:              DMI:LENOVO
│     GUID:                e0049080-09bd-473a-a02c-19aa0c8dad78
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
└─UHD Graphics 620:
      Device ID:           bbbf1ce3d1cf15550c3760b354592040292415bb
      Current version:     07
      Vendor:              Intel Corporation (PCI:0x8086)
      GUIDs:               fed2efa4-7045-55a1-b4fc-b29283d59fe5
                           8b72a10c-1279-5f8e-a28a-34fb11a58240
      Device Flags:        • Internal device
                           • Cryptographic hash verification is available

System UEFI configuration Please provide the output of the following commands:

$ efibootmgr -v
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0017,0018,0019,001A,001B,001C,001D,001E,001F,0001
Boot0000* Fedora    HD(1,GPT,185d3e7c-f253-4004-85e9-eeb66fa23ca8,0x800,0x64000)/File(\EFI\fedora\shimx64.efi)
Boot0001* Linux-Firmware-Updater    HD(1,GPT,185d3e7c-f253-4004-85e9-eeb66fa23ca8,0x800,0x64000)/File(\EFI\fedora\fwupdx64.efi)
Boot0010  Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012  Diagnostic Splash Screen  FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013  Lenovo Diagnostics    FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014  Startup Interrupt Menu    FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015  Rescue and Recovery   FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016  MEBx Hot Key  FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* USB CD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018* USB FDD   VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001A* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001B* ATA HDD0  VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot001C* USB HDD   VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001D* PCI LAN   VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001E  Other CD  VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot001F  Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0020* USBR BOOT CDROM   PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot0021* USBR BOOT Floppy  PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot0022* ATA HDD   VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0023* ATAPI CD  VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
$ efivar -l | grep fw
0abba7dc-e516-4167-bbf5-4d9d1c739416-fwupd-5d30ad91-8236-4c40-8249-ff61b38dae47-0
0abba7dc-e516-4167-bbf5-4d9d1c739416-fwupd-ux-capsule
0abba7dc-e516-4167-bbf5-4d9d1c739416-fwupd-9e21f98b-fe98-455c-b388-da5450ab6979-0
$ tree /boot
/boot
├── config-5.6.14-300.fc32.x86_64
├── config-5.6.16-300.fc32.x86_64
├── efi
│   ├── EFI
│   │   ├── BOOT
│   │   │   ├── BOOTIA32.EFI
│   │   │   ├── BOOTX64.EFI
│   │   │   ├── fbia32.efi
│   │   │   └── fbx64.efi
│   │   └── fedora
│   │       ├── BOOTIA32.CSV
│   │       ├── BOOTX64.CSV
│   │       ├── fonts
│   │       │   └── unicode.pf2
│   │       ├── fw
│   │       │   ├── fwupd-3b8c8162-188c-46a4-aec9-be43f1d65697.cap
│   │       │   ├── fwupd-5d30ad91-8236-4c40-8249-ff61b38dae47.cap
│   │       │   └── fwupd-9e21f98b-fe98-455c-b388-da5450ab6979.cap
│   │       ├── fwupdx64.efi
│   │       ├── gcdx64.efi
│   │       ├── grub.cfg
│   │       ├── grub.cfg.rpmsave
│   │       ├── grubenv
│   │       ├── grubx64.efi
│   │       ├── mmia32.efi
│   │       ├── mmx64.efi
│   │       ├── shim.efi
│   │       ├── shimia32.efi
│   │       ├── shimia32-fedora.efi
│   │       ├── shimx64.efi
│   │       └── shimx64-fedora.efi
│   ├── mach_kernel
│   ├── System
│   │   └── Library
│   │       └── CoreServices
│   │           └── SystemVersion.plist
│   └── System Volume Information
│       ├── AadRecoveryPasswordDelete
│       └── ClientRecoveryPasswordRotation
├── grub2
│   ├── grubenv -> ../efi/EFI/fedora/grubenv
│   └── themes
│       └── system
│           ├── background.png
│           └── fireworks.png
├── initramfs-0-rescue-d81e28cb17d24c1e9176a83c32f34d23.img
├── initramfs-5.6.14-300.fc32.x86_64.img
├── initramfs-5.6.16-300.fc32.x86_64.img
├── loader
│   └── entries
│       ├── d81e28cb17d24c1e9176a83c32f34d23-0-rescue.conf
│       ├── d81e28cb17d24c1e9176a83c32f34d23-5.6.14-300.fc32.x86_64.conf
│       └── d81e28cb17d24c1e9176a83c32f34d23-5.6.16-300.fc32.x86_64.conf
├── lost+found
├── System.map-5.6.14-300.fc32.x86_64
├── System.map-5.6.16-300.fc32.x86_64
├── vmlinuz-0-rescue-d81e28cb17d24c1e9176a83c32f34d23
├── vmlinuz-5.6.14-300.fc32.x86_64
└── vmlinuz-5.6.16-300.fc32.x86_64

18 directories, 41 files

Additional questions

johannbg commented 4 years ago

Same issue for Lenovo ThinkPad X1 Carbon 6th on F30 when trying to upgrade to 184.77.3664 ( seems to be the same update as well ) except I see the Lenovo Logo and installing firmware for a second before it drops out and reboots so presumably the firmware update itself is b0rked... Fedora 30 FWUP version 1.2.12

johannbg commented 4 years ago

@hughsie at quick glance issues #53 #54 #55 #56 #57 #58 and probably more are all duplicates are you sure that the update itself ( 184.77.3664 ) is not broken and dont you want to merge all these issues to one? ( from my pov this is already getting out of hand, the team will end up spending more time going through the backlog responding/closing duplicates than doing meaningful work + duplicates can overshadow other issues)

hughsie commented 4 years ago

Deduping with https://github.com/fwupd/firmware-lenovo-thinkpad/issues/56 as it has more debugging there.