Subject: port-xen/29775: Cannot use a vnode disk for domU
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@xtraeme.nopcode.org>
List: netbsd-bugs
Date: 03/23/2005 17:42:00
>Number:         29775
>Category:       port-xen
>Synopsis:       Cannot use a vnode disk for domU
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 23 17:42:00 +0000 2005
>Originator:     Juan RP
>Release:        NetBSD 3.99.1
>Organization:
>Environment:
System: NetBSD Mandylion 3.99.1 NetBSD 3.99.1 (GATEWAY_) #1: Wed Mar 23 06:34:57 CET 2005 juan@Nocturno:/home/juan/src-yamt-km/sys/arch/i386/compile/GATEWAY_ i386
Architecture: i386
Machine: i386
>Description:
	With -current Xen sources, I want to create a domU using
	a vnode disk in a file:

	$ dd if=/dev/zero of=mydisk.img bs=1k seek=20480k count=1
	$ vnconfig vnd0 mydisk.img
	
	$ grep vnd0 /etc/xen/netbsd
	disk = [ 'phy:/dev/cd0a,cd0a,r', 'phy:/dev/vnd0a,wd0d,w' ]
	$

	The system will crash.

>How-To-Repeat:
	See above.

>Fix:
	Please fixme!