From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 2 13:47:35 2014 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D836A71 for ; Thu, 2 Oct 2014 13:47:35 +0000 (UTC) Received: from nbfkord-smmo06.seg.att.com (nbfkord-smmo06.seg.att.com [209.65.160.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CF1960F for ; Thu, 2 Oct 2014 13:47:34 +0000 (UTC) Received: from unknown [144.160.229.24] (EHLO alpi155.enaf.aldc.att.com) by nbfkord-smmo06.seg.att.com(mxl_mta-7.2.2-0) with ESMTP id 7775d245.2b5fd0a40940.5795869.00-2424.16197508.nbfkord-smmo06.seg.att.com (envelope-from ); Thu, 02 Oct 2014 13:47:35 +0000 (UTC) X-MXL-Hash: 542d57770e32fc8e-3b7f60973418efde35e05e8216c0a0714ca94412 Received: from unknown [144.160.229.24] (EHLO alpi155.enaf.aldc.att.com) by nbfkord-smmo06.seg.att.com(mxl_mta-7.2.2-0) over TLS secured channel with ESMTP id f375d245.0.5795321.00-2377.16195755.nbfkord-smmo06.seg.att.com (envelope-from ); Thu, 02 Oct 2014 13:46:40 +0000 (UTC) X-MXL-Hash: 542d5740340e4cd3-0d83284bd936c8be316653ad2dd38d40a0e8f21f Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id s92Dkc7g012299; Thu, 2 Oct 2014 09:46:39 -0400 Received: from mlpi409.sfdc.sbc.com (mlpi409.sfdc.sbc.com [130.9.128.241]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id s92DkR5V012105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 2 Oct 2014 09:46:35 -0400 Received: from MISOUT7MSGHUBAH.ITServices.sbc.com (MISOUT7MSGHUBAH.itservices.sbc.com [130.9.129.152]) by mlpi409.sfdc.sbc.com (RSA Interceptor); Thu, 2 Oct 2014 13:46:09 GMT Received: from MISOUT7MSGUSRCC.ITServices.sbc.com ([169.254.3.199]) by MISOUT7MSGHUBAH.ITServices.sbc.com ([130.9.129.152]) with mapi id 14.03.0195.001; Thu, 2 Oct 2014 09:46:08 -0400 From: "CARTWRIGHT, CORY C" To: Craig Masse , John-Mark Gurney , Chris Ross Subject: RE: FreeBSD 10-STABLE/sparc64 panic Thread-Topic: FreeBSD 10-STABLE/sparc64 panic Thread-Index: AQHP3exXoYEPGE6TbEq7BooYms+gAJwdEtuAgAABtQD//74AAA== Date: Thu, 2 Oct 2014 13:46:08 +0000 Message-ID: References: <32B71E26-EA09-4143-9E6F-CF4E033E9106@distal.com> <1412257336.25317.YahooMailBasic@web185302.mail.gq1.yahoo.com> In-Reply-To: <1412257336.25317.YahooMailBasic@web185302.mail.gq1.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.45.107.52] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-RSA-Inspected: yes X-RSA-Classifications: public X-AnalysisOut: [v=2.0 cv=LIzRtuq9 c=1 sm=1 a=dhB6nF3YHL5t/Ixux6cINA==:17 a] X-AnalysisOut: [=ofMgfj31e3cA:10 a=Oe0pjaowp24A:10 a=BLceEmwcHowA:10 a=8nJ] X-AnalysisOut: [EP1OIZ-IA:10 a=zQP7CpKOAAAA:8 a=XIqpo32RAAAA:8 a=6I5d2MoRA] X-AnalysisOut: [AAA:8 a=MXhr-EMnAAAA:8 a=4FFUHJPBAAAA:8 a=EapLHF5jvKlwWskn] X-AnalysisOut: [rhEA:9 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 a=TCgD3fc5JeIA:] X-AnalysisOut: [10 a=WglDhLyllLQA:10] X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2014051901)] X-MAIL-FROM: X-SOURCE-IP: [144.160.229.24] Cc: "freebsd-sparc64@freebsd.org" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 13:47:35 -0000 To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" -----Original Message----- From: owner-freebsd-sparc64@freebsd.org [mailto:owner-freebsd-sparc64@freeb= sd.org] On Behalf Of Craig Masse Sent: Thursday, October 02, 2014 9:42 AM To: John-Mark Gurney; Chris Ross Cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD 10-STABLE/sparc64 panic REMOVE ME FROM YOUR MAIL LIST............ PLEASE !!!!!!!!!!! -------------------------------------------- On Thu, 10/2/14, Chris Ross wrote: Subject: Re: FreeBSD 10-STABLE/sparc64 panic To: "John-Mark Gurney" Cc: freebsd-sparc64@freebsd.org Date: Thursday, October 2, 2014, 8:36 AM =20 =20 On Oct 1, 2014, at 22:53 , Chris Ross wrote: > On Sep 29, 2014, at 00:22 , John-Mark Gurney wrote: >> If you could get a core dump (call doadump) that'd be good, but dumping >> the stack of the tid that held the spinlock too long would be a good >> start.. >=20 >=A0 I fear I'm going to need some help doing this.=A0 I'm not sure what I need to > do to get into ddb.=A0 (And, after that, I'm not sure how to dump the stack of > the tld that held the spinlock) =20 =A0 Okay.=A0 I rebuilt GENERIC after adding options DDB, and found the following: =20 spin lock 0xc0ccbdb0 (smp rendezvous) held by 0xfffff8000559f6d0 (tid 100351) too long timeout stopping cpus panic: spin lock held too long [...] db> thread 100351 [ thread pid 299 tid 100351 ] sched_switch+0x3e0:=A0 =A0=A0=A0call=A0 =A0 =A0 =A0 =A0 =A0 cpu_switch db> thread=A0 =A0 =A0=A0=A0 [ thread pid 299 tid 100351 ] sched_switch+0x3e0:=A0 =A0=A0=A0call=A0 =A0 =A0 =A0 =A0 =A0 cpu_switch db> bt Tracing pid 299 tid 100351 td 0xfffff8000559f6d0 mi_switch() at mi_switch+0x19c critical_exit() at critical_exit+0x9c spinlock_exit() at spinlock_exit+0x8 turnstile_chain_unlock() at turnstile_chain_unlock+0x6c __mtx_unlock_sleep() at __mtx_unlock_sleep+0x9c bge_init() at bge_init+0x5c ether_ioctl() at ether_ioctl+0x70 M_PLIMIT() at M_PLIMIT+0x8 db> dump Cannot dump: no dump device specified. db>=20 =20 =A0 Apparently, I don't have a dump device set, so I'll to fix that next and get a core dump.=A0 I'm not sure, however, if what I provided above was the stack of the tid as was requested.=A0 At least, it's not 100% consistent.=A0 Since I had a DDB kernel running, while trying to get the system back up to multiuser, I did get many more panic's to experiment with, and doing the same "thread NNN", "bt" on many passes I sometimes got different results. Perhaps I'm doing something wrong?=A0 Or worse, it may not be 100% consistent.=A0 :-/ =20 =A0 A pointer to what I need to do within ddb would be appreciated, if I'm doing anything wrong (or suboptimmally), or any other instructions. I'll try to get a dump device specified. =20 =A0 Thanks. =20 =A0 =A0 =A0 =A0 =A0 =A0 =A0 - Chris =20 =20 =20 =20 =20 _______________________________________________ freebsd-sparc64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" =20 _______________________________________________ freebsd-sparc64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org"