-xen-vserver kernel: does the Xen stuff work?
I'm trying the linux-image-2.6.18-1-xen-vserver (2.6.18-3) kernel, and
I'm having trouble creating (booting) a domU. The symptom appears to be
that it boots, then hangs for about 100 seconds, then crashes. I assume
the 100s is a Xen timeout thing.
My initial question: is anybody using the Xen stuff in this kernel?
Just so as I know I'm not wasting time on something not yet working...
If anyone wants to take a look further, I see the following in xend.log:
---------------------------------
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'xen0'], ['memory', 32], ['vcpus',
1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-1-xen-vserver-686'
], ['ip',
'192.168.18.98:1.2.3.4:192.168.18.254:255.255.255.0:xentest.home:eth0:off'],
['root', '/dev/hda1'], ['args', '3']]], ['device', ['vbd', ['uname',
'phy:vg0/xen0'], ['dev', 'hda1'], ['mode', 'w']]], ['device',
['vif', ['bridge', 'xenbr0']]]])
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
parseConfig: config is ['vm', ['name', 'xen0'], ['memory', 32],
['vcpus', 1], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.18-1-xen-vserver-686
'], ['ip',
'192.168.18.98:1.2.3.4:192.168.18.254:255.255.255.0:xentest.home:eth0:off'],
['root', '/dev/hda1'], ['args', '3']]], ['device', ['vbd', ['uname',
'phy:vg0/xen0'], ['dev', 'hda1'], ['mode', 'w']]], ['device'
, ['vif', ['bridge', 'xenbr0']]]]
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash':
None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '
/boot/vmlinuz-2.6.18-1-xen-vserver-686'], ['ip',
'192.168.18.98:1.2.3.4:192.168.18.254:255.255.255.0:xentest.home:eth0:off'],
['root', '/dev/hda1'], ['args', '3']], 'on_poweroff': None,
'bootloader_args': None, 'cpus'
: None, 'name': 'xen0', 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'features': None, 'vcpu_avail': None, 'memory': 32, 'device': [('vbd',
['vbd', ['uname', 'phy:vg0/xen0'], ['dev', 'hda1'], ['mode', 'w']]), ('vif'
, ['vif', ['bridge', 'xenbr0']])], 'bootloader': None, 'cpu': None,
'maxmem': None}
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
XendDomainInfo.construct: None
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
XendDomainInfo.initDomain: 3 1.0
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) Balloon: 33772 KiB
free; need 32768; done.
[2006-11-08 23:21:00 xend 2452] INFO (__init__:1072) buildDomain
os=linux dom=3 vcpus=1
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) dom = 3
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) image =
/boot/vmlinuz-2.6.18-1-xen-vserver-686
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) store_evtchn = 1
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) console_evtchn = 2
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) cmdline =
ip=192.168.18.98:1.2.3.4:192.168.18.254:255.255.255.0:xentest.home:eth0:off
root=/dev/hda1 3
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) ramdisk =
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) vcpus = 1
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) features =
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) DevController:
writing {'backend-id': '0', 'virtual-device': '769', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/3/769'} to
/local/
domain/3/device/vbd/769.
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) DevController:
writing {'domain': 'xen0', 'frontend': '/local/domain/3/device/vbd/769',
'dev': 'hda1', 'state': '1', 'params': 'vg0/xen0', 'mode': 'w', 'online': '
1', 'frontend-id': '3', 'type': 'phy'} to /local/domain/0/backend/vbd/3/769.
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:7b:64:71', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/3/0'} to
/local/domain/
3/device/vif/0.
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) DevController:
writing {'bridge': 'xenbr0', 'domain': 'xen0', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/3/de
vice/vif/0', 'mac': '00:16:3e:7b:64:71', 'online': '1', 'frontend-id':
'3'} to /local/domain/0/backend/vif/3/0.
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
Storing VM details: {'shadow_memory': '0', 'uuid':
'21b0998a-8393-a844-98f1-8d32c683ea64', 'on_reboot': 'restart',
'start_time': '1162988460.71', 'o
n_poweroff': 'destroy', 'name': 'xen0', 'xend/restart_count': '0',
'vcpus': '1', 'vcpu_avail': '1', 'memory': '32', 'on_crash': 'restart',
'image': '(linux (kernel /boot/vmlinuz-2.6.18-1-xen-vserver-686) (ip
192.168.1
8.98:1.2.3.4:192.168.18.254:255.255.255.0:xentest.home:eth0:off) (root
/dev/hda1) (args 3))', 'maxmem': '32'}
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
Storing domain details: {'console/ring-ref': '128599', 'console/port':
'2', 'name': 'xen0', 'console/limit': '1048576', 'vm':
'/vm/21b0998a-8393-a84
4-98f1-8d32c683ea64', 'domid': '3', 'cpu/0/availability': 'online',
'memory/target': '32768', 'store/ring-ref': '128600', 'store/port': '1'}
[2006-11-08 23:21:00 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) Waiting for
devices vif.
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072) Waiting for 0.
[2006-11-08 23:21:00 xend 2452] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-11-08 23:22:40 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
XendDomainInfo.destroy: domid=3
[2006-11-08 23:22:40 xend.XendDomainInfo 2452] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(3)
[2006-11-08 23:22:41 xend 2452] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-11-08 23:22:41 xend 2452] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-11-08 23:22:41 xend 2452] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2006-11-08 23:22:41 xend 2452] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-11-08 23:22:41 xend 2452] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2006-11-08 23:22:41 xend 2452] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
---------------------------------
Assumptions: the same kernel is suitable for being a domU (when I try it
with a stock 2.6.17 debian kernel, I get an error)
Reply to: