Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2016 15:27:26 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Randy Westlund <rwestlun@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Panic when loading vboxdrv module
Message-ID:  <92c7634b-8f19-eccd-75a0-68e5fd98e597@FreeBSD.org>
In-Reply-To: <20160725191314.GA10757@gmail.com>
References:  <20160725191314.GA10757@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--hvoBB77eSQMHm9FMFPWF3i9ssxIf1Xc5a
Content-Type: multipart/mixed; boundary="PLdIoFO9UNwmA4AlPfh7FMRoC2R6iB4vH"
From: Jung-uk Kim <jkim@FreeBSD.org>
To: Randy Westlund <rwestlun@gmail.com>, freebsd-current@freebsd.org
Message-ID: <92c7634b-8f19-eccd-75a0-68e5fd98e597@FreeBSD.org>
Subject: Re: Panic when loading vboxdrv module
References: <20160725191314.GA10757@gmail.com>
In-Reply-To: <20160725191314.GA10757@gmail.com>

--PLdIoFO9UNwmA4AlPfh7FMRoC2R6iB4vH
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 07/25/16 03:13 PM, Randy Westlund wrote:
> I'm running 12-CURRENT r303286 and virtualbox-ose-kmod-5.0.26.  I just
> rebuilt the module, so I know they're in sync.  When I boot with
> vboxdrv_load=3D"YES" in /etc/loader.conf, I get this panic during boot:=

>=20
>> panic: mutex Giant owned at /usr/src/sys/kern/kern_sync.c:406
>> cpuid =3D 0
>> KDB: stack backtrace:
>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b
>> vpanic() at vpanic+0x182
>> panic() at panic+0x43
>> __mtx_assert() at __mtx_assert+0xd1
>> mi_switch() at mi_switch+0x7b
>> sleepq_switch() at sleepq_switch+0x7e
>> sleepq_timedwait() at sleepq_timedwait+0x43
>> rtR0SemEventWait() at rtR0SemEventWait+0x267
>> supdrvGipCreate() at supdrvGipCreate+0x7f6
>> supdrvInitDexExt() at supdrvInitDexExt+0x18f
>> VBoxDrvFreeBSDModuleEvent() at VBoxDrvFreeBSDModuleEvent+0x49
>> module_register_init() at module_register_init+0xb0
>> mi_startup() at mi_startup+0x118
>> btext() at btext+0x2c
>> KDB: enter: panic
>> [ thread pid 0 tid 100000 ]
>> Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
>=20
> I'm not sure whether this is a problem with the base system or the port=
,
> but this happens every time I boot with the module enabled.

emulators/virtualbox-ose-kmod is causing the trouble and this problem is
well known.  To work around it, remove WITNESS option from kernel
configuration for now.

Jung-uk Kim


--PLdIoFO9UNwmA4AlPfh7FMRoC2R6iB4vH--

--hvoBB77eSQMHm9FMFPWF3i9ssxIf1Xc5a
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEbBAEBCAAGBQJXlmgeAAoJEHyflib82/FGQ9sH9iLncRO9VGtbQ6lZZARh54oQ
J2eGKJvp1zSzExoNelgpF+ViQiEVkda90qOIL3p5evCM1EOflw6O9Q7Nvwvq+jQ9
FiGlsSxlqLNYNqVHj6mjURzA0ZbFUUdcsrO51zIy2LFUR/qQnRHibIpZAtiB/SMy
MkcQizSeSIU1fKzA8wrmqCtEHcHVblJk/j9KzxqeMPNkCk/qnRKIpNJayiXWiU+j
ZY7gosStBpokJL/cCSASrNDAvqCZeSyE0ngOms7colCqFm0gErwfGveL/7uUTiqG
Z1/2NI67BC82rLMfHJko2YPV1WDXeMg2HA3ZCfLtQrI9kwmNGaAItzqOmusAKw==
=XVJF
-----END PGP SIGNATURE-----

--hvoBB77eSQMHm9FMFPWF3i9ssxIf1Xc5a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92c7634b-8f19-eccd-75a0-68e5fd98e597>