From owner-freebsd-sparc64@FreeBSD.ORG Sun Oct 5 05:11:54 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 AC834F8F for ; Sun, 5 Oct 2014 05:11:54 +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 697411B7 for ; Sun, 5 Oct 2014 05:11:54 +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 s955BkpP057005; Sun, 5 Oct 2014 01:11:53 -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 s955AJiu001154 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 5 Oct 2014 01:10:20 -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: <58963E6E-7A90-4B86-B8F3-4FC5D2205F0B@distal.com> Date: Sun, 5 Oct 2014 01:10:40 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <2BD151C4-2A24-4735-9FBB-68D0683758EF@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> <58963E6E-7A90-4B86-B8F3-4FC5D2205F0B@distal.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:10:25 -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:11:54 -0000 On Oct 5, 2014, at 01:03 , 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 > Okay. I have a core dump now, and the stack backtrace (unless I've > done it wrong) is: I still haven't gotten into looking at the code deeply, but I realize = the=20 backtrace from within kdgb is more useful. So, I wanted to send that. (kgdb) bt #0 0x00000000c05a0220 in sched_switch (td=3D0xfffff800052c0000,=20 newtd=3D0xfffff80003382db0, flags=3D) at /usr/src/sys/kern/sched_ule.c:1939 #1 0x00000000c0578964 in mi_switch (flags=3D1538, newtd=3D0x0) at /usr/src/sys/kern/kern_synch.c:494 #2 0x00000000c0576ec4 in critical_exit () at = /usr/src/sys/kern/kern_switch.c:218 #3 0x00000000c08cf410 in spinlock_exit () at /usr/src/sys/sparc64/sparc64/machdep.c:240 #4 0x00000000c05c8a14 in turnstile_chain_unlock (lock=3D) at /usr/src/sys/kern/subr_turnstile.c:614 #5 0x00000000c0559e64 in __mtx_unlock_sleep (c=3D0xfffff8000325b5e0, = opts=3D0,=20 file=3D0x0, line=3D0) at /usr/src/sys/kern/kern_mutex.c:769 #6 0x00000000c01f9604 in bge_init (xsc=3D0x1001b2000) at /usr/src/sys/dev/bge/if_bge.c:5603 #7 0x00000000c0656818 in ether_ioctl (ifp=3D,=20 command=3D2149607692, data=3D0xed32cd28 "") at /usr/src/sys/net/if_ethersubr.c:1096 #8 0x00000000c0c02c08 in M_PLIMIT () #9 0x00000000c0c02c08 in M_PLIMIT () (kgdb) Thanks. If anyone has any ideas, or suggestions for me to try, I'm = all ears! - Chris