[Fedora-xen] Fedora 7 HVM Guest

Thomas Frenken frenken at informatik.fh-wiesbaden.de
Mon Jun 18 08:41:31 UTC 2007


Hi all,

some days ago I upgraded from FC6 to F7.

Machine details:

[root at fettemoehre ~]# uname -a
Linux fettemoehre.XXXX 2.6.20-2925.9.fc7xen #1 SMP Tue May 22 09:29:36 EDT 
2007 x86_64 x86_64 x86_64 GNU/Linux

[root at fettemoehre ~]# grep vmx /proc/cpuinfo
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush 
dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor 
ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm

[root at fettemoehre ~]# cat /sys/hypervisor/properties/capabilities
xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64

---

I already managed in FC6 to run various fully virtualized guests including 
Windows XP / Server 2003 and FC6 32/64. 

However whenever I try to fully virtualize a F7 guest the installation failes. 
This happens independantly on whether I use virt-manager, virt-install or xm 
create [config] to create the guest.

After creating the domu the system hangs before any installer shows up. E.g. a 
sample session using virt-install:

[root at fettemoehre ~]# virt-install
Would you like a fully virtualized guest (yes or no)?  This will allow you to 
run unmodified operating systems. yes
 What is the name of your virtual machine? F7_Gast1
 How much RAM should be allocated (in megabytes)? 8092
 What would you like to use as the disk (path)? /dev/VolGroup00/f7gast2
 Would you like to enable graphics support? (yes or no) no
 What is the virtual CD image, CD device or install 
location? /tmp/F-7-x86_64-DVD.iso


Starting install...
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : GET operation failed:

Creating domain...                                                 0 B 00:07

---

The installation doesn't continue, using a graphical installer I only see a 
black screen.

Has anyone already managed to virtualize F7 or solved this or a similar issue?

Thank!

Thomas

-------- LOGILES -------- 

Content of logifle qemu*:

domid: 10
qemu: the number of cpus is 1
Watching /local/domain/10/logdirty/next-active
qemu_map_cache_init nr_buckets = 10000
shared page at pfn effff
buffered io page at pfn efffd
xs_read(/vm/3404b719-29f4-bb90-986c-64f18e20e9e0/rtc/timeoffset): read error
xs_read(): vncpasswd get 
error. /vm/3404b719-29f4-bb90-986c-64f18e20e9e0/vncpasswd.
char device redirected to /dev/pts/4
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Triggered log-dirty buffer switch


Content of logile xend.log:

[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:78) 
XendDomainInfo.create(['vm', ['name', 'F7_GUEST'], ['memory', '8192'], 
['maxmem', '8192'], ['vcpus', '1'], 
['uuid', '3404b719-29f4-bb90-986c-64f18e20e9e0'], ['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'], ['pae', '1'], ['serial', 'pty']]], ['device', ['vbd', 
['dev', 'hda:disk'], ['uname', 'phy:/dev/VolGroup00/f7gast2'], 
['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'], 
['uname', 'file:/tmp/F-7-x86_64-DVD.iso'], ['mode', 'r']]], ['device', 
['vif', ['mac', '00:16:3e:28:9f:fc'], ['bridge', 'eth0'], 
['type', 'ioemu']]]])
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:1460) 
XendDomainInfo.constructDomain
[2007-06-18 10:02:09 2892] DEBUG (balloon:113) Balloon: 8362784 KiB free; need 
2048; done.
[2007-06-18 10:02:09 2892] DEBUG (XendDomain:443) Adding Domain: 10
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:1514) 
XendDomainInfo.initDomain: 10 256
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: boot, val: d
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: fda, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: fdb, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: soundhw, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: localtime, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: serial, val: pty
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: std-vga, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: isa, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: acpi, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: usb, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: usbdevice, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: k, val: None
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:1546) 
_initDomain:shadow_memory=0x0, memory_static_max=0x200000000, 
memory_static_min=0x0.
[2007-06-18 10:02:09 2892] DEBUG (balloon:119) Balloon: 8361748 KiB free; 0 to 
scrub; need 8463360; retries: 20.
[2007-06-18 10:02:09 2892] DEBUG (balloon:134) Balloon: setting dom0 target to 
15982 MiB.
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:581) Setting memory target of 
domain Domain-0 (0) to 15982 MiB.
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:873) Storing domain details: 
{'cpu/3/availability': 'online', 'name': 'Domain-0', 'console/limit': '1048576', 'memory/target': '16365568', 'cpu/2/availability': 'online', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/7/availability': 'online', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'cpu/5/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'cpu/6/availability': 'online', 'cpu/4/availability': 'online'}
[2007-06-18 10:02:09 2892] DEBUG (balloon:113) Balloon: 8464148 KiB free; need 
8463360; done.
[2007-06-18 10:02:09 2892] INFO (image:129) buildDomain os=hvm dom=10 vcpus=1
[2007-06-18 10:02:09 2892] DEBUG (image:278) domid          = 10
[2007-06-18 10:02:09 2892] DEBUG (image:279) image          
= /usr/lib/xen/boot/hvmloader
[2007-06-18 10:02:09 2892] DEBUG (image:280) store_evtchn   = 2
[2007-06-18 10:02:09 2892] DEBUG (image:281) memsize        = 8192
[2007-06-18 10:02:09 2892] DEBUG (image:282) vcpus          = 1
[2007-06-18 10:02:09 2892] DEBUG (image:283) pae            = 1
[2007-06-18 10:02:09 2892] DEBUG (image:284) acpi           = 0
[2007-06-18 10:02:09 2892] DEBUG (image:285) apic           = 0
[2007-06-18 10:02:10 2892] INFO (XendDomainInfo:1362) createDevice: vbd : 
{'uuid': '0d69061d-fdeb-b7fe-f3bd-d73d472a3c8a', 'bootable': 
1, 'driver': 'paravirtualised', 'dev': 'hda:disk', 'uname': 'phy:/dev/VolGroup00/f7gast2', 'mode': 'w'}
[2007-06-18 10:02:10 2892] DEBUG (DevController:115) DevController: writing 
{'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/10/768'} 
to /local/domain/10/device/vbd/768.
[2007-06-18 10:02:10 2892] DEBUG (DevController:117) DevController: writing 
{'domain': 'F7_GUEST', 'frontend': '/local/domain/10/device/vbd/768', 'uuid': '0d69061d-fdeb-b7fe-f3bd-d73d472a3c8a', 'dev': 'hda', 'state': '1', 'params': '/dev/VolGroup00/f7gast2', 'mode': 'w', 'online': '1', 'frontend-id': '10', 'type': 'phy'} 
to /local/domain/0/backend/vbd/10/768.
[2007-06-18 10:02:10 2892] INFO (XendDomainInfo:1362) createDevice: vbd : 
{'uuid': 'a3b0b798-be08-a3c3-d69d-1e5237acb964', 'bootable': 
0, 'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'uname': 'file:/tmp/F-7-x86_64-DVD.iso', 'mode': 'r'}
[2007-06-18 10:02:10 2892] DEBUG (DevController:115) DevController: writing 
{'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/10/5632'} 
to /local/domain/10/device/vbd/5632.
[2007-06-18 10:02:10 2892] DEBUG (DevController:117) DevController: writing 
{'domain': 'F7_GUEST', 'frontend': '/local/domain/10/device/vbd/5632', 'uuid': 'a3b0b798-be08-a3c3-d69d-1e5237acb964', 'dev': 'hdc', 'state': '1', 'params': '/tmp/F-7-x86_64-DVD.iso', 'mode': 'r', 'online': '1', 'frontend-id': '10', 'type': 'file'} 
to /local/domain/0/backend/vbd/10/5632.
[2007-06-18 10:02:10 2892] INFO (XendDomainInfo:1362) createDevice: vif : 
{'bridge': 'eth0', 'mac': '00:16:3e:28:9f:fc', 'type': 'ioemu', 'uuid': 'add6d423-d0a7-5e7c-76b7-5fe7248c4dba'}
[2007-06-18 10:02:10 2892] DEBUG (DevController:115) DevController: writing 
{'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/10/0'} 
to /local/domain/10/device/vif/0.
[2007-06-18 10:02:10 2892] DEBUG (DevController:117) DevController: writing 
{'bridge': 'eth0', 'domain': 'F7_GUEST', 'handle': '0', 'uuid': 'add6d423-d0a7-5e7c-76b7-5fe7248c4dba', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/10/device/vif/0', 'mac': '00:16:3e:28:9f:fc', 'online': '1', 'frontend-id': '10', 'type': 'ioemu'} 
to /local/domain/0/backend/vif/10/0.
[2007-06-18 10:02:10 2892] INFO (image:445) spawning device 
models: /usr/lib64/xen/bin/qemu-dm 
['/usr/lib64/xen/bin/qemu-dm', '-d', '10', '-vcpus', '1', '-boot', 'd', '-serial', 'pty', '-domain-name', 'F7_GUEST', '-net', 'nic,vlan=1,macaddr=00:16:3e:28:9f:fc,model=rtl8139', '-net', 'tap,vlan=1,bridge=eth0', '-nographic']
[2007-06-18 10:02:10 2892] INFO (image:449) device model pid: 15638
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:2019) Storing VM details: 
{'on_xend_stop': 'ignore', 'shadow_memory': '65', 'uuid': '3404b719-29f4-bb90-986c-64f18e20e9e0', 'on_reboot': 'destroy', 'start_time': '1182153730.57', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': '(hvm 
(kernel /usr/lib/xen/boot/hvmloader) (boot d) 
(device_model /usr/lib64/xen/bin/qemu-dm) (pae 1) (serial pty) (notes 
(SUSPEND_CANCEL 1)))', 'name': 'F7_GUEST'}
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:873) Storing domain details: 
{'console/port': '3', 'name': 'F7_GUEST', 'console/limit': '1048576', 'vm': '/vm/3404b719-29f4-bb90-986c-64f18e20e9e0', 'domid': '10', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '8388608', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '983038', 'store/port': '2'}
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:873) Storing domain details: 
{'name': 'F7_GUEST', 'console/limit': '1048576', 'image/suspend-cancel': '1', 'domid': '10', 'vm': '/vm/3404b719-29f4-bb90-986c-64f18e20e9e0', 'cpu/0/availability': 'online', 'memory/target': '8388608', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '983038', 'store/port': '2'}
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:954) 
XendDomainInfo.handleShutdownWatch
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vif.
[2007-06-18 10:02:11 2892] DEBUG (DevController:153) Waiting for 0.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556) 
hotplugStatusCallback /local/domain/0/backend/vif/10/0/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:570) hotplugStatusCallback 1.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices usb.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vbd.
[2007-06-18 10:02:11 2892] DEBUG (DevController:153) Waiting for 768.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556) 
hotplugStatusCallback /local/domain/0/backend/vbd/10/768/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:570) hotplugStatusCallback 1.
[2007-06-18 10:02:11 2892] DEBUG (DevController:153) Waiting for 5632.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556) 
hotplugStatusCallback /local/domain/0/backend/vbd/10/5632/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556) 
hotplugStatusCallback /local/domain/0/backend/vbd/10/5632/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:570) hotplugStatusCallback 1.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices irq.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vkbd.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vfb.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices 
console.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices pci.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices 
ioports.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices tap.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vtpm.
[2007-06-18 10:02:11 2892] INFO (XendDomain:1117) Domain F7_GUEST (10) 
unpaused.
[2007-06-18 10:02:11 2892] DEBUG (XendDomainInfo:233) 
XendDomainInfo.createDormant({'vcpus_params': 
{}, 'PV_args': '', 'features': '', 'cpus': [], 'devices': 
{'ebdb8802-92ab-2393-d58a-f7e6bd4d5302': ('vbd', 
{'uuid': 'ebdb8802-92ab-2393-d58a-f7e6bd4d5302', 'bootable': 
1, 'driver': 'paravirtualised', 'dev': 'hda:disk', 'uname': 'phy:/dev/VolGroup00/f7gast2', 'mode': 'w'}), 'dd75b195-189f-1df1-99c4-2bfd4cc88e64': 
('vif', 
{'bridge': 'eth0', 'mac': '00:16:3e:28:9f:fc', 'type': 'ioemu', 'uuid': 'dd75b195-189f-1df1-99c4-2bfd4cc88e64'})}, 'vcpu_avail': 
1, 'VCPUs_live': 
1, 'PV_bootloader': '', 'actions_after_crash': 'restart', 'vbd_refs': 
['ebdb8802-92ab-2393-d58a-f7e6bd4d5302'], 'PV_ramdisk': '', 'is_control_domain': 
False, 'name_label': 'F7_GUEST', 'VCPUs_at_startup': 1, 'HVM_boot_params': 
{'order': 'c'}, 'platform': 
{'device_model': '/usr/lib64/xen/bin/qemu-dm', 'serial': 'pty', 'boot': 'c', 'pae': '1'}, 'cpu_weight': 
256, 'console_refs': [], 'cpu_cap': 
0, 'on_xend_stop': 'ignore', 'memory_static_min': 0, 'HVM_boot_policy': 'BIOS 
order', 'VCPUs_max': 1, 'memory_static_max': 
8589934592, 'actions_after_shutdown': 'destroy', 'on_xend_start': 'ignore', 'memory_dynamic_max': 
8589934592, 'actions_after_suspend': '', 'is_a_template': 
False, 'memory_dynamic_min': 
8589934592, 'uuid': '3404b719-29f4-bb90-986c-64f18e20e9e0', 'PV_kernel': '/usr/lib/xen/boot/hvmloader', 'shadow_memory': 
0, 'PV_bootloader_args': '', 'other_config': 
{}, 'actions_after_reboot': 'restart', 'vif_refs': 
['dd75b195-189f-1df1-99c4-2bfd4cc88e64'], 'vtpm_refs': [], 'security': None})
[2007-06-18 10:02:11 2892] DEBUG (XendDomain:960) Creating new managed domain: 
F7_GUEST


Content of lofile xend-debug.log:

Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 140, 
in process
    resource = self.getResource()
  File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 172, 
in getResource
    return self.getServer().getResource(self)
  File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 351, 
in getResource
    return self.root.getRequestResource(req)
  File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 39, in 
getRequestResource
    return findResource(self, req)
  File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 26, in 
findResource
    next = resource.getPathResource(pathElement, request)
  File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 49, in 
getPathResource
    val = self.getChild(path, request)
  File "/usr/lib64/python2.5/site-packages/xen/web/SrvDir.py", line 71, in 
getChild
    val = self.get(x)
  File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", 
line 52, in get
    return self.domain(x)
  File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", 
line 44, in domain
    dom = self.xd.domain_lookup(x)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 524, 
in domain_lookup
    raise XendInvalidDomain(str(domid))
XendInvalidDomain: <Fault 3: '3404b719-29f4-bb90-986c-64f18e20e9e0'>
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 140, 
in process
    resource = self.getResource()
  File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 172, 
in getResource
    return self.getServer().getResource(self)
  File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 351, 
in getResource
    return self.root.getRequestResource(req)
  File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 39, in 
getRequestResource
    return findResource(self, req)
  File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 26, in 
findResource
    next = resource.getPathResource(pathElement, request)
  File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 49, in 
getPathResource
    val = self.getChild(path, request)
  File "/usr/lib64/python2.5/site-packages/xen/web/SrvDir.py", line 71, in 
getChild
    val = self.get(x)
  File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", 
line 52, in get
    return self.domain(x)
  File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", 
line 44, in domain
    dom = self.xd.domain_lookup(x)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 524, 
in domain_lookup
    raise XendInvalidDomain(str(domid))
XendInvalidDomain: <Fault 3: 'F7_GUEST'>




More information about the Fedora-xen mailing list