fwupd / firmware-lenovo

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

Firmware Capsule Is Not Getting Loaded on a Thinkpad T480 #118

Closed kendoori closed 1 year ago

kendoori commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

When I run fwupdmg I am told: "Upgrade available for UEFI Device Firmware." I then apply the update. When I reboot, it looks like the capsule is being loaded. I see this screen, and then it goes to the normal login screen

I keep getting prompted to reapply this update.

Steps to Reproduce Steps to reproduce the behavior.

sudo fwupdmgr update

Upgrade available for UEFI Device Firmware from 184.79.3722 to 184.83.3874 20L50011US must remain plugged into a power source for the duration of the update to avoid damage. Continue with update? [Y|n]

Selection_172

If I respond Yes and reboot, the screen displays "found update, adding new capsule and then boots into the system

PXL_20210514_161706472

Expected behavior A clear and concise description of what you expected to happen.

After applying update, the same update shouldn't be presented again.

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

$ fwupdmgr --version

client version: 1.3.11 compile-time dependency versions gusb: 0.3.4 efivar: 37 daemon version: 1.3.11

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

apt

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

$ fwupdmgr get-devices --show-all-devices

fwupdmgr get-devices --show-all-devices 20L50011US │ ├─Thunderbolt Controller: │ Device ID: 36cf863540d97a0506a091d24cf4f1c5d848183e │ Summary: Unmatched performance for high-speed I/O │ Current version: 20.00 │ Vendor: Lenovo (TBT:0x0109) │ GUIDs: 7d131734-64ed-5865-a46e-a67cfb9b5a46 │ e45313fd-8d5c-54e9-b175-1f15ffe6b05c │ Device Flags: • Internal device │ • Updatable │ • Requires AC power │ • Device stages updates │ ├─Intel AMT [unprovisioned]: │ Device ID: e2623122c99d58220498aacbfcfdb1baebbae3c5 │ Summary: Hardware and firmware technology for remote out-of-band management │ Current version: 11.8.83.3874 │ Bootloader Version: 11.8.83.3874 │ Vendor: Intel Corporation │ GUID: 2800f812-b7b4-2d4b-aca8-46e0ff65814c │ Device Flags: • Internal device │ ├─SanDisk SDSSDXPS960G: │ Device ID: 64ec4cd1e1c9565e79b00f4e7221b1c689b33e96 │ Summary: ATA Drive │ Current version: X212T0RL │ GUIDs: 22be2cc6-990f-583a-98d3-f89e332bcb93 │ bc497ac3-efa7-5d3a-98ca-7777bb59fad1 │ a511a2d6-df8d-5291-90cc-49dc6ab6fe76 │ 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: 48477ba14bd9bd0c97323a07caa54b7766f917c2 │ Current version: 0.1.36 │ Minimum Version: 0.0.1 │ Vendor: LENOVO (DMI:LENOVO) │ GUID: dc7f0308-1ef8-4774-9ba5-89a58c4d731c │ 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: 7.63.13.6400 │ │ Vendor: Infineon (TPM:IFX) │ │ GUIDs: ff71992e-52f7-5eea-94ef-883e56e034c6 │ │ 5eebb112-75ad-5536-b173-a11eb3399402 │ │ ddf995da-1b32-5a8a-bc1b-8d5af4b38b51 │ │ 6d81ab63-db2e-50ac-934f-6be9accf5e02 │ │ 301555de-680d-5ddc-b995-7553fc9138f1 │ │ Device Flags: • Internal device │ │ │ └─Event Log: │ Device ID: 58bd405f31c48e6eca290b425f530a94c91e955c │ Vendor: Infineon (TPM:IFX) │ GUID: a25657fe-b5dc-5be0-8b78-8b9dfec678ff │ Device Flags: • Internal device │ ├─UEFI Device Firmware: │ Device ID: 5decfff65e3391259bca4003a090e59bf50e3bea │ Current version: 184.79.3722 │ Minimum Version: 184.79.3722 │ Vendor: DMI:LENOVO │ Update State: success │ GUID: dd31d983-cf3b-4c84-acc9-70caa94e827b │ 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 │ ├─UEFI Device Firmware: │ Device ID: c19580db344e418cf2b23297bcf46d75c06e432a │ Current version: 0.1.21 │ Minimum Version: 0.1.21 │ 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 │ ├─UEFI Device Firmware: │ Device ID: b1825e2b03a9ebdea247a74f1f3ddee2a21ac565 │ Current version: 1.3.1084 │ Minimum Version: 0.0.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: a567cff02396e1038d53d7433ef3dbcd9558aebe │ Current version: 1.1.5 │ Minimum Version: 0.0.1 │ Vendor: DMI:LENOVO │ GUID: d4583ddb-bf0a-4801-aefd-951930545cb9 │ 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: 0002 Timeout: 0 seconds BootOrder: 0017,0019,001A,0018,0002,001D,001E,001F,001B,0000,0004,001C,0024,0001 Boot0000 Windows Boot Manager HD(1,GPT,cb2f4f3a-6d5d-41d7-bc0b-6a6b0c7dc6b2,0x1000,0xf8fff)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}.................... Boot0001* Linux-Firmware-Updater HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\ubuntu\fwupdx64.efi) Boot0002* ubuntu HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi) Boot0004 ubuntu HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\ubuntu\shimx64.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) Boot0024* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)

$ efivar -l | grep fw

0abba7dc-e516-4167-bbf5-4d9d1c739416-fwupd-dd31d983-cf3b-4c84-acc9-70caa94e827b-0

$ tree /boot

/boot ├── config-5.4.0-26-generic ├── config-5.4.0-73-generic ├── config-5.4.0-73-lowlatency ├── config-5.8.0-50-generic ├── config-5.8.0-50-lowlatency ├── config-5.8.0-53-lowlatency ├── efi │   └── EFI │   ├── BOOT │   │   ├── bkpbootx64.efi │   │   ├── bootx64.efi │   │   ├── fbx64.efi │   │   ├── grubx64.efi │   │   └── mmx64.efi │   └── ubuntu │   ├── BOOTX64.CSV │   ├── fw │   │   └── fwupd-dd31d983-cf3b-4c84-acc9-70caa94e827b.cap │   ├── fwupdx64.efi │   ├── grub.cfg │   ├── grubx64.efi │   ├── mmx64.efi │   └── shimx64.efi ├── grub │   ├── fonts │   │   └── unicode.pf2 │   ├── gfxblacklist.txt │   ├── grub.cfg │   ├── grubenv │   ├── unicode.pf2 │   └── x86_64-efi │   ├── acpi.mod │   ├── adler32.mod │   ├── affs.mod │   ├── afs.mod │   ├── ahci.mod │   ├── all_video.mod │   ├── aout.mod │   ├── appleldr.mod │   ├── archelp.mod │   ├── ata.mod │   ├── at_keyboard.mod │   ├── backtrace.mod │   ├── bfs.mod │   ├── bitmap.mod │   ├── bitmap_scale.mod │   ├── blocklist.mod │   ├── boot.mod │   ├── bsd.mod │   ├── bswap_test.mod │   ├── btrfs.mod │   ├── bufio.mod │   ├── cat.mod │   ├── cbfs.mod │   ├── cbls.mod │   ├── cbmemc.mod │   ├── cbtable.mod │   ├── cbtime.mod │   ├── chain.mod │   ├── cmdline_cat_test.mod │   ├── cmp.mod │   ├── cmp_test.mod │   ├── command.lst │   ├── configfile.mod │   ├── core.efi │   ├── cpio_be.mod │   ├── cpio.mod │   ├── cpuid.mod │   ├── crc64.mod │   ├── cryptodisk.mod │   ├── crypto.lst │   ├── crypto.mod │   ├── cs5536.mod │   ├── ctz_test.mod │   ├── datehook.mod │   ├── date.mod │   ├── datetime.mod │   ├── diskfilter.mod │   ├── disk.mod │   ├── div.mod │   ├── div_test.mod │   ├── dm_nv.mod │   ├── echo.mod │   ├── efifwsetup.mod │   ├── efi_gop.mod │   ├── efinet.mod │   ├── efi_uga.mod │   ├── ehci.mod │   ├── elf.mod │   ├── eval.mod │   ├── exfat.mod │   ├── exfctest.mod │   ├── ext2.mod │   ├── extcmd.mod │   ├── f2fs.mod │   ├── fat.mod │   ├── file.mod │   ├── fixvideo.mod │   ├── font.mod │   ├── fshelp.mod │   ├── fs.lst │   ├── functional_test.mod │   ├── gcry_arcfour.mod │   ├── gcry_blowfish.mod │   ├── gcry_camellia.mod │   ├── gcry_cast5.mod │   ├── gcry_crc.mod │   ├── gcry_des.mod │   ├── gcry_dsa.mod │   ├── gcry_idea.mod │   ├── gcry_md4.mod │   ├── gcry_md5.mod │   ├── gcry_rfc2268.mod │   ├── gcry_rijndael.mod │   ├── gcry_rmd160.mod │   ├── gcry_rsa.mod │   ├── gcry_seed.mod │   ├── gcry_serpent.mod │   ├── gcry_sha1.mod │   ├── gcry_sha256.mod │   ├── gcry_sha512.mod │   ├── gcry_tiger.mod │   ├── gcry_twofish.mod │   ├── gcry_whirlpool.mod │   ├── geli.mod │   ├── gettext.mod │   ├── gfxmenu.mod │   ├── gfxterm_background.mod │   ├── gfxterm_menu.mod │   ├── gfxterm.mod │   ├── gptsync.mod │   ├── grub.efi │   ├── gzio.mod │   ├── halt.mod │   ├── hashsum.mod │   ├── hdparm.mod │   ├── hello.mod │   ├── help.mod │   ├── hexdump.mod │   ├── hfs.mod │   ├── hfspluscomp.mod │   ├── hfsplus.mod │   ├── http.mod │   ├── iorw.mod │   ├── iso9660.mod │   ├── jfs.mod │   ├── jpeg.mod │   ├── keylayouts.mod │   ├── keystatus.mod │   ├── ldm.mod │   ├── legacycfg.mod │   ├── legacy_password_test.mod │   ├── linux16.mod │   ├── linuxefi.mod │   ├── linux.mod │   ├── loadbios.mod │   ├── load.cfg │   ├── loadenv.mod │   ├── loopback.mod │   ├── lsacpi.mod │   ├── lsefimmap.mod │   ├── lsefi.mod │   ├── lsefisystab.mod │   ├── lsmmap.mod │   ├── ls.mod │   ├── lspci.mod │   ├── lssal.mod │   ├── luks.mod │   ├── lvm.mod │   ├── lzopio.mod │   ├── macbless.mod │   ├── macho.mod │   ├── mdraid09_be.mod │   ├── mdraid09.mod │   ├── mdraid1x.mod │   ├── memdisk.mod │   ├── memrw.mod │   ├── minicmd.mod │   ├── minix2_be.mod │   ├── minix2.mod │   ├── minix3_be.mod │   ├── minix3.mod │   ├── minix_be.mod │   ├── minix.mod │   ├── mmap.mod │   ├── moddep.lst │   ├── modinfo.sh │   ├── morse.mod │   ├── mpi.mod │   ├── msdospart.mod │   ├── mul_test.mod │   ├── multiboot2.mod │   ├── multiboot.mod │   ├── nativedisk.mod │   ├── net.mod │   ├── newc.mod │   ├── nilfs2.mod │   ├── normal.mod │   ├── ntfscomp.mod │   ├── ntfs.mod │   ├── odc.mod │   ├── offsetio.mod │   ├── ohci.mod │   ├── part_acorn.mod │   ├── part_amiga.mod │   ├── part_apple.mod │   ├── part_bsd.mod │   ├── part_dfly.mod │   ├── part_dvh.mod │   ├── part_gpt.mod │   ├── partmap.lst │   ├── part_msdos.mod │   ├── part_plan.mod │   ├── part_sun.mod │   ├── part_sunpc.mod │   ├── parttool.lst │   ├── parttool.mod │   ├── password.mod │   ├── password_pbkdf2.mod │   ├── pata.mod │   ├── pbkdf2.mod │   ├── pbkdf2_test.mod │   ├── pcidump.mod │   ├── pgp.mod │   ├── play.mod │   ├── png.mod │   ├── priority_queue.mod │   ├── probe.mod │   ├── procfs.mod │   ├── progress.mod │   ├── raid5rec.mod │   ├── raid6rec.mod │   ├── random.mod │   ├── rdmsr.mod │   ├── read.mod │   ├── reboot.mod │   ├── regexp.mod │   ├── reiserfs.mod │   ├── relocator.mod │   ├── romfs.mod │   ├── scsi.mod │   ├── search_fs_file.mod │   ├── search_fs_uuid.mod │   ├── search_label.mod │   ├── search.mod │   ├── serial.mod │   ├── setjmp.mod │   ├── setjmp_test.mod │   ├── setpci.mod │   ├── sfs.mod │   ├── shift_test.mod │   ├── shim_lock.mod │   ├── signature_test.mod │   ├── sleep.mod │   ├── sleep_test.mod │   ├── smbios.mod │   ├── spkmodem.mod │   ├── squash4.mod │   ├── strtoull_test.mod │   ├── syslinuxcfg.mod │   ├── tar.mod │   ├── terminal.lst │   ├── terminal.mod │   ├── terminfo.mod │   ├── test_blockarg.mod │   ├── testload.mod │   ├── test.mod │   ├── testspeed.mod │   ├── tftp.mod │   ├── tga.mod │   ├── time.mod │   ├── tpm.mod │   ├── trig.mod │   ├── tr.mod │   ├── true.mod │   ├── udf.mod │   ├── ufs1_be.mod │   ├── ufs1.mod │   ├── ufs2.mod │   ├── uhci.mod │   ├── usb_keyboard.mod │   ├── usb.mod │   ├── usbms.mod │   ├── usbserial_common.mod │   ├── usbserial_ftdi.mod │   ├── usbserial_pl2303.mod │   ├── usbserial_usbdebug.mod │   ├── usbtest.mod │   ├── verifiers.mod │   ├── video_bochs.mod │   ├── video_cirrus.mod │   ├── video_colors.mod │   ├── video_fb.mod │   ├── videoinfo.mod │   ├── video.lst │   ├── video.mod │   ├── videotest_checksum.mod │   ├── videotest.mod │   ├── wrmsr.mod │   ├── xfs.mod │   ├── xnu.mod │   ├── xnu_uuid.mod │   ├── xnu_uuid_test.mod │   ├── xzio.mod │   ├── zfscrypt.mod │   ├── zfsinfo.mod │   ├── zfs.mod │   └── zstd.mod ├── initrd.img -> initrd.img-5.8.0-53-lowlatency ├── initrd.img-5.4.0-26-generic ├── initrd.img-5.4.0-73-generic ├── initrd.img-5.4.0-73-lowlatency ├── initrd.img-5.8.0-50-generic ├── initrd.img-5.8.0-50-lowlatency ├── initrd.img-5.8.0-53-lowlatency ├── initrd.img.old -> initrd.img-5.4.0-73-generic ├── System.map-5.4.0-26-generic ├── System.map-5.4.0-73-generic ├── System.map-5.4.0-73-lowlatency ├── System.map-5.8.0-50-generic ├── System.map-5.8.0-50-lowlatency ├── System.map-5.8.0-53-lowlatency ├── vmlinuz -> vmlinuz-5.8.0-53-lowlatency ├── vmlinuz-5.4.0-26-generic ├── vmlinuz-5.4.0-73-generic ├── vmlinuz-5.4.0-73-lowlatency ├── vmlinuz-5.8.0-50-generic ├── vmlinuz-5.8.0-50-lowlatency ├── vmlinuz-5.8.0-53-lowlatency └── vmlinuz.old -> vmlinuz-5.4.0-73-generic

Additional questions

hughsie commented 3 years ago

If you do that again, then when it boots up into Linux without applying the update what does fwupdmgr get-devices say? e.g. you should get an "Update Error" that gives us some hint.

kendoori commented 3 years ago

I am not seeing any errors.

`kenny@kenny-ThinkPad-T480:~$ fwupdmgr get-devices 20L50011US │ ├─Thunderbolt Controller: │ Device ID: 36cf863540d97a0506a091d24cf4f1c5d848183e │ Summary: Unmatched performance for high-speed I/O │ Current version: 20.00 │ Vendor: Lenovo (TBT:0x0109) │ GUIDs: 7d131734-64ed-5865-a46e-a67cfb9b5a46 │ e45313fd-8d5c-54e9-b175-1f15ffe6b05c │ Device Flags: • Internal device │ • Updatable │ • Requires AC power │ • Device stages updates │
├─SanDisk SDSSDXPS960G: │ Device ID: 64ec4cd1e1c9565e79b00f4e7221b1c689b33e96 │ Summary: ATA Drive │ Current version: X212T0RL │ GUIDs: 22be2cc6-990f-583a-98d3-f89e332bcb93 │ bc497ac3-efa7-5d3a-98ca-7777bb59fad1 │ a511a2d6-df8d-5291-90cc-49dc6ab6fe76 │ 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: 48477ba14bd9bd0c97323a07caa54b7766f917c2 │ Current version: 0.1.36 │ Minimum Version: 0.0.1 │ Vendor: LENOVO (DMI:LENOVO) │ GUID: dc7f0308-1ef8-4774-9ba5-89a58c4d731c │ 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 │
├─UEFI Device Firmware: │ Device ID: 5decfff65e3391259bca4003a090e59bf50e3bea │ Current version: 184.79.3722 │ Minimum Version: 184.79.3722 │ Vendor: DMI:LENOVO │ Update State: success │ GUID: dd31d983-cf3b-4c84-acc9-70caa94e827b │ 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 │
├─UEFI Device Firmware: │ Device ID: c19580db344e418cf2b23297bcf46d75c06e432a │ Current version: 0.1.21 │ Minimum Version: 0.1.21 │ 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 │
├─UEFI Device Firmware: │ Device ID: b1825e2b03a9ebdea247a74f1f3ddee2a21ac565 │ Current version: 1.3.1084 │ Minimum Version: 0.0.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: a567cff02396e1038d53d7433ef3dbcd9558aebe Current version: 1.1.5 Minimum Version: 0.0.1 Vendor: DMI:LENOVO GUID: d4583ddb-bf0a-4801-aefd-951930545cb9 Device Flags: • Internal device • Updatable • Requires AC power • Needs a reboot after installation • Device is usable for the duration of the update

`

hughsie commented 3 years ago

client version: 1.3.11

Ohh wow, that's kinda old. Can you try with something newer like 1.5.x or 1.6.0?

kendoori commented 3 years ago

I'm on Mint so 1.3.11 is what they provide. I don't have Docker installed to compile for the instructions on the Wiki. Do I need to go through that process, or is there another way to get the newer version (Snap, Flatpack?) and if I install one of those, do I need to uninstall the Mint 1.3.11 version in order to run the update from the CLI. Alternatively, should I just boot from a LiveUSB of another distro (e.g. Manjaro) and try to update there?

hughsie commented 3 years ago

Maybe try a Fedora 34 LiveUSB image?

kendoori commented 3 years ago

Will do and I will report back.

On Mon, May 17, 2021 at 10:27 AM Richard Hughes @.***> wrote:

Maybe try a Fedora 34 LiveUSB image?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fwupd/fwupd/issues/3254#issuecomment-842371143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASVQPBGJXFYY74GEPJZUO3TOERW7ANCNFSM446NN7PA .

superm1 commented 3 years ago

Will live USB image actually work with the existing ESP? I guess I've never considered to try this. Can you, please capture full efibootmgr -v output before the reboot to try to apply the update? I'd like to make sure it made a new boot entry and used the correct binary when it tried.

kendoori commented 3 years ago

The Fedora update didn't work, or I didn't do it right. I created a Live USB, started the daemon and did the update. I then rebooted first into Fedora (and repeated the process, whereby it offered the update again). I then rebooted back into Mint and was also presented with the update option again.

As requested, this is from Fedora, after the update, but before rebooting: An update requires a reboot to complete. Restart now? [y|N]: N [liveuser@localhost-live ~]$ efibootmgr -v BootNext: 0001 BootCurrent: 001C Timeout: 0 seconds BootOrder: 0017,0019,001A,0018,0002,001D,001E,001F,001B,0000,0004,001C,0024,0001 Boot0000 Windows Boot Manager HD(1,GPT,cb2f4f3a-6d5d-41d7-bc0b-6a6b0c7dc6b2,0x1000,0xf8fff)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}.................... Boot0001* Linux-Firmware-Updater HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\fedora\fwupdx64.efi) Boot0002* ubuntu HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi) Boot0004 ubuntu HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\ubuntu\shimx64.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) Boot0024* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803) [liveuser@localhost-live ~]$ sudo fwupdmgr update

superm1 commented 3 years ago
Boot0001* Linux-Firmware-Updater    HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\fedora\fwupdx64.efi)

After it prompts, let it boot into the Boot option Boot0002 (Linux-Firmware-Updater) which looks like it built to match something looking nominal.

kendoori commented 3 years ago

So you are saying, boot to Live USB (Fedora), do the update within Fedora, and then when it prompts to reboot, choose the boot option for the firmware updater?

In my experience on Thinkpads, I might need to interrupt the boot to choose the boot option (e.g, F12), at which point one can choose Linux Fimrware Updater. So would I do that?

On Tue, May 18, 2021 at 9:20 AM Mario Limonciello @.***> wrote:

Boot0001* Linux-Firmware-Updater HD(1,GPT,0d102bc9-bb4e-4d57-8c08-f83b29468410,0x800,0x100000)/File(\EFI\fedora\fwupdx64.efi)

After it prompts, let it boot into the Boot option Boot0002 ( Linux-Firmware-Updater) which looks like it built to match something looking nominal.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fwupd/fwupd/issues/3254#issuecomment-843165920, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASVQPDR2Q3X6FMDNKLIS73TOJSSVANCNFSM446NN7PA .

superm1 commented 3 years ago

Well it's set as bootnext so I think it should pick on it's own

kendoori commented 3 years ago

I applied the update in Fedora and rebooted, and let it just go on its own without stopping the sequence from the keyboard. It took a while to boot, but on its own it booted into Mint. When I ran fwupdmgr update it offered the update again.

superm1 commented 3 years ago

Seems like it's firmware then

mrhpearson commented 3 years ago

I've raised a ticket with the FW team (LO-1247 for my reference). Agreed with Mario that it looks like a firmware issue - I'll get some feedback as to why the update isn't taking place.

lijunwang1990 commented 3 years ago

Hi @kendoori ,could you please try download the package form LVFS site. and use below command to update again? if you still can not update, we will upload 11.8.86.3909 recently. you can try ro update to this version directly. thank you.

fwupdmgr --allow-older --allow-reinstall install [Name].cab https://fwupd.org/lvfs/firmware/6718

ChiWei-Chen commented 3 years ago

Thanks, @lijunwang1990. Hi @kendoori, if you cannot access the link provide by Lijunwang, please try this one, thanks! https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadN24RM.firmware

kendoori commented 3 years ago

I downloaded the firmware and updated as suggested. After reboot, I ran: sudo fwupdmgr update The same firmware update is being offered. Selection_180

lijunwang1990 commented 3 years ago

Hi @kendoori , can you check your ME version under setup? you can press F1 before boot to OS ,the ME version will be displayed on the main page. and use "FWupdmgr get-devices" to check the ME version under OS.

kendoori commented 3 years ago
fwupdmgr get-devices
20L50011US
│
├─Thunderbolt Controller:
│     Device ID:           36cf863540d97a0506a091d24cf4f1c5d848183e
│     Summary:             Unmatched performance for high-speed I/O
│     Current version:     20.00
│     Vendor:              Lenovo (TBT:0x0109)
│     GUIDs:               7d131734-64ed-5865-a46e-a67cfb9b5a46
│                          e45313fd-8d5c-54e9-b175-1f15ffe6b05c
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Device stages updates
│   
├─SanDisk SDSSDXPS960G:
│     Device ID:           64ec4cd1e1c9565e79b00f4e7221b1c689b33e96
│     Summary:             ATA Drive
│     Current version:     X212T0RL
│     GUIDs:               22be2cc6-990f-583a-98d3-f89e332bcb93
│                          bc497ac3-efa7-5d3a-98ca-7777bb59fad1
│                          a511a2d6-df8d-5291-90cc-49dc6ab6fe76
│     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:           48477ba14bd9bd0c97323a07caa54b7766f917c2
│     Current version:     0.1.36
│     Minimum Version:     0.0.1
│     Vendor:              LENOVO (DMI:LENOVO)
│     GUID:                dc7f0308-1ef8-4774-9ba5-89a58c4d731c
│     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
│   
├─UEFI Device Firmware:
│     Device ID:           5decfff65e3391259bca4003a090e59bf50e3bea
│     Current version:     184.79.3722
│     Minimum Version:     184.79.3722
│     Vendor:              DMI:LENOVO
│     Update State:        success
│     GUID:                dd31d983-cf3b-4c84-acc9-70caa94e827b
│     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
│   
├─UEFI Device Firmware:
│     Device ID:           c19580db344e418cf2b23297bcf46d75c06e432a
│     Current version:     0.1.21
│     Minimum Version:     0.1.21
│     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
│   
├─UEFI Device Firmware:
│     Device ID:           b1825e2b03a9ebdea247a74f1f3ddee2a21ac565
│     Current version:     1.3.1084
│     Minimum Version:     0.0.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:           a567cff02396e1038d53d7433ef3dbcd9558aebe
│     Current version:     1.1.5
│     Minimum Version:     0.0.1
│     Vendor:              DMI:LENOVO
│     GUID:                d4583ddb-bf0a-4801-aefd-951930545cb9
│     Device Flags:        • Internal device
│                          • Updatable
│                          • Requires AC power
│                          • Needs a reboot after installation
│                          • Device is usable for the duration of the update
│   
└─Unifying Receiver:
      Device ID:           82bae8448b308a038b50466dd710c0cd237e3464
      Summary:             A miniaturised USB wireless receiver
      Current version:     RQR12.01_B0019
      Bootloader Version:  BOT01.02_B0014
      Vendor:              USB:0x046D
      Install Duration:    30 seconds
      GUIDs:               9d131a0c-a606-580f-8eda-80587250b8d6
                           fcf55bf5-767b-51ce-9c17-f6f538c4ee9f
                           279ed287-3607-549e-bacc-f873bb9838c4
      Device Flags:        • Updatable
                           • Supported on remote server

(edited by superm1 to make it readable)

lijunwang1990 commented 3 years ago

Hi @kendoori , sorry, I also need check the MEFW version in setup. please reboot the system and keep pressing "F1" before Lenovo Logo displayed. you will enter into setup menu.like this: 微信图片_20210603200302

kendoori commented 3 years ago

PXL_20210603_130548942

lijunwang1990 commented 3 years ago

Hi @kendoori ,someone fixed this issue use below commond, please have a try:

$ sudo fwupdmgr downgrade This should give you a list of your recent updates. Just downgrade the looping updates. Don't worry though. Once you've downgraded, just go ahead and run $ sudo fwupdmgr update And that should be the end of your troubles. Or at least it was the end of my troubles. No more updates which can't be installed. fwupdmgr --help for other options.

kendoori commented 3 years ago

I followed the procedure, but after downgrading, and running update, I still get this image

If I try to trigger a downgrade again, it says none are available. image

ChiWei-Chen commented 2 years ago

Hello @kendoori , I worked with @lijunwang1990 and @mrhpearson , I got a trial BIOS from them. If you still encounter this problem and want to try this BIOS, could you drop me a mail to "cchen50 @lenovo.com"? (without space) I will send you a link to download it. Thank you

ChiWei-Chen commented 2 years ago

@kendoori Thanks for the mail reply. As discussed in the mail, the system updated ME successfully with the trial BIOS, could you provide output of “fwupdmgr get-devices” for @lijunwang1990 's reference? Thanks

kendoori commented 2 years ago

`fwupdmgr get-devices 20L50011US │ ├─Embedded Controller: │ Device ID: c19580db344e418cf2b23297bcf46d75c06e432a │ Current version: 0.1.22 │ Minimum Version: 0.1.22 │ Vendor: DMI:LENOVO │ GUIDs: b87a926d-189c-49a1-b1ff-921099b1de89 │ 646e8b00-c980-5327-b889-b518b0a1cc1c │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │
├─Intel Management Engine: │ Device ID: 5decfff65e3391259bca4003a090e59bf50e3bea │ Current version: 184.79.3722 │ Minimum Version: 184.79.3722 │ Vendor: DMI:LENOVO │ GUIDs: dd31d983-cf3b-4c84-acc9-70caa94e827b │ 49b00a7c-b9ac-5782-aaf9-76d3aa53f003 │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │
├─SanDisk SDSSDXPS960G: │ Device ID: 64ec4cd1e1c9565e79b00f4e7221b1c689b33e96 │ Summary: ATA Drive │ Current version: X212T0RL │ Vendor: SanDisk (ATA:0x15B7, OUI:001b44) │ GUIDs: 22be2cc6-990f-583a-98d3-f89e332bcb93 │ bc497ac3-efa7-5d3a-98ca-7777bb59fad1 │ a511a2d6-df8d-5291-90cc-49dc6ab6fe76 │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │
├─System Firmware: │ │ Device ID: 48477ba14bd9bd0c97323a07caa54b7766f917c2 │ │ Current version: 0.1.41 │ │ Minimum Version: 0.0.1 │ │ Vendor: LENOVO (DMI:LENOVO) │ │ GUIDs: dc7f0308-1ef8-4774-9ba5-89a58c4d731c │ │ 230c8b18-8d9b-53ec-838b-6cfc0383493a │ │ 7924fa68-3277-5fd5-aee1-ce5985707c3b │ │ 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 │ │ │ └─UEFI dbx: │ Device ID: 362301da643102b9f38477387e2193e57abaa590 │ Summary: UEFI Revocation Database │ Current version: 238 │ Minimum Version: 238 │ Vendor: UEFI:Linux Foundation │ Install Duration: 1 second │ GUIDs: 14503b3d-73ce-5d06-8137-77c68972a341 │ 5971a208-da00-5fce-b5f5-1234342f9cf7 │ c6682ade-b5ec-57c4-b687-676351208742 │ f8ba2887-9411-5c36-9cee-88995bb39731 │ Device Flags: • Internal device │ • Updatable │ • Needs a reboot after installation │
├─UEFI Device Firmware: │ Device ID: b1825e2b03a9ebdea247a74f1f3ddee2a21ac565 │ Current version: 16974908 │ Minimum Version: 1 │ Vendor: DMI:LENOVO │ GUIDs: 24aac206-3921-45c0-a79e-0a607b11aef0 │ 3a511605-fb00-56af-8a7f-1a6689d53ad2 │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │
├─UEFI Device Firmware: │ Device ID: a567cff02396e1038d53d7433ef3dbcd9558aebe │ Current version: 16842757 │ Minimum Version: 1 │ Vendor: DMI:LENOVO │ GUIDs: d4583ddb-bf0a-4801-aefd-951930545cb9 │ 792f52cb-e0bb-5378-b4cf-39dd99090835 │ Device Flags: • Internal device │ • Updatable │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │
├─USB Keyboard: │ Device ID: 963f85e6af185898ca8f4f95e2c68f94e86be5c7 │ Summary: USB PD │ Current version: 149.1.6.3 │ Vendor: VIA Labs, Inc. (USB:0x2109) │ GUIDs: 9b630f16-62b2-57a2-a4d3-36df60ac08ad │ 56a509c6-b4c3-5cf3-bf9d-8c98bc8562dc │ 446d3992-2a03-5143-a99c-6189ec313d86 │ Device Flags: • Updatable │ • Cryptographic hash verification is available │
├─Unifying Receiver: │ Device ID: d7f7a320973759bb5da5218492121e3417a8fc15 │ Summary: A miniaturised USB wireless receiver │ Current version: RQR12.11_B0032 │ Bootloader Version: BOT01.04_B0016 │ Vendor: HIDRAW:0x046D|USB:0x046D │ Install Duration: 30 seconds │ GUIDs: 9d131a0c-a606-580f-8eda-80587250b8d6 │ fcf55bf5-767b-51ce-9c17-f6f538c4ee9f │ 279ed287-3607-549e-bacc-f873bb9838c4 │ Device Flags: • Updatable │ • Supported on remote server │
└─WDC PC SN520 SDAPMUW-128G-1001: Device ID: 03281da317dccd2b18de2bd1cc70a782df40ed7e Summary: NVM Express Solid State Drive Current version: 20370001 Vendor: Sandisk Corp (NVME:0x15B7) GUIDs: d03f7b57-df39-578a-80d2-df439b4682ca 4581e034-bf68-5440-9445-c4b251ba45b5 c0ff0f18-855d-5415-af06-a36723074fc9 c07858fa-63ab-586e-aec8-b5da8d637b21 c6efcf90-660c-5b41-9ac5-721c8dc4f4d6 Device Flags: • Internal device • Updatable • System requires external power source • Supported on remote server • Needs a reboot after installation • Device is usable for the duration of the update

Idle… [***] Update failure is a known issue, visit this URL for more information: https://github.com/fwupd/fwupd/wiki/LVFS-Triaged-Issue:-Failed-to-run-update-on-reboot Successfully uploaded 1 report `

ChiWei-Chen commented 2 years ago

@superm1 , BIOS replied BIOS code will compare the GUID first. If the GUID is the same as MEFW(Vpro/Nonvpro), BIOS will update the new version. But they foun an excrescence GUID on this @kendoori 's log. Normally there should be only one GUID. Do you know where the excrescence GUID comes from? Could we have your advice is there something we can check in fwupd? Thanks.

Here is the BIOS page I got from kendoori image

ChiWei-Chen commented 2 years ago

@superm1 , could we have your advice/clarification on the comment from @lijunwang1990?

ChiWei-Chen commented 2 years ago

Hi @kendoori

I have a trail BIOS and ME for T480. If you're willing to test that it would be appreciated - send me or @mrhpearson an email. Thanks! (cchen50 at lenovo dot com) (mpearson at lenovo dot com)

Installation will be by fwupdmgr and it will involve updating the BIOS and then trying a ME FW update.

Thanks

lijunwang1990 commented 2 years ago

  您好,邮件已收到

ChiWei-Chen commented 2 years ago

Hi @kendoori , New BIOS for T480 is released, could you give it a try and let me know how it works? Thanks! https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadN24ETXXP.firmware https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadN24ETXXW.firmware

lijunwang1990 commented 2 years ago

  您好,邮件已收到

ChiWei-Chen commented 1 year ago

This fix already verified pass in #140.

lijunwang1990 commented 1 year ago

  您好,邮件已收到