RE: [Fedora-xen] configuration for windows image with VT machine
by Matthias Bayer
Hi again,
the windows system is SP2 with latest patches.
i see really strange behaviour with the grub boot entries - i have removed the DomU kernel entries and after a reboot now when i want to start the installed windows system the changed entries are active but the startup immediately crashes after the popup windows shows up - moving back the entries and starting the system under xen control doesn't reflect the changes within grub but the system tries starting again ......but fails with the old problem.
looks like xend does not recognize changes of grub inside DomU without a restart .......
so .. i have no more ideas how to make this work .. windows using a 'file' instead booting from the real partition works fine.
maybe upgrading fixes some of this problems, hopefully.
any more help very welcome :-)
regards,
matthias
*Von:* "You, Yongkang" <YONGKANG.YOU(a)INTEL.COM>
*Gesendet:* 06.04.06 10:35:27
*An:* <FEDORA-XEN(a)REDHAT.COM>
*Betreff:* RE: [Fedora-xen] configuration for windows image with VT machine
>-----Original Message-----
>From: fedora-xen-bounces(a)redhat.com
>[mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
>Sent: 2006Äê4ÔÂ6ÈÕ 0:37
>To: fedora-xen(a)redhat.com; You, Yongkang
>Subject: RE: [Fedora-xen] configuration for windows image with VT machine
>
>
>another hint for me ?
EM~. I remember I can start up a Windows XP SP2 disk image file in the FC5 IA32, which is kernel-xen0-2.6.15-1.2032_FC5.i686.rpm kernel-xenU-2.6.15-1.2032_FC5.i686.rpm
xen-3.0.1-3.i386.rpm
I am not sure of the problem you met. Is it SP1 or SP2?
A little trouble suggestion is to get latest Xen source 9543, build/install it. I know there are a lot of bugs fixing, such as installation etc. And this version should be a good one for basic VMX. (It can start up Redhat distributions, Windows XP SP1/SP2 and finish a lot of installation.) If really want it, I can give some helps.
While, I am also very eager for the FC5 great updating RPMs for Xen. The update RPMs will bring many conveniences for end users. Maybe Xen 3.0.2 will be in FC5 update soon, as it is very closing. :)
>
>thanks,
>Matthias
>
>
Best Regards,
Yongkang (Kangkang) ÓÀ¿µ
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=021192* [http://f.web.de/?mc=021192]
18 years, 1 month
RE: [Fedora-xen] configuration for windows image with VT machine
by You, Yongkang
>-----Original Message-----
>From: fedora-xen-bounces(a)redhat.com
>[mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
>Sent: 2006年4月6日 0:37
>To: fedora-xen(a)redhat.com; You, Yongkang
>Subject: RE: [Fedora-xen] configuration for windows image with VT machine
>
>
>another hint for me ?
EM~. I remember I can start up a Windows XP SP2 disk image file in the FC5 IA32, which is kernel-xen0-2.6.15-1.2032_FC5.i686.rpm kernel-xenU-2.6.15-1.2032_FC5.i686.rpm
xen-3.0.1-3.i386.rpm
I am not sure of the problem you met. Is it SP1 or SP2?
A little trouble suggestion is to get latest Xen source 9543, build/install it. I know there are a lot of bugs fixing, such as installation etc. And this version should be a good one for basic VMX. (It can start up Redhat distributions, Windows XP SP1/SP2 and finish a lot of installation.) If really want it, I can give some helps.
While, I am also very eager for the FC5 great updating RPMs for Xen. The update RPMs will bring many conveniences for end users. Maybe Xen 3.0.2 will be in FC5 update soon, as it is very closing. :)
>
>thanks,
>Matthias
>
>
Best Regards,
Yongkang (Kangkang) 永康
18 years, 1 month
Re: [Fedora-xen] Anyone using VT-x (vmx, hvm, ...)?
by Matthias Bayer
Hi Jim,
i am using fedora-xen and VT on an new HP XW4300 workstation and i am running fully virtualized Windows systems on it.
i had the same problems as you and therefore i used a 'workaround' to get the things running:
i just installed 'qemu' and installed the windows system from an ISO file under qemu and then started it under xen control later - works perfect for me here.
if you need more information on what i have done exactly just let me know. there are some 'tricks' that can make your life much easier using this way of installation as the graphical output is very slow after the system comes up and you use VNC to connect to it ..
i haven't tried fully virtualized linux systems so far but i am going to do this soon ....
regards,
Matthias
*Von:* "Reuter, Jim" <JAMES.REUTER(a)HP.COM>
*Gesendet:* 05.04.06 23:26:09
*An:* <FEDORA-XEN(a)REDHAT.COM>
*Betreff:* [Fedora-xen] Anyone using VT-x (vmx, hvm, ...)?
Reposted from fedora-list
I did not even know fedora-xen existed until a coworker pointed it out, it's not listed on Fedora Portal.
I have not seen any answers for this on fedora-list.
______________________________________________
*From: * Reuter, Jim
*Sent: * Wednesday, April 05, 2006 10:59 AM
*To: * 'fedora-list(a)redhat.com'
*Subject: * Anyone using VT-x (vmx, hvm, ...)?
I've installed FC5 32 and 64 bit versions on a VT-x capable Xeon server. I can install paravirtualized guests using /usr/sbin/xenguest-install.py per the quickstart guide with no problems. But if I try to install a fully virtualized FC5 or Windows XP guest using the VT-x (vmx) capability and an ISO install image, xm shows that a guest started, but I can never connect to a console or vnc session to see what it is doing or go through the OS install. Even the xenguest-install.py script fails at the point of trying to connect the console.
The error is "xenconsole: Could not read from tty store: No such file or directory".
I'm at a loss to know how to proceed or debug this. Any help would be appreciated. Is anyone even using FC5 on VT-x systems? The lists seem to be very quiet on this topic.
Thanks,
Jim Reuter
James.reuter(a)hp.com--Fedora-xen mailing listFedora-xen@redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-xen
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=021192* [http://f.web.de/?mc=021192]
18 years, 1 month
Fedora Core 5 Xen xenconfig migration from FC4
by Philipp Jäggi
Hello out there
Till last week I hab my testserver running fine with Fedora Core 4 and xen
3. At monday I had the idea to use the new Fedora Core 5 with his new xen
implementation. It's nice to create a guest with their new
xenguest-install.py script, but I need my old xen domU configurations.
Especially I have to run a Fedora Core 4 Guest, because Oracle 10g is not
running on FC5 (glibc problem). But when I try to use my old
configurations, I get an error message while booting:
Error: Error creating domain: Kernel image does not exist:
/boot/vmlinuz-2.6.16-1.2080_FC5XenU
So, the file exists, that's not the problem. I tried also to use the
xen-sysm.... variant. But nothing worked. I used also the ramdisk option.
My domU config file looks like:
kernel = "/boot/vmlinuz-2.6.16-1.2080_FC5xenU"
memory = 256
name = "sweb01"
extra = "selinux=0 3"
disk = ['phy:VolGroup00/root.sweb01,sda1,w'
,'phy:VolGroup00/log.sweb01,sda3,w'
,'phy:VolGroup00/swap.sweb01,sda2,w'
]
root = "/dev/sda1"
### N E T W O R K
vif = [ 'bridge=xenbr-pub' , 'bridge=xenbr-int' ]
Hope sombody has a migration guide Xen FC4 to FC5 for me.:-)
By the way, I don't understand how to install now a FC4 in this new FC5
environment. Is it possible to do this with the xenguest-install script???
bye Philipp
===============================================
Philipp Jäggi
SNCT Sandweiler
bp 23
L-5230 Sandweiler
+352 35'72'14'342
mailto: philipp.jaeggi(a)snct.lu
18 years, 1 month
Anyone using VT-x (vmx, hvm, ...)?
by Reuter, Jim
Reposted from fedora-list...I did not even know fedora-xen existed until
a coworker pointed it out, it's not listed on Fedora Portal.
I have not seen any answers for this on fedora-list.
> ______________________________________________
> From: Reuter, Jim
> Sent: Wednesday, April 05, 2006 10:59 AM
> To: 'fedora-list(a)redhat.com'
> Subject: Anyone using VT-x (vmx, hvm, ...)?
>
> I've installed FC5 32 and 64 bit versions on a VT-x capable Xeon
> server. I can install paravirtualized guests using
> /usr/sbin/xenguest-install.py per the quickstart guide with no
> problems. But if I try to install a fully virtualized FC5 or Windows
> XP guest using the VT-x (vmx) capability and an ISO install image, xm
> shows that a guest started, but I can never connect to a console or
> vnc session to see what it is doing or go through the OS install.
> Even the xenguest-install.py script fails at the point of trying to
> connect the console.
>
> The error is "xenconsole: Could not read from tty store: No such file
> or directory".
>
> I'm at a loss to know how to proceed or debug this. Any help would be
> appreciated. Is anyone even using FC5 on VT-x systems? The lists
> seem to be very quiet on this topic.
>
> Thanks,
> Jim Reuter
> James.reuter(a)hp.com
>
18 years, 1 month
RE: [Fedora-xen] configuration for windows image with VT machine
by Matthias Bayer
Aha, RIGHT ! thanks for this !!
little mistake here .. now i am a step further but now the following happens:
i create the domain, see the window poping up, grub shows up and then - no matter whats written within grub - boots my linux system (which is my Dom0) again :-( ?????
i changed the boot order within grub to default to the windows system (because selecting by hand in the upcoming window is very very slow ...) but still boots my linux system ....
which grub is used, i changed some entries withing grub of Dom0 but the changes are not reflected when creating the domain ?
after selecting by hand i can choose the windows entry and boot the system. :-) ... BUT ... i hangs after a while, i cannot connect to it and it's not pinging ....
i selected 'safe mode' during startup of the windows system and the last entry i see is:
multi(0)\disk(0)\rdisk(0)\partition(1)\Windows\system32\drivers\Mup.sys
hmm..
the logfile for the domain shows:
set_map result i 3ff result bd2a5
HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $
ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (5375 MBytes)
ata0 slave: Unknown device
ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
ata1 slave: Unknown device
Booting from Hard Disk...
int13_harddisk: function 41, unmapped device for ELDL=81
int13_harddisk: function 08, unmapped device for ELDL=81
*** int 15h function AX=00C0, BX=0000 not yet supported!
*** int 15h function AX=5300, BX=0000 not yet supported!
*** int 15h function AX=5304, BX=0000 not yet supported!
unsupported PCI BIOS function 0x0E
*** int 15h function AX=5300, BX=0000 not yet supported!
int13_harddisk: function 15, unmapped device for ELDL=81
xm list shows that the created windows domain is still consuming time.
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 2504 2 r----- 1391.7
WinXPPro_xendom1_local 17 512 1 ------ 104.5
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 2504 2 r----- 1467.3
WinXPPro_xendom1_local 17 512 1 ------ 528.2
another hint for me ?
thanks,
Matthias
> Aha, you miss the 'ioemu' in disk option.
> Please try with this:
> disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
>
> if still can not, please paste /var/log/xend.log and /var/log/xend-debug.log.
>
> Best Regards,
> Yongkang (Kangkang) 氞康
>
> >-----Original Message-----
> >From: Matthias Bayer [mailto:matbayer.web@web.de]
> >Sent: 2006幎4æ5æ¥ 23:34
> >To: fedora-xen(a)redhat.com; You, Yongkang
> >Subject: RE: [Fedora-xen] configuration for windows image with VT machine
> >
> >Hi Yonkang,
> >
> >you are right, grub is installed on /dev/sda and i can choose which OS i want to
> >boot.
> >
> >i still can't boot the windows system from my first partition using this config file
> >(any ideas what's wrong here ?).
> >
> >name = "WinXPPro_xendom1_local"
> >builder = "hvm"
> >memory = "512"
> >disk = [ 'phy:/dev/sda,hda,w' ]
> >vif = [ 'type=ioemu,bridge=xenbr0,mac=00:16:3e:63:72:e2' ]
> >on_reboot = 'restart'
> >on_crash = 'restart'
> >kernel = '/usr/lib/xen/boot/hvmloader'
> >device_model = '/usr/lib/xen/bin/qemu-dm'
> >sdl = 1 # use SDL for graphics
> >vnc = 0 # use VNC for graphics
> >vncviewer = 0 # spawn vncviewer by default
> >
> >if i create the domain with 'xm create WinXPPro_xendom1_local' everything
> >looks good, no errors shown.
> >xm list shows:
> >
> >Name ID Mem(MiB) VCPUs State Time(s)
> >Domain-0 0 2504 2 r----- 320.7
> >WinXPPro_xendom1_local 4 512 1 -b---- 0.0
> >
> >also, where can is see why it stops and how far the boot process went ?
> >any hints very welcome !
> >
> >regards,
> >Matthias
> >
> >
> >
> >
> >> Hi Matthias,
> >>
> >> I think the bootloader is installed at /dev/sda, which can select to boot the
> >Windows XP partition right?
> >> You can modify /etc/xen/xmexample.hvm to change to following
> >configuration and create the VMX with it.
> >> disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
> >> sdl=1
> >> vnc=0
> >> vncviewer=0
> >>
> >> Creating Windows VMX has no difference with other unmodified Linux.
> >>
> >> Best Regards,
> >> Yongkang (Kangkang) 氞康
> >> ________________________________________
> >> From: fedora-xen-bounces(a)redhat.com
> >[mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
> >> Sent: 2006幎4æ4æ¥ 19:16
> >> To: fedora-xen(a)redhat.com
> >> Subject: [Fedora-xen] configuration for windows image with VT machine
> >>
> >> Hi,
> >>
> >> i have a brand new system with VT technology (HP XW4300).
> >> i am running FC5 with XEN kernel 2.6.16-1.2080_FC5xen0 on it.
> >> on the harddisk (/dev/sda) there are two partitions. sda1 has a native
> >windows XP system installed while sda2 is /boot and sda3 is / for the FC5
> >system.
> >>
> >> now i want to run the windows system under xen control using the installed
> >windows system on the first partition.
> >>
> >> what would i need to configure to make this work ?
> >> how does the config file needs to look like ?
> >> is there a documentation available on how to make windows run unmodified
> >under xen ?
> >>
> >> any hints welcome !
> >>
> >> Thanks.
> >>
> >>
> >> !
> >>
> >> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> >> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> >>
> >>
> >
> >
> >______________________________________________________________
> >_
> >SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> >kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
18 years, 1 month
RE: [Fedora-xen] configuration for windows image with VT machine
by You, Yongkang
Aha, you miss the 'ioemu' in disk option.
Please try with this:
disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
if still can not, please paste /var/log/xend.log and /var/log/xend-debug.log.
Best Regards,
Yongkang (Kangkang) 永康
>-----Original Message-----
>From: Matthias Bayer [mailto:matbayer.web@web.de]
>Sent: 2006年4月5日 23:34
>To: fedora-xen(a)redhat.com; You, Yongkang
>Subject: RE: [Fedora-xen] configuration for windows image with VT machine
>
>Hi Yonkang,
>
>you are right, grub is installed on /dev/sda and i can choose which OS i want to
>boot.
>
>i still can't boot the windows system from my first partition using this config file
>(any ideas what's wrong here ?).
>
>name = "WinXPPro_xendom1_local"
>builder = "hvm"
>memory = "512"
>disk = [ 'phy:/dev/sda,hda,w' ]
>vif = [ 'type=ioemu,bridge=xenbr0,mac=00:16:3e:63:72:e2' ]
>on_reboot = 'restart'
>on_crash = 'restart'
>kernel = '/usr/lib/xen/boot/hvmloader'
>device_model = '/usr/lib/xen/bin/qemu-dm'
>sdl = 1 # use SDL for graphics
>vnc = 0 # use VNC for graphics
>vncviewer = 0 # spawn vncviewer by default
>
>if i create the domain with 'xm create WinXPPro_xendom1_local' everything
>looks good, no errors shown.
>xm list shows:
>
>Name ID Mem(MiB) VCPUs State Time(s)
>Domain-0 0 2504 2 r----- 320.7
>WinXPPro_xendom1_local 4 512 1 -b---- 0.0
>
>also, where can is see why it stops and how far the boot process went ?
>any hints very welcome !
>
>regards,
>Matthias
>
>
>
>
>> Hi Matthias,
>>
>> I think the bootloader is installed at /dev/sda, which can select to boot the
>Windows XP partition right?
>> You can modify /etc/xen/xmexample.hvm to change to following
>configuration and create the VMX with it.
>> disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
>> sdl=1
>> vnc=0
>> vncviewer=0
>>
>> Creating Windows VMX has no difference with other unmodified Linux.
>>
>> Best Regards,
>> Yongkang (Kangkang) 氞康
>> ________________________________________
>> From: fedora-xen-bounces(a)redhat.com
>[mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
>> Sent: 2006幎4æ4æ¥ 19:16
>> To: fedora-xen(a)redhat.com
>> Subject: [Fedora-xen] configuration for windows image with VT machine
>>
>> Hi,
>>
>> i have a brand new system with VT technology (HP XW4300).
>> i am running FC5 with XEN kernel 2.6.16-1.2080_FC5xen0 on it.
>> on the harddisk (/dev/sda) there are two partitions. sda1 has a native
>windows XP system installed while sda2 is /boot and sda3 is / for the FC5
>system.
>>
>> now i want to run the windows system under xen control using the installed
>windows system on the first partition.
>>
>> what would i need to configure to make this work ?
>> how does the config file needs to look like ?
>> is there a documentation available on how to make windows run unmodified
>under xen ?
>>
>> any hints welcome !
>>
>> Thanks.
>>
>>
>> !
>>
>> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
>> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>>
>>
>
>
>______________________________________________________________
>_
>SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
>kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
18 years, 1 month
RE: [Fedora-xen] configuration for windows image with VT machine
by Matthias Bayer
Hi Yonkang,
you are right, grub is installed on /dev/sda and i can choose which OS i want to boot.
i still can't boot the windows system from my first partition using this config file (any ideas what's wrong here ?).
name = "WinXPPro_xendom1_local"
builder = "hvm"
memory = "512"
disk = [ 'phy:/dev/sda,hda,w' ]
vif = [ 'type=ioemu,bridge=xenbr0,mac=00:16:3e:63:72:e2' ]
on_reboot = 'restart'
on_crash = 'restart'
kernel = '/usr/lib/xen/boot/hvmloader'
device_model = '/usr/lib/xen/bin/qemu-dm'
sdl = 1 # use SDL for graphics
vnc = 0 # use VNC for graphics
vncviewer = 0 # spawn vncviewer by default
if i create the domain with 'xm create WinXPPro_xendom1_local' everything looks good, no errors shown.
xm list shows:
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 2504 2 r----- 320.7
WinXPPro_xendom1_local 4 512 1 -b---- 0.0
also, where can is see why it stops and how far the boot process went ?
any hints very welcome !
regards,
Matthias
> Hi Matthias,
>
> I think the bootloader is installed at /dev/sda, which can select to boot the Windows XP partition right?
> You can modify /etc/xen/xmexample.hvm to change to following configuration and create the VMX with it.
> disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
> sdl=1
> vnc=0
> vncviewer=0
>
> Creating Windows VMX has no difference with other unmodified Linux.
>
> Best Regards,
> Yongkang (Kangkang) 氞康
> ________________________________________
> From: fedora-xen-bounces(a)redhat.com [mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
> Sent: 2006幎4æ4æ¥ 19:16
> To: fedora-xen(a)redhat.com
> Subject: [Fedora-xen] configuration for windows image with VT machine
>
> Hi,
>
> i have a brand new system with VT technology (HP XW4300).
> i am running FC5 with XEN kernel 2.6.16-1.2080_FC5xen0 on it.
> on the harddisk (/dev/sda) there are two partitions. sda1 has a native windows XP system installed while sda2 is /boot and sda3 is / for the FC5 system.
>
> now i want to run the windows system under xen control using the installed windows system on the first partition.
>
> what would i need to configure to make this work ?
> how does the config file needs to look like ?
> is there a documentation available on how to make windows run unmodified under xen ?
>
> any hints welcome !
>
> Thanks.
>
>
> !
>
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
>
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
18 years, 1 month