WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] HVM troubles with DL380G6

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] HVM troubles with DL380G6
From: Emanuel dos Reis Rodrigues <emanueldosreis@xxxxxxxxx>
Date: Mon, 12 Jul 2010 21:56:55 -0400
Cc:
Delivery-date: Mon, 12 Jul 2010 18:58:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=FrXkJzc1BYOlw6tScy4TBWuS55S98yC2UKW8MJwEUck=; b=wg5jU4SOT2WGKubuozSCCjP6lOqSVI695eqk63hXMMFKE8Pw1iTejy3rrisT+YfbFY 8cl7iJ84q8sGtLO7o2m1gkaN8HF/bHK8cXjSNBfRyD7s/7sRcPIG2kX+BVOowFewMRws OU/vu1ZMtn0pvZWqSLSSlAKFo6vIo2uyOUchA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wJ09aYDV5c7cs3565esk2r87cZiVwHN1vhsevesGqIopXOZ6ZNftvWKsQ/pgvb8V0Q 53K+vOwa3xT9YK8jHvlPUcV03EN70LqkJ0Dzc9s7uPthc9wWylb0b0WrhmOlEv6ixqXk GsIUV5jLvuZTGaBn/XDkw7efihtxBs3hxMEG4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,


I have one server with 2  processors QuadCore:  E5530 and 30 GB of
memory,   like can looks:


processor    : 15
vendor_id    : GenuineIntel
cpu family    : 6
model        : 26
model name    : Intel(R) Xeon(R) CPU           E5530  @ 2.40GHz
stepping    : 5
cpu MHz        : 2400.102
cache size    : 8192 KB
physical id    : 1
siblings    : 1
core id        : 3
cpu cores    : 1
apicid        : 23
initial apicid    : 23
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu de tsc msr pae cx8 apic sep mtrr cmov pat clflush
acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good pni
ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm ida
bogomips    : 4801.78
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual


I has beens instaled Debian Lenny  5 and follow packages:

ii  libxenstore3.0                      3.2.1-2
Xenstore communications library for Xen
ii  linux-image-2.6.26-2-xen-
amd64      2.6.26-24                  Linux 2.6.26 image on AMD64,
oldstyle Xen support
ii  linux-modules-2.6.26-2-xen-amd64    2.6.26-24
Linux 2.6.26 modules on AMD64
ii  xen-hypervisor-3.2-1-amd64          3.2.1-2                    The
Xen Hypervisor on AMD64
ii  xen-linux-system-2.6.26-2-xen-amd64 2.6.26-24                  XEN
system with Linux 2.6.26 image on AMD64
ii  xen-shell                           1.8-3
Console based Xen administration utility
ii  xen-tools                           3.9-4
Tools to manage Debian XEN virtual servers
ii  xen-utils-3.2-1                     3.2.1-2                    XEN
administrative tools
ii  xen-utils-common                    3.2.0-2                    XEN
administrative tools - common files
ii  xenstore-utils                      3.2.1-2
Xenstore utilities for Xen
ii  xenwatch                            0.5.2-1
Virtualization utilities, mostly for Xen


obviously my hardware has virtualization support for hvm:

xm dmesg | grep -i hvm
(XEN) HVM: VMX enabled

and

xm info | grep xen_caps
xen_caps               : 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

and

grep -i vmx /proc/cpuinfo
this  nothing return, but this no have problema, because I have other
servers without this output and hvm works fine.


all virtualization options  has turn enable in the BIOS


well, go ahead:

The paravirtualization works fine.

Every HVM machine freezing when boot. I tested in the folow scenaries:

- Boot from iso of Windows install Media 2008/ XP etc ...

  Freeze when boot on image

- Boot from iso of ubuntu

  Freeze after I enter the option in grub, in loading kernel ...

- Boot from Windows 2008 ready image that run perfectly in another machine

  Freeze during the screen  .. loading windows files ....


The logs output dont show nothing  ...  follow:

qemu-dm-13.log:

Watching /local/domain/0/device-model/13/logdirty/next-active
Watching /local/domain/0/device-model/13/command
-c config qemu network with xen bridge for
tap0 eth0
shift keysym 003e keycode 86
shift keysym 00a6 keycode 86
keypad keysym ffae keycode 83
keypad keysym ffac keycode 83
keypad keysym ffb0 keycode 82
keypad keysym ffb1 keycode 79
keypad keysym ffb2 keycode 80
keypad keysym ffb3 keycode 81
keypad keysym ffb4 keycode 75
keypad keysym ffb5 keycode 76
keypad keysym ffb6 keycode 77
keypad keysym ffb7 keycode 71
keypad keysym ffb8 keycode 72
keypad keysym ffb9 keycode 73
shift keysym 0021 keycode 2
shift keysym 0040 keycode 3
shift keysym 0023 keycode 4
shift keysym 0024 keycode 5
shift keysym 0025 keycode 6
shift keysym 005e keycode 7
shift keysym 0026 keycode 8
shift keysym 002a keycode 9
shift keysym 0028 keycode 10
shift keysym 0029 keycode 11
shift keysym 005f keycode 12
shift keysym 002b keycode 13
shift keysym 007b keycode 26
shift keysym 007d keycode 27
shift keysym 003a keycode 39
shift keysym 0022 keycode 40
shift keysym 007e keycode 41
shift keysym 007c keycode 43
shift keysym 003c keycode 51
shift keysym 003e keycode 52
shift keysym 003f keycode 53
char device redirected to /dev/pts/1
vncviewer execlp failed
qemu_map_cache_init nr_buckets = 10000 size 3145728
shared page at pfn 7ffff
buffered io page at pfn 7fffd
Time offset set 0
Register xen platform.
Done register platform.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0


xend.log

[2009-10-06 03:14:22 25257] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', 'win2008-ts'], ['memory', 2048],
['shadow_memory', 8], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['image', ['hvm', ['kernel',
'/usr/lib/xen-default/boot/hvmloader'], ['pae', 1], ['vcpus', 1],
['boot', 'dc'], ['fda', ''], ['fdb', ''], ['timer_mode', 0],
['localtime', 0], ['serial', 'pty'], ['stdvga', 0], ['isa', 0],
['nographic', 0], ['soundhw', ''], ['vnc', 1], ['vncunused', 1],
['vncconsole', 1], ['vnclisten', '0.0.0.0'], ['sdl', 0],
['xauthority', '/root/.Xauthority'], ['rtc_timeoffset', '0'],
['monitor', 0], ['acpi', 1], ['apic', 1], ['usb', 0], ['usbdevice',
'tablet'], ['keymap', ''], ['pci', []], ['guest_os_type', 'default'],
['device_model', '/usr/lib64/xen-3.2-1/bin/qemu-dm'], ['vncpasswd',
'XXXXXXXX']]], ['device', ['vbd', ['uname',
'file:/backup/win2008-ts.img'], ['dev', 'hda'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'file:/tmp/a/iso/bt4-final.iso'], ['dev',
'ioemu:hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['bridge',
'eth0'], ['mac', '00:0c:29:64:b1:88'], ['type', 'ioemu']]]])
[2009-10-06 03:14:22 25257] DEBUG (XendDomainInfo:1618)
XendDomainInfo.constructDomain
[2009-10-06 03:14:22 25257] DEBUG (balloon:132) Balloon: 3149836 KiB
free; need 2048; done.
[2009-10-06 03:14:22 25257] DEBUG (XendDomain:443) Adding Domain: 13
[2009-10-06 03:14:22 25257] DEBUG (XendDomainInfo:1703)
XendDomainInfo.initDomain: 13 256
[2009-10-06 03:14:22 25257] DEBUG (image:232) Stored a VNC password
for vfb access
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: boot, val: dc
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: fda, val: None
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: fdb, val: None
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: soundhw, val: None
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: localtime, val: 0
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: serial, val: pty
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: std-vga, val: 0
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: isa, val: 0
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: acpi, val: 1
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: usb, val: 0
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: usbdevice, val: tablet
[2009-10-06 03:14:22 25257] DEBUG (image:476) args: pci, val: []
[2009-10-06 03:14:22 25257] DEBUG (XendDomainInfo:1738)
_initDomain:shadow_memory=0x8, memory_static_max=0x80000000,
memory_static_min=0x0.
[2009-10-06 03:14:22 25257] DEBUG (balloon:132) Balloon: 3148544 KiB
free; need 2122752; done.
[2009-10-06 03:14:22 25257] INFO (image:139) buildDomain os=hvm dom=13 vcpus=1
[2009-10-06 03:14:22 25257] DEBUG (image:523) domid          = 13
[2009-10-06 03:14:22 25257] DEBUG (image:524) image          =
/usr/lib/xen-default/boot/hvmloader
[2009-10-06 03:14:22 25257] DEBUG (image:525) store_evtchn   = 2
[2009-10-06 03:14:22 25257] DEBUG (image:526) memsize        = 2048
[2009-10-06 03:14:22 25257] DEBUG (image:527) vcpus          = 1
[2009-10-06 03:14:22 25257] DEBUG (image:528) acpi           = 1
[2009-10-06 03:14:22 25257] DEBUG (image:529) apic           = 1
[2009-10-06 03:14:22 25257] INFO (XendDomainInfo:1514) createDevice:
vfb : {'vncunused': 1, 'other_config': {'vncunused': 1, 'vncpasswd':
'XXXXXXXX', 'vnclisten': '0.0.0.0', 'type': 'vnc'}, 'uuid':
'6a5f741f-c4c0-8d03-70c1-26447241d6af', 'vnclisten': '0.0.0.0',
'vncpasswd': 'XXXXXXXX', 'type': 'vnc'}
[2009-10-06 03:14:22 25257] DEBUG (DevController:118) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vfb/13/0'} to /local/domain/13/device/vfb/0.
[2009-10-06 03:14:22 25257] DEBUG (DevController:120) DevController:
writing {'vncunused': '1', 'domain': 'win2008-ts', 'frontend':
'/local/domain/13/device/vfb/0', 'uuid':
'6a5f741f-c4c0-8d03-70c1-26447241d6af', 'vnclisten': '0.0.0.0',
'vncpasswd': 'XXXXXXXX', 'state': '1', 'online': '1', 'frontend-id':
'13', 'type': 'vnc'} to /local/domain/0/backend/vfb/13/0.
[2009-10-06 03:14:22 25257] INFO (XendDomainInfo:1514) createDevice:
vbd : {'uuid': '1511eee5-5b24-8587-99e9-db36ebed61c9', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'hda', 'uname':
'file:/backup/win2008-ts.img', 'mode': 'w'}
[2009-10-06 03:14:22 25257] DEBUG (DevController:118) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/13/768'}
to /local/domain/13/device/vbd/768.
[2009-10-06 03:14:22 25257] DEBUG (DevController:120) DevController:
writing {'domain': 'win2008-ts', 'frontend':
'/local/domain/13/device/vbd/768', 'uuid':
'1511eee5-5b24-8587-99e9-db36ebed61c9', 'dev': 'hda', 'state': '1',
'params': '/backup/win2008-ts.img', 'mode': 'w', 'online': '1',
'frontend-id': '13', 'type': 'file'} to
/local/domain/0/backend/vbd/13/768.
[2009-10-06 03:14:22 25257] INFO (XendDomainInfo:1514) createDevice:
vbd : {'uuid': '47d7cea3-0e8e-bd06-700c-b13dbb30f489', 'bootable': 0,
'driver': 'ioemu', 'dev': 'ioemu:hdc:cdrom', 'uname':
'file:/tmp/a/iso/bt4-final.iso', 'mode': 'r'}
[2009-10-06 03:14:22 25257] DEBUG (DevController:118) DevController:
writing {'backend-id': '0', 'virtual-device': '5632', 'device-type':
'cdrom', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/13/5632'} to
/local/domain/13/device/vbd/5632.
[2009-10-06 03:14:22 25257] DEBUG (DevController:120) DevController:
writing {'domain': 'win2008-ts', 'frontend':
'/local/domain/13/device/vbd/5632', 'uuid':
'47d7cea3-0e8e-bd06-700c-b13dbb30f489', 'dev': 'hdc', 'state': '1',
'params': '/tmp/a/iso/bt4-final.iso', 'mode': 'r', 'online': '1',
'frontend-id': '13', 'type': 'file'} to
/local/domain/0/backend/vbd/13/5632.
[2009-10-06 03:14:22 25257] INFO (XendDomainInfo:1514) createDevice:
vif : {'bridge': 'eth0', 'mac': '00:0c:29:64:b1:88', 'type': 'ioemu',
'uuid': '822bf68b-02a4-2daa-ae77-68b2498d523c'}
[2009-10-06 03:14:22 25257] DEBUG (DevController:118) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vif/13/0'} to /local/domain/13/device/vif/0.
[2009-10-06 03:14:22 25257] DEBUG (DevController:120) DevController:
writing {'bridge': 'eth0', 'domain': 'win2008-ts', 'handle': '0',
'uuid': '822bf68b-02a4-2daa-ae77-68b2498d523c', 'script':
'/etc/xen/scripts/vif-bridge', 'mac': '00:0c:29:64:b1:88',
'frontend-id': '13', 'state': '1', 'online': '1', 'frontend':
'/local/domain/13/device/vif/0', 'type': 'ioemu'} to
/local/domain/0/backend/vif/13/0.
[2009-10-06 03:14:22 25257] INFO (image:289) spawning device models:
/usr/lib64/xen-3.2-1/bin/qemu-dm ['/usr/lib64/xen-3.2-1/bin/qemu-dm',
'-d', '13', '-domain-name', 'win2008-ts', '-vnc',
'0.0.0.0:0,password', '-vncunused', '-vcpus', '1', '-boot', 'dc',
'-serial', 'pty', '-acpi', '-usbdevice', 'tablet', '-net',
'nic,vlan=1,macaddr=00:0c:29:64:b1:88,model=rtl8139', '-net',
'tap,vlan=1,bridge=eth0', '-M', 'xenfv', '-vncviewer']
[2009-10-06 03:14:22 25257] INFO (image:293) device model pid: 25335
[2009-10-06 03:14:23 25257] DEBUG (XendDomainInfo:2195) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '17', 'uuid':
'16f3c635-78ea-bab7-bc2e-bba0ebd73e8d', 'on_reboot': 'restart',
'start_time': '1254813263.0', 'on_poweroff': 'destroy',
'on_xend_start': 'ignore', 'on_crash': 'restart',
'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image':
'(hvm (kernel /usr/lib/xen-default/boot/hvmloader) (acpi 1) (apic 1)
(boot dc) (device_model /usr/lib64/xen-3.2-1/bin/qemu-dm) (isa 0)
(localtime 0) (monitor 0) (nographic 0) (pae 1) (rtc_timeoffset 0)
(serial pty) (sdl 0) (stdvga 0) (usb 0) (usbdevice tablet) (vnc 1)
(vncconsole 1) (vnclisten 0.0.0.0) (timer_mode 0) (vncpasswd XXXXXX)
(vncunused 1) (xauthority /root/.Xauthority) (pci ()) (guest_os_type
default) (notes (SUSPEND_CANCEL 1)))', 'name': 'win2008-ts'}
[2009-10-06 03:14:23 25257] DEBUG (XendDomainInfo:1008) Storing domain
details: {'console/port': '3', 'name': 'win2008-ts', 'console/limit':
'1048576', 'store/port': '2', 'vm':
'/vm/16f3c635-78ea-bab7-bc2e-bba0ebd73e8d', 'domid': '13',
'image/suspend-cancel': '1', 'cpu/0/availability': 'online',
'memory/target': '2097152',
'control/platform-feature-multiprocessor-suspend': '1',
'store/ring-ref': '524286', 'console/type': 'ioemu'}
[2009-10-06 03:14:23 25257] DEBUG (DevController:118) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/13/0'} to
/local/domain/13/device/console/0.
[2009-10-06 03:14:23 25257] DEBUG (DevController:120) DevController:
writing {'domain': 'win2008-ts', 'frontend':
'/local/domain/13/device/console/0', 'uuid':
'58384e4a-3047-5dc2-ae6d-c29894216014', 'frontend-id': '13', 'state':
'1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/13/0.
[2009-10-06 03:14:23 25257] DEBUG (XendDomainInfo:1092)
XendDomainInfo.handleShutdownWatch
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices vif.
[2009-10-06 03:14:23 25257] DEBUG (DevController:156) Waiting for 0.
[2009-10-06 03:14:23 25257] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status.
[2009-10-06 03:14:23 25257] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status.
[2009-10-06 03:14:23 25257] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices vbd.
[2009-10-06 03:14:23 25257] DEBUG (DevController:156) Waiting for 768.
[2009-10-06 03:14:23 25257] DEBUG (DevController:595)
hotplugStatusCallback
/local/domain/0/backend/vbd/13/768/hotplug-status.
[2009-10-06 03:14:23 25257] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-10-06 03:14:23 25257] DEBUG (DevController:156) Waiting for 5632.
[2009-10-06 03:14:23 25257] DEBUG (DevController:595)
hotplugStatusCallback
/local/domain/0/backend/vbd/13/5632/hotplug-status.
[2009-10-06 03:14:23 25257] DEBUG (DevController:595)
hotplugStatusCallback
/local/domain/0/backend/vbd/13/5632/hotplug-status.
[2009-10-06 03:14:23 25257] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices irq.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices vkbd.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices vfb.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for
devices console.
[2009-10-06 03:14:23 25257] DEBUG (DevController:156) Waiting for 0.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices pci.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for
devices ioports.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices tap.
[2009-10-06 03:14:23 25257] DEBUG (DevController:151) Waiting for devices vtpm.
[2009-10-06 03:14:23 25257] INFO (XendDomain:1165) Domain win2008-ts
(13) unpaused.


xend-debug.log

Xend started at Tue Oct  6 03:14:01 2009.
domid: 13
qemu: the number of cpus is 1


the created machine keep up and ready state, however has freeze :


Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 27218    16     r-----    376.5
win2008-ts                                  13  2048     1     r-----    123.4


The config of machine: win2008-ts.cfg

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
name = "xenwin2008"
vif = [ 'type=ioemu, bridge=xenbr0' ]
acpi = 1
apic = 1
disk = [ 'file:/home/xen/xenwin2008.img,hda,w',
'file:/home/xen/windows2008.iso,hdc:cdrom,r' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''

serial='pty'
usbdevice='tablet'


VNC works, but show the freeze system in boot screen

how I get more information about this problem ?  How I do a debug/investigate ?


regards,


--
Emanuel dos Reis Rodrigues

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] HVM troubles with DL380G6, Emanuel dos Reis Rodrigues <=