From owner-freebsd-sparc64@FreeBSD.ORG Sun Oct 5 05:04:14 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 CF981F15 for ; Sun, 5 Oct 2014 05:04:14 +0000 (UTC) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E31EF8 for ; Sun, 5 Oct 2014 05:04:14 +0000 (UTC) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200::ae25]) (authenticated bits=0) by hydra.pix.net (8.14.9/8.14.9) with ESMTP id s95545m0056903; Sun, 5 Oct 2014 01:04:12 -0400 (EDT) (envelope-from cross+freebsd@distal.com) Received: from magrathea.distal.com (magrathea.distal.com [IPv6:2001:470:e24c:200:ea06:88ff:feca:960e]) (authenticated bits=0) by mail.distal.com (8.14.8/8.14.8) with ESMTP id s9552fSi001102 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 5 Oct 2014 01:02:42 -0400 (EDT) (envelope-from cross+freebsd@distal.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: FreeBSD 10-STABLE/sparc64 panic From: Chris Ross In-Reply-To: <20140929042249.GK43300@funkthat.com> Date: Sun, 5 Oct 2014 01:03:02 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <58963E6E-7A90-4B86-B8F3-4FC5D2205F0B@distal.com> References: <323A3936-DE55-459A-B8AA-CFF463922F22@distal.com> <7DD7D2DC-A265-40D6-9995-16ABAF79C1FB@distal.com> <456226AE-0712-4510-AEF5-2053F36F2181@distal.com> <20140929042249.GK43300@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1878.6) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.distal.com [IPv6:2001:470:e24c:200::ae25]); Sun, 05 Oct 2014 01:02:43 -0400 (EDT) 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: Sun, 05 Oct 2014 05:04:14 -0000 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.. Okay. I have a core dump now, and the stack backtrace (unless I've done it wrong) is: spin lock 0xc0ccbdb0 (smp rendezvous) held by 0xfffff8000538c920 (tid = 100346) too long [...] db> bt 100346 Tracing pid 239 tid 100346 td 0xfffff8000538c920 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> Let me know if you'd like me to provide any details from core.txt.0, and I'll probably start looking around inside with kgdb tomorrow. I'm not sure I'll know how to identify a problem causing a lock problem though. Thanks. - Chris