FS#72482 - panic in do_sync_core in linux 5.13.12+ with Hyper-V on host

Attached to Project: Arch Linux
Opened by ilya (leniviy) - Tuesday, 19 October 2021, 19:24 GMT
Last edited by Toolybird (Toolybird) - Thursday, 02 March 2023, 06:36 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Occasionally I need to run Docker, WSL, and a VirtualBox Linux guest with 4 virtual CPUs on Windows 10 pro. For that reason I have the Windows component "Windows Hypervisor Platform".
Linux Kernels 5.13.10 and older worked stably, maybe 25% slower than with direct hardware Virtualization. However, after upgrading my VBox Guest VM to linux 5.14.12 it's having kernel Oops in do_sync_core quite regularly. Either during boot or shortly after. Sometimes the stack is printed on screen, but most often it just freezes with even the caret not blinking. In this case only one line is printed to VBox.log:


00:00:58.129967 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago

Sometimes there's EEPROM checksum error and I get no ethernet.

With the help of "downgrade" utility I figured out that 5.13.10 was the last good package and 5.13.12 and later were bad.

I even created a minimal VM for my colleagues to compare the setups: https://drive.google.com/file/d/1KD7ixaNec9lJW55n0Hsy9s7Q_sxwcbwY/view?usp=sharing
After boot it automatically starts to build a package from AUR (the one I was building the first time I encountered the bug). This is how I was able to track it to "Windows Hypervisor Platform". Uninstalling it makes the guest work stably, but that's not an option.

Reducing the number of Guest CPUs from 4 to 1 makes the panic go away.

Additional info:

Currently installed package on guest: linux 5.14.9, but upgrading to the latest 5.14.12-arch1 does not help.
* package version(s)

Host VirtualBox 6.1.26
Host Windows 10 Professional 64-bit (Build 19043)

* config and/or log files etc.

video https://drive.google.com/file/d/1I6y0XKZm658wLoXRYYDLT4QDb7IbJkGY/view?usp=sharing
VBoxLogs.zip, cpuz-report.zip, and console.zip with Oops details are attached

Steps to reproduce:

Launch the .ova above. Windows Hypervisor Platform has to be installed. Not sure what's the needed hardware, but most probably an Intel with 4+ cores.
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 02 March 2023, 06:36 GMT
Reason for closing:  None
Additional comments about closing:  Very old/stale bug. But we cannot support Windows hosts. If still reproducible, please report upstream.

Loading...