Subject: Problens with dom0 on NetBSD4_BETA2
To: None <port-xen@NetBSD.org>
From: Andre Filipe de Assuncao e Brito (decko) <decko@decko.org>
List: port-xen
Date: 12/20/2006 10:55:26
Hi guys. I m trying to use NetBSD4 as dom0 on my server, but when I
try to run my vm, it show the domU kernel booting, and stop. I ran
dmesg from other console and get this message:

xbdback backend/vbd/1/3: can't ioctl device 0xe03: 6
xvif1.0: Ethernet address 00:16:3e:58:1d:a1
xbdback backend/vbd/1/1536: can't ioctl device 0xe03: 6
xbd backend 0x3 for domain 1 using event channel 18
xbd backend 0x600 for domain 1 using event channel 19
xvif1.0: disconnecting

Here's the conf file:

bash-3.1# less /usr/pkg/etc/xen/chimera
#kernel = "/vm/netbsd-tmpl/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz"
kernel = "/netbsd-INSTALL_XEN3_DOMU.gz"
#kernel = "/netbsd-XEN3_DOMU"
memory = 256
name = "chimera"
vcpus = 0
disk = [
'phy:/dev/vnd0d,wd0d,w','file:/vm/netbsd-tmpl/i386/installation/cdrom/netbsd-i386.iso,cd0a,r'
]
#disk = [
'file:/vm/test.img,wd0d,w','file:/vm/netbsd-tmpl/i386/installation/cdrom/netbsd-i386.iso,cd0a,r'
]
#vif = [ 'bridge=bridge0' ]
root = "/dev/wd0d"

The exit of xm create chimera -c

bash-3.1# xm create chimera -c
Using config file "/usr/pkg/etc/xen/chimera".
Started domain chimera
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA2 (INSTALL_XEN3_DOMU) #0: Sun Dec 10 07:40:18 UTC 2006

builds@pb:/home/builds/ab/netbsd-4/i386/200612080000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/i386/compile/INSTALL_XEN3_DOMU
total memory = 256 MB
avail memory = 244 MB
mainbus0 (root)
hypervisor0 at mainbus0
vcpu0 at hypervisor0: (uniprocessor)
vcpu0: Intel (686-class), 3200.11 MHz, id 0xf4a
vcpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
vcpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
vcpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
vcpu0: I-cache 12K uOp cache 8-way
vcpu0: ITLB 4K/4M: 64 entries
vcpu0: DTLB 4K/4M: 64 entries
debug virtual interrupt using event channel 3
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
xencons0: using event channel 2
npx0 at hypervisor0: using exception 16
Xen clock: using event channel 4
Kernelized RAIDframe activated
md0: internal 5000 KB image area
xenbus0: using event channel 1
xbd0 at xenbus0 id 3: Xen Virtual Block Device Interface
xbd0: using event channel 5
xbd1 at xenbus0 id 1536: Xen Virtual Block Device Interface
xbd1: using event channel 6
----------------And stop here-----------------------------

If I use NetBSD 3.1 as domU, it show me this message at end:

xbd0 at xenbus0 id 3: Xen Virtual Block Device Interface
xbd0: using event channel 5
xbd1 at xenbus0 id 1536: Xen Virtual Block Device Interface
xbd1: using event channel 6
backend_changed backend
----------------And stop here-----------------------------

Am I doing something wrong???

Thanks to all

-- 
André Filipe de Assunção e Brito (decko)
http://decko.org
GTalk/Jabber/MSN: decko@decko.org