From owner-freebsd-current@FreeBSD.ORG Wed Nov 27 10:24:59 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 288BC137; Wed, 27 Nov 2013 10:24:59 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE41226A2; Wed, 27 Nov 2013 10:24:57 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id rARAOm0l046532; Wed, 27 Nov 2013 12:24:48 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua rARAOm0l046532 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id rARAOmbB046531; Wed, 27 Nov 2013 12:24:48 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 27 Nov 2013 12:24:48 +0200 From: Konstantin Belousov To: Don Lewis Subject: Re: panic: double fault with 11.0-CURRENT r258504 Message-ID: <20131127102448.GX59496@kib.kiev.ua> References: <20131127084800.GV59496@kib.kiev.ua> <201311270913.rAR9DfeL039290@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7xM+HP/38VnOPdrP" Content-Disposition: inline In-Reply-To: <201311270913.rAR9DfeL039290@gw.catspoiler.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 27 Nov 2013 10:24:59 -0000 --7xM+HP/38VnOPdrP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 27, 2013 at 01:13:41AM -0800, Don Lewis wrote: > On 27 Nov, Konstantin Belousov wrote: > > On Wed, Nov 27, 2013 at 12:22:27AM -0800, Don Lewis wrote: > >> It took a while, but I just got another double fault, though this one = is > >> somewhat different. This time it trapped in cpu_switch(), which > >> resulted in calls to > >> trap()->printf()->...->putchar()->msgbuf_addstr()->_mtx_lock_spin_flag= s() > >> where it trapped again. > >>=20 > >> Sitting at DDB prompt ... > >=20 > > Does 'show allpcpu' work ? >=20 > Yup. For both CPUs, curthread =3D=3D idlethread, both CPUs have the same > curpcb. What is "dynamic pcpu"? The values differ considerably between > the two CPUs. Are you sure about curpcb being the same for two CPUs ? This is rather broken. The best would be to show the actual ddb output. Dynamic pcpu is in fact 'static' pcpu which is allocated for modules. It must be per-cpu, so different values are correct. --7xM+HP/38VnOPdrP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSlchvAAoJEJDCuSvBvK1BviQP/1Kcp03cEQ4SpER3ybN4R9v7 BuEWbebzNPk/dF9BGqNiVN+fjDxRaVe8Yc+HkFKqC9f0ZA2WlcRksW6fRVnoW/Y/ NexLtn97tZQJF+u+zGDfWE2T0mvyasxdbUBgm4Q+Is/P96Qa5s4MVCiUMqpbpqw8 B6/8Hsvujc0ZBbsflP/gT6TgT0SP7klnThKVf4OrFgxUWvZUz5Xt10PwOeDfmsp4 8re68v0K+SrpNhcGzT9ZfGZKv4yF6rCIaYGeG6x5VbTKcVCi99xU68N+OzJqJ+Cp 7eNJeo9INUNxTkKfYIQF1tr9yU7bDcXD+7G2x5UbhL3EgCcqiuYzwRfLqlQdD/D1 Z/D4aA3MsxzxK+0szgxv/6yhqV7fUa8WRhlNUdpUXlJYKNbejWgtvdL0WBH+eIgf IkPj2LUYYZCMe+BrchX1WSdKhbPfWX484tJSI2XzDS0AW2p/dT5XA88C1wg2/AOn yftxKpUinvDkwDtjBeCKdQcVlXn+KInTtdFSzYF4XXS33TsHz8hMT+HGe9oIJKHF mQWsntpc5zpmy8q9ugZwF3LxvK9Aduz71au+Ow/q4l99c4/WQwZxSEKR2u1LxYcF LCI+DrJGsuHR4TPXEu4hoyjWrASnXthtk1uI7zYjpglxQ5mbzKOk5VbbwJBkgH/w UgVAuncXLPYXl1b0dHGi =+ngu -----END PGP SIGNATURE----- --7xM+HP/38VnOPdrP--