Subject: Re: xen_read_console doesn't show any output?
To: Juan RP <juan@xtraeme.unixbsd.org>
From: Christian Limpach <chris@pin.lu>
List: port-xen
Date: 05/10/2004 02:15:36
Hi,
On Mon, May 10, 2004 at 12:45:42AM +0200, Juan RP wrote:
> In domain0 I do:
>
> [juan@Nocturno][~]> sudo xc_dom_create.py -f netbsd -D 'vmid=1;ip=172.20.4.19'
> -m 32 -k /grub/xen12netbsd.gz
> VM block device(s): "phy:wd0i,sda1,w"
> VM cmdline: "ip=172.20.4.19:169.254.1.0:192.168.1.1:255.255.255.0::eth0:off
> nfsroot=169.254.1.0:/netboot/netbsd bootdev=wd0a"
> VM started in domain 5
> [5] sd0 at hypervisor0: Xen Virtual Block Device 6000 MB
> and /etc/fstab:
>
> /dev/wd0a / ffs rw,softdep 1 1
> All the sets were extracted into wd0i. Can you please tell me what I'm missing
> there?
ok, the problem is the vbd_list in your .../xc12/netbsd config file:
phy:wd0i,sda1,w tells xc_dom_create.py to export wd0i as a scsi disk,
but bootdev=wd0a and /dev/wd0a expect an ide disk. You should
change the vbd_list setting to: phy:wd0i,hda1,w
Maybe we should patch the tools to expect ide0/part0 or scsi0/part0
since that would be OS-independent and probably less confusing...
christian