NetBSD Problem Report #582
From gnats Mon Nov 21 20:22:38 1994
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id UAA05089 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 21 Nov 1994 20:22:36 -0800
Message-Id: <199411220313.WAA00393@bach>
Date: Mon, 21 Nov 1994 22:13:01 -0500
From: Jeff Weisberg <jaw@magoo.roc.ny.us>
Reply-To: jaw@magoo.roc.ny.us
To: gnats-bugs@netbsd.org
Subject: vnd panics kernel
X-Send-Pr-Version: 3.2
>Number: 582
>Category: kern
>Synopsis: proper incantation using vnd panics
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 21 20:35:03 +0000 1994
>Closed-Date: Fri Feb 20 01:11:59 +0000 1998
>Last-Modified: Fri Feb 20 01:12:18 +0000 1998
>Originator: Jeff Weisberg
>Release: 1.0
>Organization:
None
>Environment:
System: NetBSD bach 1.0 NetBSD 1.0 (BACH) #2: Sat Nov 19 23:46:06 EST 1994 jaw@bach:/bach/tmp/usr/src/sys/arch/i386/compile/BACH i386
>Description:
if a vn-device is configured with the backing file in a null mounted
fs, which was in turn nfs mounted, newfsing that vnd causes a panic
>How-To-Repeat:
prompt % mount -t nfs magoo:/home/magoo /home/magoo
prompt % mount -t null /home/magoo/src/NetBSD-1.0/usr/src /usr/src
prompt % cd /usr/src/distrib/i386/floppies/kcjaw
prompt % dd if=/dev/zero of=foobar bs=80k count=18
18+0 records in
18+0 records out
1474560 bytes transferred in 1 secs (1474560 bytes/sec)
prompt % vnconfig -v -c /dev/vnd0a foobar
/dev/vnd0a: 1474560 bytes on foobar
prompt % newfs -O -m 0 -o space -i 5120 -c 80 /dev/rvnd0a floppy
panic: vwakeup: neg numoutput
>Fix:
create fs image on local disk
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: cgd
State-Changed-When: Wed Jan 25 04:11:28 PST 1995
State-Changed-Why:
null or union fs swaps b_vp before calling strategy (for buffer cache
consistency), but synchronous strategy routine calls biodone() and the
null/union vnode is vwakeup()'d. It's possible to fix this in a myriad
of ugly ways; i've not picked one yet.
State-Changed-From-To: analyzed->closed
State-Changed-By: mrg
State-Changed-When: Thu Feb 19 17:11:59 PST 1998
State-Changed-Why:
this was fixed prior to 1.3 by pk.
>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.