Opened 3 years ago
Closed 3 years ago
#20596 closed defect (worksforme)
unaligned (x86_64 = 2MB) kernel crash the guest in nested mode
Reported by: | nplanel | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.26 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Mac OS X |
Description
VirtualBox Version 6.1.26 r145957 (Qt5.6.3) Host : MacOS Guest : Linux ManjaroMacBook 5.10.68-1-MANJARO #1 SMP PREEMPT Wed Sep 22 12:29:47 UTC 2021 x86_64 GNU/Linux
If you build a linus kernel < 4.4.124 (IIRC) kernel build script don't align the ELF to 2MB on x86_64 and make the guest crash, may due a triple page fault.
This as been addressed in linux kernel tree commit : e3d03598e8ae7d195af5d3d049596dec336f569f
testing command inside the guest # qemu-system-x86_64 -kernel linux-4.4
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Hi nplanel,
What exactly do you mean by the "guest crash"? VM process crashes on a host side or inner (nested) guest is unable to start?
In attempt to start 4.4.123 kernel (with qemu-system-x86_64) as a nested guest, I see "32-bit relocation outside of kernel" error here. Nothing really crashes. This error is expected if you use recent toolchain to build older kernels (from my understanding). The same error occurs if I start 4.4.123 (built w/ recent toolchain) on a bare metal.
I tried with VirtualBox 6.1.36.