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

Re: [Xen-users] Windows DomU


  • To: Julio César García Vizcaíno <jgarcia@xxxxxxx>, Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Net Warrior <netwarrior863@xxxxxxxxx>
  • Date: Thu, 01 Jul 2010 23:35:37 -0300
  • Cc:
  • Delivery-date: Thu, 01 Jul 2010 19:37:08 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=CJeX6QT6BdXcf43wa83/896z3mpnKQdVxEOi76rw4i80AQQfva37ulAKKUEQ1nNTdg ycvUc9QPjLULtUN+GlPbdC2pkjUomR+Ar14OYiz/dQux4iPeIUyd0ian66KBetMluvq+ je8el+Zva+zCRbX19SPtD7F/hvH2NKGgxww0M=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 07/01/10 19:17, Julio César García Vizcaíno wrote:
> Install python-xml package of your linux distribution or use a
> different vncviewer.
>
> 2010/7/1 Net Warrior <netwarrior863@xxxxxxxxx>:
>   
>> 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
>>
>>     
>
>
>   

You were right, I installed another vnc client and now it's working

Thanks a lot!!
Best regards


_______________________________________________
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®.