VirtualBox

Ticket #20504 (new defect)

Opened 14 months ago

Last modified 2 months ago

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

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

Change History

Changed 14 months ago by Andrew.N

dmesg log

Changed 14 months ago by Andrew.N

"Starting virtual machine..." screenshot

Changed 12 months ago by Andrew.N

comment:1 Changed 12 months ago by Andrew.N

Still present on kernel 5.13.16, log attached.

Changed 12 months ago by Andrew.N

log from VM

comment:2 Changed 2 months ago by joeAverage

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.

www.oracle.com
ContactPrivacy policyTerms of Use