NetBSD Problem Report #33642
From lassekliemann@gmx.net Sat Jun 3 15:48:13 2006
Return-Path: <lassekliemann@gmx.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 9EAF963B88E
for <gnats-bugs@gnats.NetBSD.org>; Sat, 3 Jun 2006 15:48:13 +0000 (UTC)
Message-Id: <20060603154318.29480.qmail@venture.starfleet>
Date: 3 Jun 2006 15:43:18 -0000
From: lasse-send-pr-2006@plastictree.net (Lasse Kliemann)
Reply-To: lasse-send-pr-2006@plastictree.net
To: gnats-bugs@NetBSD.org
Subject: panic: free dquot isn't
X-Send-Pr-Version: 3.95
>Number: 33642
>Category: kern
>Synopsis: Sometimes, creating new users and then chowning directories for them, leads to a panic.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 03 15:50:00 +0000 2006
>Last-Modified: Fri Mar 30 14:19:13 +0000 2007
>Originator: lasse-send-pr-2006@plastictree.net
>Release: NetBSD 3.0_STABLE, CVS update from May, 3. 2006
>Organization:
>Environment:
NetBSD m-043 3.0_STABLE NetBSD 3.0_STABLE (STARGAZER) #0: Thu May 4 01:02:12 CEST 2006 netbsd@m-043:/bulk/netbsd/src/sys/arch/i386/compile/STARGAZER i386
Architecture: i386
Machine: i386
>Description:
Sometimes, a sequence of commands like the following leads to a panic:
# groupadd test
# useradd -g test -m test
# mkdir /bulk/home/test
# chown test.test /bulk/home/test
panic: free dquot isn't
Stopped in pid 22336.1 (chown) at netbsd:cpu_Debugger+0x4: leave
Mounted partitions:
# mount
/dev/wd0a on / type ffs (noatime, soft dependencies, local)
/dev/raid0f on /var type ffs (noatime, soft dependencies, local)
/dev/raid0e on /usr type ffs (noatime, soft dependencies, local)
/dev/raid0g on /bulk type ffs (noatime, soft dependencies, local, with quotas)
/dev/raid1e on /home type ffs (noatime, soft dependencies, local, with quotas)
kernfs on /kern type kernfs (local)
>How-To-Repeat:
Difficult. Just repeating the above sequence does not always
lead to a panic. Because this ought to be a production
machine, I have not conducted extensive tests. I can do so, if
it is required.
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc:
Subject: Re: kern/33642: panic: free dquot isn't
Date: Sat, 3 Jun 2006 12:10:28 -0400
Do you have disk quotas turned on?
christos
From: "Lasse Kliemann" <lasse-private-2005@plastictree.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/33642: panic: free dquot isn't
Date: Sat, 3 Jun 2006 18:34:47 +0200
> Do you have disk quotas turned on?
I believe so. I have
quota=yes
in my /etc/rc.conf, and /etc/fstab looks like:
/dev/wd0a / ffs rw,noatime,softdep 1 1
/dev/raid0e /usr ffs rw,noatime,softdep 1 2
/dev/raid0f /var ffs rw,noatime,softdep 1 2
/dev/raid0g /bulk ffs rw,noatime,softdep,userquota,groupquota 1 2
/dev/raid1e /home ffs rw,noatime,softdep,userquota,groupquota 1 2
/dev/raid0a none swap sw,priority=3D0 0 0
/dev/wd1a none swap sw,priority=3D1 0 0
kernfs /kern kernfs rw
procfs /proc procfs rw,noauto
Or does "disk quotas" mean something special apart from that?
From: christos@zoulas.com (Christos Zoulas)
To: "Lasse Kliemann" <lasse-private-2005@plastictree.net>,
gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/33642: panic: free dquot isn't
Date: Sat, 3 Jun 2006 13:14:39 -0400
| Or does "disk quotas" mean something special apart from that?
No, this is exactly what it means. I would guess that the quota
code has not been tested with all the recent ffs modifications,
in particular the combination of softdeps with quota might be
toxic.
christos
From: Pavel Cahyna <pavel@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/33642: panic: free dquot isn't
Date: Sun, 4 Jun 2006 00:22:08 +0200
> panic: free dquot isn't
Do you use FFSv1 or FFSv2 ?
From: "Lasse Kliemann" <lasse-private-2005@plastictree.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/33642: panic: free dquot isn't
Date: Sun, 4 Jun 2006 12:53:36 +0200
> Do you use FFSv1 or FFSv2 ?
What is the way to determine this? I just did 'newfs' without
any fancy options to create these filesystems.
From: Pavel Cahyna <pavel@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/33642: panic: free dquot isn't
Date: Sun, 4 Jun 2006 13:18:27 +0200
On Sun, Jun 04, 2006 at 11:00:07AM +0000, Lasse Kliemann wrote:
> > Do you use FFSv1 or FFSv2 ?
>
> What is the way to determine this? I just did 'newfs' without
> any fancy options to create these filesystems.
it is FFSv1 then.
From: "Lasse Kliemann" <lasse-private-2005@plastictree.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, lasse-send-pr-2006@plastictree.net
Subject: Re: kern/33642: panic: free dquot isn't
Date: Tue, 6 Jun 2006 15:11:39 +0200
It happened again today, but this time hours after I created a
new account. The panic was not related to chown, but to ksh.
I will now switch off softdeps and see if it happens again.
>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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.