From owner-freebsd-bugs Fri Jul 30 1:50: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 44BAB15612 for ; Fri, 30 Jul 1999 01:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA23771; Fri, 30 Jul 1999 01:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id 2743F154D4 for ; 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" Reply-To: "Julian Stacey" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12884: panic: lockmgr: locking against myself - from amd with nfs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12884 >Category: kern >Synopsis: Hot to panic FreeBSD-3.2-Release >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 30 01:50:01 PDT 1999 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message