Closed mvdan closed 2 years ago
I'll check and find out. (For my reference LO-1419)
As a note - we haven't officially released Linux support on the AMD G2 platforms due to WLAN driver issues. I know that sounds like a wonky reason - but the FW team use our certified Linux images for their testing so that may have had an impact on why the updates aren't available yet or are slower to be released (and they did manage to get 1.09 up).
Thanks for the very quick update! Much appreciated.
I swapped the WLAN card on my laptop for that reason. It seems like Linux 5.15 was released just this week with native support for its original Realtek card.
Looks like Marks rechecking worked and a new version is available now: https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadR1MET.firmware
Interesting, thanks! I just tried upgrading to it, but it did not work. The error I got is https://github.com/fwupd/fwupd/wiki/LVFS-Triaged-Issue:-Failed-to-run-update-on-reboot. My secure boot and boot order lock BIOS settings are off.
Interesting, for me it updated just fine.
I just tried again, same result. The following boot goes to a dark screen and shows a few lines of output for a split second, but it doesn't give me enough time to take a picture of it.
I also double-checked that fwupdmgr update
does add a boot entry as expected:
# efibootmgr -v
BootNext: 0001
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0017,0018,0019,001A,001B,001C,0001
Boot0000* Arch Linux HD(1,GPT,3157e685-1c71-7b46-9759-cdc8f80516a9,0x800,0xaf000)/File(\vmlinuz-linux)r.o.o.t.=.P.A.R.T.U.U.I.D.=.8.4.0.1.7.c.6.2.-.9.e.a.8.-.d.8.4.d.-.a.c.4.8.-.7.5.2.b.0.7.0.b.d.7.e.3. .r.w. .i.n.i.t.r.d.=.\.a.m.d.-.u.c.o.d.e...i.m.g. .i.n.i.t.r.d.=.\.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g. .m.i.t.i.g.a.t.i.o.n.s.=.o.f.f. .n.o.w.a.t.c.h.d.o.g.
Boot0001* Linux-Firmware-Updater HD(1,GPT,3157e685-1c71-7b46-9759-cdc8f80516a9,0x800,0xaf000)/File(\EFI\arch\fwupdx64.efi)
[...]
I usually take a video using the phone and then can pause that to check the error message - can you check that please and see if you can get any clues? Only obvious one I can think of is make sure you're plugged in and battery charged > 50% (I think)
That's a clever idea :) I'll give that a go.
It flashed for just a few frames, but I was able to capture it:
WARNING: Could not query capsule capabilities: Unsupported WARNING: Could not apply capsules: Unsupported
This is with the device plugged in with ~80% battery. It's plugged in to a usb-c dock, but I don't imagine that changes anything. The only other interesting bit of context is that I swapped the Realtek wireless card for an Intel card, so I'm not sure if that's throwing off the system update. The machine and BIOS otherwise work perfectly fine after the swap.
Issues like https://github.com/fwupd/fwupd/issues/1190 and https://github.com/fwupd/firmware-lenovo-thinkpad/issues/59 seem to point towards my current BIOS being too old to work with fwupd. I am on 0.1.9 at the moment, as it came when it shipped in August. I'll try updating via an alternative method.
Downloading 0.1.11 from the Lenovo site and burning it to a usb with geteltorito and dd worked - I'm now on that version. I'm not entirely sure why fwupd has 0.1.12 when that doesn't show up on the Lenovo firmware site. I'll try the regular fwupd upgrade again.
Edit: upgrade from .11 to .12 failed just like the upgrade from .9 to .12 did. At least my BIOS is not nearly as old for now :)
I do see that same as @mvdan - can't update firmware through fwupd.
I'm more than happy to move this to the fwupd issue tracker, by the way - but as far as I can tell, fwupd is doing its job correctly to download the update and boot it. Perhaps there's some difference between the files uploaded to LVFS and the ISO I obtained from lenovo.com - beyond that it's 0.1.12 versus 0.1.11.
@hughsie any idea how to debug this further?
Sorry - I'd missed the updates to this thread in my inbox swamp. Thanks for collecting the warning messages - I'll forward those to the FW team and get their input on one it's failing.
Hi @mvdan Main comment from the FW team was "confirm battery is more than 25%" - which I know you've noted above so I will feed that back to them; but seems for them that message is usually battery related.
Mostly for the heck of it can you try without using the dock and being direct plugged into a power source. Just because I've had some notes from users getting power from monitor hubs who have strange things - I'd like to rule it out.
There are some updates coming shortly too (1.13) so we might also wait for that and see if it magically fixes it...
If it matter @mrhpearson I've tried it now - fully charged and connected to the charger - and still the same.
i noticed that 1.13 is released on the lenovo support page, but it is listed with status "testing" rather than "stable".
Didn't check from which version I came but I just successfully flashed to 0.1.12 through fwupd on my P14s Gen2 AMD.
@mrhpearson I just tried upgrading again, this time to 0.1.13 and with the official charger plugged in, and I still get the same split-second error as in https://github.com/fwupd/firmware-lenovo/issues/165#issuecomment-964993004.
I'll upgrade manually once again :) Just letting you know that, as far as I can tell, it's still not working.
For me the same as @mvdan .
Thanks @mvdan and @tpopela - I've forwarded the details to the FW team and asked for suggestions on how to debug further.
Hi - request from the FW team - could you provide the output from: fwupdmgr get-devices Thanks Mark
@mrhpearson anywhere I can email the output? It has serial numbers and other unique strings, so I'd rather not post them publicly. Thanks!
On second thought, the fwupd issue tracker asks for this info for bug reports, so I guess there isn't any harm :)
Thanks! Forwared to the FW team. For future reference you're welcome to send them to my email if you're uncomfortable posting (markpearson at lenovo.com) Mark
This thread is now about why firmware updates only work without fwupd, and no longer about a delay in versions, so I've adjusted the title.
only work without fwupd
Is the non-fwupd mechanism also using UpdateCapsule?
I am not sure; for both 1.11 and 1.13, the fwupd route failed, but what worked was downloading the bootable CD ISO from the lenovo firmware site, and using geteltorito and dd to put it on a bootable USB. Then selecting that device in the BIOS boot menu and following the instructions, letting the machine reboot itself a couple of times.
@mrhpearson looks like 1.14 is missing in LVFS.
It's there - but still under testing https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadR1MET.firmware Mark
I am similarly now confused by how LVFS has 1.15, but the Lenovo site only has 1.14 :) Given that both versions are tagged as "high" urgency, I also wonder how long it will take for either of them to come out of testing.
By the way, I just noticed that Lenovo has, for whatever reason, pulled back the 1.14 and 1.15 updates from their website: https://pcsupport.lenovo.com/de/de/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-2-type-21a0-21a1/downloads/DS550363.
By the way, I just noticed that Lenovo has, for whatever reason, pulled back the 1.14 and 1.15 updates from their website: https://pcsupport.lenovo.com/de/de/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-2-type-21a0-21a1/downloads/DS550363.
I'm wondering about the same, especially since I have some issues over the past days with WiFi firmware being very unstable (whatever the version of rtw89 driver and firmware I use, even versions that used to be quite stable)
By the way, I just noticed that Lenovo has, for whatever reason, pulled back the 1.14 and 1.15 updates from their website: https://pcsupport.lenovo.com/de/de/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-2-type-21a0-21a1/downloads/DS550363.
@mrhpearson Do you know what's going on there?
Looks like both are on 1.17 now, so at least the inconsistency is settled.
@mvdan Indeed, thanks. It doesn't work for me with an "invalid capsule header" error though :/
I've failed to update the firmware via fwupd directly before; see https://github.com/fwupd/firmware-lenovo/issues/165#issuecomment-964993004. I haven't tried with 1.17 yet, but will soon. What I've used up to this point is manually downloading and installig the ISOs via https://github.com/fwupd/firmware-lenovo/issues/165#issuecomment-965053598.
Edit: tried with fwupd and failed the same. Secure boot is disabled on my firmware settings. I updated manually via the ISO like before.
I could update mine to 1.17 only when disabling secure boot (Ubuntu 22.04)
@lissyx Thanks a lot, that also helped for me.
@hughsie Is this a known/expected issue?
I just tried 0.1.9 → 0.1.17 with confusing results. During the reboot I saw only a black screen for several minutes, then a self-healing. fwupd reports “failed to run update on reboot”, but also shows that the current version is now 0.1.17 and the boot screen agrees.
I tried today the 0.1.13 -> 0.1.17 update and the update still fails (on Silverblue 36 with Secure Boot enabled).
I was checking the internal release notes for this to see if there were any known issues for this update and they don't mention any.
It would be worth trying with SB disabled - there is the shim issue that impacts updates and I don't believe has been released yet.
I'd also see if you can do it in smaller steps instead of the jump from 13 to 17. I think I can find the cab files for the older releases if you want to try that.
Mark
It would be worth trying with SB disabled - there is the shim issue that impacts updates and I don't believe has been released yet.
As I mentonned earlier, 100% works when disabling SecureBoot.
It would be worth trying with SB disabled - there is the shim issue that impacts updates and I don't believe has been released yet.
I can definitely try that, but that might solve the situation for me and those who will be able to find this issue, but not for all the users. Do you have a link to the shim issue Mark?
I'd also see if you can do it in smaller steps instead of the jump from 13 to 17. I think I can find the cab files for the older releases if you want to try that.
I already tried that in the past before jumping to 0.1.13 (using the "iso" way).
Hi, RH bug is: https://bugzilla.redhat.com/show_bug.cgi?id=1955416
Hi, RH bug is: https://bugzilla.redhat.com/show_bug.cgi?id=1955416
I don't think that I'm affected by this bug as nothing gets stuck in my case. I get a "blink" and then I'm greeted with the LUKS password entry.
Can you try with SB disabled to confirm? I think the shim/UEFI updater would all be called before the LUKS password entry so I wouldn't discount it.
@mrhpearson so it worked with SB disabled. I will try to follow up with Jared internally to see what can be done about it. Thanks!
Awesome! They have the fix for shim - it's just the lengthy process to get it released in every distro but I'm hoping it gets out soon and that's not really fwupd specific.
I think we're good to close this bug - if anybody objects we can re-open :)
1.11 was released on the 11th of October: https://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-2-type-21a0-21a1/21a0/21a0cto1ww/downloads/driver-list/component?name=BIOS%2FUEFI
LVFS only has 1.09 from early September: https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadR1MET.firmware
It's possible and likely that other bits of firmware for this line of machines is also out of date; I haven't checked.
I couldn't find a thread for the gen2 AMD variants of these machines, so I think a new one is reasonable. I'll update this thread if fwupdmgr ever tells me there's an upgrade available.