-
Notifications
You must be signed in to change notification settings - Fork 47
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to reboot into Ubuntu after successful update #86
Comments
Can you please share more details about your machine? What model number? BIOS version you were at and version you were trying to upgrade to? |
Dell Latitude 5580, I was at 1.4.3 and upgraded to 1.6.4. I've been trying to replicate this by downgrading and upgrading a few times, but I'm not able to replicate it anymore. |
Hmm interesting. to your first comment, a little more clarification: |
It flashed to 1.6.4 and it didn't boot again. (well it booted into those two error messages) |
It sounds to me like you were missing a boot entry initially. Were you booting using the removable media path \efi\boot\bootx64.efi? |
I don't know. It was a standard Ubuntu 17.10 installation. Note that this was not the first upgrade I performed. The first one succeeded without issues, so I don't think it's an installation issue. I downgraded the firmware manually using a USB stick and Dell's builtin firmware update utility, in order to reproduce some issues with the fwupdate integration in the software center. It was the first upgrade after this downgrade that failed. |
Since this was with ubuntu 17.10, there's actually evidence logged into the journal log for fwupd. can you look through journalctl to see if you have the (Came from this commit: ) https://github.com/hughsie/fwupd/commit/f043f1f94b7f671e7e8d4fa3963a47e045d94f59 |
No such luck, apparently Ubuntu 17.10 still doesn't enable persistent logs. Only the logs since last boot are visible. I configured persistent logs now, but that won't help much for this bug..
|
Ah well darn. |
Is this topic closes ? Because I have the same issue. Yesterday, I answered "yes" to the "update manager" which ask to me if I would like to change my firmware. And this morning, unable to boot on my ubuntu |
@gerobum Do you have persistent logs on? For reference,
|
@galgalesh I don't what do you by "persistent logs on". But I don't know what to do because I am unable to boot. Have you fixed your problem ? |
@gerobum Oh, why didn't you say that earlier! I added a picture guide to my original message on the top of this thread. After fixing your installation, can you show the output of sudo journalctl --list-boots to figure out if you have persistent logs enabled? |
@galgalesh Ok thanks. But I tried to do the same. Unfortunatly I have now directly this |
@gerobum can you show a picture of the "boot sequence screen"? (the last picture in my tutorial) |
Thanks a lot. It works now. Anyway. Thanks. |
That means the systemd journal (the log collector) only contains logs since the last boot (which happened on Thus, we cannot look at the logs from when |
I see. |
the journal isn't persistant but the logs are stored in /var/log/syslog as well no? that should have records from previous boot (it's being rotated so could be .1) |
Chiming in to say that I had this same bug occur on my Dell XPS 13 (2016), but didn't have persistent logs on. However @galgalesh, your guide at the top of the thread worked perfectly to fix my issue, so thank you! |
@jeremybmerrill were you on Ubuntu as well? We need someone to help to verify the SRU that has been filed. |
@superm1 Yes, Ubuntu 17.10. Happy to do what I can to help, just tell me what to do. |
@superm1 I think something went wrong, the patch is still not in proposed..
|
@jeremybmerrill Yes so this is the public bug: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1730343 @galgalesh Presumably you've already apt updated and have proposed activated? |
@superm1 Do you know if the bug is such that my system did update the firmware properly, but just didn't boot up correctly afterwards? Or did the system not update the firmware? I enabled proposed, ran How do I run the update again, now that I have a new |
@jeremybmerrill yes that's the bug, it didn't boot up afterwards properly. To confirm you have the latest package can you please run: IIRC artful-proposed isn't enabled by default, you have to modify After you confirm you have the new package, you can manually download the CAB file from LVFS for your system. then run:
|
So If your assessment of the cause of the bug is correct, then the bug is fixed. However there is clearly something wrong with fwupdate-signed since it isn't visible for us in the artful-proposed repos as you can see in the output of the commands up top. |
Can you confirm the efibootmgr -v output after that list of steps you followed? |
I am surprised that windows boot manager shows up here, I don't run Windows.. |
@galgalesh bro, you have saved my life by your guide! for dell xps on Ubuntu 16.04 there is one more step is to disable secure booting in BIOS because of such problem |
@KoenDG thanks for looking. Yes they're two separate packages due to how the signing works in Ubuntu. You can download the latest CAB file for your system and install with |
@superm1 I can't get it to work. I had to look for the cab file in my download cache, it was still there. The Dell website isn't offering it for download anywhere. I did the command as instructed, got the output saying an upgrade was scheduled. I tried both I tried it with and without In all instances, a regular reboot happens and nothing else.
Not sure why it's not picking up the upgrade. |
The CAB file comes from LVFS not from the Dell site, so that's why you couldn't find it there. It's good you had it in your cache though. After you have scheduled it but before rebooting, can you please share the output of:
In |
@superm1 As requested:
|
Hmm, looks like it did the correct thing to me. And after that you don't see the fwupx64.efi quick between post and GRUB coming up pop up? |
Nothing comes up. Secure boot is disabled MD5: 1a68d9b11532c19640b4a2eeeee4fd80 /boot/efi/efi/ubuntu/fwupx64.efi Could this be related to the fact that I had to use the fix given in the top post here, when this happened to me? So I selected the ubuntu shimx64.efi and that's still selected? |
That is the correct checksum. Something that stick out is that you have two different Linux Firmware Updater entries. I wonder if that's throwing something off. Can you please try to delete both with efibootmgr and try again? |
@superm1 I executed Attempt the update now gave me a new message: Cannot install update when not on AC power. So that's progress. I don't have my AC adapter with me so it'll have to wait until tomorrow. |
@KoenDG That message came from the Dell flash screen or from fwupd? If it's from the Dell flash screen that's great news and it means that the duplicates were the root cause. |
@superm1 Sorry, it's from fwupdmgr. The flash screen just saying "Bootin in insecure mode".
|
Ah OK, so then it doesn't tell anything interesting yet. I guess we'll see tomorrow then. |
@superm1 Just tried with the AC plugged in, nothing happens. Tried it with the 1.7.5 and the 1.8.1, restart from commandline, restart from the "Ubuntu Software" GUI, nothing happens. It just goes by the DELL logo, I see "Booting in insecure mode" in the top left and then it starts normally. |
Ok so that's definitely a failure then. I'll need to get a 16.04 box setup to dig into what's going wrong. |
@superm1 Could this have something to do with having followed the guide at the top of this thread? Do I need to revert that last step? |
@KoenDG I don't think it should have, it looked like in your above efibootmgr output that you had not followed the guide (you picked
|
@superm1 It appears that after I did
|
@KoenDG When you run the update it will create a new entry for you and set it appropriately. |
Alright, I did the cleanup as follow:
After setting the reinstall for 1.7.5, it did indeed create the new option:
Here goes. |
@superm1 Looks like a failure. I took a picture with my phone: https://www.dropbox.com/s/6r6zeadqakbtjg5/2018-01-04%2023.35.59-1.jpg?dl=0 Hope it's readable. After that it just went on with a regular boot. |
Ah darn. OK so some other patches really need to come back with it then still, that's unfortunate. |
@superm1 Comment made. Not sure how to mark as failed. EDIT: Ah hang on I found it. Updated the tags at the top. |
So this issue from an upstream fwupdate perspective is fixed, I'm going to close it on Github. From an Ubuntu perspective, the SRU still needs to be done/fixed for xenial/16.04. Anyone who encounters this outside of Ubuntu with the older fwupdate, please file retry with the latest release (10) and open a new bug referencing this one if you have problems. |
@galgalesh Would you be able to bring your content from the first post about how to recover over to a Wiki page? I think it would be good to have it there so it's not lost in Github bug history if someone encounters this in the future. |
@galgalesh thanks for making the wiki page. |
@superm1 Neat, I'll try it out this weekend. |
@superm1 Update success. Firmware update from 1.7.5 to 1.8.1 was successful. |
That's great to hear, thanks. I'm going to lock this issue. Anyone who encounters this issue in the future:
If you are on Ubuntu and have that version or newer or you encounter it on any other distro, please file a new issue. |
I triggered the update with Gnome Software on Ubuntu 17.10. Gnome Software asked me to restart, I click restart. During boot, the update starts correctly, and succeeds. After it succeeds, the laptop boots back into fwupd, which fails with the following error:
After a few seconds, it shows another screen:
Help, I've got this issue too and I can't boot!
I was able to workaround the issue by going into
setup
,general > Boot Sequence
, and addinggrub64.efi
back as primary boot option.Picture walkthrough:
When you see this message, press F2 to enter the UEFI/BIOS setup.
Once in the setup, go to
general > Boot Sequence
.Click
Add boot option
.Call the boot option "Ubuntu" and click the three dots behind "filename".
Choose the "grubx64.efi" file, click OK and add the boot option.
Now use the arrows to put the "Ubuntu" boot option to the top.
Save and exit, reboot and Ubuntu boots as normal!
The text was updated successfully, but these errors were encountered: