From owner-freebsd-stable@FreeBSD.ORG Tue Aug 1 13:32:00 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D69716A4EF for ; Tue, 1 Aug 2006 13:32:00 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B71143D7F for ; Tue, 1 Aug 2006 13:31:53 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 3DE2246C86; Tue, 1 Aug 2006 09:31:54 -0400 (EDT) Date: Tue, 1 Aug 2006 14:31:54 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Graham Menhennitt In-Reply-To: <44C4D3B0.7090705@optusnet.com.au> Message-ID: <20060801143026.D64452@fledge.watson.org> References: <44BEBA2F.3060403@math.missouri.edu> <20060723135739.M60996@fledge.watson.org> <44C3EC68.6050802@optusnet.com.au> <44C4D3B0.7090705@optusnet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable Subject: Re: Panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 13:32:00 -0000 On Tue, 25 Jul 2006, Graham Menhennitt wrote: >>> Fatal trap 12: page fault while in kernel mode >>>> current process = 479 (mountd) >>>> >> >> I have the same panic reproducibly. Shutting off nfs_server_enable (i.e. >> mountd) in rc.conf prevents it. This is with 6-STABLE cvsupped yesterday. >> I'll get some more info and follow up the PR. >> > I rebuilt my kernel (to enable debugging) and now it doesn't panic. So it > seems that an old kernel (from around the end of May) with a new mountd > (from Sunday) will crash. But a new kernel with a new mountd won't. FYI, I've managed to reproduce this on a 7-CURRENT kernel, so will try to take a look at this in detail in the next few days. It looks like a race during socket connect/accept for UNIX domain sockets, likely involving simultaneous close, which may be a sign of a bug in mountd (or the like) that triggers it. Of course, the kernel shouldn't panic under those circumstances. :-) Thanks, Robert N M Watson Computer Laboratory University of Cambridge