Subject: Re: disk problems with xen3
To: Ari Suutari <ari@suutari.iki.fi>
From: Marcin Jessa <lists@yazzy.org>
List: port-xen
Date: 07/04/2006 12:50:04
On Tuesday 04 July 2006 12:41, Ari Suutari wrote:
> Hi,
>
> Manuel Bouyer wrote:
> > On Tue, Jul 04, 2006 at 01:03:57PM +0300, Ari Suutari wrote:
> >>    vm = "/vm/00000000-0000-0000-0000-000000000000"
> >>    domid = "0"
> >>    backend = ""
> >>     vbd = ""
> >>      1 = ""
> >>       3 = ""
> >>        domain = "nbsd"
> >>        frontend = "/local/domain/1/device/vbd/3"
> >>        dev = "wd0d"
> >
> > I think I got it. Didn't you get an error message about reading
> > backend/vbd/1/3/handle in dmesg ?
>
> 	Yes, there were errors.
>
> > I assumed dev would always be an hexadecimal number (i.e. that the tools
> > would convert the device string to a dev_t) before writing to the store.
> > For now please use somethinh like:
> > disk = [ 'phy:/dev/wd0e,0x03,w' ]
>
> 	Yes !! Now it boots ! Thank you very much !

Worked in my case too (for vnd image). Replacing 
disk = [ 'file:/serv/xen/domains/netbsd/shell.yazzy.org,xbd0a,w' ]
with
disk = [ 'file:/serv/xen/domains/netbsd/shell.yazzy.org,0x03,w' ]
did the trick. The XENU host booted.


Thanks a lot Manuel.

Cheers,
Marcin.