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 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 From owner-freebsd-sparc64@FreeBSD.ORG Tue Oct 7 19:24:38 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 E2B55CA9 for ; Tue, 7 Oct 2014 19:24:38 +0000 (UTC) Received: from mx.bsdtec.net (mx.bsdtec.net [174.34.171.65]) by mx1.freebsd.org (Postfix) with ESMTP id ADB3125E for ; Tue, 7 Oct 2014 19:24:38 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 7C1C0489898 for ; Tue, 7 Oct 2014 19:24:32 +0000 (UTC) Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10032) with ESMTP id D6uSoEC2ozOY for ; Tue, 7 Oct 2014 19:24:27 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id A0BD448989C for ; Tue, 7 Oct 2014 19:24:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at bsdtec.net Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10026) with ESMTP id BJRFgbc57TQR for ; Tue, 7 Oct 2014 19:24:27 +0000 (UTC) Received: from [192.168.1.111] (bsdtec.plus.com [84.92.41.141]) by mx.bsdtec.net (Postfix) with ESMTPSA id E3B19489898 for ; Tue, 7 Oct 2014 19:24:26 +0000 (UTC) Message-ID: <1412709864.4636.3.camel@atlas.lerwick.hopto.org> Subject: anybody else having problems with print/texlive-texmf on sparc64?? From: Craig Butler To: freebsd-sparc64@freebsd.org Date: Tue, 07 Oct 2014 20:24:24 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: Tue, 07 Oct 2014 19:24:39 -0000 Failing make install on tinderbox... and not sure how to fix it http://bsdtec.com/freebsd/texlive-texmf-20140525_3.log PR 194199 Kind Regards Craig Butler