Coder Social home page Coder Social logo

Comments (20)

superm1 avatar superm1 commented on July 17, 2024

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.

danielkza avatar danielkza commented on July 17, 2024

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.

superm1 avatar superm1 commented on July 17, 2024

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.fc23

What 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.

danielkza avatar danielkza commented on July 17, 2024

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.

danielkza avatar danielkza commented on July 17, 2024

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.

superm1 avatar superm1 commented on July 17, 2024

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.

danielkza avatar danielkza commented on July 17, 2024

I do have an NVMe drive. I'll test with newer versions of fwupd and efivar and report back.

from fwupd.

superm1 avatar superm1 commented on July 17, 2024

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.

danielkza avatar danielkza commented on July 17, 2024

I'll just try to rebuild the 0.23 RPM with the patches then.

from fwupd.

superm1 avatar superm1 commented on July 17, 2024

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.

danielkza avatar danielkza commented on July 17, 2024

@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.

superm1 avatar superm1 commented on July 17, 2024

@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.

danielkza avatar danielkza commented on July 17, 2024

Sure. in the meantime I may get the patched packages in a COPR repo for anyone that has the same trouble.

from fwupd.

stephanmol avatar stephanmol commented on July 17, 2024

@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.

danielkza avatar danielkza commented on July 17, 2024

@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.

danielkza avatar danielkza commented on July 17, 2024

@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.

superm1 avatar superm1 commented on July 17, 2024

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.

danielkza avatar danielkza commented on July 17, 2024

@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.

danielkza avatar danielkza commented on July 17, 2024

Reported at https://bugzilla.redhat.com/show_bug.cgi?id=1346030.

from fwupd.

stephanmol avatar stephanmol commented on July 17, 2024

It worked @danielkza. Thanks a lot!

from fwupd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.