From root@rx300.hrz.uni-bielefeld.de  Mon Aug 20 13:51:19 2007
Return-Path: <root@rx300.hrz.uni-bielefeld.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 21D3616A417
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Aug 2007 13:51:19 +0000 (UTC)
	(envelope-from root@rx300.hrz.uni-bielefeld.de)
Received: from mux2-unibi-smtp.hrz.uni-bielefeld.de (mux2-unibi-smtp.hrz.uni-bielefeld.de [129.70.204.73])
	by mx1.freebsd.org (Postfix) with ESMTP id D099A13C467
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Aug 2007 13:51:18 +0000 (UTC)
	(envelope-from root@rx300.hrz.uni-bielefeld.de)
Received: from pmxchannel-daemon.mux2-unibi-smtp.hrz.uni-bielefeld.de by
 mux2-unibi-smtp.hrz.uni-bielefeld.de
 (Sun Java System Messaging Server 6.2-8.02 (built Dec 21 2006))
 id <0JN200H01R4GVY00@mux2-unibi-smtp.hrz.uni-bielefeld.de> for
 FreeBSD-gnats-submit@freebsd.org; Mon, 20 Aug 2007 15:36:16 +0200 (CEST)
Received: from rx300.hrz.uni-bielefeld.de ([129.70.242.10])
 by mux2-unibi-smtp.hrz.uni-bielefeld.de
 (Sun Java System Messaging Server 6.2-8.02 (built Dec 21 2006))
 with ESMTPPS id <0JN200G5LR4G3G80@mux2-unibi-smtp.hrz.uni-bielefeld.de> for
 FreeBSD-gnats-submit@freebsd.org; Mon, 20 Aug 2007 15:36:16 +0200 (CEST)
Received: (from root@localhost)	by rx300.hrz.uni-bielefeld.de (8.13.6/8.13.6)
 id l7KDaFe7002380; Mon, 20 Aug 2007 15:36:15 +0200 (CEST envelope-from root)
Message-Id: <200708201336.l7KDaFe7002380@rx300.hrz.uni-bielefeld.de>
Date: Mon, 20 Aug 2007 15:36:15 +0200 (CEST)
From: postmaster@uni-bielefeld.de
To: FreeBSD-gnats-submit@freebsd.org
Cc: postmaster@uni-bielefeld.de
Subject: lockmgr: thread 0xc4c00d80,
 not exclusive lock holder 0xc4dd7c00 unlocking
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         115645
>Category:       kern
>Synopsis:       [ffs] [snapshots] [panic] lockmgr: thread 0xc4c00d80, not exclusive lock holder 0xc4dd7c00 unlocking
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-fs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 20 14:00:01 GMT 2007
>Closed-Date:    Tue Nov 23 16:13:21 UTC 2010
>Last-Modified:  Tue Nov 23 16:13:21 UTC 2010
>Originator:     Lars Kller & Jens Pnninghaus
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
Computing Center, Bielefeld University, Germany
>Environment:

System: FreeBSD rx300.hrz.uni-bielefeld.de 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 16:58:07 CET 2007 root@rx300.hrz.uni-bielefeld.de:/opt/tmp/obj/usr/src/sys/PMX i386


>Description:

  We use the snapshot creation toolkit from rse@FreeBSD.org
  http://people.freebsd.org/~rse/snapshot/ on our Sophos PureMessage
  Server Farm (six FSC rx300 server). Cause PMX only supports FreeBSD-6.1,
  we can't upgrade to 6.2 at the moment.

  During creation of an snapshot the system panics from time to time
  Perhaps this is correlated with PR kern/68757.


115573 : cat /var/crash/info.13 
Dump header from device /dev/da0s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 1073242112B (1023 MB)
  Blocksize: 512
  Dumptime: Fri Aug 17 13:01:36 2007
  Hostname: rx300.hrz.uni-bielefeld.de
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 16:58:07 CET 2007
    root@rx300.hrz.uni-bielefeld.de:/opt/tmp/obj/usr/src/sys/PMX
  Panic String: lockmgr: thread 0xc4c00d80, not exclusive lock holder 0xc4dd7c00 unlocking
  Dump Parity: 1320559640
  Bounds: 13
  Dump Status: good


115570 : df -kl
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s1a    507630   185360   281660    40%    /
devfs               1        1        0   100%    /dev
procfs              4        4        0   100%    /proc
/dev/da0s1d  16244334  2434562 12510226    16%    /var
/dev/da0s1e   4058062       32  3733386     0%    /tmp
/dev/da0s1f   9499186  2032248  6707004    23%    /usr
/dev/da1s1a  68825650 10008236 53311362    16%    /opt


115572 : mount   
/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local)
procfs on /proc (procfs, local)
/dev/da0s1d on /var (ufs, local, soft-updates)
/dev/da0s1e on /tmp (ufs, local, soft-updates)
/dev/da0s1f on /usr (ufs, local, soft-updates)
/dev/da1s1a on /opt (ufs, local, soft-updates)
pid906@rx300:/snap on /snap (nfs)



115569 : snapshot list
Filesystem          User   User%     Snap   Snap%  Snapshot       
/                  181MB   36.5%      3MB    0.7%  daily.0        
/                  181MB   36.5%      3MB    0.7%  weekly.0       
/var              2377MB   15.0%     40MB    0.3%  daily.0        
/var              2377MB   15.0%      9MB    0.1%  hourly.0       
/var              2377MB   15.0%     10MB    0.1%  hourly.1       
/var              2377MB   15.0%     10MB    0.1%  hourly.2       
/var              2377MB   15.0%     10MB    0.1%  hourly.3       
/var              2377MB   15.0%     10MB    0.1%  hourly.4       
/var              2377MB   15.0%     10MB    0.1%  hourly.5       
/var              2377MB   15.0%     10MB    0.1%  hourly.6       
/var              2377MB   15.0%     10MB    0.1%  hourly.7       
/var              2377MB   15.0%     44MB    0.3%  weekly.0       
/usr              1984MB   21.4%     61MB    0.7%  daily.1        
/usr              1984MB   21.4%     67MB    0.7%  daily.2        
/usr              1984MB   21.4%     11MB    0.1%  weekly.0       
/opt              9773MB   14.5%    361MB    0.5%  daily.0        
/opt              9773MB   14.5%    757MB    1.1%  daily.2        
/opt              9773MB   14.5%    142MB    0.2%  hourly.0       
/opt              9773MB   14.5%    156MB    0.2%  hourly.1       
/opt              9773MB   14.5%    171MB    0.3%  hourly.2       
/opt              9773MB   14.5%    187MB    0.3%  hourly.3       
/opt              9773MB   14.5%    204MB    0.3%  hourly.4       
/opt              9773MB   14.5%    218MB    0.3%  hourly.5       
/opt              9773MB   14.5%    231MB    0.3%  hourly.6       
/opt              9773MB   14.5%    717MB    1.1%  weekly.0       


>How-To-Repeat:

  Keep periodically snapshots.
  Perhaps the creation of files on the snapshotted filesystem is
  a prerequisite to trigger the crash (compare PR kern/68757).


>Fix:

  Don't know!



>Release-Note:
>Audit-Trail:

From: =?ISO-8859-15?Q?Lars_K=F6ller?= <lars.koeller@uni-bielefeld.de>
To: bug-followup@FreeBSD.org, postmaster@uni-bielefeld.de
Cc:  
Subject: Re: kern/115645: lockmgr: thread 0xc4c00d80,
 not exclusive lock holder 0xc4dd7c00 unlocking
Date: Tue, 21 Aug 2007 11:44:21 +0200

 Just another crash occurred, during manipulation of an snapshotted file 
 system. Taken of newly snapshots are disables since yesterday.
 
 Output of info file:
 
 Dump header from device /dev/da0s1b
    Architecture: i386
    Architecture Version: 2
    Dump Length: 1073242112B (1023 MB)
    Blocksize: 512
    Dumptime: Tue Aug 21 10:42:04 2007
    Hostname: rx300.hrz.uni-bielefeld.de
    Magic: FreeBSD Kernel Dump
    Version String: FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 16:58:07 CET 
 2007 root@rx300.hrz.uni-bielefeld.de:/opt/tmp/obj/usr/src/sys/PMX
    Panic String: snapblkfree: inconsistent block type
    Dump Parity: 1638409495
    Bounds: 15
    Dump Status: good
 
 Anyone interested in this problem?
 
 Best regards
 
 Lars
 
 -- 
   Dr. Lars Kller, Raum: V0-318, Tel: +49 521/106-4964, FAX: -154964
                    http://www.uni-bielefeld.de/hrz/raum/plan.htm

From: =?ISO-8859-15?Q?Lars_K=F6ller?= <lars.koeller@uni-bielefeld.de>
To: bug-followup@FreeBSD.org, postmaster@uni-bielefeld.de
Cc: lkoeller@freebsd.org
Subject: Re: kern/115645: lockmgr: thread 0xc4c00d80,
 not exclusive lock holder 0xc4dd7c00 unlocking
Date: Wed, 22 Aug 2007 08:09:07 +0200

 Hi,
 
 why is kern/68757 still critical (submitted 2004), and our case only 
 serious?
 
 I know release mgt of 7.0 costs a lot of time, but snapshot 
 functionality hasn't reached production quality yet. I'm really amezed 
 about that cause snapshots are introduced in 5.0.
 
 Perhaps it's a good idea to fix this problem before 7.0 release is out?
 
 Many thanks and regards
 
 Lars
 
 
Responsible-Changed-From-To: freebsd-bugs->freebsd-s 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 03:06:04 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115645 
Responsible-Changed-From-To: freebsd-s->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 03:18:34 UTC 2009 
Responsible-Changed-Why:  
fix typo 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115645 
State-Changed-From-To: open->feedback 
State-Changed-By: arundel 
State-Changed-When: Thu Sep 30 20:50:12 UTC 2010 
State-Changed-Why:  
Can you still reproduce this PR with a more recent 6.X or 7.X release? 
Please note that the RELENG_6 went EoL a few weeks ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115645 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Tue Nov 23 16:13:19 UTC 2010 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115645 
>Unformatted:
