NetBSD Problem Report #339
From gnats Wed Jul 13 12:27:19 1994
Received: from dptspd.sat.datapoint.com (dptspd.sat.datapoint.com [130.137.64.2]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with SMTP id MAA13700 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 13 Jul 1994 12:27:18 -0700
Message-Id: <199407131922.OAA00311@rous.endicor.com>
Date: Wed, 13 Jul 1994 14:22:01 -0500
From: tsarna@endicor.com
Reply-To: tsarna@endicor.com
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Cc: tsarna@endicor.com
Subject: mkdir unionfs panic: vref used where vget required
X-Send-Pr-Version: 3.2
>Number: 339
>Category: kern
>Synopsis: mkdir unionfs panic: vref used where vget required
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 13 13:35:05 +0000 1994
>Closed-Date: Wed Dec 28 19:02:21 +0000 1994
>Last-Modified:
>Originator: Ty Sarna
>Release: 1.0-ALPHA amiga port, July 11 sup
>Organization:
Endicor Technologies, Inc.
P.O. Box 29000 #355
San Antonio, TX 78247
(210) 650-4988
>Environment:
System: NetBSD rous.endicor.com 1.0-ALPHA
NetBSD 1.0-ALPHA (ROUS) #116: Tue Jul 12 11:52:04 CDT 1994
root@rous.endicor.com:/usr/src/sys/arch/amiga/compile/ROUS
amiga
System is Amiga A3000T, '030, 10M (8Fast/2Chip).
>Description:
Sometimes when using the union vfs, the system will panic with "vref
used where vget required". I found this when configuring a kernel and
creating the compile/KERNNAME directory. (I have the sup tree NFS
mounted from anouther machine, and I remount it under an empty /usr/src
with unionfs and the -b flag). I found a simple way to reproduce the
mkdir panic. It also seems to panic on other operations too, but this
was the easiest to duplicate, and hopefully fixing this one will catch
the others.
After the panic, a ddb traceback looks like this:
_Debugger
_panic
_vref(...) + 12
_union_allocvp(...) + 350
_union_mkdir(...) + a2
_mkdir
_syscall
_trap
(I can get all the numbers if you like, but I doubt they'll mean much on
an i386)
>How-To-Repeat:
rous# cd /usr
rous# mkdir foo bar
rous# mkdir bar/baz bar/bob
rous# mount -t union -o -b /usr/bar /usr/foo
rous# cd /usr/foo/bob
rous# mkdir ../baz/kaboom
panic: vref used where vget required
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Wed Dec 28 11:02:21 PST 1994
State-Changed-Why:
Fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.