Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2013 02:02:33 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        d@delphij.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: sysctl -a causes kernel trap 12
Message-ID:  <20130108000233.GZ82219@kib.kiev.ua>
In-Reply-To: <50EB602F.9050300@delphij.net>
References:  <50EB602F.9050300@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--1PhPE3kzXS7rBT0C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 07, 2013 at 03:54:23PM -0800, Xin Li wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>=20
> Hi,
>=20
> I've recently (by mid-December I think) noticed that sysctl -a can
> sometimes cause kernel trap 12.  Tried enabling INVARIANTS and the
> problem mysteriously disappeared.  After some experiments on this, it
> seems that this can be triggered by sysctl -a but the system have an 1
> in 10 chance to survive.  When INVARIANTS is enabled however, I can
> not trigger the panic.  "sysctl hw" triggers the panic sometimes, but
> not always.
>=20
> Do anybody have clue on this?  The system hangs hard when it panics so
> kernel debugger won't work.  When it panics, the fault instruction
> pointer is always 0x20:0xffffffff808d61c9, which is
> sys/kern/subr_turnstile.c:297:
>=20
> > /* Resort td on the list if needed. */ if
> > (!turnstile_adjust_thread(ts, td)) { mtx_unlock_spin(&ts->ts_lock);
> > // 297 // return; }
>=20
> This sounds like a race condition but I haven't yet able to track it
> down...

Could you try to isolate the sub-leaf under hw which causes the panic ?
Just shot in the dark, do you have Intel GPU gemified driver loaded ?

--1PhPE3kzXS7rBT0C
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQIcBAEBAgAGBQJQ62IYAAoJEJDCuSvBvK1B+d4P/0DrwSyV2MYDKfxbl4OT/f6r
Mcrof8S/Bgpa7YMJiMVWDzIkyIBsViA+ukQpl7iiieVBS5YQOtdy63JXUbegFVpB
AK+CLIjQ9wLYINe2GOnhclP2mjV80R3QxY61Vj1WR3zoL7Nhml6WDl8FDiizSAq8
ZiLn/3mBIhzphqybs++h2ZeMY0CyY8FFi0m6X9mkNdcfbmuiqywWCYQYU1L3+H5L
/jpnVtZK/T7S6UTz+zIf3foYGoOnxIYFYWGD6ceMKXyYN4MRIG9ybvuJ4Lgwgjin
MmiIOAcN13ERbu7aLXxOgGa9uGA/FcZA2zx+1N/HtRnSshI1NcfEn8Nz+/Yb1Nad
5TXb+UOYXtQI51C20Ns76hOLDuvY6nmdLAP2M7NPNUzJ6J+kV6kz4mXJ53sqtEEH
+dr8QwwVdXKLf4uNi8G9hssGxO/TyGNvQMR4WrK07MjSb4AT5dAlY5MogR7V2yVq
CswGfqPCAAEbVBhcB0oeZ9odp88md7KrS6jyaRzWUYtfw29tqqK+AnBd283TUMlg
Qn44coabfD+Soznd5j3ryyTOtnbuRvsSs7X0t0YSlej5h1JR9BS1W0hX5J8ilXIA
XbNXhXUJLpz4Us2LGwPd92P3KDJTYxj/Z9tXLCl9od5QFkLpOzSfvmcxrcwarz9t
Li9xHx3pfpgXiKo8jjHw
=OGXM
-----END PGP SIGNATURE-----

--1PhPE3kzXS7rBT0C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130108000233.GZ82219>