buildworld panic on ia64

Anton Shterenlikht mexas at bristol.ac.uk
Tue Jul 7 14:42:25 UTC 2009


On Tue, Jul 07, 2009 at 03:36:11PM +0200, Rink Springer wrote:
> On Tue, Jul 07, 2009 at 01:44:05PM +0100, Anton Shterenlikht wrote:
> > On Tue, Jul 07, 2009 at 11:50:58AM +0200, Rink Springer wrote:
> > > On Tue, Jul 07, 2009 at 10:48:08AM +0100, Anton Shterenlikht wrote:
> > > > panic: mtx_lock_spin() of destroyed mutex @ /usr/src/sys/ia64/ia64/trap.c:680
> > > > cpuid = 0
> > > > KDB: enter: panic
> > > > [thread pid 67078 tid 100097 ]
> > > > Stopped at      kdb_enter+0x92: [I2]    addl r14=0xffffffffffe2a8e8,gp ;;
> > > 
> > > Do you have a backtrace ?
> > 
> > no, sorry, I was too quick to reboot.
> 
> Shame... well, if you hit it again, please let me know. Haven't yet
> gotten it myself on my rx2600.
> 
> > I tried to reproduce the error, got this on the way:
> > 
> > 	# XXX: bogusly disabled high FP regs
> 
> I get this message quite often as well; I intend to figure out what's
> going on. Marcel, if you have any idea, please let me know.

got it again. Note that I was doing "make -j10 buildworld", and
when I got it first time I did "make -j6 buildworld". When I only
run one process "make buildworld" I didn't get the panic, but stopped
at some other error message.

So, buildworld stops at:

===> gnu/usr.bin/cc/cc1 (all)
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/u
sr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -
I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1/../../../
../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I/u
sr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr
.bin/cc/cc1/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc
/cc1/../../../../contrib/gcclibs/libdecnumber  -I/usr/obj/usr/src/tmp/legacy/usr
/include -c /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/main.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/u
sr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -
I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1/../../../
../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I/u
sr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr
.bin/cc/cc1/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc
/cc1/../../../../contrib/gcclibs/libdecnumber  -I/usr/obj/usr/src/tmp/legacy/usr
/include -c /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-parser.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/u
sr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -
I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1/../../../
../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I/u
sr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr
.bin/cc/cc1/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc
/cc1/../../../../contrib/gcclibs/libdecnumber  -I/usr/obj/usr/src/tmp/legacy/usr
/include -c /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lang.c
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/u
sr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -
I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1/../../../
../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I/u
sr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr
.bin/cc/cc1/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc
/cc1/../../../../contrib/gcclibs/libdecnumber  -I/usr/obj/usr/src/tmp/legacy/usr
/include  -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o cc1-dummy main.o c-pa
rser.o c-lang.o /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../cc_int/libbac
kend.a /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../libcpp/libcpp.a /usr/o
bj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../libdecnumber/libdecnumber.a /usr/ob
j/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1/../libiberty/libiberty.a -legacy
../cc_tools/genchecksum cc1-dummy > cc1-checksum.c

and on the console (MP via LAN on rx2600):

# panic: mtx_lock_spin() of destroyed mutex @ /usr/src/sys/ia64/ia64/trap.c:680
cpuid = 1
KDB: enter: panic
[thread pid 46793 tid 100148 ]
Stopped at      kdb_enter+0x92: [I2]    addl r14=0xffffffffffe2a8e8,gp ;;

db> bt
Tracing pid 46793 tid 100148 td 0xe000000011b22760
kdb_enter(0xe000000004b43148, 0xe000000004b43148, 0xe0000000045f2a20, 0x793) at
kdb_enter+0x92
panic(0xe000000004b41618, 0xe000000004b810c0, 0x2a8, 0xe000000011b229dc, 0xe0000
00011b229da) at panic+0x2f0
_mtx_lock_spin_flags(0xe000000015220a70, 0x0, 0xe000000004b810c0, 0x2a8, 0x20000
00000072200, 0x2000000040107010, 0xe000000004ac1c30, 0x716) at _mtx_lock_spin_fl
ags+0x90
trap(0x19, 0xa000000032c09400) at trap+0xdb0
ivt_Disabled_FP_Register() at ivt_Disabled_FP_Register+0x30

db>

I'Il try to start just 2 processes and see what happens.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-current mailing list