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

Re: [Xen-users] Windows DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Windows DomU
From: Net Warrior <netwarrior863@xxxxxxxxx>
Date: Thu, 01 Jul 2010 18:38:13 -0300
Delivery-date: Thu, 01 Jul 2010 14:39:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:followup-to:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=CPBZvQXYk2GRJF6BD5GH4X0jMKgbYDTbspv4L2rH8x4=; b=vbksnnr4lh9kD6+dtl2OtHqKWmtg0M89/FvdX2QVpoM9zperFXPiX63JS89W1scGrS WP/7VhfXsaBkbaJfrc6Uj7oYhcEweqIggzNoAVojN1dKrTZMW8ENObuJqix+5ib2n2wP IkJlUMvdEJQ0qJS7Z6CfpEBhB77N6O6kKOw00=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:followup-to:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=L8aEYiPeyK+k3pQBchZjJ6yR17a2VbA6grqnFBYrnv/tz7wL7EunwPOFVzn/utccgI inw2FaeVkg7UsG67RVnohGMFS+oCK6ZiXfJpsE78Mo6EO36FYvyFoG6HGPyaNvSHqoNe iI84n5sV5eXMhO7Y7M28L6yIOpATqTL0D8Oi0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Followup-to: Julio,César,García,Vizcaíno,<jgarcia@xxxxxxx>
In-reply-to: <AANLkTil30gNDOaP8wOuDBM90EZd8n-Ln6M_zb-L3SEX-@xxxxxxxxxxxxxx>
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>
References: <4C2D0531.7080508@xxxxxxxxx> <AANLkTil30gNDOaP8wOuDBM90EZd8n-Ln6M_zb-L3SEX-@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100625 Thunderbird/3.0.5
Hi Julio thanks for your update

I made some changes, now Ive got.

disk = [ 'phy:/dev/NETWARRIOR/WINKK,ioemu:hda,w',
'phy:/dev/hda,ioemu:hdc:cdrom,r' ]
device_model = '/usr/lib64/xen/bin/qemu-dm'

Better :)

netwarrior xen # xm list
Name                                        ID   Mem VCPUs      State  
Time(s)
Domain-0                                     0  2809     4     r-----  
3383.4
WinKK                                       37   512     1     r-----   
147.1

---

Proto Recv-Q Send-Q Local Address           Foreign Address        
State     
tcp        0      0 127.0.0.1:5901          0.0.0.0:*               LISTEN 

---

netwarrior xen # xm vncviewer WinKK
invoking  vncviewer 127.0.0.1:1
Unexpected error: <type 'exceptions.OSError'>

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 7, in <module>
    main.main(sys.argv)
  File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3616,
in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3640,
in _run_cmd
    return True, cmd(args)
  File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 1925,
in xm_vncviewer
    console.runVncViewer(domid, autopass)
  File "/usr/lib64/python2.6/site-packages/xen/xm/console.py", line 83,
in runVncViewer
    os.execvp('vncviewer', cmdl)
  File "/usr/lib64/python2.6/os.py", line 344, in execvp
    _execvpe(file, args)
  File "/usr/lib64/python2.6/os.py", line 380, in _execvpe
    func(fullname, *argrest)
OSError: [Errno 2] No such file or directory


This mean something really bad, but no idea what it is :(
Unexpected error: <type 'exceptions.OSError'>

uname -a
Linux netwarrior 2.6.31.13 #7 SMP Wed Jun 30 18:09:49 ART 2010 x86_64
AMD Athlon(tm) II X4 630 Processor AuthenticAMD GNU/Linux

Using xen 4 , build-linux-2.6-pvops_x86_64, compiled and installed manually.

Any clue?
Regards




On 07/01/10 18:26, Julio César García Vizcaíno wrote:
> Hi,
>
> I'm using Xen in Debian lenny amd64 and I can boot Windows without any 
> problem.
>
> I think that your problem is to set correctly your path for device_model.
>
> I attach my config file for windows XP, I hope this can help you:
>
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> memory = 128
> shadow_memory = 8
> name = "xpsp3-1"
> disk = [ 'file:/mnt/VM/xpsp3-1.img,ioemu:hda,w' ]
> pae = 1
> vif = ['mac=5e:1e:30:07:60:03, vifname=xp1']
> #vif = ['mac=5e:1e:30:07:60:03, ip=192.168.100.3, vifname=xp1']
> #vif = ['type=ioemu, bridge=eth0']
> boot = "c"
> vnc = 1
> vncviewer = 1
> vnclisten = '127.0.0.1'
> device_model = '/usr/lib/xen/bin/qemu-dm'
> stdvga = 0
> serial = 'pty'
> usbdevice = 'tablet'
> on_poweroff = 'destroy'
> on_reboot   = 'restart'
> on_crash    = 'restart'
>
>
> On 1 July 2010 22:14, Net Warrior <netwarrior863@xxxxxxxxx> wrote:
>   
>> Hi there.
>>
>> I'm trying to create a window guest, but do not know what's going on,
>> here is my config.
>> To leve it clear , my Dom0 is a 64 bits Dom0, the windows version I'm
>> trying to install is 32 bits, do not know
>> if that's the problem.
>>
>> kernel = "/usr/lib64/xen/boot/hvmloader"
>> vif = [ 'type=ioemu, bridge=xenbr0' ]
>> disk = [ 'phy:/dev/hda,hda,w', 'phy:/dev/sda,hdc:cdrom,r' ]
>> device_model = 'qemu-dm'
>> boot="dc"
>> sdl=0
>> opengl=0
>> vnc=1
>> vnclisten="127.0.0.1"
>> vncdisplay=1
>> vncunused=1
>>
>> If I change sdl for vnc I can see for a second the windows and then it
>> closes,
>>
>> This log is using sdl
>> tail -f /var/log/xen/qemu-dm-WinKK.log
>>
>> medium change watch on `hdc' (index: 1): /dev/sda
>> Log-dirty: no command yet.
>> xs_read(/local/domain/30/log-throttling): read error
>> qemu: ignoring not-understood drive `/local/domain/30/log-throttling'
>> medium change watch on `/local/domain/30/log-throttling' - unknown
>> device, ignored
>> I/O request not ready: 0, ptr: 0, port: e9, data: 72, count: 1, size: 1
>> cirrus vga map change while on lfb mode
>> mapping vram to f0000000 - f0400000
>> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw
>> state.
>> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro
>> state.
>>
>> Now using vnc
>>
>> xm create winkk -c
>> Using config file "./winkk".
>> Error: Domain 'WinKK' does not exist.
>>
>> tail -f /var/log/xen/xend.log
>> [2010-07-01 18:08:14 4350] DEBUG (DevController:139) Waiting for devices
>> irq.
>> [2010-07-01 18:08:14 4350] DEBUG (DevController:139) Waiting for devices
>> vfb.
>> [2010-07-01 18:08:14 4350] DEBUG (DevController:139) Waiting for devices
>> pci.
>> [2010-07-01 18:08:14 4350] DEBUG (DevController:139) Waiting for devices
>> vusb.
>> [2010-07-01 18:08:14 4350] DEBUG (DevController:139) Waiting for devices
>> vtpm.
>> [2010-07-01 18:08:14 4350] ERROR (XendDomain:1209) domain_unpause
>> Traceback (most recent call last):
>>  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line
>> 1198, in domain_unpause
>>    raise XendInvalidDomain(str(domid))
>> XendInvalidDomain: <Fault 3: 'WinKK'>
>>
>> xm list
>> Name                                        ID   Mem VCPUs      State
>> Time(s)
>> Domain-0                                     0  2809     4     r-----
>> 3181.9
>>
>>
>> When  I fire the command I get the following and nothing else, I see no
>> installation screen, and if I type the command again
>> the id= increases.
>>
>> netwarrior xen # xm create winkk -c
>> Using config file "./winkk".
>> Started domain WinKK (id=29)
>> netwarrior xen #
>>
>> netwarrior xen # xm vncviewer WinKK
>> Error: Domain 'WinKK' does not exist.
>> xm vncviewer WinKK
>>
>> Do I have to have installed a VNC server?
>>
>>
>> Any help appreciated.
>> Thanks for your time and support
>> Regards
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>>     
>
>
>   


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

<Prev in Thread] Current Thread [Next in Thread>