Comment 9 for bug 1519836

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I've uploaded the suggested patch from Rigoberto Corujo and it indeed seems to improve the timer situation to some degree even outside of the PXE case (for example, it seems like EFI grub better handles checking the modifier key here to get to the grub menu).

Still, I'm concerned about the impact on this if EFI SetTimer timers are known to sometimes hang. Have you built grub2 from sources, were you building grub2 beta3 altogether from the git tree or just taking the patches and applying them?

I agree that commit a03c1034 is most likely insufficient to fix the issue if PIT isn't available on gen2 hyper-V; but I think we should do due diligence and check against all of master (if it hasn't been done already), especially for the following patch already in grub2 git; which seem promising:

http://git.savannah.gnu.org/cgit/grub.git/commit/?id=d43a5ee65143f384357fbfdcace4258e3537c214

This specifically calls out fixes for Hyper-V; and while it doesn't attempt to make use of SetTimer; it does use Stall in TimeServices to achieve a similar effect.