VirtualBox

Opened 3 years ago

Last modified 21 months 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)

dmesg.txt (186.4 KB ) - added by Andrew.N 3 years ago.
dmesg log
Screenshot_20210816_220110.png (132.7 KB ) - added by Andrew.N 3 years ago.
"Starting virtual machine..." screenshot
vbox-bug-5.13.16.txt (7.1 KB ) - added by Andrew.N 3 years ago.
VBox.log (1.7 KB ) - added by Andrew.N 3 years ago.
log from VM

Download all attachments as: .zip

Change History (6)

by Andrew.N, 3 years ago

Attachment: dmesg.txt added

dmesg log

by Andrew.N, 3 years ago

"Starting virtual machine..." screenshot

by Andrew.N, 3 years ago

Attachment: vbox-bug-5.13.16.txt added

comment:1 by Andrew.N, 3 years ago

Still present on kernel 5.13.16, log attached.

by Andrew.N, 3 years ago

Attachment: VBox.log added

log from VM

comment:2 by joeAverage, 21 months ago

setting CONFIG_DEBUG_KERNEL to NO in homebrewed 5.19 kernels fixes the crash too more to read: see ticket #21046

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use