Opened 3 years ago
Last modified 2 years ago
#20504 new defect
vboxdrv: linux kernel errors on debug kernel and vbox modules built by akmods
Reported by: | Andrew.N | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.26 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
Have several "WARNING" and "BUG" from debug Linux kernel on Fedora 34:
WARNING: CPU: 3 PID: 5680 at kernel/smp.c:874 smp_call_function_many_cond+0x1c7/0x3c0 WARNING: CPU: 3 PID: 6837 at arch/x86/include/asm/kfence.h:44 kfence_unprotect+0x2a/0x90 WARNING: CPU: 3 PID: 6837 at mm/kfence/core.c:135 kfence_unprotect+0x2c/0x90 BUG: kernel NULL pointer dereference, address: 0000000000000018 BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49
Linux kernel is installed from Fedora repos and vbox modules built locally by akmods package.
First warning (smp_call_function_many_cond) occurs at vboxdrv module load.
Rest of errors occur while starting VM -- it does not start after this, hanging on "Starting virtual machine..."
Attaching screenshot and dmesg.
When trying same version of non-debug kernel (from main Fedora repo) and prebuilt vbox modules (from rpmfusion repo) -- there are no such errors and VM starts fine.
Package versions:
kernel-debug-5.13.9-200.fc34.x86_64 akmods-0.5.6-27.fc34.noarch akmod-VirtualBox-6.1.26-1.fc34.x86_64 VirtualBox-kmodsrc-6.1.26-2.fc34.noarch VirtualBox-server-6.1.26-2.fc34.x86_64 VirtualBox-6.1.26-2.fc34.x86_64
Attachments (4)
Change History (6)
by , 3 years ago
by , 3 years ago
Attachment: | Screenshot_20210816_220110.png added |
---|
"Starting virtual machine..." screenshot
by , 3 years ago
Attachment: | vbox-bug-5.13.16.txt added |
---|
comment:2 by , 2 years ago
setting CONFIG_DEBUG_KERNEL to NO in homebrewed 5.19 kernels fixes the crash too more to read: see ticket #21046
dmesg log