RHEL 9.4 or later kernels fails to boot on Hyper-V 2016 bare metal system (not azure)
Issue
- RHEL 9.4 or later kernels like RHEL 9.5/9.6 and even upcoming RHEL 10 fails to boot on a Hyper-V 2016 bare metal system.
- Upon selecting the RHEL 9.4 or later kernels from GRUB menu. The VM automatically resets and fresh copy of GRUB menu is always loaded on screen.
- Setting up serial port will not yield any messages.
- The RHEL 9.4 and later kernels crash at very early stage where passing kernel parameters like 'ignore_loglevel initcall_debug earlyprintk=efi,keep debug' will also not yield any results on screen.
- Please note that the issue only reproducible when 'External' facing Hyper-V 2016's 'Virtual Switch' is attached and within virtual switch 'Virtual LAN Identification' feature is disabled.
- Check the diagnostic steps for more details.
Environment
- Red Hat Enterprise Linux 9.4 and later kernels.
- Red Hat Enterprise Linux 10 (upcoming).
- Hyper-V 2016 in windows server 2016 on a bare metal system.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.