From owner-freebsd-current@freebsd.org Mon Jul 25 19:27:33 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA3C1BA136F for ; Mon, 25 Jul 2016 19:27:33 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 74CCB1849; Mon, 25 Jul 2016 19:27:33 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: Panic when loading vboxdrv module To: Randy Westlund , freebsd-current@freebsd.org References: <20160725191314.GA10757@gmail.com> From: Jung-uk Kim Message-ID: <92c7634b-8f19-eccd-75a0-68e5fd98e597@FreeBSD.org> Date: Mon, 25 Jul 2016 15:27:26 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160725191314.GA10757@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hvoBB77eSQMHm9FMFPWF3i9ssxIf1Xc5a" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 19:27:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hvoBB77eSQMHm9FMFPWF3i9ssxIf1Xc5a Content-Type: multipart/mixed; boundary="PLdIoFO9UNwmA4AlPfh7FMRoC2R6iB4vH" From: Jung-uk Kim To: Randy Westlund , 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--