So I tried to take a different stab at this. I have created a Volume Group
called VG1, and within it I created a logical volume called web1. So it sits
at /dev/VG1/web1
This is what I get:
sudo virt-install -r 1024 --file=/dev/VG1/web1 -v
--location=http://mirror.centos.org/centos/5.3/os/i386 --name=web1
Would you like to enable graphics support? (yes or no) no
Starting install...
Retrieving file CentOS... | 472 kB 00:01
Retrieving file boot.iso... | 8.3 MB 00:20
Creating domain... | 0 B 00:00
and that's it... it just hangs there.
The logs in /var/log/xen/xend.log say this for the entire session:
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:200)
XendDomainInfo.create(['vm', ['name', 'web1'], ['memory', '1024'], ['maxmem',
'1024'], ['vcpus', '1'], ['uuid', '4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'],
['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'],
['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['acpi', '1'],
['apic', '1'], ['pae', '1'], ['usb', '1'], ['serial', 'pty']]], ['device',
['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/VG1/web1'], ['mode', 'w']]],
['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname',
'file:/var/lib/xen/virtinst-boot.iso.PicwSf'], ['mode', 'r']]], ['device',
['vif', ['mac', '00:16:3e:10:e8:33'], ['bridge', 'xenbr0']]]])
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:312)
parseConfig: config is ['vm', ['name', 'web1'], ['memory', '1024'], ['maxmem',
'1024'], ['vcpus', '1'], ['uuid', '4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'],
['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'],
['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['acpi', '1'],
['apic', '1'], ['pae', '1'], ['usb', '1'], ['serial', 'pty']]], ['device',
['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/VG1/web1'], ['mode', 'w']]],
['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname',
'file:/var/lib/xen/virtinst-boot.iso.PicwSf'], ['mode', 'r']]], ['device',
['vif', ['mac', '00:16:3e:10:e8:33'], ['bridge', 'xenbr0']]]]
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:417)
parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid':
'4cd015a8-8566-ddc8-57ec-ee891fe5f5fd', 'on_crash': 'destroy', 'on_reboot':
'destroy', 'localtime': None, 'image': ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'],
['vcpus', '1'], ['boot', 'd'], ['acpi', '1'], ['apic', '1'], ['pae', '1'],
['usb', '1'], ['serial', 'pty']], 'on_poweroff': 'destroy', 'bootloader_args':
None, 'cpus': None, 'name': 'web1', 'backend': [], 'vcpus': 1, 'cpu_weight':
None, 'features': None, 'vcpu_avail': None, 'memory': 1024, 'device': [('vbd',
['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/VG1/web1'], ['mode', 'w']]),
('vbd', ['vbd', ['dev', 'hdc:cdrom'], ['uname',
'file:/var/lib/xen/virtinst-boot.iso.PicwSf'], ['mode', 'r']]), ('vif', ['vif',
['mac', '00:16:3e:10:e8:33'], ['bridge', 'xenbr0']])], 'bootloader': None,
'cpu': None, 'maxmem': 1024}
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1427)
XendDomainInfo.construct: None
[2009-04-13 15:33:10 xend 3116] DEBUG (balloon:143) Balloon: 1067556 KiB free;
need 2048; done.
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1475)
XendDomainInfo.initDomain: 6 1.0
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: boot, val: d
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: fda, val: None
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: fdb, val: None
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: soundhw, val: None
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: localtime, val: None
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: serial, val: pty
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: std-vga, val: None
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: isa, val: None
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: vcpus, val: 1
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: acpi, val: 1
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: usb, val: 1
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: usbdevice, val: None
[2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: k, val: None
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1514)
_initDomain:shadow_memory=0x0, maxmem=0x400, memory=0x400.
[2009-04-13 15:33:10 xend 3116] DEBUG (balloon:143) Balloon: 1066520 KiB free;
need 1065984; done.
[2009-04-13 15:33:10 xend 3116] INFO (image:137) buildDomain os=None dom=6
vcpus=1
[2009-04-13 15:33:10 xend 3116] DEBUG (image:273) domid = 6
[2009-04-13 15:33:10 xend 3116] DEBUG (image:274) image =
/usr/lib/xen/boot/hvmloader
[2009-04-13 15:33:10 xend 3116] DEBUG (image:275) store_evtchn = 2
[2009-04-13 15:33:10 xend 3116] DEBUG (image:276) memsize = 1024
[2009-04-13 15:33:10 xend 3116] DEBUG (image:277) vcpus = 1
[2009-04-13 15:33:10 xend 3116] DEBUG (image:278) pae = 1
[2009-04-13 15:33:10 xend 3116] DEBUG (image:279) acpi = 1
[2009-04-13 15:33:10 xend 3116] DEBUG (image:280) apic = 1
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk',
'state': '1', 'backend': '/local/domain/0/backend/vbd/6/768'} to
/local/domain/6/device/vbd/768.
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController:
writing {'domain': 'web1', 'frontend': '/local/domain/6/device/vbd/768',
'format': 'raw', 'dev': 'hda', 'state': '1', 'params': '/dev/VG1/web1', 'mode':
'w', 'online': '1', 'frontend-id': '6', 'type': 'phy'} to
/local/domain/0/backend/vbd/6/768.
[2009-04-13 15:33:10 xend 3116] DEBUG (blkif:27) exception looking up device
number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom',
'state': '1', 'backend': '/local/domain/0/backend/vbd/6/5632'} to
/local/domain/6/device/vbd/5632.
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController:
writing {'domain': 'web1', 'frontend': '/local/domain/6/device/vbd/5632',
'format': 'raw', 'dev': 'hdc', 'state': '1', 'params':
'/var/lib/xen/virtinst-boot.iso.PicwSf', 'mode': 'r', 'online': '1',
'frontend-id': '6', 'type': 'file'} to /local/domain/0/backend/vbd/6/5632.
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:10:e8:33', 'handle': '0', 'state':
'1', 'backend': '/local/domain/0/backend/vif/6/0'} to
/local/domain/6/device/vif/0.
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController:
writing {'bridge': 'xenbr0', 'domain': 'web1', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/6/device/vif/0', 'mac': '00:16:3e:10:e8:33', 'online': '1',
'frontend-id': '6'} to /local/domain/0/backend/vif/6/0.
[2009-04-13 15:33:10 xend 3116] INFO (image:432) spawning device models:
/usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '6', '-m',
'1024', '-boot', 'd', '-serial', 'pty', '-vcpus', '1', '-acpi', '-usb',
'-domain-name', 'web1', '-net',
'nic,vlan=1,macaddr=00:16:3e:10:e8:33,model=rtl8139', '-net',
'tap,vlan=1,bridge=xenbr0', '-nographic']
[2009-04-13 15:33:10 xend 3116] INFO (image:435) device model pid: 5250
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:797)
Storing VM details: {'shadow_memory': '9', 'uuid':
'4cd015a8-8566-ddc8-57ec-ee891fe5f5fd', 'on_reboot': 'destroy', 'start_time':
'1239661990.88', 'on_poweroff': 'destroy', 'name': 'web1',
'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '1024',
'on_crash': 'destroy', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader)
(device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 1) (boot d) (acpi 1) (apic 1)
(pae 1) (usb 1) (serial pty))', 'maxmem': '1024'}
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:832)
Storing domain details: {'console/port': '3', 'name': 'web1', 'console/limit':
'1048576', 'vm': '/vm/4cd015a8-8566-ddc8-57ec-ee891fe5f5fd', 'domid': '6',
'cpu/0/availability': 'online', 'memory/target': '1048576', 'store/ring-ref':
'262142', 'store/port': '2'}
[2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1036)
XendDomainInfo.handleShutdownWatch
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:154) Waiting for devices
vif.
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:160) Waiting for 0.
[2009-04-13 15:33:10 xend 3116] DEBUG (DevController:496) hotplugStatusCallback
/local/domain/0/backend/vif/6/0/hotplug-status.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback
/local/domain/0/backend/vif/6/0/hotplug-status.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback
1.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
usb.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
vbd.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:160) Waiting for 768.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback
/local/domain/0/backend/vbd/6/768/hotplug-status.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback
/local/domain/0/backend/vbd/6/768/hotplug-status.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback
1.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:160) Waiting for 5632.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback
/local/domain/0/backend/vbd/6/5632/hotplug-status.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback
1.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
irq.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
vkbd.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
vfb.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
pci.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
ioports.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
tap.
[2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices
vtpm.
[2009-04-13 15:33:11 xend 3116] INFO (XendDomain:380) Domain web1 (6) unpaused.
and the qemu log file says this:
domid: 6
qemu: the number of cpus is 1
Watching /local/domain/6/logdirty/next-active
char device redirected to /dev/pts/1
qemu_map_cache_init nr_buckets = 10000
shared page at pfn 3ffff
buffered io page at pfn 3fffd
xs_read(/vm/4cd015a8-8566-ddc8-57ec-ee891fe5f5fd/rtc/timeoffset): read error
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Triggered log-dirty buffer switch
Anyone? Anyone at all? I can't believe this is this difficult...
-Geoff
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|