Subject: Re: Xen3 domU functionnal
To: Stephane Bortzmeyer <stephane@sources.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 03/22/2006 22:28:24
On Wed, Mar 22, 2006 at 09:52:06PM +0100, Stephane Bortzmeyer wrote:
> On Mon, Mar 20, 2006 at 11:41:33PM +0100,
>  Manuel Bouyer <bouyer@antioche.eu.org> wrote 
>  a message of 14 lines which said:
> 
> > NetBSD should now be functionnal on Xen3 with block and network
> > devices.
> 
> Should I understand that files do not work yet?

It should, file handling isn't done by domU but dom0.

> I tried (disk = [
> 'file:/xen-machines/images/jadis-root,hd1,w' ]) and I get:
> 
> [2006-03-22 21:49:49 xend] INFO (image:132) buildDomain os=linux dom=5 vcpus=1
> [2006-03-22 21:49:49 xend] DEBUG (image:170) dom            = 5
> [2006-03-22 21:49:49 xend] DEBUG (image:171) image          = /local/netbsd-for-xen/netbsd-INSTALL_XEN3_U
> [2006-03-22 21:49:49 xend] DEBUG (image:172) store_evtchn   = 1
> [2006-03-22 21:49:49 xend] DEBUG (image:173) console_evtchn = 2
> [2006-03-22 21:49:49 xend] DEBUG (image:174) cmdline        =  ip=172.19.1.33:1.2.3.4:172.19.1.1:255.255.255.0::eth0:off
> [2006-03-22 21:49:49 xend] DEBUG (image:175) ramdisk        = 
> [2006-03-22 21:49:49 xend] DEBUG (image:176) vcpus          = 1
> [2006-03-22 21:49:52 xend] DEBUG (blkif:24) exception looking up device number for hd1: [Errno 2] No such file or directory: '/dev/hd1'

This is the problem; maybe you want /dev/hda or /dev/hda1 here instead ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--