system76 / firmware-update

System76 Firmware Update Utility
GNU General Public License v3.0
204 stars 15 forks source link

Unable to schedule firmare update, lemp10, "Invalid cross-device link" #89

Closed nmaquillan closed 1 year ago

nmaquillan commented 1 year ago

lemp10 laptop. I've done multiple reboots to confirm.

Results of running system76-firmware-cli are the same as running the firmware update via the Settings App, which is how I discovered this.

root@pop-os:/# system76-firmware-cli schedule
Automatic transition: 76ec -> 76ec
downloading tail
opening download cache
downloading manifest.json
downloading system76-firmware-update.tar.xz
downloading lemp10_df60b821b2f5c45288098dba9e084aeb79d491d4133f84b73d298155aba6597e.tar.xz
loading changelog.json
Ok("./changelog.json")
Automatic transition: 76ec -> 76ec
"efibootmgr" "--quiet" "--delete-bootnext"
Could not delete BootNext: No such file or directory
"efibootmgr" "--quiet" "--delete-bootnum" "--bootnum" "1776"
Could not delete variable: No such file or directory
extracting system76-firmware-update.tar.xz to /boot/efik0sTj6
Ok("./")
Ok("./boot.efi")
Ok("./res/")
Ok("./res/firmware.nsh")
Ok("./res/shell.efi")
Ok("./res/splash.bmp")
extracting lemp10_df60b821b2f5c45288098dba9e084aeb79d491d4133f84b73d298155aba6597e.tar.xz to /boot/efik0sTj6/firmware
Ok("./")
Ok("./changelog.json")
Ok("./ec.rom")
Ok("./firmware.rom")
Ok("./fpt.efi")
Ok("./meset.efi")
Ok("./uecflash.efi")
Ok("./usb4-pd.rom")
Ok("./usb4-retimer.rom")
moving /boot/efik0sTj6 to /boot/efi/system76-firmware-update
removing /boot/efik0sTj6
system76-firmware: failed to schedule: failed to move /boot/efik0sTj6 to /boot/efi/system76-firmware-update: Invalid cross-device link (os error 18)
root@pop-os:/# dmidecode -t bios 
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
    Vendor: coreboot
    Version: 2022-11-21_b337ac6
    Release Date: 11/14/2022
    ROM Size: 16 MB
    Characteristics:
        PCI is supported
        PC Card (PCMCIA) is supported
        BIOS is upgradeable
        Selectable boot is supported
        ACPI is supported
        Targeted content distribution is supported
    BIOS Revision: 4.17
    Firmware Revision: 0.0
root@pop-os:/# cat /etc/*release
DISTRIB_ID=Pop
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Pop!_OS 22.04 LTS"
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

I'm happy to provide more info or move this issue elsewhere.

crawfxrd commented 1 year ago

This is from pop-os/system76-firmware.

https://github.com/pop-os/system76-firmware/issues/120