From owner-freebsd-current Fri Sep 13 21: 2:20 2002 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 4B7BB37B401; Fri, 13 Sep 2002 21:02:15 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id B72E843EA9; Fri, 13 Sep 2002 21:01:22 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020914040014.RHZS23613.sccrmhc02.attbi.com@InterJet.elischer.org>; Sat, 14 Sep 2002 04:00:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id UAA81740; Fri, 13 Sep 2002 20:54:14 -0700 (PDT) Date: Fri, 13 Sep 2002 20:54:13 -0700 (PDT) From: Julian Elischer To: David Xu Cc: freebsd-current@freebsd.org Subject: Re: kernel panic In-Reply-To: <200209140328.g8E3S7xf061303@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A you might check: in sys/kern/kern_thread.c in thread_init() @@ -152,7 +155,9 @@ ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; + mtx_lock(&Giant); pmap_new_thread(td); + mtx_unlock(&Giant); cpu_thread_setup(td); cached_threads++; /* XXXSMP */ allocated_threads++; /* XXXSMP */ from the p4 tree by mini... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message