From owner-freebsd-bugs@FreeBSD.ORG Wed Jul 7 06:40:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8442616A4F5 for ; Wed, 7 Jul 2004 06:40:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EB9743D4C for ; Wed, 7 Jul 2004 06:40:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i676ePx9046799 for ; Wed, 7 Jul 2004 06:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i676ePFF046798; Wed, 7 Jul 2004 06:40:25 GMT (envelope-from gnats) Resent-Date: Wed, 7 Jul 2004 06:40:25 GMT Resent-Message-Id: <200407070640.i676ePFF046798@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Kozubik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E205216A4CE for ; Wed, 7 Jul 2004 06:36:15 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D449143D49 for ; Wed, 7 Jul 2004 06:36:15 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i676aFKM081380 for ; Wed, 7 Jul 2004 06:36:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i676aFek081379; Wed, 7 Jul 2004 06:36:15 GMT (envelope-from nobody) Message-Id: <200407070636.i676aFek081379@www.freebsd.org> Date: Wed, 7 Jul 2004 06:36:15 GMT From: John Kozubik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/68757: rapid file creation on snapshotted filesystems panics lockmgr X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 06:40:25 -0000 >Number: 68757 >Category: misc >Synopsis: rapid file creation on snapshotted filesystems panics lockmgr >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 Jul 07 06:40:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: John Kozubik >Release: FreeBSD 5.2.1-RELEASE >Organization: http://www.kozubik.com >Environment: FreeBSD kozubik 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Rapid file creation on filesystems with as few as one snapshot on them will panic lockmgr: panic: lockmgr: locking against myself cpuid = 0; syncing disks, buffers remaining... panic: ffs_copyonwrite: recursive call cpuid = 0; uptime: 5m10s Shutting down ACPI (crash) >How-To-Repeat: Here is how you can quickly recreate this problem: mksnap_ffs /mnt/mount1 /mnt/mount1/snapshot_1 cd /mnt/mount1 tar cvf /mnt/mount1/devel.tar /usr/ports/devel tar xvf devel.tar You will crash the system and (possibly) receive the above output within seconds. I have repeated this problem on both a laptop and a server, with both IDE and SCSI disks, and with both a GENERIC and a pared down kernel (no additions, simply subtractions). Further, disabling ACPI by adding hint.acpi.0.disabled="1" to the file /boot/loader.conf did not help in any way. All tested systems were single processor Pentium-3 systems. >Fix: No known fix or workaround, other than to avoid creating snapshots on filesystems. >Release-Note: >Audit-Trail: >Unformatted: