Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Difficulties with netbsd on xen 3



I'm trying to get netbsd HEAD domU running under xen 3 with a linux dom0.
I think I have a correct config file for 'xm create', but it fails to start.

>From the xend.log
[2006-05-18 21:58:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) 
XendDomainInfo.construct: None 0
[2006-05-18 21:58:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196) 
XendDomainInfo.initDomain: 7 1.0
[2006-05-18 21:58:15 xend] DEBUG (balloon:126) Balloon: free 3513; need 257; 
done.
[2006-05-18 21:58:15 xend] INFO (image:135) buildDomain os=linux dom=7 vcpus=1
[2006-05-18 21:58:15 xend] DEBUG (image:173) dom            = 7
[2006-05-18 21:58:15 xend] DEBUG (image:174) image          = 
/vserver/dists/ftp.netbsd.org/pub/NetBSD/NetBSD-daily/HEAD/200605180000Z/i386/binary/kernel/netbsd-INSTALL_XEN3_U
[2006-05-18 21:58:15 xend] DEBUG (image:175) store_evtchn   = 1
[2006-05-18 21:58:15 xend] DEBUG (image:176) console_evtchn = 2
[2006-05-18 21:58:15 xend] DEBUG (image:177) cmdline        =
[2006-05-18 21:58:15 xend] DEBUG (image:178) ramdisk        =
[2006-05-18 21:58:15 xend] DEBUG (image:179) vcpus          = 1
[2006-05-18 21:58:15 xend] DEBUG (image:180) features       =
[2006-05-18 21:58:16 xend] DEBUG (DevController:103) DevController: writing 
{'virtual-device': '768', 'backend-id': '0', 'state': '1', 'backend': 
'/local/domain/0/backend/vbd/7/768'} to /local/domain/7/device/vbd/768.
[2006-05-18 21:58:16 xend] DEBUG (DevController:105) DevController: writing 
{'domain': 'netbsd3.0', 'frontend': '/local/domain/7/device/vbd/768', 'dev': 
'hda',
'state': '1', 'params': '/vserver/images/nbsd01.img', 'mode': 'w', 
'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/768.
[2006-05-18 21:58:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing VM
details: {'ssidref': '0', 'uuid': '37553d0f-6936-c486-b8cd-3dd0c1191948', 
'on_reboot': 'restart', 'start_time': '1148003896.14', 'on_poweroff': 
'destroy', 'name': 'netbsd3.0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': 
'256', 'on_crash': 'restart', 'image': '(linux (kernel 
/vserver/dists/ftp.netbsd.org/pub/NetBSD/NetBSD-daily/HEAD/200605180000Z/i386/binary/kernel/netbsd-INSTALL_XEN3_U))',
 'maxmem': '256'}
[2006-05-18 21:58:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing 
domain details: {'console/ring-ref': '927244', 'console/port': '2', 'name': 
'netbsd3.0', 'console/limit': '1048576', 'vm': 
'/vm/37553d0f-6936-c486-b8cd-3dd0c1191948', 'domid': '7', 'cpu/0/availability': 
'online', 'memory/target': '262144', 'store/ring-ref': '927245', 'store/port': 
'1'}
[2006-05-18 21:58:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) 
XendDomainInfo.handleShutdownWatch
[2006-05-18 21:58:16 xend.XendDomainInfo] WARNING (XendDomainInfo:819) Domain 
has crashed: name=netbsd3.0 id=7.
[2006-05-18 21:58:16 xend.XendDomainInfo] ERROR (XendDomainInfo:1467) VM 
netbsd3.0 restarting too fast (0.610915 seconds since the last restart).  
Refusing to restart to avoid loops.
[2006-05-18 21:58:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327) 
XendDomainInfo.destroy: domid=7
[2006-05-18 21:58:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335) 
XendDomainInfo.destroyDomain(7)

The config

#kernel = "/vserver/dists/netbsd/HEAD/i386/binary/kernel/netbsd-INSTALL_XEN3_U"
kernel="/vserver/dists/ftp.netbsd.org/pub/NetBSD/NetBSD-daily/HEAD/200605180000Z/i386/binary/kernel/netbsd-INSTALL_XEN3_U"
#ramdisk = "/vserver/dists/netbsd/HEAD/i386/installation/floppy/boot-big.fs"
memory = 256
name = "netbsd3.0"
#disk = [ 'phy:/dev/vol1/netbsd3.0,0x3,w' ]
disk = [ 'file:/vserver/images/nbsd01.img,hda,w' ]
#disk = [ 
'file:/vserver/dists/netbsd/HEAD/i386/installation/floppy/boot-big.fs,hda,w' ]

# Replace with your IP info
#ip = "a.b.c.d"
#netmask = "255.255.x.x"
#gateway = "a.b.c.d"
#serial='pty'



Linux is Debian unstable.  Hypervisor and utils are
3.0.2+hg9681-1

Using
linux-image-xen-686 2.6.16-12

As a counterpoint, linux domUs start just fine.
-- 
Chris Dukes
< tajwerk> this job isnt bad though.  Today we had free breakfast and
           B0rg implants.



Home | Main Index | Thread Index | Old Index