Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 12:35:50 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        davidxu@freebsd.org
Subject:   Re: libkse and SMP (was Re: USB bulk read & pthreads)
Message-ID:  <Pine.BSF.4.21.0305221233110.82473-100000@InterJet.elischer.org>
In-Reply-To: <20030522191234.GA13498@dan.emsphone.com>

index | next in thread | previous in thread | raw e-mail



On Thu, 22 May 2003, Dan Nelson wrote:

> In the last episode (May 22), Julian Elischer said:
> > what's 'pike'?
> checking for pthread_mutexattr_init... yes
> checking for pthread_kill... yes
> checking posix threads... panic: mtx_lock() of spin mutex └┬<▀é└B @ ../../../vm/vm_map.c:2142
> cpuid = 1; lapic.id = 00000000
> Stack backtrace:
> panic(c03e5cf4,c082e000,c03f59e2,85e,d1d21000) at panic+0x11b
> _mtx_lock_flags(c21a42c0,0,c03f59e2,85e,db9e8b9c) at _mtx_lock_flags+0x84
> vm_map_delete(c0831000,d1d1d000,d1d21000,dfe1dda0,c3ed5e40) at vm_map_delete+0x19b
> vm_map_remove(c0831000,d1d1d000,d1d21000,121,c3ed5d10) at vm_map_remove+0x55
> cpu_thread_clean(c3ed5d10,6ab,c3ed5d10,c3ed5e40,db9e8c3c) at cpu_thread_clean+0x66
> thread_free(c3ed5d10,0,c03e7262,365,c492e000) at thread_free+0x14
> thread_reap(c3e45780,ffffffff,0,28c,0) at thread_reap+0x124
> wait1(c3821be0,db9e8d10,0,db9e8d40,c039b603) at wait1+0x7d6
> wait4(c3821be0,db9e8d10,c03fb8ec,3fb,4) at wait4+0x20
> syscall(c038002f,2f,2f,1,80ff100) at syscall+0x3a3
> Xint0x80_syscall() at Xint0x80_syscall+0x1d
> --- syscall (7), eip = 0x807c1eb, esp = 0xbfbff01c, ebp = 0xbfbff038 ---
> boot() called on cpu#1
> 
> Manually running the "checking posix threads" conftest by itself works
> fine, though...

AHA!
I've seen this panic from ksetest..
can you go to /usr/src/tools/KSE/ksetest
and 
make
./ksetest

it may not do it the first time so let it run 10 seconds then kill it
with ^C and retry about 10 times..

let me know the result.. I've been looking for this for a while..



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0305221233110.82473-100000>