i have also try with lvm partition but same result :confused:
line disk in config:
disk=['phy:/dev/RAID/xpt1.disk1.xm,hda,w', 'phy:/dev/cdrom,hdc:cdrom,r']
xend.log of this:
[2010-01-15 19:40:01 3815] WARNING (XendConfig:874) Unconverted key:
Description
[2010-01-15 19:40:01 3815] DEBUG (XendDomainInfo:101)
XendDomainInfo.create(['vm', ['name', 'XPT2'], ['memory', 1024],
['shadow_memory', 10], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'],
['on_crash', 'destroy'], ['on_xend_start', 'ignore'], ['on_xend_stop',
'ignore'], ['vcpus', 2], ['oos', 1], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['videoram', 4], ['acpi', 1], ['apic', 1],
['boot', 'dc'], ['cpuid', []], ['cpuid_check', []], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['fda', ''], ['fdb', ''], ['guest_os_type',
'default'], ['hap', 1], ['hpet', 0], ['isa', 0], ['keymap', ''],
['localtime', 0], ['nographic', 0], ['oos', 1], ['pae', 1], ['pci', []],
['pci_msitranslate', 1], ['pci_power_mgmt', 0], ['rtc_timeoffset', 0],
['sdl', 0], ['soundhw', ''], ['stdvga', 0], ['timer_mode', 1], ['usb', 0],
['usbdevice', ''], ['vcpus', 2], ['vnc', 1], ['vncunused', 1], ['viridian',
0], ['vpt_align', 1], ['xauthority', '/root/.Xauthority'],
['xen_platform_pci', 1], ['memory_sharing', 0], ['tsc_mode', 0],
['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname',
'phy:/dev/RAID/xpt1.disk1.xm'], ['dev', 'hda'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'phy:/dev/cdrom'], ['dev', 'hdc:cdrom'], ['mode', 'r']]],
['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]])
[2010-01-15 19:40:01 3815] DEBUG (XendDomainInfo:2486)
XendDomainInfo.constructDomain
[2010-01-15 19:40:01 3815] DEBUG (balloon:220) Balloon: 5679132 KiB free;
need 4096; done.
[2010-01-15 19:40:01 3815] DEBUG (XendDomain:464) Adding Domain: 3
[2010-01-15 19:40:01 3815] DEBUG (XendDomainInfo:2794)
XendDomainInfo.initDomain: 3 256
[2010-01-15 19:40:01 3815] DEBUG (image:339) No VNC passwd configured for
vfb access
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: boot, val: dc
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: fda, val: None
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: fdb, val: None
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: soundhw, val: None
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: localtime, val: 0
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: serial, val: None
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: std-vga, val: 0
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: isa, val: 0
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: acpi, val: 1
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: usb, val: 0
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: usbdevice, val: None
[2010-01-15 19:40:01 3815] DEBUG (image:891) args: gfx_passthru, val: None
[2010-01-15 19:40:01 3815] INFO (image:824) Need to create platform
device.[domid:3]
[2010-01-15 19:40:01 3815] DEBUG (XendDomainInfo:2821)
_initDomain:shadow_memory=0xa, memory_static_max=0x40000000,
memory_static_min=0x0.
[2010-01-15 19:40:01 3815] INFO (image:182) buildDomain os=hvm dom=3 vcpus=2
[2010-01-15 19:40:01 3815] DEBUG (image:949) domid = 3
[2010-01-15 19:40:01 3815] DEBUG (image:950) image =
/usr/lib/xen/boot/hvmloader
[2010-01-15 19:40:01 3815] DEBUG (image:951) store_evtchn = 3
[2010-01-15 19:40:01 3815] DEBUG (image:952) memsize = 1024
[2010-01-15 19:40:01 3815] DEBUG (image:953) target = 1024
[2010-01-15 19:40:01 3815] DEBUG (image:954) vcpus = 2
[2010-01-15 19:40:01 3815] DEBUG (image:955) vcpu_avail = 3
[2010-01-15 19:40:01 3815] DEBUG (image:956) acpi = 1
[2010-01-15 19:40:01 3815] DEBUG (image:957) apic = 1
[2010-01-15 19:40:01 3815] INFO (XendDomainInfo:2345) createDevice: vfb :
{'vncunused': 1, 'other_config': {'vncunused': 1, 'vnc': '1'}, 'vnc': '1',
'uuid': '58162ef5-6405-de2d-822e-96be74a0cd4f', 'keymap': 'it'}
[2010-01-15 19:40:01 3815] DEBUG (DevController:95) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vfb/3/0'} to /local/domain/3/device/vfb/0.
[2010-01-15 19:40:01 3815] DEBUG (DevController:97) DevController: writing
{'vncunused': '1', 'domain': 'XPT2', 'frontend':
'/local/domain/3/device/vfb/0', 'uuid':
'58162ef5-6405-de2d-822e-96be74a0cd4f', 'frontend-id': '3', 'state': '1',
'keymap': 'it', 'online': '1', 'vnc': '1'} to
/local/domain/0/backend/vfb/3/0.
[2010-01-15 19:40:01 3815] INFO (XendDomainInfo:2345) createDevice: vbd :
{'uuid': '763c54bd-31fd-838f-4eff-908ec57de5d5', 'bootable': 1, 'driver':
'paravirtualised', 'dev': 'hda', 'uname': 'phy:/dev/RAID/xpt1.disk1.xm',
'mode': 'w'}
[2010-01-15 19:40:01 3815] DEBUG (DevController:95) DevController: writing
{'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state':
'1', 'backend': '/local/domain/0/backend/vbd/3/768'} to
/local/domain/3/device/vbd/768.
[2010-01-15 19:40:01 3815] DEBUG (DevController:97) DevController: writing
{'domain': 'XPT2', 'frontend': '/local/domain/3/device/vbd/768', 'uuid':
'763c54bd-31fd-838f-4eff-908ec57de5d5', 'bootable': '1', 'dev': 'hda',
'state': '1', 'params': '/dev/RAID/xpt1.disk1.xm', 'mode': 'w', 'online':
'1', 'frontend-id': '3', 'type': 'phy'} to
/local/domain/0/backend/vbd/3/768.
[2010-01-15 19:40:01 3815] INFO (XendDomainInfo:2345) createDevice: vbd :
{'uuid': 'b6af0e72-9f27-f9d7-02b9-13be03b95324', 'bootable': 0, 'driver':
'paravirtualised', 'dev': 'hdc:cdrom', 'uname': 'phy:/dev/cdrom', 'mode':
'r'}
[2010-01-15 19:40:01 3815] DEBUG (DevController:95) DevController: writing
{'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom',
'state': '1', 'backend': '/local/domain/0/backend/vbd/3/5632'} to
/local/domain/3/device/vbd/5632.
[2010-01-15 19:40:02 3815] DEBUG (DevController:97) DevController: writing
{'domain': 'XPT2', 'frontend': '/local/domain/3/device/vbd/5632', 'uuid':
'b6af0e72-9f27-f9d7-02b9-13be03b95324', 'bootable': '0', 'dev': 'hdc',
'state': '1', 'params': '/dev/cdrom', 'mode': 'r', 'online': '1',
'frontend-id': '3', 'type': 'phy'} to /local/domain/0/backend/vbd/3/5632.
[2010-01-15 19:40:02 3815] INFO (XendDomainInfo:2345) createDevice: vif :
{'bridge': 'xenbr0', 'mac': '00:16:3e:11:6e:31', 'type': 'ioemu', 'uuid':
'df3e5047-c4d6-072e-44fc-9bdc887d524d'}
[2010-01-15 19:40:02 3815] DEBUG (DevController:95) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vif/0.
[2010-01-15 19:40:02 3815] DEBUG (DevController:97) DevController: writing
{'bridge': 'xenbr0', 'domain': 'XPT2', 'handle': '0', 'uuid':
'df3e5047-c4d6-072e-44fc-9bdc887d524d', 'script':
'/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:11:6e:31', 'frontend-id':
'3', 'state': '1', 'online': '1', 'frontend':
'/local/domain/3/device/vif/0', 'type': 'ioemu'} to
/local/domain/0/backend/vif/3/0.
[2010-01-15 19:40:02 3815] INFO (image:420) spawning device models:
/usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '3',
'-domain-name', 'XPT2', '-videoram', '4', '-k', 'it', '-vnc', '0.0.0.0:0',
'-vncunused', '-monitor', 'null', '-vcpus', '2', '-vcpu_avail', '3',
'-boot', 'dc', '-acpi', '-net',
'nic,vlan=1,macaddr=00:16:3e:11:6e:31,model=rtl8139', '-net',
'tap,vlan=1,ifname=tap3.0,bridge=xenbr0', '-M', 'xenfv']
[2010-01-15 19:40:02 3815] INFO (image:469) device model pid: 6325
[2010-01-15 19:40:02 3815] INFO (image:592) waiting for sentinel_fifo
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:3376) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '10', 'uuid':
'68010631-4a3f-d737-659b-325490106a6c', 'on_reboot': 'restart',
'start_time': '1263580802.06', 'on_poweroff': 'destroy', 'bootloader_args':
'', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count':
'0', 'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'image': '(hvm
(kernel ) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (boot dc)
(loader /usr/lib/xen/boot/hvmloader) (vpt_align 1) (xen_platform_pci 1)
(vncunused 1) (rtc_timeoffset 0) (pci ()) (pae 1) (stdvga 0) (hap 1)
(viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0)
(guest_os_type default) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0)
(nomigrate 0) (device_model /usr/lib/xen/bin/qemu-dm) (keymap it)
(pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes
(SUSPEND_CANCEL 1)))', 'name': 'XPT2'}
[2010-01-15 19:40:02 3815] WARNING (image:554) domain XPT2: device model
failure: pid 6325: exited with nonzero status 1; see
/var/log/xen/qemu-dm-XPT2.log
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:1782) Storing domain
details: {'console/port': '4', 'description': '', 'console/limit':
'1048576', 'store/port': '3', 'vm':
'/vm/68010631-4a3f-d737-659b-325490106a6c', 'domid': '3',
'image/suspend-cancel': '1', 'cpu/0/availability': 'online',
'memory/target': '1048576',
'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref':
'1044476', 'cpu/1/availability': 'online', 'console/type': 'ioemu', 'name':
'XPT2'}
[2010-01-15 19:40:02 3815] WARNING (XendDomainInfo:2049) Domain has crashed:
name=XPT2 id=3.
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:3029)
XendDomainInfo.destroy: domid=3
[2010-01-15 19:40:02 3815] DEBUG (DevController:95) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/3/0'} to /local/domain/3/device/console/0.
[2010-01-15 19:40:02 3815] DEBUG (DevController:97) DevController: writing
{'domain': 'XPT2', 'frontend': '/local/domain/3/device/console/0', 'uuid':
'6b57d563-8333-df32-c695-9aa99d6eb193', 'frontend-id': '3', 'state': '1',
'location': '4', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/3/0.
[2010-01-15 19:40:02 3815] WARNING (XendDomainInfo:2049) Domain has crashed:
name=XPT2 id=3.
[2010-01-15 19:40:02 3815] WARNING (XendDomainInfo:2049) Domain has crashed:
name=XPT2 id=3.
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:1869)
XendDomainInfo.handleShutdownWatch
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vif2.
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:2389) Destroying device
model
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vif.
[2010-01-15 19:40:02 3815] DEBUG (DevController:144) Waiting for 0.
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:2396) Releasing devices
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:2402) Removing vif/0
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:1269)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:2402) Removing vbd/768
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:1269)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2010-01-15 19:40:02 3815] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/3/0/hotplug-status.
[2010-01-15 19:40:02 3815] DEBUG (DevController:642) hotplugStatusCallback
1.
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:2402) Removing vbd/5632
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:1269)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:2402) Removing vfb/0
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vscsi.
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:1269)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vbd.
[2010-01-15 19:40:02 3815] DEBUG (DevController:144) Waiting for 768.
[2010-01-15 19:40:02 3815] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vbd/3/768/hotplug-status.
[2010-01-15 19:40:02 3815] DEBUG (DevController:642) hotplugStatusCallback
1.
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:2402) Removing console/0
[2010-01-15 19:40:02 3815] DEBUG (XendDomainInfo:1269)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-01-15 19:40:02 3815] DEBUG (DevController:144) Waiting for 5632.
[2010-01-15 19:40:02 3815] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vbd/3/5632/hotplug-status.
[2010-01-15 19:40:02 3815] DEBUG (DevController:642) hotplugStatusCallback
1.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
ioports.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
irq.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vkbd.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vfb.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
console.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
pci.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
tap2.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
tap.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vusb.
[2010-01-15 19:40:02 3815] DEBUG (DevController:139) Waiting for devices
vtpm.
[2010-01-15 19:40:02 3815] ERROR (XendDomain:1209) domain_unpause
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 1198,
in domain_unpause
raise XendInvalidDomain(str(domid))
XendInvalidDomain: <Fault 3: 'XPT2'>
Pasi Kärkkäinen wrote:
>
> On Fri, Jan 15, 2010 at 06:36:39AM -0800, Fantu wrote:
>>
>> when i try to start domu:
>> xm create XPT1.cfg
>> Using config file "/etc/xen/XPT1.cfg".
>> Error: Domain 'XPT1' does not exist.
>>
>> in the qemu-dm-XPT1.log:
>> domid: 10
>> qemu: the number of cpus is 2
>> qemu: the avail cpu bitmap is 3
>> warning: could not open /dev/net/tun: no virtual network emulation
>> Could not initialize device 'tap'
>>
>
> pv_ops dom0 kernel doesn't have (working) blktap2 module yet, so you
> can't use tap:aio: backend for guest disks.
>
> Use file: instead, for the time being, or switch to LVM volumes instead
> of disk image files.
>
> -- Pasi
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
--
View this message in context:
http://old.nabble.com/Xen-from-source-%28hg-unstable%29-with-2.6.31.6-pv_ops-unable-to-start-hvm-domu-tp27177776p27181815.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|