Subject: dom0 boot problem
To: NetBSD/xen <port-xen@NetBSD.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: port-xen
Date: 04/02/2007 13:00:13
Hi,

Maybe I'm missing something obvious but I can't boot my NetBSD/i386 4.0_BETA2 to 
domain0. Here's what I get. Any ideas?


root (hd0,0)
   Filesystem type unknown, partition type 0xa9
kernel (hd0,a)/xen.gz dom0_mem=262144

Error 13: Invalid or unsupported executable format


# pkg_info | grep xen
xenkernel30-3.0.3   Xen3 Kernel
xentools30-3.0.3nb2 Userland Tools for Xen

# diff /usr/pkg/xen3-kernel/xen.gz /xen.gz
#

# cat /grub/menu.lst
default=0
timeout=10

title           NetBSD/xen
root            (hd0,0)
kernel          (hd0,a)/xen.gz dom0_mem=262144
module          (hd0,a)/netbsd root=/dev/hda1 ro console=tty0

title           NetBSD/i386
root            (hd0,0)
chainloader     +1

# ls -lh /xen.gz /netbsd*
-rwxr-xr-x  1 root  wheel  9.0M Apr  2 08:24 /netbsd
-rwxr-xr-x  1 root  wheel  9.7M Mar 30 06:09 /netbsd.GENERIC
-r--r--r--  1 root  wheel  256K Apr  2 10:45 /xen.gz

# strings /netbsd | grep /XEN3
         root@xen3.mydomain.com:/usr/src/sys/arch/i386/compile/XEN3_DOM0
         root@xen3.mydomain.com:/usr/src/sys/arch/i386/compile/XEN3_DOM0