As you see in this picture, when booting a Linux with 5.17 kernel, it stucks at EFI stub: exiting boot services, but it would boot on Linux 5.16, reverting the kernel proves this.
By using grub instead of efi-stub, we can see that grub hangs at loading kernel.
Probably the same issue that has been reported here in this board. The culprit appears to be the changes made to the Linux kernel to address recently reported security issues. It's causing any kernel with these fixes (including older versions that are receiving these fixes as a back port) to fail to boot on the Tech Preview.
If so, there nothing you can do except use a kernel binary released before March 2022. Or wait for VMware to comment and or address the issue.
@SergioGonzalez If this is indeed the issue of the kernel fixes for security issues causing your problem, there is no solution at this time other than finding an earlier kernel version that does not have those fixes incorporated. We are awaiting a response from VMware.
After some research it seems like it is not caused by recent Spectre-BHB fixes, I disabled that in Kconfig and 5.17 is till not bootable. The reason is that, recent Linux kernel adds support to read
register with traps into the hypervisor, treating it as faults on M1. QEMU already landed the patchset (http://firstname.lastname@example.org/) to fix this issue.
I uploaded a patchset for 5.17: https://gist.github.com/gnattu/c114091013cac6a6c36394c7a572281c
This reverts the support for ID_AA64ISAR2_EL1 register, and added some dirty workarounds to make the kernel build. This made 5.17 is now bootable for me. Removing a kernel feature for a broken hypervisor is clearly not a good approach, but it's the only choice for us to use a closed-source hypervisor. Hope this could help someone who wants to use 5.17 on VMware.
Wow... still no updated release? Or am I just looking in the wrong place? It's been months. I like using my Linux VM, but being stuck on 5.16.13 seems... wrong.
I did try to upgrade to latest 5.18.13 and nope, same bug. Alllrighty then. Someday.
@Mikero indicated that the updated TP may be available later this evening PDT. Check the Fusion Blog or the TP main page for the announcement (I'm suspecting that when I wake up on Friday morning EDT it will be there...) 🤞🙏
Which is awesome, but the F35 on 5.16 kernel that was working magically won't boot at all. ISO media for F35 won't even boot. 😞
I see a post saying F36 media is happier, but there are graphics oddities. For now, I've reverted to previous preview build. Let's bake this some more, folks.