From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 2 13:45:09 2014 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74F159F4 for ; Thu, 2 Oct 2014 13:45:09 +0000 (UTC) Received: from nm36.bullet.mail.ne1.yahoo.com (nm36.bullet.mail.ne1.yahoo.com [98.138.229.29]) (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 2FBE45E3 for ; Thu, 2 Oct 2014 13:45:08 +0000 (UTC) Received: from [127.0.0.1] by nm36.bullet.mail.ne1.yahoo.com with NNFMP; 02 Oct 2014 13:45:07 -0000 Received: from [98.138.100.115] by nm36.bullet.mail.ne1.yahoo.com with NNFMP; 02 Oct 2014 13:42:17 -0000 Received: from [216.39.60.172] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 02 Oct 2014 13:42:17 -0000 Received: from [216.39.60.246] by tm8.access.bullet.mail.gq1.yahoo.com with NNFMP; 02 Oct 2014 13:42:17 -0000 Received: from [127.0.0.1] by omp1017.access.mail.gq1.yahoo.com with NNFMP; 02 Oct 2014 13:42:17 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 46691.49802.bm@omp1017.access.mail.gq1.yahoo.com Received: (qmail 86424 invoked by uid 60001); 2 Oct 2014 13:42:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ameritech.net; s=s1024; t=1412257337; bh=Lf/vFDZxy9Jpduj7EbwgzClJC6SZwI5Ya8X7N7jhn2Q=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iR33b1k9kwqamWwLgDgGSjvPm8NTFA7uV78wINKhYxiMCFxIpo1KES+5vmLlcL1JMphQEG4+7AEfFBfujpQDTEyGEm6I61AzrKVlgqRE+DifQ050wPCoDWrOtB2yjBerYUFEYmS9NIgbV3li4XH9iEwrtlrK9KkoLrqp4gAZ2EU= X-YMail-OSG: Kb8GODYVM1k2aKOdsfXeYWSkzcEghuJfd1U4X_JGnXGEdpo klRFWC0Tvs3lZkhj5ozf_TiY4w3IslXsupvbq6AytOmaKgH7pYIzW5ThxVfE u9SIjpmWnary3zdwph3cWdZ6yxpJbKFsKeEWbih7pn2DYsdQqap0W25O.EyP Vt.xV8ufTP0JSyllh_sJLZN0uUG9xEJX6hnBp0L3HQcsNp6WSZYvWn4fKdwr G555S0Med_UZiWM8HzoSuThMsqdOFrWYH.wq5dvZsuu90uKp7OBT93TejcOs CJ7xdxRYiBwxZ05I0lQfFlFAyVvCXtz32lNbY3wJGEHStORaamejWghn6fMi 5DyQK7Z3Qz4GjTsHPGOowrL4pZtj_lGCm9hf5mJEeC0khtIj_Au1Gl2z4eTK MIhiVeo5EC3arn8Ihqb52qdB0rI3tYbBjZPsuhwAx5UexEC9wac.AS9UpUXM tbTls41TvOQr84kFkYTjoq22RynbRdD.IkWTT8D58o1yGdQCtozW1Oobjo5F jdNv5lLmpbBZoAgmfOBZr33kkIFzIBX3i0lWEBZY6LsP8CcdE0MK8Pwcv8R. eJr9UTSfZAE7u1pZy6GLu2LcIKg-- Received: from [64.53.192.4] by web185302.mail.gq1.yahoo.com via HTTP; Thu, 02 Oct 2014 06:42:16 PDT X-Rocket-MIMEInfo: 002.001, UkVNT1ZFIE1FIEZST00gWU9VUiBNQUlMIExJU1QuLi4uLi4uLi4uLi4gUExFQVNFICEhISEhISEhISEhDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpPbiBUaHUsIDEwLzIvMTQsIENocmlzIFJvc3MgPGNyb3NzK2ZyZWVic2RAZGlzdGFsLmNvbT4gd3JvdGU6DQoNCiBTdWJqZWN0OiBSZTogRnJlZUJTRCAxMC1TVEFCTEUvc3BhcmM2NCBwYW5pYw0KIFRvOiAiSm9obi1NYXJrIEd1cm5leSIgPGptZ0BmdW5rdGhhdC5jb20.DQogQ2M6IGZyZWVic2Qtc3BhcmM2NEBmcmUBMAEBAQE- X-Mailer: YahooMailClassic/786 YahooMailWebService/0.8.203.696 Message-ID: <1412257336.25317.YahooMailBasic@web185302.mail.gq1.yahoo.com> Date: Thu, 2 Oct 2014 06:42:16 -0700 From: Craig Masse Subject: Re: FreeBSD 10-STABLE/sparc64 panic To: John-Mark Gurney , Chris Ross In-Reply-To: <32B71E26-EA09-4143-9E6F-CF4E033E9106@distal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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:45:09 -0000 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"