[Bug 1519836] Re: MaaS fails to boot Hyper-V Generation 2 virtual machines
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Thu May 12 20:38:39 UTC 2016
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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1519836
Title:
MaaS fails to boot Hyper-V Generation 2 virtual machines
Status in MAAS:
Invalid
Status in grub2 package in Ubuntu:
In Progress
Bug description:
When trying to deploy a "Generation 2" virtual machine on Hyper-V,
grub fails to fetch the linux kernel and initrd from MaaS. The
operation times out immediately, because the Generation 2 VMs are
missing the Programmable Interval Timer (PIT). The current version of
grub still requires this interface to exist, in order to calculate
time.
There is a patch that uses the EFI SetTimer() available here:
http://savannah.gnu.org/bugs/?42944
and an alternative in the discussion here:
https://lists.gnu.org/archive/html/grub-devel/2014-10/msg00016.html
that uses pmtimer instead. I am aware that grub is a critical package.
What is the official/proper way to fix this issue? Can a patched
grubnetx64.efi be packaged with MaaS? Do we have to wait for this fix
to merge?
Gabriel
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1519836/+subscriptions
More information about the foundations-bugs
mailing list