[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen - Windows - Sandy Bridge


  • To: Todd Deshane <todd.deshane@xxxxxxx>
  • From: Grégory Maingret <gmaingret@xxxxxxxxx>
  • Date: Fri, 11 Mar 2011 10:27:28 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 11 Mar 2011 01:29:04 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer; b=Rvrt6xHQMqj1ea51ABCWFjekvk+qNuPfd7Bp/FUjZhWhoewpJcIkbZI8KN9uEjN8ZW XIA9hBMotVY1pWbEDj+tJFco8yHbj5c42LY2rgp018rs83Oip15z5TFoK0y8Ay32acvc PFnR4xmiWlmksXSRXrRN3XtwjyChJmoO+W1v8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks for the link, I've learned several things.

About my problem, following the XenCommonProblem link, I tried xm dmesg | grep -i hvm and yahooo I have VMX enabled :), but have not VT-d.

==Now, when I run xm start win7.home.local, I get
Error: _refreshShutdown
Usage: xm start <DomainName>

Start a Xend managed domain
  -p, --paused                   Do not unpause domain after starting it   
  -c, --console_autoconnect      Connect to the console after the domain   
                                 is created
  --vncviewer                    Connect to display via VNC after the      
                                 domain is created
  --vncviewer-autopass           Pass VNC password to viewer via stdin and 
                                 -autopass


==Here is the tail -n35 /var/log/xen/xend.log :
[2011-03-11 10:11:28 19494] INFO (image:590) waiting for sentinel_fifo
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '5', 'uuid': '8a28121b-3b23-7369-20d5-3137c4ce0af0', 'on_reboot': 'restart', 'start_time': '1299834688.38', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': '(hvm (kernel ) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (boot dc) (loader /usr/lib/xen-default/boot/hvmloader) (vncconsole 1) (vpt_align 1) (xen_platform_pci 1) (vncunused 1) (rtc_timeoffset 0) (pci ()) (pae 0) (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) (nomigrate 0) (usbdevice tablet) (device_model /usr/lib/xen-4.0/bin/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))', 'name': 'win7.home.local'}
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/port': '3', 'description': '', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/8a28121b-3b23-7369-20d5-3137c4ce0af0', 'domid': '75', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type': 'ioemu', 'name': 'win7.home.local'}
[2011-03-11 10:11:28 19494] ERROR (XendDomainInfo:483) VM start failed
Traceback (most recent call last):
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 474, in start
    XendTask.log_progress(91, 100, self._refreshShutdown)
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 3423, in __getattr__
    raise AttributeError(name)
AttributeError: _refreshShutdown
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=75
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:2411) Destroying device model
[2011-03-11 10:11:28 19494] INFO (image:615) win7.home.local device model terminated
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:2418) Releasing devices
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:2424) Removing vif/0
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:2424) Removing vbd/768
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:2424) Removing vbd/5632
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:2424) Removing vfb/0
[2011-03-11 10:11:28 19494] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2011-03-11 10:11:28 19494] ERROR (xmlrpclib2:178) Internal error handling xend.domain.start
Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch
    return func(*params)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1051, in domain_start
    dominfo.start(is_managed = True)
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 474, in start
    XendTask.log_progress(91, 100, self._refreshShutdown)
  File "/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomainInfo.py", line 3423, in __getattr__
    raise AttributeError(name)
AttributeError: _refreshShutdown

==And the full /var/log/xen/qemu-dm-win7.home.local.log
domid: 75
-c config qemu network with xen bridge for
tap75.0 eth0
Using file /home/xen/domains/win7.home.local/disk.img in read-write mode
Using file /mnt/Install/WIN/OS/Win7/Windows7_32bit.iso in read-only mode
Watching /local/domain/0/device-model/75/logdirty/cmd
Watching /local/domain/0/device-model/75/command
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 8a28121b-3b23-7369-20d5-3137c4ce0af0
Time offset set 0
bind interdomain ioctl error 22
Unable to find x86 CPU definition

==This is my win7 config file
import os, re
arch = os.uname()[4]
if re.search('32', arch):
    arch_libdir = 'lib32'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen-default/boot/hvmloader"
builder='hvm'
memory = 512

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
#shadow_memory = 1024
name = "win7.home.local"
vif = [ 'ip=192.168.1.200,bridge=eth0' ]
pae=0
acpi = 1
apic = 1
disk = [ 'file:/xxxxxxxxx/win7.home.local/disk.img,hda,w','file:/xxxxxxxxxx/Windows7_32bit.iso,hdc:cdrom,r' ]

#device_model = '/usr/' + arch_libdir + '/xen-4.0/bin/qemu-dm'
device_model = '/usr/lib/xen-4.0/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'

#extra='2 console=xvc0'


It seems to be the "most stable" error I had...
I've seen patch for qemu or python on the web but I don't know how to use them (with lines beginning by + then by -)

If someone know the answer (except 42), I'd be glad to pay him/her a beer (the next time he come to Cannes).



Le jeudi 10 mars 2011 à 23:51 +0000, Todd Deshane a écrit :
2011/3/9 Grégory Maingret <gmaingret@xxxxxxxxx>:
> Hi,
>
> I installed the lastest version of Xen and Hypervisor. My dom0 is Squeeze as
> my 3 DomU, all without X.
> I would install an Windows or an Ubuntu (with X) as a new DomU but I can't.
> Every time I run this VM I had differents errors.
> I wonder if I need X running on Dom0 to running it on DomU.
> Otherwise, my xen server has a sandy bridge i5-2400, and when I run grep
> vmx|svn /proc/cpuinfo, there is nothing, like it is not implemented.
> If someone has already encountered these problems, I would be happy to know
> the way to solve them.
>

To run windows or unmodified Ubuntu you need HVM support.

See:

http://wiki.xensource.com/xenwiki/XenCommonProblems#head-39c253c76df6f0fa4fb7ff4769cc733284bac9cb

Thanks,
Todd

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




Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.