Comments (20)
Could you share some more information about the rest of the stack on your system?
- kernel version
- efivar version
- fwupdate version
Your error is coming from here:
https://github.com/rhinstaller/fwupdate/blob/master/linux/libfwup.c#L1137 or here https://github.com/rhinstaller/fwupdate/blob/master/linux/libfwup.c#L1235
My gut feeling is that this is the immutable stuff that happened in the linux kernel. If you don't have a new enough efivar, fwupdate won't know how to handle it properly.
from fwupd.
kernel 4.6.0-0.rc4.git0.1.fc25.x86_64
efivar-libs.x86_64 0.21-2.fc23
fwupd.x86_64 0.5.4-1.fc23
What version of efivar-libs is needed? There are no updates for it available in Fedora 23 nor Rawhide.
from fwupd.
0.23, or at least this commit:
rhboot/efivar@df78c36
That is what you are missing and would cause permissions problems on immutable sysfs files.
On Mon, May 9, 2016 at 8:51 PM Daniel Miranda [email protected]
wrote:
kernel 4.6.0-0.rc4.git0.1.fc25.x86_64
efivar-libs.x86_64 0.21-2.fc23
fwupd.x86_64 0.5.4-1.fc23What version of efivar-libs is needed? There are no updates for it
available in Fedora 23 nor Rawhide.—
You are receiving this because you commented.Reply to this email directly or view it on GitHub
#46 (comment)
from fwupd.
I see, I'll ask about it in the fedora-devel list, since it's probably a good idea to get 0.23 in before F24.
from fwupd.
My bad, it is actually available in Rawhide. I'll update it and see if it fixes the issue.
edit: No luck. The update
command succeeds, but after a reboot nothing happens. The Dell logo stays for a little while, but then GRUB kicks in. get-results
fails afterwards, so I have no idea what's the problem:
$ sudo fwupdmgr get-results UEFI-33773727-8ee7-4d81-9fa0-57e8d889e1fa-dev0 -v
Cannot get UEFI status for 33773727-8ee7-4d81-9fa0-57e8d889e1fa
from fwupd.
OK so you are probably running into a problem that is fixed already in master for fwupdate and efivar because I've verified the full stack in Ubuntu 16.04 works properly, but it's tracking extra commits that aren't in released versions yet.
Does your system have an NVMe disk? If so, it's likely a mess of efifvar commits for NVMe support. You should rebuild efivar from master and if it fixes it encourage pjones to release a new version. These are the most relevant ones:
rhboot/efivar@32fa1ac
rhboot/efivar@d76c86b
If you don't have an NVMe disk, need to know what version of 'fwupdate' you have (don't mistake fwupd which you provided details already). There's been a lot of activity in fwupdate so if it's a snapshot it might need to be updated to a newer one.
FWIW in Debian and Ubuntu I've verified it working with fwupdate 0.5 and efivar 0.23 + those two NVMe patches on a system with NVMe.
from fwupd.
I do have an NVMe drive. I'll test with newer versions of fwupd and efivar and report back.
from fwupd.
In that case you are probably better off just backporting the two NVMe fixes I mentioned above otherwise the whole stack has to come backward due to some API changes in efivar (efivar, efibootmgr, fwupdate all need to be updated!).
from fwupd.
I'll just try to rebuild the 0.23 RPM with the patches then.
from fwupd.
If you still have a problem you should delete your Linux firmware boot
entry from efibootmgr. I forget if it will automatically recreate it or
assume old one works when it finds one.
On Mon, May 16, 2016, 17:07 Daniel Miranda [email protected] wrote:
I'll just try to rebuild the 0.23 RPM with the patches then.
—
You are receiving this because you commented.Reply to this email directly or view it on GitHub
#46 (comment)
from fwupd.
@superm1 It works! I compiled efivar 0.23 with the two patches you mentioned and deleted the old boot entry, and the update ran fine (a new entry was created automatically). Thanks for pointing me in the right direction.
from fwupd.
@danielkza Great, glad to hear it worked. Can you raise this in the appropriate development lists to get these patches put in in case efivar 0.24 isn't released soon?
from fwupd.
Sure. in the meantime I may get the patched packages in a COPR repo for anyone that has the same trouble.
from fwupd.
@danielkza I'm facing this exact same issue. I tried searching for your (or any updated) efivar package in COPR but I find none. Could you please upload it so I can update my 9350 FW too? Or better even, I'm curious to know how I go about getting those patches in myself.. if it's not too asked too much :-)
from fwupd.
@stephanmol I cherry-picked the commits mentioned by @superm1 and
recompiled the 0.23 package. I'll get you the SRPM when I get to my home PC.
Em sex, 10 de jun de 2016 18:49, stephanmol [email protected]
escreveu:
@danielkza https://github.com/danielkza I'm facing this exact same
issue. I tried searching for your (or any updated) efivar package in COPR
but I find none. Could you please upload it so I can update my 9350 FW too?
Or better even, I'm curious to know how I go about getting those patches in
myself.. if it's not too asked too much :-)—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
#46 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAtnThAbNv6Su9mmu3ssHUyWDyuALBl3ks5qKdvsgaJpZM4IaolW
.
from fwupd.
@stephanmol Sorry for the delay. I created a COPR with my patched packages. It's still building, but should be done shortly. https://copr.fedorainfracloud.org/coprs/danielkza/efivar-f23
from fwupd.
Daniel,
Do you know the right way to get those packages out to the affected stable
fedora releases? I think it would be best to distro patch for now like
Ubuntu and Debian both did.
On Mon, Jun 13, 2016, 11:35 Daniel Miranda [email protected] wrote:
@stephanmol https://github.com/stephanmol Sorry for the delay. I
created a COPR with my patched packages. It's still building, but should be
done shortly. https://copr.fedorainfracloud.org/coprs/danielkza/efivar-f23—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#46 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAeLvjVERsAyrWmVTbBc5XoRew4MgxHsks5qLYa8gaJpZM4IaolW
.
from fwupd.
@superm1 You're absolutely correct, it's much better to get this fixed in the distro packages. The COPR is just a stop-gap measure if anyone needs it like I did. I'll raise the issue on the Fedora mailing list or the RH bugtracker.
from fwupd.
Reported at https://bugzilla.redhat.com/show_bug.cgi?id=1346030.
from fwupd.
It worked @danielkza. Thanks a lot!
from fwupd.
Related Issues (20)
- HP "USB-C Dock G5" prompts for reboot after update HOT 6
- Dell Precision 7560,Precision 7760 - Version 1.27.0 not showing HOT 14
- Firmware Update of ELAN Touchscreen of HP Laptop does not work
- fwupd confined snap can't communicate with fwupd client confined snaps HOT 4
- confined snap errors when enumerating TPM HOT 1
- About gnome software over fwupd in snapd HOT 1
- ThinkPad X280 can't downgrade Thunderbolt firmware version & get report "Unmatched performance for high speed I/O" HOT 3
- Can't update firmware on Aerox 3 Wireless Mouse (`firmware is 4000 bytes smaller than the allowed minimum size of 27000 bytes`) HOT 40
- WARNING: UEFI capsule updates not available or enabled in firmware setup
- Hmm; modify-config is broken... Look what a few runs are doing: HOT 6
- 1.9.x is showing odd message on update HOT 1
- "WARNING: UEFI capsule updates not available or enabled in firmware setup" with `DisabledPlugins=test;test_ble;invalid;bios` in config HOT 2
- Additional systemd options HOT 15
- "Precondition Failed": what is it? HOT 1
- Passim listens on 0.0.0.0:27500 and [::]:27500 until reboot HOT 4
- Mediatek scaler chip device is missing with snap fwupd 1.9.11 HOT 3
- lvfs firmware.xml.xz -vs- firmware.xml.gz HOT 8
- Failed to open cab file error when local install is executed on Snap version of fwupd HOT 5
- Fail to update HP USB-C Dock G4 with the CAB file from LVFS: signatures were required HOT 22
- redfish: About fwupd 1.9.12 version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fwupd.