[Fedora-xen] configuration for windows image with VT machine

Matthias Bayer matbayer.web at web.de
Wed Apr 5 16:37:11 UTC 2006


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 at web.de]
> >Sent: 2006幎4月5日 23:34
> >To: fedora-xen at 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 at redhat.com
> >[mailto:fedora-xen-bounces at redhat.com] On Behalf Of Matthias Bayer
> >> Sent: 2006幎4月4日 19:16
> >> To: fedora-xen at 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





More information about the Fedora-xen mailing list