[Bug 1918265] Re: Random boot failure with Ubuntu 20.04 / grub 2.04 and Hyper-V 2012r2
Lucas Navarezi
1918265 at bugs.launchpad.net
Thu Sep 30 18:55:28 UTC 2021
We are currently facing the same problems with Linux Virtual Machines
running Ubuntu 18.04 and 20.04, both LTS releases.
Upon examining the Event Viewer on one of the Hosts machines, there's a
critical error message:
Event ID: 18602
Source: Hyper-V-Worker
<VM_NAME> has encountered a fatal error and a memory dump has been
generated. The guest operating system reported that it failed with the
following error code: 0x1E. If the problem persists, contact Product
Support for the guest operating system. (Virtual machine ID XXXXXXXX-
XXXX-XXXX-XXXX-XXXXXXXXXXXX)
These are some fixes we have tried so far:
- Install linux-azure packages and kernel;
- Enable Secure boot on Guest Machine;
- Scan the disk for corruption;
- Try different kernels.
We couldn't try other fixes like Updating the Hyper-V Server to 2019 or
disabling secure boot on Host machines, the reason being that we have
around 200 VMs across 8 Hosts.
Current configuration:
- 2 Clusters;
- 4 Hosts per cluster;
- All hosts are running Hyper-V 2016.
Unfortunately, we are not the only ones with the issue, the bug also
affects Debian and RHEL distros:
https://access.redhat.com/solutions/4796261
https://docs.microsoft.com/en-us/answers/questions/530961/windows-server-2016-hyper-v-boot-error-w-virtual-s.html
These ones are the same:
https://docs.microsoft.com/en-us/answers/questions/52937/failure-to-boot-on-red-hat-enterprise-linux-rhel-o.html
https://social.technet.microsoft.com/Forums/en-US/1da1f987-52f0-4304-84f1-2c0ab52f3586/failure-to-boot-on-red-hat-enterprise-linux-rhel-or-centos-8-using-hyperv-2016?forum=linuxintegrationservices
https://social.technet.microsoft.com/Forums/en-US/3c48c962-a28d-44bb-bd80-5b7a902404d8/failure-to-boot-on-red-hat-enterprise-linux-rhel-or-centos-8-using-hyperv-2016?forum=winserverhyperv
https://www.reddit.com/r/HyperV/comments/hx2cps/failure_to_boot_on_red_hat_enterprise_linux_rhel/
--
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/1918265
Title:
Random boot failure with Ubuntu 20.04 / grub 2.04 and Hyper-V 2012r2
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
Hi,
We are experiencing some weird boot issues with Ubuntu 20.04 and
Hyper-V 2012r2.
In two cases the installation started successfully, as did the VM
initial boot and then issues started to arise, where the boot process
started to fail.
grub start, the menu pop-up and then just after loading kernel and
initrd (tried to put some echo(es) in the config the VM somehow reset
and the menu pop-up back again.
After a few of thoses either the VM shut-down or the boot is
successfull, It seems completly random..
Here it is captured on video:
https://www.youtube.com/watch?v=5Bk3S-YGDZk
If i setup a direct EFI-STUB boot of the kernel+initrd the boot
process works every times.
I suspected the "save_env/load_env" for a while but a stripped down
grub.cfg give the same result..
> insmod gzio
> insmod part_gpt
> insmod ext2
> set root='hd0,gpt2'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 94ebc17e-6aca-4e42-b489-b3eaa8a32d90
> else
> search --no-floppy --fs-uuid --set=root 94ebc17e-6aca-4e42-b489-b3eaa8a32d90
> fi
> linux /vmlinuz-5.8.0-44-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro nosplash elevator=noop
> initrd /initrd.img-5.8.0-44-generic
> boot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1918265/+subscriptions
More information about the foundations-bugs
mailing list