I have a 64bit server with centos5.2 as dom0, previously had xen 3.2.0-0xs
I downloaded xen 3.3.0 tarball and did a make world
then yum removed xen and xen-libs
and did a make install
tweaked grub.conf to suit and rebooted
xen and dom0 load, xend and xenstored are running
eth0/peth0 bridge is started, I can SSH to the dom0
xm start mydomU complains
"Error: Device 0 (vif) could not be connected. Hotplug scripts not working."
files in /etc/xen/scripts look ok.
/var/log/xen/xen-hotplug.log is empty, I can't see anything else of
interest in /var/log/xen/xend.log
Any suggestions?
[2008-08-31 16:57:12 9426] DEBUG (XendDomainInfo:2028)
XendDomainInfo.constructDomain
[2008-08-31 16:57:12 9426] DEBUG (balloon:132) Balloon: 531372 KiB
free; need 2048; done.
[2008-08-31 16:57:12 9426] DEBUG (XendDomain:447) Adding Domain: 2
[2008-08-31 16:57:12 9426] DEBUG (XendDomainInfo:2134)
XendDomainInfo.initDomain: 2 256
[2008-08-31 16:57:12 9467] DEBUG (XendBootloader:99) Launching
bootloader as ['/usr/bin/pygrub',
'--output=/var/run/xend/boot/xenbl.11882', '/dev/
vgr1/mysql'].
[2008-08-31 16:57:17 9426] DEBUG (XendDomainInfo:2215)
_initDomain:shadow_memory=0x0, memory_static_max=0x20000000,
memory_static_min=0x0.
[2008-08-31 16:57:17 9426] DEBUG (balloon:132) Balloon: 531364 KiB
free; need 526336; done.
[2008-08-31 16:57:17 9426] INFO (image:166) buildDomain os=linux dom=2 vcpus=1
[2008-08-31 16:57:17 9426] DEBUG (image:631) domid = 2
[2008-08-31 16:57:17 9426] DEBUG (image:632) memsize = 512
[2008-08-31 16:57:17 9426] DEBUG (image:633) image =
/var/run/xend/boot/boot_kernel.hHNkiG
[2008-08-31 16:57:17 9426] DEBUG (image:634) store_evtchn = 1
[2008-08-31 16:57:17 9426] DEBUG (image:635) console_evtchn = 2
[2008-08-31 16:57:17 9426] DEBUG (image:636) cmdline = ro
root=LABEL=/ console=ttyS1
[2008-08-31 16:57:17 9426] DEBUG (image:637) ramdisk =
/var/run/xend/boot/boot_ramdisk.r-fMMy
[2008-08-31 16:57:17 9426] DEBUG (image:638) vcpus = 1
[2008-08-31 16:57:17 9426] DEBUG (image:639) features =
[2008-08-31 16:57:17 9426] INFO (XendDomainInfo:1900) createDevice:
console : {'protocol': 'vt100', 'location': '2', 'uuid':
'f3301a39-862c-ad1e-b
366-28bcaa8c683e'}
[2008-08-31 16:57:17 9426] DEBUG (DevController:122) DevController:
writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0',
'backend':
'/local/domain/0/backend/console/2/0'} to /local/domain/2/device/console/0.
[2008-08-31 16:57:17 9426] DEBUG (DevController:124) DevController:
writing {'domain': 'mysql', 'frontend':
'/local/domain/2/device/console/0', 'u
uid': 'f3301a39-862c-ad1e-b366-28bcaa8c683e', 'frontend-id': '2',
'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to
/local/dom
ain/0/backend/console/2/0.
[2008-08-31 16:57:17 9426] INFO (XendDomainInfo:1900) createDevice:
vbd : {'protocol': 'x86_32-abi', 'uuid':
'9c155288-d73f-b636-9ac0-dde209dac6d5
', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda:disk',
'uname': 'phy:/dev/vgr1/mysql', 'mode': 'w', 'backend': '0'}
[2008-08-31 16:57:17 9426] DEBUG (DevController:122) DevController:
writing {'virtual-device': '51712', 'protocol': 'x86_32-abi',
'device-type': '
disk', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/2/51712'} to
/local/domain/2/device/vbd/51712.
[2008-08-31 16:57:17 9426] DEBUG (DevController:124) DevController:
writing {'domain': 'mysql', 'frontend':
'/local/domain/2/device/vbd/51712', 'u
uid': '9c155288-d73f-b636-9ac0-dde209dac6d5', 'dev': 'xvda', 'state':
'1', 'params': '/dev/vgr1/mysql', 'mode': 'w', 'online': '1',
'frontend-id':
'2', 'type': 'phy'} to /local/domain/0/backend/vbd/2/51712.
[2008-08-31 16:57:17 9426] INFO (XendDomainInfo:1900) createDevice:
vif : {'bridge': 'eth0', 'mac': '00:16:3e:74:56:59', 'script':
'vif-bridge', '
uuid': 'f1e4ed0d-bff2-4ceb-fa15-2495e541da6e', 'backend': '0'}
[2008-08-31 16:57:17 9426] DEBUG (DevController:122) DevController:
writing {'mac': '00:16:3e:74:56:59', 'handle': '0', 'protocol':
'x86_32-abi',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
[2008-08-31 16:57:17 9426] DEBUG (DevController:124) DevController:
writing {'bridge': 'eth0', 'domain': 'mysql', 'handle': '0', 'uuid':
'f1e4ed0d
-bff2-4ceb-fa15-2495e541da6e', 'script':
'/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:74:56:59',
'frontend-id': '2', 'state': '1', 'online': '1
', 'frontend': '/local/domain/2/device/vif/0'} to
/local/domain/0/backend/vif/2/0.
[2008-08-31 16:57:17 9426] DEBUG (XendDomainInfo:2729) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'9f094ac8-8eab
-d37a-28e0-5b025bb813b9', 'on_reboot': 'restart', 'start_time':
'1220198237.85', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore',
'on_crash':
'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1',
'image': "(linux (kernel ) (notes (FEATURES
'writable_page_tables|writable_
descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel')
(VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 32
21225472) (GUEST_OS linux) (HYPERCALL_PAGE 3225423872) (LOADER
generic) (PAE_MODE yes) (ENTRY 3225419776) (XEN_VERSION xen-3.0)))",
'name': 'mysql
'}
[2008-08-31 16:57:17 9426] DEBUG (XendDomainInfo:1359) Storing domain
details: {'console/ring-ref': '2206401', 'image/entry': '3225419776',
'conso
le/port': '2', 'store/ring-ref': '2206402', 'image/loader': 'generic',
'vm': '/vm/9f094ac8-8eab-d37a-28e0-5b025bb813b9',
'control/platform-feature
-multiprocessor-suspend': '1', 'image/guest-os': 'linux',
'image/features/writable-descriptor-tables': '1', 'image/virt-base':
'3221225472', 'memo
ry/target': '524288', 'image/guest-version': '2.6',
'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes',
'console/limit': '10485
76', 'image/paddr-offset': '3221225472', 'image/hypercall-page':
'3225423872', 'cpu/0/availability': 'online',
'image/features/pae-pgdir-above-4gb
': '1', 'image/features/writable-page-tables': '1', 'console/type':
'xenconsoled', 'image/features/auto-translated-physmap': '1', 'name':
'mysql',
'domid': '2', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2008-08-31 16:57:17 9426] DEBUG (DevController:155) Waiting for devices vif.
[2008-08-31 16:57:17 9426] DEBUG (XendDomainInfo:1443)
XendDomainInfo.handleShutdownWatch
[2008-08-31 16:57:17 9426] DEBUG (DevController:160) Waiting for 0.
[2008-08-31 16:57:17 9426] DEBUG (DevController:645)
hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2008-08-31 16:58:57 9426] WARNING (XendDomain:1041) Failed to setup
devices for <domain id=2 name=mysql memory=536870912 state=paused>:
Device 0
(vif) could not be connected. Hotplug scripts not working.
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:2389)
XendDomainInfo.destroy: domid=2
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:2406)
XendDomainInfo.destroyDomain(2)
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:1939) Destroying device model
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:1946) Releasing devices
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:1952) Removing vif/0
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:888)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:1952) Removing vbd/51712
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:888)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:1952) Removing console/0
[2008-08-31 16:58:57 9426] DEBUG (XendDomainInfo:888)
XendDomainInfo.destroyDevice: deviceClass = console, device =
console/0
[2008-08-31 16:58:58 9426] DEBUG (XendDomainInfo:1944) No device model
[2008-08-31 16:58:58 9426] DEBUG (XendDomainInfo:1946) Releasing devices
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|