well, this xend.log was not the good one, drbd devices was not present
in the conf file.
so the conf file :
kernel = '/boot/vmlinuz-2.6.29.6-dae-xen'
memory = '256'
root = '/dev/xvda2 ro'
disk = [
'drbd:thundercat-swap,xvda1,w',
'drbd:thundercat-disk,xvda2,w',
]
name = 'thundercat'
vif = [ 'ip=91.121.*hidden*,mac=00:16:3E:3B:15:97' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
and the logs :
[2009-08-01 12:55:25 3310] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', 'thundercat'], ['memory', '256'],
['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash',
'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop',
'ignore'], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.29.6-dae-xen'], ['root', '/dev/xvda2 ro']]],
['device', ['vbd', ['uname', 'drbd:thundercat-swap'], ['dev', 'xvda1'],
['mode', 'w']]], ['device', ['vbd', ['uname', 'drbd:thundercat-disk'],
['dev', 'xvda2'], ['mode', 'w']]], ['device', ['vif', ['ip',
'91.121.*hidden*'], ['mac', '00:16:3E:3B:15:97']]]])
[2009-08-01 12:55:25 3310] DEBUG (XendDomainInfo:1618)
XendDomainInfo.constructDomain
[2009-08-01 12:55:25 3310] DEBUG (balloon:132) Balloon: 7754636 KiB
free; need 2048; done.
[2009-08-01 12:55:25 3310] DEBUG (XendDomain:443) Adding Domain: 9
[2009-08-01 12:55:25 3310] DEBUG (XendDomainInfo:1703)
XendDomainInfo.initDomain: 9 256
[2009-08-01 12:55:25 3310] DEBUG (XendDomainInfo:1738)
_initDomain:shadow_memory=0x0, memory_static_max=0x10000000,
memory_static_min=0x0.
[2009-08-01 12:55:25 3310] DEBUG (balloon:132) Balloon: 7754628 KiB
free; need 262144; done.
[2009-08-01 12:55:25 3310] INFO (image:139) buildDomain os=linux dom=9
vcpus=1
[2009-08-01 12:55:25 3310] DEBUG (image:363) domid = 9
[2009-08-01 12:55:25 3310] DEBUG (image:364) memsize = 256
[2009-08-01 12:55:25 3310] DEBUG (image:365) image =
/boot/vmlinuz-2.6.29.6-dae-xen
[2009-08-01 12:55:25 3310] DEBUG (image:366) store_evtchn = 1
[2009-08-01 12:55:25 3310] DEBUG (image:367) console_evtchn = 2
[2009-08-01 12:55:25 3310] DEBUG (image:368) cmdline =
root=/dev/xvda2 ro
[2009-08-01 12:55:25 3310] DEBUG (image:369) ramdisk =
[2009-08-01 12:55:25 3310] DEBUG (image:370) vcpus = 1
[2009-08-01 12:55:25 3310] DEBUG (image:371) features =
[2009-08-01 12:55:25 3310] INFO (XendDomainInfo:1514) createDevice: vbd
: {'uuid': 'bbfb380e-7c9c-d349-0855-fdbd3a645c77', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'xvda1', 'uname':
'drbd:thundercat-swap', 'mode': 'w'}
[2009-08-01 12:55:25 3310] DEBUG (DevController:118) DevController:
writing {'virtual-device': '51713', 'device-type': 'disk', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/9/51713'} to /local/domain/9/device/vbd/51713.
[2009-08-01 12:55:25 3310] DEBUG (DevController:120) DevController:
writing {'domain': 'thundercat', 'frontend':
'/local/domain/9/device/vbd/51713', 'uuid':
'bbfb380e-7c9c-d349-0855-fdbd3a645c77', 'dev': 'xvda1', 'state': '1',
'params': 'thundercat-swap', 'mode': 'w', 'online': '1', 'frontend-id':
'9', 'type': 'drbd'} to /local/domain/0/backend/vbd/9/51713.
[2009-08-01 12:55:25 3310] INFO (XendDomainInfo:1514) createDevice: vbd
: {'uuid': '9d22935c-a518-0df9-f61e-bf9b12c65ff4', 'bootable': 0,
'driver': 'paravirtualised', 'dev': 'xvda2', 'uname':
'drbd:thundercat-disk', 'mode': 'w'}
[2009-08-01 12:55:25 3310] DEBUG (DevController:118) DevController:
writing {'virtual-device': '51714', 'device-type': 'disk', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/9/51714'} to /local/domain/9/device/vbd/51714.
[2009-08-01 12:55:25 3310] DEBUG (DevController:120) DevController:
writing {'domain': 'thundercat', 'frontend':
'/local/domain/9/device/vbd/51714', 'uuid':
'9d22935c-a518-0df9-f61e-bf9b12c65ff4', 'dev': 'xvda2', 'state': '1',
'params': 'thundercat-disk', 'mode': 'w', 'online': '1', 'frontend-id':
'9', 'type': 'drbd'} to /local/domain/0/backend/vbd/9/51714.
[2009-08-01 12:55:25 3310] INFO (XendDomainInfo:1514) createDevice: vif
: {'ip': '91.121.*hidden*', 'mac': '00:16:3E:3B:15:97', 'uuid':
'a83ea95b-7685-5a07-8536-2c22966a5072'}
[2009-08-01 12:55:25 3310] DEBUG (DevController:118) DevController:
writing {'mac': '00:16:3E:3B:15:97', 'handle': '0', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/9/0'} to /local/domain/9/device/vif/0.
[2009-08-01 12:55:25 3310] DEBUG (DevController:120) DevController:
writing {'domain': 'thundercat', 'handle': '0', 'uuid':
'a83ea95b-7685-5a07-8536-2c22966a5072', 'script':
'/etc/xen/scripts/vif-route', 'ip': '91.121.*hidden*', 'mac':
'00:16:3E:3B:15:97', 'frontend-id': '9', 'state': '1', 'online': '1',
'frontend': '/local/domain/9/device/vif/0'} to
/local/domain/0/backend/vif/9/0.
[2009-08-01 12:55:25 3310] DEBUG (XendDomainInfo:2195) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'70b2c1b6-ab78-db63-b97c-f8fb33a7744f', 'on_reboot': 'restart',
'start_time': '1249124125.93', 'on_poweroff': 'destroy',
'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count':
'0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel
/boot/vmlinuz-2.6.29.6-dae-xen) (args 'root=/dev/xvda2 ro ') (notes
(HV_START_LOW 18446603336221196288) (FEATURES
'!writable_page_tables|pae_pgdir_above_4gb') (VIRT_BASE
18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS
linux) (HYPERCALL_PAGE 18446744071564201984) (LOADER generic)
(SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 18446744071570776576)
(XEN_VERSION xen-3.0)))", 'name': 'thundercat'}
[2009-08-01 12:55:25 3310] DEBUG (XendDomainInfo:1008) Storing domain
details: {'console/ring-ref': '2197081', 'image/entry':
'18446744071570776576', 'console/port': '2', 'store/ring-ref':
'2197082', 'image/loader': 'generic', 'vm':
'/vm/70b2c1b6-ab78-db63-b97c-f8fb33a7744f',
'control/platform-feature-multiprocessor-suspend': '1',
'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'linux',
'image/virt-base': '18446744071562067968', 'memory/target': '262144',
'image/guest-version': '2.6', 'image/pae-mode': 'yes', 'console/limit':
'1048576', 'image/paddr-offset': '0', 'image/hypercall-page':
'18446744071564201984', 'image/suspend-cancel': '1',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb':
'1', 'image/features/writable-page-tables': '0', 'console/type':
'xenconsoled', 'name': 'thundercat', 'domid': '9', 'image/xen-version':
'xen-3.0', 'store/port': '1'}
[2009-08-01 12:55:25 3310] DEBUG (DevController:118) DevController:
writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0',
'backend': '/local/domain/0/backend/console/9/0'} to
/local/domain/9/device/console/0.
[2009-08-01 12:55:25 3310] DEBUG (DevController:120) DevController:
writing {'domain': 'thundercat', 'frontend':
'/local/domain/9/device/console/0', 'uuid':
'c304f0cd-76a8-7f52-1b34-a39cec111209', 'frontend-id': '9', 'state':
'1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/9/0.
[2009-08-01 12:55:25 3310] DEBUG (XendDomainInfo:1092)
XendDomainInfo.handleShutdownWatch
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
vif.
[2009-08-01 12:55:26 3310] DEBUG (DevController:156) Waiting for 0.
[2009-08-01 12:55:26 3310] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.
[2009-08-01 12:55:26 3310] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.
[2009-08-01 12:55:26 3310] DEBUG (DevController:609)
hotplugStatusCallback 1.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
vbd.
[2009-08-01 12:55:26 3310] DEBUG (DevController:156) Waiting for 51713.
[2009-08-01 12:55:26 3310] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/9/51713/hotplug-status.
[2009-08-01 12:55:26 3310] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/9/51713/hotplug-status.
[2009-08-01 12:55:26 3310] DEBUG (DevController:609)
hotplugStatusCallback 1.
[2009-08-01 12:55:26 3310] DEBUG (DevController:156) Waiting for 51714.
[2009-08-01 12:55:26 3310] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vbd/9/51714/hotplug-status.
[2009-08-01 12:55:26 3310] DEBUG (DevController:609)
hotplugStatusCallback 1.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
irq.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
vkbd.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
vfb.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
console.
[2009-08-01 12:55:26 3310] DEBUG (DevController:156) Waiting for 0.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
pci.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
ioports.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
tap.
[2009-08-01 12:55:26 3310] DEBUG (DevController:151) Waiting for devices
vtpm.
[2009-08-01 12:55:26 3310] INFO (XendDomain:1165) Domain thundercat (9)
unpaused.
Olivier B. a écrit :
Hi,
I have a problem with a dom0 which is unable to launch my domU : all my
dom0 are Debian Lenny amd64 with Debian kernel 2.6.26-2-xen-amd64 and
xen-hypervisor-3.2-1-amd64. Then all domU (PV) are Debian Lenny amd64
too, with vanilla kernel 2.6.29.6.
So, this new dom0 can't launch any domU which are working on an other
dom0. Software is same on both dom0, and hardware is near the same.
When I start the domU, I have this :
root! nyrki:~# xm create /etc/xen/thundercat.cfg -c
Using config file "/etc/xen/thundercat.cfg".
Started domain thundercat
but the domU seem "freezed" : xm report a "r" status (it always stay in
running status), and there is no error in logs. But console didn't show
anything.
I repeat, this domU works like a charm on an other dom0. I try with LVM
and DRBD storage, without success.
From xentop, I saw that :
thundercat -----r 914 100.0 262144 3.1
262144 3.1 1 1 0 0 0 0
0 0 2149627
072
Have you an idea where can I found informations about why it is blocking
? Logs don't seem really usefull here. I put the content of xend.log
about the last "xm create" :
[...]
Thanks,
Olivier
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|