NetBSD Problem Report #37925
From christos@zoulas.com Wed Jan 30 16:33:26 2008
Return-Path: <christos@zoulas.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id C5B2163B853
for <gnats-bugs@gnats.NetBSD.org>; Wed, 30 Jan 2008 16:33:26 +0000 (UTC)
Message-Id: <20080130163325.BD45756407@rebar.astron.com>
Date: Wed, 30 Jan 2008 11:33:25 -0500 (EST)
From: christos@netbsd.org
Reply-To: christos@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: more locking problems with unionfs
X-Send-Pr-Version: 3.95
>Number: 37925
>Category: kern
>Synopsis: more locking problems with unionfs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 30 16:35:00 +0000 2008
>Closed-Date: Sun Jul 31 22:55:03 +0000 2016
>Last-Modified: Sun Jul 31 22:55:03 +0000 2016
>Originator: Christos Zoulas
>Release: NetBSD 4.99.1
>Organization:
none but trying.
>Environment:
System: NetBSD t61.localnet 4.99.50 NetBSD 4.99.50 (GENERIC) #0: Sat Jan 26 20:01:43 EST 2008 ljt@t61.localnet:/p/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: amd64
Machine: amd64
>Description:
instant locking panic.
http://www.zoulas.com/images/NetBSD/imgp0253.jpg
>How-To-Repeat:
mkdir /a /b
mount -t union /a /b
touch /b/c
>Fix:
?
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->ad
Responsible-Changed-By: ad@narn.netbsd.org
Responsible-Changed-When: Thu, 31 Jan 2008 11:40:35 +0000
Responsible-Changed-Why:
take
From: Andrew Doran <ad@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/37925 (more locking problems with unionfs)
Date: Thu, 31 Jan 2008 12:01:03 +0000
I can reproduce this with the new vnode locks:
Reader / writer lock error: lockdebug_unlocked: not held by current LWP
lock address : 0x00000000d2845acc type : sleep/adaptive
shared holds : 0 exclusive: 1
shares wanted: 0 exclusive: 0
current cpu : 1 last held: 0
current lwp : 0x00000000d71e8a00 last held: 0x00000000d724fd20
last locked : 0x00000000c02f2c0e unlocked : 0x00000000c02f2ca2
initialized : 0x00000000c02f3f43
owner/count : 0x00000000d724fd20 flags : 0x000000000000000c
Turnstile chain at 0xc04eb5e0.
=> No active turnstile for this lock.
panic: LOCKDEBUG
Stopped in pid 22322.1 (cc1) at netbsd:breakpoint+0x4: popl %ebp
db{1}> bt
breakpoint(d7329958,100,d732998c,c02be4fd,c0470a63) at netbsd:breakpoint+0x4
cpu_Debugger(c0470a63,d7329998,0,c02be940,0) at netbsd:cpu_Debugger+0xb
panic(c0470a65,c046dc0d,c0430b46,c0470afd,c04f5b40) at netbsd:panic+0xc1
lockdebug_abort1(c0470afd,1,2,d724fd2c,d71e8a00) at netbsd:lockdebug_abort1+0x62
lockdebug_unlocked(d2845acc,c02f2ca2,0,5,c04ec120) at netbsd:lockdebug_unlocked+0x143
rw_vector_exit(d2845acc,c04f5b80,d7329a3c,c02fd728,0) at netbsd:rw_vector_exit+0x5c
vlockmgr(d2845acc,6,0,cdaa18b4,d2845a40) at netbsd:vlockmgr+0x138
ffs_unlock(d7329a7c,c0300f02,0,c0302136,1) at netbsd:ffs_unlock+0x7c
VOP_UNLOCK(d2845a40,0,d7329afc,cdaa18b4,cdaa18b4) at netbsd:VOP_UNLOCK+0x7b
union_unlock(d7329acc,d71e8a00,0,18,20) at netbsd:union_unlock+0x93
VOP_UNLOCK(cdaa18b4,0,d717a00a,cdaa18b4,d7329c90) at netbsd:VOP_UNLOCK+0x47
vput(cdaa18b4,20002,400,d7329c84,c04f6cb0) at netbsd:vput+0x45
namei(d7329c68,c04f5b40,d7329bcc,c02b7e99,0) at netbsd:namei+0x2fe
vn_open(d7329c68,5,1a4,d71e8a0c,d71e8a00) at netbsd:vn_open+0x82
sys_open(d71e8a00,d7329d08,d7329d00,bb99f000,bb99f000) at netbsd:sys_open+0xb4
syscall(d7329d48,b3,ab,1f,1f) at netbsd:syscall+0x114
State-Changed-From-To: open->closed
State-Changed-By: ad@narn.netbsd.org
State-Changed-When: Tue, 05 Feb 2008 15:29:31 +0000
State-Changed-Why:
Symptom of the same problem as described in 37880.
State-Changed-From-To: closed->open
State-Changed-By: christos@NetBSD.org
State-Changed-When: Wed, 22 Oct 2008 10:23:47 -0400
State-Changed-Why:
37880 is closed, this is now open since we can still reproduce this one
State-Changed-From-To: open->feedback
State-Changed-By: pooka@NetBSD.org
State-Changed-When: Tue, 29 Jun 2010 18:56:29 +0300
State-Changed-Why:
i can't repeat this with 5.99.31
you?
Responsible-Changed-From-To: ad->dholland
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Mon, 09 Apr 2012 05:59:40 +0000
Responsible-Changed-Why:
ad resigned, should not own PRs any more
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 09 Apr 2012 05:59:40 +0000
State-Changed-Why:
will try it myself, if I can't reproduce it, I'll close it
Responsible-Changed-From-To: dholland->kern-bug-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 31 Jul 2016 22:55:03 +0000
Responsible-Changed-Why:
did not actually do anything
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 31 Jul 2016 22:55:03 +0000
State-Changed-Why:
cannot reproduce either, so time to close
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.