Vbox kernel module panic on boot

Marko Turk
Fri, 12 Jun 2015 19:35:29 -0000

Hi,

I'm running 10-STABLE and I have the following in my rc.conf:

vboxdrv_load="YES"
vboxnet_enable="YES"

Today I upgraded to r284295 and I get a kernel panic on boot when the
vbox module is loaded (panic: ncpus is 0 with non-zero map). Complete
backtrace is at the end of the mail.

Last time I upgraded was May 14 and then everything worked fine.

Has anyone else seen this? Is this a bug in virtualbox module or in
kernel?

BR,
Marko

(kgdb) #0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff80940ce2 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:451
#2  0xffffffff80941128 in vpanic (fmt=<value optimized out>,
    ap=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:758
#3  0xffffffff80940f53 in panic (fmt=0x0)
    at /usr/src/sys/kern/kern_shutdown.c:687
#4  0xffffffff8098a494 in smp_rendezvous_cpus (map=<value optimized out>,
    setup_func=<value optimized out>, action_func=<value optimized
out>,
    teardown_func=<value optimized out>, arg=<value optimized out>)
    at /usr/src/sys/kern/subr_smp.c:495
#5  0xffffffff82c77373 in RTMpOnSpecific () from /boot/modules/vboxdrv.ko
#6  0xffffffff82c583bb in supdrvInitDevExt () from /boot/modules/vboxdrv.ko
#7  0xffffffff82c63dfe in VBoxDrvFreeBSDModuleEvent ()
   from /boot/modules/vboxdrv.ko
#8  0xffffffff8092ac2b in module_register_init (arg=0xfffffe01abb6b000)
    at /usr/src/sys/kern/kern_module.c:123
#9  0xffffffff80920347 in linker_load_module (kldname=<value optimized
out>,
    modname=0xffffffff82c4b5a3 "vboxdrv", parent=0xfffff8001d3d4200,
    verinfo=0x19e65e03fb, lfpp=0x0) at /usr/src/sys/kern/kern_linker.c:225
#10 0xffffffff80922784 in linker_load_dependencies (lf=0xfffff8001d3d4200)
    at /usr/src/sys/kern/kern_linker.c:2088
#11 0xffffffff80e1db6b in link_elf_load_file (cls=<value optimized out>,
    filename=<value optimized out>, result=0xfffffe01af3b9a30)
    at /usr/src/sys/kern/link_elf_obj.c:849
#12 0xffffffff809200ed in linker_load_module (kldname=<value optimized
out>,
    modname=0xfffff800091d1400 "vboxnetflt", parent=0x0, verinfo=0x0,
    lfpp=0xfffffe01af3b9a70) at linker_if.h:161
#13 0xffffffff80921793 in kern_kldload (td=<value optimized out>,
    file=<value optimized out>, fileid=0xfffffe01af3b9ab4)
    at /usr/src/sys/kern/kern_linker.c:1030
#14 0xffffffff8092186b in sys_kldload (td=0xfffff8001d402940,
    uap=<value optimized out>) at /usr/src/sys/kern/kern_linker.c:1056
#15 0xffffffff80d35817 in amd64_syscall (td=0xfffff8001d402940, traced=0)
    at subr_syscall.c:134
#16 0xffffffff80d1a89b in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:396
#17 0x000000080088eb9a in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal
(kgdb)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150612/64200ea7/attachment.sig>