From owner-freebsd-current@FreeBSD.ORG Sat Aug 21 16:21:50 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 30C9F16A4CE for ; Sat, 21 Aug 2004 16:21:50 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B143B43D5D for ; Sat, 21 Aug 2004 16:21:49 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i7LGJiPF084090; Sat, 21 Aug 2004 12:19:44 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i7LGJYXv084087; Sat, 21 Aug 2004 12:19:44 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 21 Aug 2004 12:19:34 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "George V. Neville-Neil" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: kqueue panic at boot time? 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: Sat, 21 Aug 2004 16:21:50 -0000 On Sat, 21 Aug 2004, George V. Neville-Neil wrote: > Is anyone else seeing this? Ah, this is probably a property of changes in the rwatson_netperf branch relative to the base tree. In my branch, close() is now run without Giant and implementations of fo_close() are required to acquire Giant if they need it. It looks like kqueue_close() may not require Giant any longer, so I'll remove the GIANT_REQUIRED in kqueue_close() in the rwatson_netperf branch. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > kdb_enter(c07ef1cf) at kdb_enter+0x2b > panic(c07ee670,c07ff512,c07ec570,537,c1472b28) at panic+0x131 > _mtx_assert(c08af7e0,1,c07ec570,537,c1472b28) at _mtx_assert+0x5c > kqueue_close(c1472b27,c14496e0) at kqueue_close+0x28 > fdrop_locked(c1472b28,c14496e0,c12a43b8,0,c07ec160) at fdrop_locked+0x84 > fdrop(c1472b28,c14496e0,694,c08bb1e0,0) at fdrop+0x24 > closef(c1472b28,c14496e0,0,c07ec160) at closef+0x20b > close(c14496e0,cc15ad14,1,17,296) at close+0xba > syscall(2f,2f,2f8111000,bfbfbd50) at syscall+0x217 > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (6, FreeBSD ELF2, close), eip = 0x2828256f, esp = 0xbfbfbccc, ebp= 0xbfbfc388 --- > > > There may be typos, I had to type that all in. > > This all claims to happen because of: > > GIANT_REQUIRED; > > in kqueue_close() at line 1336. > > Thoughts? > > Thanks, > George > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >