Subject: Re: Netbsd XEN nothing I can boot in
To: Ivan Vari <i.vari@niwa.co.nz>
From: Sarton O'Brien <bsd-xen@roguewrt.org>
List: port-xen
Date: 09/13/2006 11:25:33
As mentioned in another email, when using a Xen3 Dom0 under NetBSD, use the
noapic acpi=off nosmp options but for a DomU under linux, there should be no
need.
With reference to what I typed earlier, under linux, the real device being
specified, should be specified as seen by Dom0. For example:
disk = [ 'phy:/dev/hda,0x03,w' , 'phy:/dev/cdrom,0x03,r']
Just to clarify.
Sarton
On Wednesday 13 September 2006 11:00, you wrote:
> I haven't played with a linux Dom0 but from the errors below, I'd say the
> parameters you are passing to the NetBSD DomU are incorrect.
>
> The NetBSD Xen3 DomU is a bit different and does not adhere to normal Xen
> convention.
>
> For launching a NetBSD DomU under a NetBSD Dom0 I have:
>
> kernel
> = "/usr/src/obj/releasedir/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz"
> memory = 64
> name = "whatever"
> disk =
> [ 'phy:/dev/wd0h,0x03,w' ,
> 'file:/usr/src/obj/releasedir/i386/installation/cdrom/netbsd-i386.iso,0x04,
>r' ] vif = [ 'bridge=bridge0' ]
> root = "/dev/wd0d"
>
> As you can see, the block devices are specified using a hex address number.
> With the above config, the devices will appear as xbd0 and xbd1 under the
> NetBSD DomU during installation.
>
> Sarton
>
> On Wednesday 13 September 2006 10:33, Ivan Vari wrote:
> > [2006-09-13 12:30:16 xend] DEBUG (blkif:24) exception looking up device
> > number for cd0a: [Errno 2] No such file or directory: '/dev/cd0a'
> > [2006-09-13 12:30:16 xend] DEBUG (DevController:103) DevController:
> > writing {'virtual-device': '52490', 'backend-id': '0', 'state': '1',
> > 'backend': '/local/domain/0/backend/vbd/11/52490'} to
> > /local/domain/11/device/vbd/52490.
> > [2006-09-13 12:30:16 xend] DEBUG (DevController:105) DevController:
> > writing {'domain': 'NetBSD', 'frontend':
> > '/local/domain/11/device/vbd/52490', 'dev': 'cd0a', 'state': '1',
> > 'params': '/tmp/i386cd-3.1_RC2.iso', 'mode': 'r', 'frontend-id': '11',
> > 'type': 'file'} to /local/domain/0/backend/vbd/11/52490.
> > [2006-09-13 12:30:17 xend] DEBUG (blkif:24) exception looking up device
> > number for 0x301: [Errno 2] No such file or directory: '/dev/0x301'