From jhs@jhs.muc.de Fri Jul 30 01:42:51 1999
Return-Path: <jhs@jhs.muc.de>
Received: from slarti.muc.de (slarti.muc.de [193.149.48.10])
	by hub.freebsd.org (Postfix) with SMTP id 2743F154D4
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Jul 1999 01:42:43 -0700 (PDT)
	(envelope-from jhs@jhs.muc.de)
Received: (qmail 12997 invoked from network); 30 Jul 1999 08:40:15 -0000
Received: from jhs.muc.de (193.149.49.84)
  by slarti.muc.de with SMTP; 30 Jul 1999 08:40:15 -0000
Received: (from jhs@localhost)
	by jhs.muc.de (8.9.3/8.9.3) id PAA03752;
	Thu, 29 Jul 1999 15:40:05 GMT
	(envelope-from jhs)
Message-Id: <199907291540.PAA03752@jhs.muc.de>
Date: Thu, 29 Jul 1999 15:40:05 GMT
From: "Julian Stacey" <jhs@jhs.muc.de>
Reply-To: "Julian Stacey" <jhs@colin.muc.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: panic: lockmgr: locking against myself - from amd with nfs
X-Send-Pr-Version: 3.2

>Number:         12884
>Category:       kern
>Synopsis:       Hot to panic FreeBSD-3.2-Release
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 30 01:50:01 PDT 1999
>Closed-Date:    Wed May 30 02:10:11 PDT 2001
>Last-Modified:  Wed May 30 02:11:02 PDT 2001
>Originator:     Julian H. Stacey jhs@freebsd.org
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
>Environment:

	3.2-Rel, nfs & amd

>Description:

	How to panic the kernel:

>How-To-Repeat:
	amd -p -k i386 -l syslog -a /a /host /etc/amd.map # from rc.conf
	grep `hostname -s` /etc/exports # note removing hostname 
					# does not prevent a crash
	ln -s .. /a/`hostname -s`
	wall warn all users we are about to crash
	echo now see	panic: lockmgr: locking against myself
	ls /host/`hostname -s`	# panic occurs

	OK, it's silly to do
	 	ln -s .. /a/`hostname -s`
	but it's unfortunate that it panics.
		(I did the ln on a spare box while experimenting to try to
		find some way to have /host/* mount the other hosts,
		but /host/`hostname -s` just be root (or better "..")
		as I use sitewide addresses like /host/some_host/usr3/.....
		& I want the access to be a more efficient ufs direct
		in the one case where the  host happens to be local -
		I haven't found a solution to that yet BTW)

>Fix:
	
	Maybe AMD should at startup do
		chmod a-w o-w /a ; chown 0 /a


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed May 30 02:10:11 PDT 2001 
State-Changed-Why:  
This is belived to be fixed, upgrade and get back to us if problem still persists. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12884 
>Unformatted:
