fwupd / firmware-lenovo

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

Stuck when rebooting and updating firmware `failed to run update on reboot: expected` [T480s/P14s Gen4 AMD] #434

Closed saikocat closed 6 months ago

saikocat commented 6 months ago

Describe the bug I was attempting to install updates on my 2 machines [T480s/P14s Gen4 AMD], but both of them exhibits the same issue with different updating version. For e.g my P14s Gen4 AMD: Update Error: failed to run update on reboot: expected 0.1.18 and got 0.1.16

Steps to reproduce

After selecting yes for rebooting, the screen was just stuck the LENOVO Logo for 30 minutes. I have to hold down the power button to restart and get back to my OS.

fwupd version information

fwupdmgr --version                                                                                                                                           [0]
compile   com.hughsie.libxmlb           0.3.15
compile   org.freedesktop.Passim        0.1.5
compile   com.hughsie.libjcat           0.2.1
compile   org.freedesktop.fwupd         1.9.15
runtime   org.freedesktop.fwupd-efi     1.5
compile   org.freedesktop.gusb          0.4.8
runtime   org.freedesktop.Passim        0.1.5
runtime   org.freedesktop.gusb          0.4.8
runtime   com.hughsie.libjcat           0.2.1
runtime   org.kernel                    6.8.1-arch1-1
runtime   org.freedesktop.fwupd         1.9.15

Installed using pacman

Output of fwupdmgr get-history

─System Firmware:
  │   Device ID:          f95c9218acd12697af946874bfe4239587209232
  │   Previous version:   0.1.16
  │   Update State:       Failed
  │   Update Error:       failed to run update on reboot: expected 0.1.18 and got 0.1.16
  │   Last modified:      2024-03-23 04:32
  │   GUID:               18cced7e-d108-41c4-9189-b0355c41450d
  │   Device Flags:       • Internal device
  │                       • Updatable
  │                       • System requires external power source
  │                       • Supported on remote server
  │                       • Needs a reboot after installation
  │                       • Cryptographic hash verification is available
  │                       • Device is usable for the duration of the update
  │ 
  └─ThinkPad T14/P14s Gen 4 T16/P16s Gen 2 AMD System Update:
        New version:      0.1.18
        Remote ID:        lvfs
        Release ID:       81520
        Summary:          Lenovo ThinkPad T14/P14s Gen 4 T16/P16s Gen 2 AMD System Firmware
        License:          Proprietary
        Size:             68.3 MB
        Created:          2021-07-13
        Urgency:          High
        Vendor:           Lenovo

Boot tree / systemd-boot

$ tree /boot/
/boot/
├── amd-ucode.img
├── EFI
│   ├── arch
│   │   ├── fw
│   │   └── fwupdx64.efi
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   ├── Linux
│   └── systemd
│       └── systemd-bootx64.efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── loader
│   ├── entries
│   │   └── arch.conf
│   ├── entries.srel
│   ├── loader.conf
│   └── random-seed
└── vmlinuz-linux

Additional questions

saikocat commented 6 months ago

Fixed upstream w latest gnu-efi