fwupd / firmware-lenovo

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

Thinkpad P1 Gen 6 UEFI ESP partition not detected or configured arch #479

Open Skyman2413 opened 3 weeks ago

Skyman2413 commented 3 weeks ago

I tried update my firmare after type-c ports briked (had the same problem pas, was resolved by update, but i was using Manjaro)

udisks2 is installed and works tree of boot point (/boot/efi/)

tree /boot  INT ✘  14:17:16   /boot ├── efi │   └── EFI │   └── arch │   └── grubx64.efi ├── grub │   ├── fonts │   │   └── unicode.pf2 │   ├── grub.cfg │   ├── grubenv │   ├── locale │   │   ├── ast.mo │   │   ├── ca.mo │   │   ├── da.mo │   │   ├── de_CH.mo │   │   ├── de@hebrew.mo │   │   ├── de.mo │   │   ├── en@arabic.mo │   │   ├── en@cyrillic.mo │   │   ├── en@greek.mo │   │   ├── en@hebrew.mo │   │   ├── en@piglatin.mo │   │   ├── en@quot.mo │   │   ├── eo.mo │   │   ├── es.mo │   │   ├── fi.mo │   │   ├── fr.mo │   │   ├── gl.mo │   │   ├── he.mo │   │   ├── hr.mo │   │   ├── hu.mo │   │   ├── id.mo │   │   ├── it.mo │   │   ├── ja.mo │   │   ├── ka.mo │   │   ├── ko.mo │   │   ├── lg.mo │   │   ├── lt.mo │   │   ├── nb.mo │   │   ├── nl.mo │   │   ├── pa.mo │   │   ├── pl.mo │   │   ├── pt_BR.mo │   │   ├── pt.mo │   │   ├── ro.mo │   │   ├── ru.mo │   │   ├── sl.mo │   │   ├── sr.mo │   │   ├── sv.mo │   │   ├── tr.mo │   │   ├── uk.mo │   │   ├── vi.mo │   │   ├── zh_CN.mo │   │   └── zh_TW.mo │   ├── themes │   │   └── starfield │   │   ├── blob_w.png │   │   ├── boot_menu_c.png │   │   ├── boot_menu_e.png │   │   ├── boot_menu_ne.png │   │   ├── boot_menu_n.png │   │   ├── boot_menu_nw.png │   │   ├── boot_menu_se.png │   │   ├── boot_menu_s.png │   │   ├── boot_menu_sw.png │   │   ├── boot_menu_w.png │   │   ├── COPYING.CC-BY-SA-3.0 │   │   ├── dejavu_10.pf2 │   │   ├── dejavu_12.pf2 │   │   ├── dejavu_14.pf2 │   │   ├── dejavu_16.pf2 │   │   ├── dejavu_bold_14.pf2 │   │   ├── README │   │   ├── slider_c.png │   │   ├── slider_n.png │   │   ├── slider_s.png │   │   ├── starfield.png │   │   ├── terminal_box_c.png │   │   ├── terminal_box_e.png │   │   ├── terminal_box_ne.png │   │   ├── terminal_box_n.png │   │   ├── terminal_box_nw.png │   │   ├── terminal_box_se.png │   │   ├── terminal_box_s.png │   │   ├── terminal_box_sw.png │   │   ├── terminal_box_w.png │   │   └── theme.txt │   └── x86_64-efi │   ├── acpi.mod │   ├── adler32.mod │   ├── affs.mod │   ├── afs.mod │   ├── afsplitter.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 │   ├── bli.mod │   ├── blocklist.mod │   ├── boot.mod │   ├── boottime.mod │   ├── bsd.mod │   ├── bswap_test.mod │   ├── btrfs.mod │   ├── bufio.mod │   ├── cacheinfo.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 │   ├── efitextmode.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 │   ├── json.mod │   ├── keylayouts.mod │   ├── keystatus.mod │   ├── ldm.mod │   ├── legacycfg.mod │   ├── legacy_password_test.mod │   ├── linux16.mod │   ├── linux.mod │   ├── loadbios.mod │   ├── loadenv.mod │   ├── loopback.mod │   ├── lsacpi.mod │   ├── lsefimmap.mod │   ├── lsefi.mod │   ├── lsefisystab.mod │   ├── lsmmap.mod │   ├── ls.mod │   ├── lspci.mod │   ├── lssal.mod │   ├── luks2.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 │   ├── plainmount.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 │   ├── 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 │   ├── 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 ├── initramfs-linux-fallback.img ├── initramfs-linux.img ├── intel-ucode.img └── vmlinuz-linux

10 directories, 363 files

output of sudo /usr/bin/fwupdtool esp-list --verbose

11:19:45.214 FuDebug verbose to info (on console 1) 11:19:45.215 FuEngine starting fwupd 2.0.1… Loading… [ ]11:19:45.228 FuQuirks loading quirks from /usr/share/fwupd/quirks.d 11:19:45.228 FuQuirks loading quirks from /var/lib/fwupd/quirks.d Loading… [ ]11:19:45.229 FuEngine ignoring: no files matched pattern 11:19:45.229 FuEngine ignoring: no files matched pattern 11:19:45.230 FuEngine 2796 components now in silo Loading… [ ]11:19:45.234 FuContext added udev subsystem watch of tty 11:19:45.234 FuContext added udev subsystem watch of usbmisc 11:19:45.234 FuContext added udev subsystem watch of wwan 11:19:45.234 FuContext added udev subsystem watch of drm 11:19:45.235 FuContext added udev subsystem watch of drm_dp_aux_dev 11:19:45.236 FuContext added udev subsystem watch of block for plugin algoltek_usbcr 11:19:45.236 FuContext added udev subsystem watch of i2c 11:19:45.236 FuContext added udev subsystem watch of platform 11:19:45.236 FuContext added udev subsystem watch of pci 11:19:45.236 FuContext added udev subsystem watch of i2c-dev 11:19:45.236 FuContext added udev subsystem watch of hidraw 11:19:45.236 FuContext added udev subsystem watch of gpio for plugin gpio 11:19:45.236 FuContext added udev subsystem watch of mei 11:19:45.236 FuContext added udev subsystem watch of iommu for plugin iommu 11:19:45.236 FuContext added udev subsystem watch of video4linux 11:19:45.236 FuContext added udev subsystem watch of msr for plugin msr 11:19:45.236 FuContext added udev subsystem watch of mtd for plugin mtd Loading… [* ]11:19:45.236 FuContext added udev subsystem watch of nvme for plugin nvme 11:19:45.236 FuContext added udev subsystem watch of serio 11:19:45.236 FuContext added udev subsystem watch of thunderbolt 11:19:45.236 FuContext added udev subsystem watch of tpm for plugin tpm 11:19:45.237 FuEngine plugins disabled: test, test_ble Loading… [**** ]11:19:45.237 FuEngine FuUsbBackend: Name: usb Enabled: true DoneSetup: false CanInvalidate: false FuUdevBackend: Name: udev Enabled: true DoneSetup: false CanInvalidate: false DoneColdplug: false FuBluezBackend: Name: bluez Enabled: true DoneSetup: false CanInvalidate: false FuAcpiDmarPlugin: Name: acpi_dmar FuAcpiFacpPlugin: Name: acpi_facp FuAcpiIvrsPlugin: Name: acpi_ivrs FuAcpiPhatPlugin: Name: acpi_phat FuAlgoltekAuxPlugin: Name: algoltek_aux FuAlgoltekUsbPlugin: Name: algoltek_usb FuAlgoltekUsbcrPlugin: Name: algoltek_usbcr FuAmdGpuPlugin: Name: amd_gpu Priority: 1 FuAmdKriaPlugin: Name: amd_kria FuAmdPmcPlugin: Name: amd_pmc FuAnalogixPlugin: Name: analogix FuAndroidBootPlugin: Name: android_boot FuAtaPlugin: Name: ata FuAverHidPlugin: Name: aver_hid FuBcm57XxPlugin: Name: bcm57xx Priority: 1 FuBiosPlugin: Name: bios FuCcgxPlugin: Name: ccgx FuCcgxDmcPlugin: Name: ccgx_dmc FuCfuPlugin: Name: cfu FuCh341APlugin: Name: ch341a FuCh347Plugin: Name: ch347 FuColorhugPlugin: Name: colorhug FuCorsairPlugin: Name: corsair FuCpuPlugin: Name: cpu FuCrosEcPlugin: Name: cros_ec FuDellDockPlugin: Name: dell_dock Priority: 1 FuDellK2Plugin: Name: dell_k2 FuDfuPlugin: Name: dfu FuDfuCsrPlugin: Name: dfu_csr FuEbitdoPlugin: Name: ebitdo FuElanfpPlugin: Name: elanfp FuElantpPlugin: Name: elantp FuEmmcPlugin: Name: emmc FuEp963XPlugin: Name: ep963x FuFastbootPlugin: Name: fastboot FuPlugin: Name: flashrom Flags: require-hwid|modular|measure-system-integrity FuFocalfpPlugin: Name: focalfp FuFpcPlugin: Name: fpc FuFrescoPdPlugin: Name: fresco_pd FuGenesysPlugin: Name: genesys FuGenesysGl32xxPlugin: Name: genesys_gl32xx FuGoodixMocPlugin: Name: goodixmoc FuGoodixtpPlugin: Name: goodixtp FuGpioPlugin: Name: gpio FuHailuckPlugin: Name: hailuck FuHpiCfuPlugin: Name: hpi_cfu FuHuddlyUsbPlugin: Name: huddly_usb FuIgscPlugin: Name: igsc FuIntelMePlugin: Name: intel_me FuIntelUsb4Plugin: Name: intel_usb4 FuIommuPlugin: Name: iommu HasIommu: false FuJabraPlugin: Name: jabra FuJabraFilePlugin: Name: jabra_file FuJabraGnpPlugin: Name: jabra_gnp FuKineticDpPlugin: Name: kinetic_dp FuLegionHid2Plugin: Name: legion_hid2 FuLenovoThinklmiPlugin: Name: lenovo_thinklmi FuLinuxDisplayPlugin: Name: linux_display FuLinuxLockdownPlugin: Name: linux_lockdown Lockdown: unknown FuLinuxSleepPlugin: Name: linux_sleep FuLinuxSwapPlugin: Name: linux_swap FuLinuxTaintedPlugin: Name: linux_tainted FuLogindPlugin: Name: logind LogindFd: 0xffffffff FuLogitechBulkcontrollerPlugin: Name: logitech_bulkcontroller PostInstall: false FuLogitechHidppPlugin: Name: logitech_hidpp FuLogitechRallysystemPlugin: Name: logitech_rallysystem FuLogitechScribePlugin: Name: logitech_scribe FuLogitechTapPlugin: Name: logitech_tap FuMediatekScalerPlugin: Name: mediatek_scaler FuPlugin: Name: modem_manager Flags: modular ManagerReady: false FuMtdPlugin: Name: mtd FuNitrokeyPlugin: Name: nitrokey FuNordicHidPlugin: Name: nordic_hid FuNvmePlugin: Name: nvme FuOptionromPlugin: Name: optionrom FuParadeLspconPlugin: Name: parade_lspcon FuParadeUsbhubPlugin: Name: parade_usbhub FuPciBcrPlugin: Name: pci_bcr HasDevice: false BcrAddr: 0xdc FuPciMeiPlugin: Name: pci_mei FuPciPspPlugin: Name: pci_psp FuPxiPlugin: Name: pixart_rf FuPowerdPlugin: Name: powerd FuQcS5gen2Plugin: Name: qc_s5gen2 DeviceGTypeDefault: FuQcS5gen2Device FuQsiDockPlugin: Name: qsi_dock FuRealtekMstPlugin: Name: realtek_mst FuRedfishPlugin: Name: redfish Flags: secure-config FuRedfishBackend: Name: redfish Enabled: true DoneSetup: false CanInvalidate: true Password: false UseHttps: true Cacheck: false WildcardTargets: false DeviceGType: FuRedfishDevice FuRts54HidPlugin: Name: rts54hid FuRts54HubPlugin: Name: rts54hub FuScsiPlugin: Name: scsi FuSteelseriesPlugin: Name: steelseries FuSynapticsCapePlugin: Name: synaptics_cape FuSynapticsCxaudioPlugin: Name: synaptics_cxaudio FuSynapticsMstPlugin: Name: synaptics_mst FuSynapromPlugin: Name: synaptics_prometheus FuSynapticsRmiPlugin: Name: synaptics_rmi FuSynapticsVmm9Plugin: Name: synaptics_vmm9 FuSystem76LaunchPlugin: Name: system76_launch FuTelinkDfuPlugin: Name: telink_dfu FuThelioIoPlugin: Name: thelio_io FuTiTps6598xPlugin: Name: ti_tps6598x FuTpmPlugin: Name: tpm FuUefiDbxPlugin: Name: uefi_dbx FuUefiEsrtPlugin: Name: uefi_esrt Priority: 1 FuUefiPkPlugin: Name: uefi_pk FuUefiSbatPlugin: Name: uefi_sbat FuUf2Plugin: Name: uf2 FuUpowerPlugin: Name: upower FuUsiDockPlugin: Name: usi_dock FuVbePlugin: Name: vbe FuVliPlugin: Name: vli FuWacomRawPlugin: Name: wacom_raw FuWacPlugin: Name: wacom_usb DeviceGTypeDefault: FuWacDevice FuWistronDockPlugin: Name: wistron_dock FuMsrPlugin: Name: msr Order: 1 FuThunderboltPlugin: Name: thunderbolt Order: 1 FuUefiCapsulePlugin: Name: uefi_capsule Flags: measure-system-integrity Order: 1 FuUefiBackendLinux: Name: uefi Enabled: true DoneSetup: false CanInvalidate: false DeviceGType: FuUefiNvramDevice BgrtSupported: false FuDellPlugin: Name: dell Order: 2 FuUefiRecoveryPlugin: Name: uefi_recovery Flags: require-hwid Order: 2

11:19:45.238 FuEngine resetting update motd timeout 11:19:45.238 FuContext cannot use HWIDs before calling ->load_hwinfo() 11:19:45.238 FuContext cannot use HWIDs before calling ->load_hwinfo() 11:19:45.240 FuVolume Looking for volumes of type c12a7328-f81f-11d2-ba4b-00a0c93ec93b 11:19:45.241 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p4, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: ext4 11:19:45.242 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p2, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: swap 11:19:45.243 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p3, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: ext4 11:19:45.243 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p1, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: vfat 11:19:45.246 FuVolume Looking for volumes of type ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 11:19:45.246 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p4, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: ext4 11:19:45.247 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p2, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: swap 11:19:45.248 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p3, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: ext4 11:19:45.248 FuVolume device /org/freedesktop/UDisks2/block_devices/nvme0n1p1, type: 0fc63daf-8483-4772-8e79-3d69d8477de4, internal: 1, fs: vfat

No ESP or BDP found 11:19:45.251 FuMain No ESP or BDP found

Also tried to mount /dev/nvme0n1p1 to /esp directory - had the save output

fdisk -l /dev/nvme0n1p1 Disk dev/nvme0n1p1: 1 GiB, 1073741824 bytes, 2097152 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000

hughsie commented 3 weeks ago

I don't think you have a GPT or BDP partition type.