Re: Grub2 UEFI PXE chainloader unloading Network Stack when chainloading an EFI module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/14/2016 12:49 PM, Leandro Gustavo Biss Becker wrote:
Analyzing the source code for both versions, I found an interesting change on grub-core\loader\efi\chainloader.c:382 ( I do not know if this change is broking what I need). In the newer version of grub, there is a call to grub_device_close(dev), so I'm wondering if this is causing the custom application to fail opening UEFI Network Protocols.


I'm not a grub developer, so I'm not familiar with the code, but you probably want to look at pxechainloader.c and the pxe.c file in the drivers directory. don't see the change that broke things, but it looks to me like grub_pxe_shutdown needs to be called with the GRUB_LOADER_FLAG_PXE_NOT_UNLOAD flag, and nothing is setting that. In pxechainloader.c, the grub_pxechain_unload is registered with that flag.

I don't have enough time to chase this down further, but if you want to, maybe start there.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux