I'm having trouble with starting domains under Xen 3.0.3+hg9697-1 on my
Debian amd64 machine.
The hypervisor and dom0 kernels are booting fine. Once booted, the xm
list output looks like:
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 123 1 r----- 45.2
So, I booted the latest FC6 (pre 5.91) x86_64 media and made a small
installation to an LVM group, then chrooted into it and installed the
kernel-xen package from the DVD - then copied the kernel and initrd back
to somewhere the Debian xen0 could get to them.
Upon returning to the Debian-xen0 system, I prepared the config file:
# cat /etc/xen/fedora
name = "fedora"
kernel = "/boot/vmlinuz-2.6.17-1.2517.fc6xen"
ramdisk = "/boot/initrd-2.6.17-1.2517.fc6xen.img"
memory = 512
disk = [ "phy:mapper/group01-fedora,sda1,w" ]
root = "/dev/sda1 ro"
vif = [ "" ]
on_crash = "preserve"
(n.b. I put 'on_crash = "preserve"' to stop the domain constantly
restarting)
Now, when starting the domain, I get:
# xm create fedora
Using config file "/etc/xen/fedora".
Started domain fedora
And xm list gives:
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 123 1 r----- 46.3
fedora 11 512 1 ----c- 0.0
i.e. It crashed immediately.
If I perform 'xm create -c fedora', no additional output (i.e. kernel
messages) are output, and it just sits there until I hit ctrl+].
The setup is:
||/ Name Version
+++-========================-==============
ii xen-docs-3.0 3.0.2+hg9697-1
ii xen-hypervisor-3.0-amd64 3.0.2+hg9697-1
ii xen-utils-3.0 3.0.2+hg9697-1
Kernel is...
||/ Name Version
+++-=================================-==============
ii linux-image-2.6.16-2-xen-amd64-k8 2.6.16-17
xm info gives:
# xm info
host : aphasia
release : 2.6.16-2-xen-amd64-k8
version : #1 SMP Sun Jul 16 03:25:55 CEST 2006
machine : x86_64
nr_cpus : 1
nr_nodes : 1
sockets_per_node : 1
cores_per_socket : 1
threads_per_core : 1
cpu_mhz : 2400
hw_caps :
078bfbff:e3d3fbff:00000000:00000010:00000001:00000001:00000001
total_memory : 2047
free_memory : 1884
xen_major : 3
xen_minor : 0
xen_extra : .2-3
xen_caps : xen-3.0-x86_64
platform_params : virt_start=0xffff800000000000
xen_changeset : Tue May 30 18:14:05 2006 +0100
cc_compiler : gcc version 4.1.2 20060613 (prerelease) (Debian
4.1.1-5)
cc_compile_by : ultrotter@debia
cc_compile_domain :
cc_compile_date : Sat Jun 24 15:11:11 UTC 2006
xend-debug.log is empty. xen-hotplug.log is also empty.
xend.log gives (when starting the domain):
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988)
XendDomainInfo.create(['vm', ['name', 'fedora'], ['memory', 512], ['on_crash',
'preserve'], ['vcpus', 1], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.17-1.2517.fc6xen'], ['ramdisk',
'/boot/initrd-2.6.17-1.2517.fc6xen.img'], ['root', '/dev/sda1 ro']]],
['device', ['vbd', ['uname', 'phy:mapper/group01-fedora'], ['dev', 'sda1'],
['mode', 'w']]], ['device', ['vif']]])
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988) parseConfig:
config is ['vm', ['name', 'fedora'], ['memory', 512], ['on_crash', 'preserve'],
['vcpus', 1], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.17-1.2517.fc6xen'], ['ramdisk',
'/boot/initrd-2.6.17-1.2517.fc6xen.img'], ['root', '/dev/sda1 ro']]],
['device', ['vbd', ['uname', 'phy:mapper/group01-fedora'], ['dev', 'sda1'],
['mode', 'w']]], ['device', ['vif']]]
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988) parseConfig:
result is {'ssidref': None, 'uuid': None, 'on_crash': 'preserve', 'on_reboot':
None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.17-1.2517.fc6xen'],
['ramdisk', '/boot/initrd-2.6.17-1.2517.fc6xen.img'], ['root', '/dev/sda1
ro']], 'on_poweroff': None, 'cpus': None, 'name': 'fedora', 'backend': [],
'vcpus': 1, 'cpu_weight': None, 'vcpu_avail':None, 'memory': 512, 'device':
[('vbd', ['vbd', ['uname', 'phy:mapper/group01-fedora'], ['dev', 'sda1'],
['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem':
None}
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988)
XendDomainInfo.construct: None 0
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988)
XendDomainInfo.initDomain: 11 1.0
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Balloon: free 1884; need 513;
done.
[2006-08-10 11:44:45 xend] INFO (__init__:988) buildDomain os=linux dom=11
vcpus=1
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) dom = 11
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) image =
/boot/vmlinuz-2.6.17-1.2517.fc6xen
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) store_evtchn = 1
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) console_evtchn = 2
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) cmdline =
root=/dev/sda1 ro
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) ramdisk =
/boot/initrd-2.6.17-1.2517.fc6xen.img
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) vcpus = 1
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) features =
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) DevController: writing
{'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/11/2049'} to /local/domain/11/device/vbd/2049.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) DevController: writing
{'domain': 'fedora', 'frontend': '/local/domain/11/device/vbd/2049', 'dev':
'sda1', 'state': '1', 'params': 'mapper/group01-fedora', 'mode':'w',
'frontend-id': '11', 'type': 'phy'} to /local/domain/0/backend/vbd/11/2049.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:46:b8:ba', 'handle': '0', 'state': '1',
'backend': '/local/domain/0/backend/vif/11/0'} to /local/domain/11/device/vif/0.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) DevController: writing {'mac':
'00:16:3e:46:b8:ba', 'state': '1', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'frontend-id': '11', 'domain': 'fedora',
'frontend': '/local/domain/11/device/vif/0'} to
/local/domain/0/backend/vif/11/0.
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988) Storing VM
details: {'ssidref': '0', 'uuid': '615137ac-2024-a937-2d5b-52eea47f206e',
'on_reboot': 'restart', 'start_time': '1155210285.39', 'on_poweroff':
'destroy', 'name': 'fedora', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512',
'on_crash': 'preserve', 'image': "(linux (kernel
/boot/vmlinuz-2.6.17-1.2517.fc6xen) (ramdisk
/boot/initrd-2.6.17-1.2517.fc6xen.img) (root '/dev/sda1 ro'))", 'maxmem': '512'}
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988) Storing domain
details: {'console/ring-ref': '24704', 'console/port': '2', 'name': 'fedora',
'console/limit': '1048576', 'vm': '/vm/615137ac-2024-a937-2d5b-52eea47f206e',
'domid': '11', 'cpu/0/availability': 'online', 'memory/target': '524288',
'store/ring-ref': '24705', 'store/port': '1'}
[2006-08-10 11:44:45 xend.XendDomainInfo] DEBUG (__init__:988)
XendDomainInfo.handleShutdownWatch
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for devices vif.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for 0.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) hotplugStatusCallback
/local/domain/0/backend/vif/11/0/hotplug-status.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) hotplugStatusCallback
/local/domain/0/backend/vif/11/0/hotplug-status.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) hotplugStatusCallback 1.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for devices usb.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for devices vbd.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for 2049.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) hotplugStatusCallback
/local/domain/0/backend/vbd/11/2049/hotplug-status.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) hotplugStatusCallback
/local/domain/0/backend/vbd/11/2049/hotplug-status.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) hotplugStatusCallback 1.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for devices irq.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for devices pci.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for devices ioports.
[2006-08-10 11:44:45 xend] DEBUG (__init__:988) Waiting for devices vtpm.
[2006-08-10 11:44:45 xend] INFO (__init__:988) Domain fedora (11) unpaused.
[2006-08-10 11:44:45 xend.XendDomainInfo] WARNING (__init__:988) Domain has
crashed: name=fedora id=11.
[2006-08-10 11:44:45 xend.XendDomainInfo] INFO (__init__:988) Preserving dead
domain fedora (11).
Can anyone help?
Thanks,
rob.
--
rob andrews :: pgp 0xb35ff721 :: rob@xxxxxxxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|