From owner-freebsd-current@FreeBSD.ORG Sat Apr 4 11:55:50 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B4871065677 for ; Sat, 4 Apr 2009 11:55:50 +0000 (UTC) (envelope-from M.S.Powell@salford.ac.uk) Received: from airy.salford.ac.uk (airy.salford.ac.uk [146.87.0.11]) by mx1.freebsd.org (Postfix) with SMTP id 8F4288FC1A for ; Sat, 4 Apr 2009 11:55:49 +0000 (UTC) (envelope-from M.S.Powell@salford.ac.uk) Received: (qmail 19479 invoked by uid 98); 4 Apr 2009 12:55:47 +0100 Received: from 146.87.255.121 by airy.salford.ac.uk (envelope-from , uid 401) with qmail-scanner-2.01 (clamdscan: 0.94.2/9204. spamassassin: 3.2.4. Clear:RC:1(146.87.255.121):. Processed in 0.03569 secs); 04 Apr 2009 11:55:47 -0000 Received: from rust.salford.ac.uk (HELO rust.salford.ac.uk) (146.87.255.121) by airy.salford.ac.uk (qpsmtpd/0.3x.614) with SMTP; Sat, 04 Apr 2009 12:55:47 +0100 Received: (qmail 41721 invoked by uid 1002); 4 Apr 2009 11:55:45 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Apr 2009 11:55:45 -0000 Date: Sat, 4 Apr 2009 12:55:45 +0100 (BST) From: "Mark Powell" To: freebsd-current@freebsd.org Message-ID: <20090404124909.C24261@rust.salford.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: panic: vput: negative ref cnt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2009 11:55:50 -0000 Hi, Getting a reproducable panic during backups: panic: vput: negative ref cnt cpuid = 0 KDB: enter: panic [thread pid 3521 tid 100374 ] Stopped at kdb_enter+0x3d: movq $0,0x654104(%rip) db> bt Tracing pid 3521 tid 100374 0xffffff008c79e380 kdb_enter() at kdb_enter+0x3d panic() at panic+0x176 vput() at vput+0x10c dounmount() at dounmount0x421 unmount() at unmount+0x24b syscall() at syscall+0x1bf Xfast_syscall() at Xfast_syscall+0xab --- syscall (22, FreeBSD ELF64, unmount), rip = 0x800695d7c, rsp = 0x7fffffffe218, rbp = 0 --- My script takes a zfs snapshot, mounts the snapshot, backs it up using star, then umounts the snapshot. The panic seems to occur on the umount. Cheers. -- Mark Powell - UNIX System Administrator - The University of Salford Information & Learning Services, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 6843 Fax: +44 161 295 5888 www.pgp.com for PGP key