Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 08:30:05 +0900 (JST)
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   Re: panic at sched_add_internal
Message-ID:  <200407152330.i6FNU5NQ003006@sakura.ninth-nine.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Jul 2004 08:03:00 +0900 (JST)
Norikatsu Shigemura <nork@freebsd.org> 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;
[...]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407152330.i6FNU5NQ003006>