From owner-freebsd-mips@FreeBSD.ORG Fri Apr 23 15:18:27 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC85E106566C; Fri, 23 Apr 2010 15:18:27 +0000 (UTC) (envelope-from rrs@lakerest.net) Received: from lakerest.net (unknown [IPv6:2001:240:585:2:213:d4ff:fef3:2d8d]) by mx1.freebsd.org (Postfix) with ESMTP id 65F748FC0C; Fri, 23 Apr 2010 15:18:27 +0000 (UTC) Received: from 68.56.242.10.in-addr.arpa (md60f36d0.tmodns.net [208.54.15.214]) (authenticated bits=0) by lakerest.net (8.14.3/8.14.3) with ESMTP id o3NFINai038752 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 23 Apr 2010 11:18:25 -0400 (EDT) (envelope-from rrs@lakerest.net) Message-Id: <79B7AA80-4D2D-4A5C-973D-4D0FB22E2D85@lakerest.net> From: Randall Stewart To: "C. Jayachandran" In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 23 Apr 2010 08:18:17 -0700 References: X-Mailer: Apple Mail (2.936) Cc: freebsd-mips@freebsd.org Subject: Re: Crashes with the current -HEAD X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 15:18:28 -0000 JC: My crash is different... hmmm I have not tried one without SMP... need to do that. What I am seeing is a spin lock held to long.. sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/ edit_cfg.sh /usr/src/lib/ncurses/ncurses/ncurses_cfg.h term.h.new ** edit: HAVE_TCGETATTR 1 spin lock 0x804c91f4 (smp rendezvous) held by 0xcb943270 (tid 100205) too long panic: spin lock held too long cpuid = 2 KDB: enter: panic ~~ I think this is probably a different issue... It smells like a recursive call to the spin lock... possibly.. but I have not had time to dig too deep into it... and for some reason we don't enter DDB... even though I manually entered it before starting the buildworld to make sure it would work ;-o I will have to find the specific panic and put an enter DDB in there and see if that will work ;-) R On Apr 23, 2010, at 6:38 AM, C. Jayachandran wrote: > I'm seeing crashes like the one below when I do a 'make -j16 > buildworld' in the current HEAD. This is without SMP enabled and > without any of the XLR smp changes. > > buildworld used to work on XLR with earlier kernels - the last good > kernel I have is around r206712. Any idea what can be causing this? > > Thanks, > JC. > > xlrboard# Mar 18 14:04:43 xlrboard kernel: BAD_PAGE_FAULT: pid > 12596 (cc), uid 1001: pc 0 got a read fault at 0 > Mar 18 14:04:43 xlrboard kernel: Trapframe Register Dump: > Mar 18 14:04:43 xlrboard kernel: zero: 0 at: 0x1000a1f4 v0: > 0x7fffcf28 v1: 0 > Mar 18 14:04:43 xlrboard kernel: a0: 0x7fffd638 a1: 0x470bf8 a2: > 0x7fffcf28 a3: 0x470c24 > Mar 18 14:04:43 xlrboard kernel: t0: 0 t1: 0x4000000 t2: 0 t3: 0 > Mar 18 14:04:43 xlrboard kernel: t4: 0 t5: 0 t6: 0 t7: 0 > Mar 18 14:04:43 xlrboard kernel: t8: 0 t9: 0 s0: 0x7fffd638 s1: 0 > Mar 18 14:04:43 xlrboard kernel: s2: 0x1b s3: 0 s4: 0 s5: > 0x7fffcf31 > Mar 18 14:04:43 xlrboard kernel: s6: 0x471398 s7: 0x3 k0: 0 k1: 0 > Mar 18 14:04:43 xlrboard kernel: gp: 0x1000f630 sp: 0x7fffcec8 s8: > 0x7fffcf31 ra: 0x43a200 > Mar 18 14:04:43 xlrboard kernel: sr: 0xc013 mullo: 0 mulhi: > 0 badvaddr: 0 > Mar 18 14:04:43 xlrboard kernel: cause: 0x8 pc: 0 > Mar 18 14:04:43 xlrboard kernel: pc address 0 is inaccessible, pde = > 0x0, pte = 0x0 > Mar 18 14:04:43 xlrboard kernel: BAD_PAGE_FAULT: pid 12601 (as), uid > 1001: pc 0x524818 got a read fault at 0x4b90 > > -- > C. Jayachandran c.jayachandran@gmail.com > ------------------------------ Randall Stewart 803-317-4952 (cell) 803-345-0391(direct)