From owner-freebsd-current@FreeBSD.ORG Wed Nov 27 19:20:18 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 D54AD55F; Wed, 27 Nov 2013 19:20:18 +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 709D222BC; Wed, 27 Nov 2013 19:20:18 +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 rARJK8Oh059514; Wed, 27 Nov 2013 21:20:08 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua rARJK8Oh059514 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id rARJK8OV059506; Wed, 27 Nov 2013 21:20:08 +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 21:20:08 +0200 From: Konstantin Belousov To: Don Lewis Subject: Re: panic: double fault with 11.0-CURRENT r258504 Message-ID: <20131127192008.GD59496@kib.kiev.ua> References: <20131127185017.GC59496@kib.kiev.ua> <201311271903.rARJ2v6u042303@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H8NM9WPt3ooVzFd/" Content-Disposition: inline In-Reply-To: <201311271903.rARJ2v6u042303@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 19:20:19 -0000 --H8NM9WPt3ooVzFd/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 27, 2013 at 11:02:57AM -0800, Don Lewis wrote: > On 27 Nov, Konstantin Belousov wrote: > > On Wed, Nov 27, 2013 at 10:33:30AM -0800, Don Lewis wrote: > >> On 27 Nov, Konstantin Belousov wrote: > >> > On Wed, Nov 27, 2013 at 09:41:36AM -0800, Don Lewis wrote: > >> >> On 27 Nov, Konstantin Belousov wrote: > >> >> > On Wed, Nov 27, 2013 at 02:49:12AM -0800, Don Lewis wrote: > >> >> >> > >> >> >=20 > >> >> > What is the instruction at cpu_switch+0x9b ? > >> >>=20 > >> >> movl 0x8(%edx),%eax > >> > So it is line 176 in swtch.s. Is machine still in ddb, or did you > >> > obtained the core ? If yes, please print out the content of words at > >> > 0xe4f62bb0 + 4, +8 (*), +16. Please print the content of the word at > >> > address (*) + 8. > >>=20 > >> It is still in ddb. > >>=20 > >> , though not in > >> the above order. > > Uhm, sorry, I mistyped the last part of the instructions. > >=20 > > The new thread pointer is 0xd2f4e000, there is nothing incriminating. > > Please print the word at 0xd2f4e000+0x254 =3D=3D 0xd2f4e254, which woul= d be > > the address of the new thread pcb. It is load from the pcb + 8 which > > faults. >=20 > 0xf3d44d60 Again, the pointer looks fine, and its tail is 0xd60, which is correct for the pcb offset in the last page of the thread stack. Please do 'show thread 0xd2f4e000' before trying below instructions. What happens if you try to read word at 0xf3d44d68 ? --H8NM9WPt3ooVzFd/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSlkXnAAoJEJDCuSvBvK1B260P/A+cLEvlSTnzVNlFWoEsbVph XtWBX8Pq3fRIvopJbG5IkzvRTh/gjuD4MXhxlgPwW03u+OX//KSJESp/hnJ2E4g2 7tRsE6ssH3oZUWNp5ctL1aFOVRrp0QbY+mNQ/wEOpOcpUxs0UYczmSfn4fxW8NVk R1LMS3rJasA/RTL+BPJIPwa8pbl3G9SV70aRFXixq1wJp8C3tTBW9h2Sn4Yyk3z/ jrnhVXfh+rNt+Fu++Mg7jJpgT1QMJA169hQxR7BClqY2VCPGrnUWHH7g8C+edFaM +e7RQsi6EZyHQkRwrtTrWhLbgZK1Z+KD/jRpBsE1T45le0ShY0N+DmlupJNYtYTQ 5YZDqT1h/kCoZXabMV73PEcBU23PEzxFj5CVL7BhjRjxq7mlUXIejN0kRrZUzGxX e/bdtO6Wn2VgyEDTq8/sVBsYugokuXRU0qgWiQRIRegRM+YbmGnpBLg4F3NP/kiu n7Hn4+V/GmCvuP1Lr8ATDApxelHAQ4h6k7D7zR9NYUEqaIPawUGixPRTrYiPXlB8 fVmmcVeAbZ8vyAKfBRwGxZUNPwLlARnS97QIoFvqMQLwkbM38jWLW4DyMzq47XIo OqmqY9ft0VmFfnijcUCKipTMD78XNuU6s6rntq+/GY1DIxkyNG/v+i21vR+INgzP oxrzxzy328uzVLH0DL+t =wSPj -----END PGP SIGNATURE----- --H8NM9WPt3ooVzFd/--