From owner-freebsd-current@FreeBSD.ORG Thu Jul 15 23:30:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BE4C16A4CE for ; Thu, 15 Jul 2004 23:30:07 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id A831A43D41 for ; Thu, 15 Jul 2004 23:30:06 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.11/8.12.11/NinthNine) with ESMTP id i6FNU5NQ003006 for ; Fri, 16 Jul 2004 08:30:05 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 16 Jul 2004 08:30:05 +0900 (JST) Message-Id: <200407152330.i6FNU5NQ003006@sakura.ninth-nine.com> From: Norikatsu Shigemura To: current@FreeBSD.org In-Reply-To: <200407152303.i6FN30OP002366@sakura.ninth-nine.com> References: <200407152223.i6FMNRV2001315@sakura.ninth-nine.com> <200407152237.i6FMbmhG001671@sakura.ninth-nine.com> <200407152303.i6FN30OP002366@sakura.ninth-nine.com> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.4; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.5.3 (sakura.ninth-nine.com [219.127.74.121]); Fri, 16 Jul 2004 08:30:05 +0900 (JST) Subject: Re: panic at sched_add_internal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 23:30:07 -0000 On Fri, 16 Jul 2004 08:03:00 +0900 (JST) Norikatsu Shigemura wrote: > Oops, another panic has happend. Now, I'm using old(?) current kernel:-(. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [thread 100124] Stopped at turnstile_wait+0x17a: movl %eax,0x10(%edx) db> trace turnstile_wait(c301e340,c0877f40,c36e4420,c0877f40,f9) at turnstile_wait+0x17a _mtx_lock_sleep(c0877f40,0,c07bd610,f9,0) at _mtx_lock_sleep+0x125 _mtx_lock_flags(c0877f40,0,c07bd610,f9,0) at _mtx_lock_flags+0x64 msleep(cf5d3c30,c08a8ae0,4c,c07c26af,0) at msleep+0x4a4 bwait(cf5d3c30,4c,c07c26af,e3e07b04,e3e07a6c) at bwait+0x70 bufwait(cf5d3c30,0,0,800,0) at bufwait+0x38 breadn(c3ac1d68,0,0,800,0) at breadn+0x314 bread(c3ac1d68,0,0,800,0) at bread+0x4c ffs_read(e3e07b70,c088b880,0,c0883f48,e3e07b48) at ffs_read+0x38f ufs_readdir(e3e07c98,e3e07c4c,c056a1ff,e3e07c98,c3d42948) at ufs_readdir+0xd8 ufs_vnoperate(e3e07c98,c3d42948,8,c07b86bd,e3e07c9c) at ufs_vnoperate+0x18 null_bypass(e3e07c98,20002,c34eb420,0,c3d42948) at null_bypass+0xdf getdirentries(c34eb420,e3e07d14,c07dbeae,3df,4) at getdirentries+0x125 syscall(807002f,81b002f,bfad002f,8076500,8076500) at syscall+0x2a0 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (196, FreeBSD ELF32, getdirentries), eip = 0x6822e85f, esp = 0xbfadce94, ebp = 0xbfadceb0 --- db> p %edx c05d580a db> reset - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ nm /boot/kernel/kernel.debug | grep turnstile_wait c05d5690 T turnstile_wait $ addr2line -e /boot/kernel/kernel.debug 0xc05d580a /usr/src/sys/kern/subr_turnstile.c:517 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void turnstile_wait(struct turnstile *ts, struct lock_object *lock, struct thread *owner) { [...] TAILQ_INSERT_TAIL(&ts->ts_blocked, td, td_lockq); mtx_unlock_spin(&td_contested_lock); MPASS(td->td_turnstile != NULL); --> LIST_INSERT_HEAD(&ts->ts_free, td->td_turnstile, ts_hash); MPASS(owner == ts->ts_owner); } td->td_turnstile = NULL; [...] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -