From owner-freebsd-current@FreeBSD.ORG Thu Jul 15 23:03:01 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 B91F616A4CE for ; Thu, 15 Jul 2004 23:03:01 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B9A043D48 for ; Thu, 15 Jul 2004 23:03:01 +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 i6FN30OP002366 for ; Fri, 16 Jul 2004 08:03:00 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 16 Jul 2004 08:03:00 +0900 (JST) Message-Id: <200407152303.i6FN30OP002366@sakura.ninth-nine.com> From: Norikatsu Shigemura To: current@FreeBSD.org In-Reply-To: <200407152237.i6FMbmhG001671@sakura.ninth-nine.com> References: <200407152223.i6FMNRV2001315@sakura.ninth-nine.com> <200407152237.i6FMbmhG001671@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:03:00 +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:03:01 -0000 Oops, another panic has happend. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [thread 100154] Stopped at sched_switch+0x27: testb $0x1,0x20(%esi) db> trace sched_switch(c4b76000,0,2628fe5d,0,3aeb7d59) at sched_switch+0x27 mi_switch(2,0,c07bf310,f3,10000) at mi_switch+0x1c2 ast(e41fcd48) at ast+0x3cb doreti_ast() at doreti_ast+0x17 db> reset - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ nm /boot/kernel/kernel.debug | grep sched_switch c05c33b0 T sched_switch $ addr2line -e /boot/kernel/kernel.debug 0xc05c33d7 /usr/src/sys/kern/sched_ule.c:1147 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void sched_switch(struct thread *td, struct thread *newtd) { [...] * If the KSE has been assigned it may be in the process of switching * to the new cpu. This is the case in sched_bind(). */ --> if ((ke->ke_flags & KEF_ASSIGNED) == 0) { if (td == PCPU_GET(idlethread)) TD_SET_CAN_RUN(td); else if (TD_IS_RUNNING(td)) { [...] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -