Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2010 08:18:17 -0700
From:      Randall Stewart <rrs@lakerest.net>
To:        "C. Jayachandran" <c.jayachandran@gmail.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Crashes with the current -HEAD
Message-ID:  <79B7AA80-4D2D-4A5C-973D-4D0FB22E2D85@lakerest.net>
In-Reply-To: <g2v98a59be81004230638q91b48b47i99ec64a137790bbc@mail.gmail.com>
References:  <g2v98a59be81004230638q91b48b47i99ec64a137790bbc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79B7AA80-4D2D-4A5C-973D-4D0FB22E2D85>