Opened 5 months ago
Last modified 5 months ago
#22064 new defect
On LLVM clang compiled Linux kernel host, VirtualBox hard-freezes the host when launching a Virtual Machine. — at Version 1
| Reported by: | dreieck | Owned by: | |
|---|---|---|---|
| Component: | host support | Version: | VirtualBox-7.0.16 |
| Keywords: | freeze | Cc: | dreieck |
| Guest type: | all | Host type: | Linux |
Description (last modified by )
Ahoj,
I am on Linux, kernel version 6.8.8, Virtual Box version 7.0.16.
Virtual Box host module compiled via DKMS for all installed kernels.
When I want to run any VortualBox virtual machine with a Linux kernel compiled using the LLVM clang compiler, the system freezes immediately, only a hard reset helps (also the Linux' SysRq does not work anymore). A dmesg -w running in parallel in another window does not show anything (before system freeze).
When I instead use a kernel compiled with GCC (otherwise same kernel configuration), VirtualBox virtual machine runs as expected.
Note that using LLVM clang is a supported compiler for Linux.
I attach the following files for background information:
- Kernel config of the GCC compiled kernel:
config_6.8.8-gcc.gz(compressed), - Kernel config of the LLVM clang compiled kernel:
config_6.8.8-clang.gz(compressed), diffbetween those two kernel configurations:config-diff_6.8.8-gcc-clang.txt,dmesgoutput after booting the system with the GCC compiled kernel:dmesg_6.8.8-gcc.log,dmesgoutput after booting the system with the LLVM clang compiled kernel:dmesg_6.8.8-clang.log,hwinfooutput (captured with the LLVM clang compiled kernel):hwinfo_6.8.8-clang.log.zstd(compressed),inxi -Foutput (captured with the LLVM clang compiled kernel):inxi_6.8.8-clang.log,lspci -vvvoutput (captured with the LLVM clang compiled kernel):lspci_6.8.8-clang.log,- The VirtualBox-logfile of sucessfully running a Virtual Machine from the host booted with the GCC compiled kernel:
VirtualBox-machine-log_CD boot-2024-05-04-19-58-26_6.8.8-gcc.log. *(All occurances of<censored>in those logs are censorings of my username.)*
Regards!
Change History (10)
by , 5 months ago
| Attachment: | config_6.8.8-gcc.gz added |
|---|
by , 5 months ago
| Attachment: | config_6.8.8-clang.gz added |
|---|
Linux kernel config of the clang compiled kernel
by , 5 months ago
| Attachment: | config-diff_6.8.8-gcc-clang.txt added |
|---|
diff between the two kernel configs (GCC and clang compiled kernel)
by , 5 months ago
| Attachment: | dmesg_6.8.8-gcc.log added |
|---|
dmesg output after booting the system with the GCC compiled kernel
by , 5 months ago
| Attachment: | dmesg_6.8.8-clang.log added |
|---|
dmesg output after booting the system with the clang compiled kernel
by , 5 months ago
| Attachment: | hwinfo_6.8.8-clang.log.zst added |
|---|
hwinfo output (captured with the LLVM clang compiled kernel)
by , 5 months ago
| Attachment: | inxi_6.8.8-clang.log added |
|---|
inxi -F output (captured with the LLVM clang compiled kernel)
by , 5 months ago
| Attachment: | lspci_6.8.8-clang.log added |
|---|
lspci -vvv output (captured with the LLVM clang compiled kernel)
by , 5 months ago
| Attachment: | VirtualBox-machine-log_CD boot-2024-05-04-19-58-26_6.8.8-gcc.log added |
|---|
The VirtualBox-logfile of sucessfully running a Virtual Machine from the host booted with the GCC compiled kernel
comment:1 by , 5 months ago
| Description: | modified (diff) |
|---|


Linux kernel configuration of the GCC compiled kernel