Bug 1346030

Summary: UEFI capsule firmware update fails on Dell XPS 13 (9350)
Product: [Fedora] Fedora Reporter: Daniel Miranda <danielkza2>
Component: efivarAssignee: Peter Jones <pjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: mario_limonciello, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: efivar-28-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-19 02:25:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch #1
none
Patch #2 none

Description Daniel Miranda 2016-06-13 17:54:54 UTC
Description of problem:

UEFI capsule firmware updates fail on my Dell XPS 13 (9350) on Fedora 23 with recent kernels (originally tested with 4.6), after working earlier. The bug can be tracked to efivar, that seems to have issues with NVMe devices. The bug is already fixed in the git master, but unfortunately not in any published release.


Version-Release number of selected component (if applicable):

efivar-0.21-2.fc23. Also applies to efivar 0.23 on F24 and Rawhide.


How reproducible:

Always on my machine - a Dell XPS 13 9350 with a 256GB Samsung PM951 NVMe SSD.


Steps to Reproduce:

1. Enable UEFI capsule firmware updates in the system firmware configuration
2. Attempt an update using `sudo fwupdmgr update`
3. Reboot the computer


Actual results:

No update is applied on reboot, and it's not possible to verify the status using `fwupdmgr get-results <UEFI-firmware-id>`.


Expected results:

Updates completes successfully and it's status can be verified on the next boot.


Additional info:

The necessary patches can be applied from the development branch to the efivar 0.23 sources and work correctly. I uploaded my builds of that combination to COPR and tested them with success. https://copr.fedorainfracloud.org/coprs/danielkza/efivar-f23/. I will also attach the patches to this issue.

More details can be found on the following Github issue: https://github.com/hughsie/fwupd/issues/46

Comment 1 Daniel Miranda 2016-06-13 17:55:34 UTC
Created attachment 1167664 [details]
Patch #1

Comment 2 Daniel Miranda 2016-06-13 17:56:16 UTC
Created attachment 1167665 [details]
Patch #2

Comment 3 Fedora Update System 2016-08-17 17:33:22 UTC
pesign-0.112-4.fc25 mokutil-0.3.0-3.fc25 efibootmgr-13-2.fc25 efivar-28-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-650675f139

Comment 4 Fedora Update System 2016-08-17 19:52:32 UTC
efibootmgr-13-2.fc25, efivar-28-1.fc25, mokutil-0.3.0-3.fc25, pesign-0.112-4.fc25 has been pushed to the Fedora 25 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-2016-650675f139

Comment 5 Fedora Update System 2016-08-19 02:24:47 UTC
efibootmgr-13-2.fc25, efivar-28-1.fc25, mokutil-0.3.0-3.fc25, pesign-0.112-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.