From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 25 14:30:05 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A71E16A41B for ; Tue, 25 Dec 2007 14:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3E113C442 for ; Tue, 25 Dec 2007 14:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBPEU5V1013203 for ; Tue, 25 Dec 2007 14:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBPEU5Gv013198; Tue, 25 Dec 2007 14:30:05 GMT (envelope-from gnats) Date: Tue, 25 Dec 2007 14:30:05 GMT Message-Id: <200712251430.lBPEU5Gv013198@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Robert Watson Cc: Subject: Re: kern/103432: panic: nfssvc_nfsd(): debug.mpsafenet=1 && Giant X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Watson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2007 14:30:05 -0000 The following reply was made to PR kern/103432; it has been noted by GNATS. From: Robert Watson To: Daniel Rudy Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/103432: panic: nfssvc_nfsd(): debug.mpsafenet=1 && Giant Date: Tue, 25 Dec 2007 14:23:11 +0000 (GMT) On Wed, 20 Sep 2006, Daniel Rudy wrote: >> Number: 103432 >> Category: kern >> Synopsis: panic: nfssvc_nfsd(): debug.mpsafenet=1 && Giant >> Confidential: no >> Severity: critical >> Priority: high >> Responsible: freebsd-bugs >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Wed Sep 20 15:40:17 GMT 2006 >> Closed-Date: >> Last-Modified: >> Originator: Daniel Rudy >> Release: 6.1-RELEASE-p7 >> Organization: >> Environment: >> Description: > This computer is configured as a NFS server and it also has IPSEC enabled. When a NFS client accesses this server, the server imediately panics with the following error "panic: nfssvc_nfsd(): debug.mpsafenet=1 && Giant" and reboots hanging the client. On a release 6.0 machine, debug.mpsafe is forced to 0 because IPSEC requires Giant. >> How-To-Repeat: > On a 6.1 system, enable IPSEC and NFS then try to access the server remotely. >> Fix: > Can't. The OID for debug.mpsafenet is readonly. It would be very helpful to have a stack trace on this one. There's a reasonable chance that this bug is gone in 7.x as we now have an entirely MPSAFE IPSEC implementation, and the debug.mpssafenet compat code has been entirely removed. However, it would be very helpful to know. You should be able to compile and use a 7.x kernel with a 6.x userspace, which would give you a lower-risk way to determine this. Make sure to do a 7.x buildworld before 7.x buildkernel, but only to a 7.x installkernel, not 7.x installworld/mergemaster. Robert N M Watson Computer Laboratory University of Cambridge