Subject: kern/582: vnd panics kernel
To: None <>
From: Jeff Weisberg <>
List: netbsd-bugs
Date: 11/21/1994 20:35:04
>Number:         582
>Category:       kern
>Synopsis:       proper incantation using vnd panics
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 21 20:35:03 1994
>Originator:     Jeff Weisberg
>Release:        1.0
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

	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


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

	create fs image on local disk