Bug 1495137 - XPS13 9360: efi boot entry not created to actually perform the BIOS update
Summary: XPS13 9360: efi boot entry not created to actually perform the BIOS update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fwupd
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-25 09:25 UTC by Thorsten Leemhuis
Modified: 2018-01-12 01:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-12 01:51:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thorsten Leemhuis 2017-09-25 09:25:38 UTC
Description of problem:
gnome-software and fwupdmgr fail to install the latest BIOS update on my Dell XPS13 (9360). The tools say everything is prepared to perfrom the update on the next boot, but nothing happens. I looked a little bit closer and it seems no EFI Boot entry is created to boot into the tool that actually perfroms the BIOS update. 

Side note: I just a week ago while still being on F26 I installed a BIOS update using gnome-software and it work flawlessly

Version-Release number of selected component (if applicable):
fwupd-0.9.7-1.fc27.x86_64

Steps to Reproduce:
[thl@xps13 ~]$ sudo efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002
Boot0000* ubuntu	HD(1,GPT,1581e109-84e9-4f02-9163-7491ab8d9362,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Fedora	HD(1,GPT,1581e109-84e9-4f02-9163-7491ab8d9362,0x800,0xfa000)/File(\EFI\fedora\shim.efi)
[thl@xps13 ~]$ sudo fwupdmgr update && echo $?
Downloading 0.2.2.1 for XPS 13 9360 System Firmware...
Updating 0.2.2.1 on XPS 13 9360 System Firmware...
Decompressing…         [   -                                    ]
Scheduling…            [      \                                 ]Retrying as an offline update...
Decompressing…         [         |                              ]
Scheduling…            [            /                           ]
0
[thl@xps13 ~]$ sudo efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002
Boot0000* ubuntu	HD(1,GPT,1581e109-84e9-4f02-9163-7491ab8d9362,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Fedora	HD(1,GPT,1581e109-84e9-4f02-9163-7491ab8d9362,0x800,0xfa000)/File(\EFI\fedora\shim.efi)
[thl@xps13 ~]$

Comment 1 Thorsten Leemhuis 2017-09-28 14:17:26 UTC
Found a hint what's wrong in the log when trying gnome-software again:

Sep 28 16:10:38 xps13 gnome-software[2165]: failed to call gs_plugin_update_app on fwupd: UEFI firmware update failed: {error #0} /builddir/build/BUILD/fwupdate-9/linux/libfwup.c:1193 get_fd_and_media_path(): open of /boot/efi/EFI/EFI/fedora/fw/fwupdate-rlS8C0.cap failed: Datei oder Verzeichnis nicht gefunden 

The "Datei oder Verzeichnis nicht gefunden" is basically "file or directory not found. And that's correct, as there is one "EFI/" to much in the path here.

Comment 2 Alessio 2017-10-13 19:46:44 UTC
Same here.

$ rpm -qa|grep fwupd
fwupd-0.9.7-1.fc27.x86_64
fwupdate-libs-9-0.2.fc27.x86_64
fwupd-labels-0.9.7-1.fc27.x86_64
fwupdate-efi-9-0.2.fc27.x86_64

$ uname -a
Linux hostname 4.13.5-300.fc27.x86_64 #1 SMP Thu Oct 5 16:57:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

And gnome-software log:

Oct 13 17:18:14 pbale gnome-software[2391]: failed to call gs_plugin_update_app on fwupd: UEFI firmware update failed:
                                            {error #0} /builddir/build/BUILD/fwupdate-9/linux/libfwup.c:1224 get_fd_and_media_path(): mkostemps(/boot/efi/EFI//boot/efi/EFI/fedora/fw/fw/fwupdate-8frf4b.cap) failed: No such file or directory

Comment 3 Jonathan Haas 2017-10-26 05:26:01 UTC
Same on an XPS 9350 DE:

Okt 26 07:25:30 xps gnome-software[2497]: failed to call gs_plugin_update_app on fwupd: UEFI firmware update failed:
                                          {error #0} /builddir/build/BUILD/fwupdate-9/linux/libfwup.c:1193 get_fd_and_media_path(): open of /boot/efi/EFI/EFI/fedora/fw/fwupdate-sWQhaT.cap failed: No such file or directory

Comment 4 Alessio 2017-10-31 13:44:49 UTC
Installed fwupd-0.9.8-1.fc27.x86_64 from updates-testing (F27)

# fwupdmgr update && echo $?

Downloading 0.2.2.1 for XPS 13 9360 System Firmware...
Updating 0.2.2.1 on XPS 13 9360 System Firmware...
Decompressing…         [  -                                     ]
Scheduling…            [    \                                   ]UEFI firmware update failed:
{error #0} /builddir/build/BUILD/fwupdate-9/linux/libfwup.c:1224 get_fd_and_media_path(): mkostemps(/boot/efi/EFI//boot/efi/EFI/fedora/fw/fw/fwupdate-SNZAnE.cap) failed: No such file or directory

Comment 5 Mario Limonciello 2017-10-31 15:19:09 UTC

*** This bug has been marked as a duplicate of bug 1506609 ***

Comment 6 Fedora Update System 2018-01-08 22:46:36 UTC
fwupdate-10-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-daf33a1408

Comment 7 Fedora Update System 2018-01-09 17:43:28 UTC
fwupdate-10-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-daf33a1408

Comment 8 Fedora Update System 2018-01-12 01:51:54 UTC
fwupdate-10-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.