
|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Dear Christian, >Did you verify (and modify if applicable) the PCI resources as per
Weidong's comment here?
http://permalink.gmane.org/gmane.comp.emulators.xen.devel/70749
Thanks for the tip! I missed this one. I believe it should solve the "not enough free resources" problem for my graphics card. Weidong and me are using different nvidia graphics card. Hence I should modify the dsdt.asl MMIO BARs entries in xen-vBAR-pBAR.patch to reflect my graphics card.
>On another topic, please don't answer to other threads to get attention
and keep threading working by replying to previous versions of your own
post or its replies (and and least for me, don't reply to my personal
mail address but just to the mailing-list) Sorry! No problem.
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Hi All, Weidong's graphic card is: 01:00.0 VGA
compatible controller: nVidia Corporation Unknown device 05ff (rev a1) (prog-if
00 [VGA controller]) Subsystem:
nVidia Corporation Unknown device
0661 Flags: bus master, fast
devsel, latency 0, IRQ 16 Memory
at c2000000 (32-bit, non-prefetchable)
[size=16M] Memory at e0000000
(64-bit, prefetchable) [size=256M]
Memory at c0000000 (64-bit, non-prefetchable)
[size=32M] I/O ports at 9c00
[size=128] Expansion ROM at
bff00000 [disabled] [size=512K]
Capabilities: [60] Power Management version
3 Capabilities: [68] Message
Signalled Interrupts: 64bit+ Queue=0/0
Enable+ Capabilities: [78] Express
Endpoint IRQ 0So his xen-vBAR-pBAR.patch is: <CODE> diff -r 96b634bf65c3 tools/firmware/hvmloader/acpi/dsdt.asl --- a/tools/firmware/hvmloader/acpi/dsdt.asl Mon Aug 31 13:14:47 2009 +0800
+++ b/tools/firmware/hvmloader/acpi/dsdt.asl Mon Aug 31 16:03:27 2009 +0800 @@ -175,6 +175,34 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, 0x000BFFFF, 0x00000000,
0x00020000) + + /* reserve MMIO BARs of gfx for 1:1 mapping */ + DWordMemory( + ResourceProducer, PosDecode, MinFixed, MaxFixed,
+ Cacheable, ReadWrite, + 0x00000000, + 0xE0000000, + 0xEFFFFFFF, + 0x00000000, + 0x10000000)
+ + DWordMemory( + ResourceProducer, PosDecode, MinFixed, MaxFixed, + NonCacheable, ReadWrite, + 0x00000000, + 0xC0000000,
+ 0xC1FFFFFF, + 0x00000000, + 0x02000000) + + DWordMemory( + ResourceProducer, PosDecode, MinFixed, MaxFixed,
+ NonCacheable, ReadWrite, + 0x00000000, + 0xC2000000, + 0xC2FFFFFF, + 0x00000000, + 0x01000000)
+ 0x01000000) DWordMemory( ResourceProducer, PosDecode, MinFixed, MaxFixed, </CODE> My own nvidia pci express x16 geforce 8400 GS graphics card is:
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) (prog-if 00 [VGA controller]) Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M] Memory at d0000000 (64-bit, non-prefetchable) [size=32M] I/O ports at d000 [size=128] [virtual] Expansion ROM at d3000000 [disabled] [size=128K]
Capabilities: <access denied> Kernel driver in use: nvidia Kernel modules: nvidia So should I modify Weidong's xen-vBAR-pBAR.patch like the following code section to reflect my own graphics card?
<CODE> diff -r 96b634bf65c3 tools/firmware/hvmloader/acpi/dsdt.asl
--- a/tools/firmware/hvmloader/acpi/dsdt.asl Mon Aug 31 13:14:47 2009 +0800
+++ b/tools/firmware/hvmloader/acpi/dsdt.asl Mon Aug 31 16:03:27 2009 +0800
@@ -175,6 +175,34 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2,
0x000BFFFF,
0x00000000,
0x00020000)
+
+ /* reserve MMIO BARs of gfx for 1:1 mapping */
+ DWordMemory(
+ ResourceProducer, PosDecode, MinFixed, MaxFixed,
+ Cacheable, ReadWrite,
+ 0x00000000,
+ 0xC0000000,
+ 0xCFFFFFFF,
+ 0x00000000,
+ 0x10000000)
+
+ DWordMemory(
+ ResourceProducer, PosDecode, MinFixed, MaxFixed,
+ NonCacheable, ReadWrite,
+ 0x00000000,
+ 0xD0000000,
+ 0xD1FFFFFF,
+ 0x00000000,
+ 0x02000000)
+
+ DWordMemory(
+ ResourceProducer, PosDecode, MinFixed, MaxFixed,
+ NonCacheable, ReadWrite,
+ 0x00000000,
+ 0xD2000000,
+ 0xD2FFFFFF,
+ 0x00000000,
+ 0x01000000)
+ 0x01000000)
DWordMemory(
ResourceProducer, PosDecode, MinFixed, MaxFixed, </CODE> I am doing a direct substitution using pattern recognition. Please advise and correct me on my modifications above because I am not acquainted with the memory regions of graphics card.
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@...MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road
Republic of Singapore
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Hi All, I have solved the final problem. Thank you Christian Tramnitz for pointing me to the missing link. I have tested my own modifications to xen-vBAR-pBAR.patch and it works! I reproduce part of xen-vBAR-pBAR.patch here which I modified for my nVidia Geforce 8400 GS graphics card:
<CODE>
diff -r 96b634bf65c3 tools/firmware/hvmloader/acpi/dsdt.asl --- a/tools/firmware/hvmloader/acpi/dsdt.asl Mon Aug 31 13:14:47 2009 +0800 +++ b/tools/firmware/hvmloader/acpi/dsdt.asl Mon Aug 31 16:03:27 2009 +0800
@@ -175,6 +175,34 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, 0x000BFFFF, 0x00000000, 0x00020000) + + /* reserve MMIO BARs of gfx for 1:1 mapping */
+ DWordMemory( + ResourceProducer, PosDecode, MinFixed, MaxFixed, + Cacheable, ReadWrite, + 0x00000000, + 0xC0000000,
+ 0xCFFFFFFF, + 0x00000000, + 0x10000000) + + DWordMemory( + ResourceProducer, PosDecode, MinFixed, MaxFixed,
+ NonCacheable, ReadWrite, + 0x00000000, + 0xD0000000, + 0xD1FFFFFF, + 0x00000000, + 0x02000000)
+ + DWordMemory( + ResourceProducer, PosDecode, MinFixed, MaxFixed, + NonCacheable, ReadWrite, + 0x00000000, + 0xD2000000,
+ 0xD2FFFFFF, + 0x00000000, + 0x01000000) DWordMemory( ResourceProducer, PosDecode, MinFixed, MaxFixed,
</CODE>
Once again, thanks to Xen developers, engineers at Intel and everybody who have helped me along the way. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.comEmail: space.time.universe@...
MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
RE: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Dear All, Here is my latest video presentation on VGA passthrough. Please check out my blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the Youtube link at http://www.youtube.com/watch?v=1ia3IwG6tp4
The "not enough free resources" problem for nVidia Geforce 8400 GS PCI Express x16 graphics card in earlier presentation videos:
http://www.youtube.com/watch?v=HNEiSI...
http://www.youtube.com/watch?v=_hOT_9...
was
fixed. Device manager in Windows XP HVM domU no longer shows an
exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
device is working properly and the resources tab shows the available
memory ranges.
Full VGA passthrough to Windows XP HVM guest
operating system using Xen virtualization has been realized. I am now
able to run 3-D video benchmarks on the passed through nVidia GeForce
8400 GS graphics card.
All this is possible using Xen 3.5
hypervisor with Intel supplied VGA passthrough patches. Instead of
using pvops dom0 kernel 2.6.31-rc6 which causes Win XP domU to run
slowly, I am now using pvops dom0 kernel 2.6.30-rc3.
Many thanks
to Xen developers, Han Weidong and other engineers at Intel, and also
Christian Tramnitz for pointing me to the missing puzzle which helped me
in resolving the final problem.
I am now able to bootstrap
Windows XP HVM domU from within Linux using Xen virtualization and play
3D games in the Windows virtual machine. In the past, Windows virtual
machines can only see a 2D emulated/virtual display adapter. The
virtualized Windows operating systems were more palatable to server
administrators than gamers. With VGA pass through and direct hardware
access by Windows virtual machines to the graphics hardware, gamers will now be able to play 3D games inside Windows virtual machines.
PS:
I am still unable to passthrough USB devices, e.g. keyboard and mouse,
to the Windows XP HVM domU. This video is captured and rendered using
the open source kdenlive non-linear video editor. The video is taken
using Canon HV20. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.comEmail: space.time.universe@...MSN: teoenming@...
Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
this HVM slowness?
Any tips how it could be debugged?
-- Pasi
> Many thanks to Xen developers, Han Weidong and other engineers at Intel, and
> also Christian Tramnitz for pointing me to the missing puzzle which helped
> me in resolving the final problem.
>
> I am now able to bootstrap Windows XP HVM domU from within Linux using Xen
> virtualization and play 3D games in the Windows virtual machine. In the
> past, Windows virtual machines can only see a 2D emulated/virtual display
> adapter. The virtualized Windows operating systems were more palatable to
> server administrators than gamers. With VGA pass through and direct hardware
> access by Windows virtual machines to the graphics hardware, gamers will now
> be able to play 3D games inside Windows virtual machines.
>
> PS: I am still unable to passthrough USB devices, e.g. keyboard and mouse,
> to the Windows XP HVM domU. This video is captured and rendered using the
> open source kdenlive non-linear video editor. The video is taken using Canon
> HV20.
>
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
>
>> Dear All,
>>
>> Here is my latest video presentation on VGA passthrough. Please check out my
>> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the Youtube
>> link at http://www.youtube.com/watch?v=1ia3IwG6tp4>>
>> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
>> Express x16 graphics card in earlier presentation videos:
>>
>> http://www.youtube.com/watch?v=HNEiSI...< http://www.youtube.com/watch?v=HNEiSInrav0>
>>
>> http://www.youtube.com/watch?v=_hOT_9...< http://www.youtube.com/watch?v=_hOT_9LIG5w>
>>
>> was fixed. Device manager in Windows XP HVM domU no longer shows an
>> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
>> device is working properly and the resources tab shows the available memory
>> ranges.
>>
>> Full VGA passthrough to Windows XP HVM guest operating system using Xen
>> virtualization has been realized. I am now able to run 3-D video benchmarks
>> on the passed through nVidia GeForce 8400 GS graphics card.
>>
>> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
>> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6 which
>> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
>> 2.6.30-rc3.
>>
>>
> Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> this HVM slowness?
>
I can't think of anything, unless the new swiotlb code is causing problems.
> Any tips how it could be debugged?
>
It would help to isolate where the slowness is coming from. How much
slowdown are we talking about? Is the HVM domain doing lots of IO at
the time? Are there any processes using lots of time in dom0? What's
the interrupt rate like?
J
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Hi, I will try to stop unnecessary services on Dom 0 and do a disk I/O benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore time). That will be more conclusive. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.comEmail: space.time.universe@...
MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <jeremy@...> wrote:
On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
>
>> Dear All,
>>
>> Here is my latest video presentation on VGA passthrough. Please check out my
>> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the Youtube
>> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
>>
>> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
>> Express x16 graphics card in earlier presentation videos:
>>
>> http://www.youtube.com/watch?v=HNEiSI...< http://www.youtube.com/watch?v=HNEiSInrav0>
>>
>> http://www.youtube.com/watch?v=_hOT_9...< http://www.youtube.com/watch?v=_hOT_9LIG5w>
>>
>> was fixed. Device manager in Windows XP HVM domU no longer shows an
>> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
>> device is working properly and the resources tab shows the available memory
>> ranges.
>>
>> Full VGA passthrough to Windows XP HVM guest operating system using Xen
>> virtualization has been realized. I am now able to run 3-D video benchmarks
>> on the passed through nVidia GeForce 8400 GS graphics card.
>>
>> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
>> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6 which
>> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
>> 2.6.30-rc3.
>>
>>
> Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> this HVM slowness?
>
I can't think of anything, unless the new swiotlb code is causing problems.
> Any tips how it could be debugged?
>
It would help to isolate where the slowness is coming from. How much
slowdown are we talking about? Is the HVM domain doing lots of IO at
the time? Are there any processes using lots of time in dom0? What's
the interrupt rate like?
J
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Hi, Please refer to the disk I/O benchmark results here: http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html
Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than 2.6.31-rc6. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic
(2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.comEmail: space.time.universe@...
MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
Hi,
I will try to stop unnecessary services on Dom 0 and do a disk I/O benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore time). That will be more conclusive.
On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <jeremy@...> wrote:
On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
>
>> Dear All,
>>
>> Here is my latest video presentation on VGA passthrough. Please check out my
>> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the Youtube
>> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
>>
>> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
>> Express x16 graphics card in earlier presentation videos:
>>
>> http://www.youtube.com/watch?v=HNEiSI...< http://www.youtube.com/watch?v=HNEiSInrav0>
>>
>> http://www.youtube.com/watch?v=_hOT_9...< http://www.youtube.com/watch?v=_hOT_9LIG5w>
>>
>> was fixed. Device manager in Windows XP HVM domU no longer shows an
>> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
>> device is working properly and the resources tab shows the available memory
>> ranges.
>>
>> Full VGA passthrough to Windows XP HVM guest operating system using Xen
>> virtualization has been realized. I am now able to run 3-D video benchmarks
>> on the passed through nVidia GeForce 8400 GS graphics card.
>>
>> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
>> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6 which
>> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
>> 2.6.30-rc3.
>>
>>
> Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> this HVM slowness?
>
I can't think of anything, unless the new swiotlb code is causing problems.
> Any tips how it could be debugged?
>
It would help to isolate where the slowness is coming from. How much
slowdown are we talking about? Is the HVM domain doing lots of IO at
the time? Are there any processes using lots of time in dom0? What's
the interrupt rate like?
J
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> Hi,
>
> Please refer to the disk I/O benchmark results here:
>
> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html>
> Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> 2.6.31-rc6.
>
Btw you might also want to test with the latest rebase/master tree; it's
at Linux 2.6.31 final now.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > Hi,
> >
> > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore
> > time). That will be more conclusive.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge < jeremy@...>wrote:
> >
> >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming)
> >> wrote:
> >> >
> >> >> Dear All,
> >> >>
> >> >> Here is my latest video presentation on VGA passthrough. Please check
> >> out my
> >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the
> >> Youtube
> >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4> >> >>
> >> >> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
> >> >> Express x16 graphics card in earlier presentation videos:
> >> >>
> >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >> >>
> >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >> >>
> >> >> was fixed. Device manager in Windows XP HVM domU no longer shows an
> >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
> >> >> device is working properly and the resources tab shows the available
> >> memory
> >> >> ranges.
> >> >>
> >> >> Full VGA passthrough to Windows XP HVM guest operating system using Xen
> >> >> virtualization has been realized. I am now able to run 3-D video
> >> benchmarks
> >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >> >>
> >> >> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
> >> >> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6
> >> which
> >> >> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
> >> >> 2.6.30-rc3.
> >> >>
> >> >>
> >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> >> > this HVM slowness?
> >> >
> >>
> >> I can't think of anything, unless the new swiotlb code is causing
> >> problems.
> >>
> >> > Any tips how it could be debugged?
> >> >
> >>
> >> It would help to isolate where the slowness is coming from. How much
> >> slowdown are we talking about? Is the HVM domain doing lots of IO at
> >> the time? Are there any processes using lots of time in dom0? What's
> >> the interrupt rate like?
> >>
> >> J
> >>
> >
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Hi, I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree. But it gave me a USB host controller died error. Please refer to the error output here: http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@...MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road
Republic of Singapore On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen <pasik@...> wrote:
Btw you might also want to test with the latest rebase/master tree; it's
at Linux 2.6.31 final now.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > Hi,
> >
> > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore
> > time). That will be more conclusive.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge < jeremy@...>wrote:
> >
> >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming)
> >> wrote:
> >> >
> >> >> Dear All,
> >> >>
> >> >> Here is my latest video presentation on VGA passthrough. Please check
> >> out my
> >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the
> >> Youtube
> >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >> >>
> >> >> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
> >> >> Express x16 graphics card in earlier presentation videos:
> >> >>
> >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >> >>
> >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >> >>
> >> >> was fixed. Device manager in Windows XP HVM domU no longer shows an
> >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
> >> >> device is working properly and the resources tab shows the available
> >> memory
> >> >> ranges.
> >> >>
> >> >> Full VGA passthrough to Windows XP HVM guest operating system using Xen
> >> >> virtualization has been realized. I am now able to run 3-D video
> >> benchmarks
> >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >> >>
> >> >> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
> >> >> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6
> >> which
> >> >> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
> >> >> 2.6.30-rc3.
> >> >>
> >> >>
> >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> >> > this HVM slowness?
> >> >
> >>
> >> I can't think of anything, unless the new swiotlb code is causing
> >> problems.
> >>
> >> > Any tips how it could be debugged?
> >> >
> >>
> >> It would help to isolate where the slowness is coming from. How much
> >> slowdown are we talking about? Is the HVM domain doing lots of IO at
> >> the time? Are there any processes using lots of time in dom0? What's
> >> the interrupt rate like?
> >>
> >> J
> >>
> >
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
After disabling the USB 1.0 driver, but leaving the USB 2.0 driver compiled statically into the kernel, I get an error with the USB 2.0 driver. This means I cannot use either of the USB 1.0 and USB 2.0 drivers. Please refer to my blog post here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@...MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road
Republic of Singapore On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
Hi,
I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
But it gave me a USB host controller died error.
Please refer to the error output here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.htmlOn Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen <pasik@...> wrote:
Btw you might also want to test with the latest rebase/master tree; it's
at Linux 2.6.31 final now.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > Hi,
> >
> > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore
> > time). That will be more conclusive.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge < jeremy@...>wrote:
> >
> >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming)
> >> wrote:
> >> >
> >> >> Dear All,
> >> >>
> >> >> Here is my latest video presentation on VGA passthrough. Please check
> >> out my
> >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the
> >> Youtube
> >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >> >>
> >> >> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
> >> >> Express x16 graphics card in earlier presentation videos:
> >> >>
> >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >> >>
> >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >> >>
> >> >> was fixed. Device manager in Windows XP HVM domU no longer shows an
> >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
> >> >> device is working properly and the resources tab shows the available
> >> memory
> >> >> ranges.
> >> >>
> >> >> Full VGA passthrough to Windows XP HVM guest operating system using Xen
> >> >> virtualization has been realized. I am now able to run 3-D video
> >> benchmarks
> >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >> >>
> >> >> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
> >> >> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6
> >> which
> >> >> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
> >> >> 2.6.30-rc3.
> >> >>
> >> >>
> >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> >> > this HVM slowness?
> >> >
> >>
> >> I can't think of anything, unless the new swiotlb code is causing
> >> problems.
> >>
> >> > Any tips how it could be debugged?
> >> >
> >>
> >> It would help to isolate where the slowness is coming from. How much
> >> slowdown are we talking about? Is the HVM domain doing lots of IO at
> >> the time? Are there any processes using lots of time in dom0? What's
> >> the interrupt rate like?
> >>
> >> J
> >>
> >
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB 3.0 driver but the kernel stops loading. Then I totally disabled all USB support by passing the "nousb" parameter to the kernel but it still stops loading.
pvops dom 0 2.6.31 final can't work. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.comEmail: space.time.universe@...MSN: teoenming@...
Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
After disabling the USB 1.0 driver, but leaving the USB 2.0 driver compiled statically into the kernel, I get an error with the USB 2.0 driver. This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
Please refer to my blog post here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.htmlOn Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
Hi,
I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
But it gave me a USB host controller died error.
Please refer to the error output here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.htmlOn Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen <pasik@...> wrote:
Btw you might also want to test with the latest rebase/master tree; it's
at Linux 2.6.31 final now.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > Hi,
> >
> > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore
> > time). That will be more conclusive.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge < jeremy@...>wrote:
> >
> >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming)
> >> wrote:
> >> >
> >> >> Dear All,
> >> >>
> >> >> Here is my latest video presentation on VGA passthrough. Please check
> >> out my
> >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the
> >> Youtube
> >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >> >>
> >> >> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
> >> >> Express x16 graphics card in earlier presentation videos:
> >> >>
> >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >> >>
> >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >> >>
> >> >> was fixed. Device manager in Windows XP HVM domU no longer shows an
> >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
> >> >> device is working properly and the resources tab shows the available
> >> memory
> >> >> ranges.
> >> >>
> >> >> Full VGA passthrough to Windows XP HVM guest operating system using Xen
> >> >> virtualization has been realized. I am now able to run 3-D video
> >> benchmarks
> >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >> >>
> >> >> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
> >> >> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6
> >> which
> >> >> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
> >> >> 2.6.30-rc3.
> >> >>
> >> >>
> >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> >> > this HVM slowness?
> >> >
> >>
> >> I can't think of anything, unless the new swiotlb code is causing
> >> problems.
> >>
> >> > Any tips how it could be debugged?
> >> >
> >>
> >> It would help to isolate where the slowness is coming from. How much
> >> slowdown are we talking about? Is the HVM domain doing lots of IO at
> >> the time? Are there any processes using lots of time in dom0? What's
> >> the interrupt rate like?
> >>
> >> J
> >>
> >
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I still can't get pvops dom 0 kernel 2.6.31 final to boot up completely. Really puzzled. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.comEmail: space.time.universe@...
MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB 3.0 driver but the kernel stops loading.
Then I totally disabled all USB support by passing the "nousb" parameter to the kernel but it still stops loading.
pvops dom 0 2.6.31 final can't work.On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
After disabling the USB 1.0 driver, but leaving the USB 2.0 driver compiled statically into the kernel, I get an error with the USB 2.0 driver. This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
Please refer to my blog post here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.htmlOn Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
Hi,
I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
But it gave me a USB host controller died error.
Please refer to the error output here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.htmlOn Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen <pasik@...> wrote:
Btw you might also want to test with the latest rebase/master tree; it's
at Linux 2.6.31 final now.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > Hi,
> >
> > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore
> > time). That will be more conclusive.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge < jeremy@...>wrote:
> >
> >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming)
> >> wrote:
> >> >
> >> >> Dear All,
> >> >>
> >> >> Here is my latest video presentation on VGA passthrough. Please check
> >> out my
> >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the
> >> Youtube
> >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >> >>
> >> >> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
> >> >> Express x16 graphics card in earlier presentation videos:
> >> >>
> >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >> >>
> >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >> >>
> >> >> was fixed. Device manager in Windows XP HVM domU no longer shows an
> >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
> >> >> device is working properly and the resources tab shows the available
> >> memory
> >> >> ranges.
> >> >>
> >> >> Full VGA passthrough to Windows XP HVM guest operating system using Xen
> >> >> virtualization has been realized. I am now able to run 3-D video
> >> benchmarks
> >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >> >>
> >> >> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
> >> >> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6
> >> which
> >> >> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
> >> >> 2.6.30-rc3.
> >> >>
> >> >>
> >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> >> > this HVM slowness?
> >> >
> >>
> >> I can't think of anything, unless the new swiotlb code is causing
> >> problems.
> >>
> >> > Any tips how it could be debugged?
> >> >
> >>
> >> It would help to isolate where the slowness is coming from. How much
> >> slowdown are we talking about? Is the HVM domain doing lots of IO at
> >> the time? Are there any processes using lots of time in dom0? What's
> >> the interrupt rate like?
> >>
> >> J
> >>
> >
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
I have disabled all USB support in the kernel but I still couldn't get pvops dom0-patched kernel 2.6.31 final to
complete loading. All I get is a blinking cursor at the top left hand
corner of the monitor.
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@...MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road
Republic of Singapore On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I still can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
Really puzzled.
On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB 3.0 driver but the kernel stops loading.
Then I totally disabled all USB support by passing the "nousb" parameter to the kernel but it still stops loading.
pvops dom 0 2.6.31 final can't work.On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
After disabling the USB 1.0 driver, but leaving the USB 2.0 driver compiled statically into the kernel, I get an error with the USB 2.0 driver. This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
Please refer to my blog post here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.htmlOn Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
Hi,
I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
But it gave me a USB host controller died error.
Please refer to the error output here:
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.htmlOn Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen <pasik@...> wrote:
Btw you might also want to test with the latest rebase/master tree; it's
at Linux 2.6.31 final now.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > Hi,
> >
> > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Singapore
> > time). That will be more conclusive.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge < jeremy@...>wrote:
> >
> >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang Enming)
> >> wrote:
> >> >
> >> >> Dear All,
> >> >>
> >> >> Here is my latest video presentation on VGA passthrough. Please check
> >> out my
> >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the
> >> Youtube
> >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >> >>
> >> >> The "not enough free resources" problem for nVidia Geforce 8400 GS PCI
> >> >> Express x16 graphics card in earlier presentation videos:
> >> >>
> >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >> >>
> >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >> >>
> >> >> was fixed. Device manager in Windows XP HVM domU no longer shows an
> >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics card. The
> >> >> device is working properly and the resources tab shows the available
> >> memory
> >> >> ranges.
> >> >>
> >> >> Full VGA passthrough to Windows XP HVM guest operating system using Xen
> >> >> virtualization has been realized. I am now able to run 3-D video
> >> benchmarks
> >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >> >>
> >> >> All this is possible using Xen 3.5 hypervisor with Intel supplied VGA
> >> >> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6
> >> which
> >> >> causes Win XP domU to run slowly, I am now using pvops dom0 kernel
> >> >> 2.6.30-rc3.
> >> >>
> >> >>
> >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could cause
> >> > this HVM slowness?
> >> >
> >>
> >> I can't think of anything, unless the new swiotlb code is causing
> >> problems.
> >>
> >> > Any tips how it could be debugged?
> >> >
> >>
> >> It would help to isolate where the slowness is coming from. How much
> >> slowdown are we talking about? Is the HVM domain doing lots of IO at
> >> the time? Are there any processes using lots of time in dom0? What's
> >> the interrupt rate like?
> >>
> >> J
> >>
> >
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
On Sun, Sep 13, 2009 at 08:31:26AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> I have disabled all USB support in the kernel but I still couldn't get pvops
> dom0-patched kernel 2.6.31 final to complete loading. All I get is a
> blinking cursor at the top left hand corner of the monitor.
>
Did you try "nomodeset" parameter for the dom0 kernel?
Have you tried setting up a serial console and capturing the kernel boot
messages?
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I still
> > can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
> >
> > Really puzzled.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <
> > space.time.universe@...> wrote:
> >
> >> I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB
> >> 3.0 driver but the kernel stops loading.
> >>
> >> Then I totally disabled all USB support by passing the "nousb" parameter
> >> to the kernel but it still stops loading.
> >>
> >> pvops dom 0 2.6.31 final can't work.
> >>
> >> --
> >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >> Engineering)
> >> Alma Maters:
> >> (1) Singapore Polytechnic
> >> (2) National University of Singapore
> >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> >> Email: space.time.universe@...
> >> MSN: teoenming@...
> >> Mobile Phone: +65-9648-9798
> >> Street: Bedok Reservoir Road
> >> Republic of Singapore
> >>
> >> On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <
> >> space.time.universe@...> wrote:
> >>
> >>> After disabling the USB 1.0 driver, but leaving the USB 2.0 driver
> >>> compiled statically into the kernel, I get an error with the USB 2.0 driver.
> >>> This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
> >>>
> >>> Please refer to my blog post here:
> >>>
> >>>
> >>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html> >>>
> >>> --
> >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>> Engineering)
> >>> Alma Maters:
> >>> (1) Singapore Polytechnic
> >>> (2) National University of Singapore
> >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> >>> Email: space.time.universe@...
> >>> MSN: teoenming@...
> >>> Mobile Phone: +65-9648-9798
> >>> Street: Bedok Reservoir Road
> >>> Republic of Singapore
> >>>
> >>> On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <
> >>> space.time.universe@...> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
> >>>>
> >>>> But it gave me a USB host controller died error.
> >>>>
> >>>> Please refer to the error output here:
> >>>>
> >>>>
> >>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html> >>>>
> >>>> --
> >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>>> Engineering)
> >>>> Alma Maters:
> >>>> (1) Singapore Polytechnic
> >>>> (2) National University of Singapore
> >>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> >>>> Email: space.time.universe@...
> >>>> MSN: teoenming@...
> >>>> Mobile Phone: +65-9648-9798
> >>>> Street: Bedok Reservoir Road
> >>>> Republic of Singapore
> >>>>
> >>>> On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen < pasik@...> wrote:
> >>>>
> >>>>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming) wrote:
> >>>>> > Hi,
> >>>>> >
> >>>>> > Please refer to the disk I/O benchmark results here:
> >>>>> >
> >>>>> >
> >>>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html> >>>>> >
> >>>>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> >>>>> > 2.6.31-rc6.
> >>>>> >
> >>>>>
> >>>>> Btw you might also want to test with the latest rebase/master tree;
> >>>>> it's
> >>>>> at Linux 2.6.31 final now.
> >>>>>
> >>>>> -- Pasi
> >>>>>
> >>>>> > --
> >>>>> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > Engineering)
> >>>>> > Alma Maters:
> >>>>> > (1) Singapore Polytechnic
> >>>>> > (2) National University of Singapore
> >>>>> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> >>>>> > Email: space.time.universe@...
> >>>>> > MSN: teoenming@...
> >>>>> > Mobile Phone: +65-9648-9798
> >>>>> > Street: Bedok Reservoir Road
> >>>>> > Republic of Singapore
> >>>>> >
> >>>>> > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> >>>>> > space.time.universe@...> wrote:
> >>>>> >
> >>>>> > > Hi,
> >>>>> > >
> >>>>> > > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> >>>>> > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight
> >>>>> (Singapore
> >>>>> > > time). That will be more conclusive.
> >>>>> > >
> >>>>> > > --
> >>>>> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > > Engineering)
> >>>>> > > Alma Maters:
> >>>>> > > (1) Singapore Polytechnic
> >>>>> > > (2) National University of Singapore
> >>>>> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> >>>>> > > Email: space.time.universe@...
> >>>>> > > MSN: teoenming@...
> >>>>> > > Mobile Phone: +65-9648-9798
> >>>>> > > Street: Bedok Reservoir Road
> >>>>> > > Republic of Singapore
> >>>>> > >
> >>>>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <
> >>>>> jeremy@...>wrote:
> >>>>> > >
> >>>>> > >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >>>>> > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming)
> >>>>> > >> wrote:
> >>>>> > >> >
> >>>>> > >> >> Dear All,
> >>>>> > >> >>
> >>>>> > >> >> Here is my latest video presentation on VGA passthrough. Please
> >>>>> check
> >>>>> > >> out my
> >>>>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or
> >>>>> the
> >>>>> > >> Youtube
> >>>>> > >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4> >>>>> > >> >>
> >>>>> > >> >> The "not enough free resources" problem for nVidia Geforce 8400
> >>>>> GS PCI
> >>>>> > >> >> Express x16 graphics card in earlier presentation videos:
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >>>>> > >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >>>>> > >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >>>>> > >> >>
> >>>>> > >> >> was fixed. Device manager in Windows XP HVM domU no longer
> >>>>> shows an
> >>>>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics
> >>>>> card. The
> >>>>> > >> >> device is working properly and the resources tab shows the
> >>>>> available
> >>>>> > >> memory
> >>>>> > >> >> ranges.
> >>>>> > >> >>
> >>>>> > >> >> Full VGA passthrough to Windows XP HVM guest operating system
> >>>>> using Xen
> >>>>> > >> >> virtualization has been realized. I am now able to run 3-D
> >>>>> video
> >>>>> > >> benchmarks
> >>>>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >>>>> > >> >>
> >>>>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel
> >>>>> supplied VGA
> >>>>> > >> >> passthrough patches. Instead of using pvops dom0 kernel
> >>>>> 2.6.31-rc6
> >>>>> > >> which
> >>>>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0
> >>>>> kernel
> >>>>> > >> >> 2.6.30-rc3.
> >>>>> > >> >>
> >>>>> > >> >>
> >>>>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could
> >>>>> cause
> >>>>> > >> > this HVM slowness?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> I can't think of anything, unless the new swiotlb code is causing
> >>>>> > >> problems.
> >>>>> > >>
> >>>>> > >> > Any tips how it could be debugged?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> It would help to isolate where the slowness is coming from. How
> >>>>> much
> >>>>> > >> slowdown are we talking about? Is the HVM domain doing lots of IO
> >>>>> at
> >>>>> > >> the time? Are there any processes using lots of time in dom0?
> >>>>> What's
> >>>>> > >> the interrupt rate like?
> >>>>> > >>
> >>>>> > >> J
> >>>>> > >>
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Dear Pasi, Yes, I have tried the nomodeset kernel parameter without result. I couldn't get Jeremy's rebase/master branch (pvops dom 0 kernel
2.6.31) to work despite disabling all of USB support in the kernel. I
will troubleshoot this issue with the serial console enabled another
time. Meanwhile, I got Linus' mainline kernel 2.6.31 to work on
my system. So apparently the dom 0 patched kernel 2.6.31 has some
issues or I did not configure it properly.
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@...MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road
Republic of Singapore On Sun, Sep 13, 2009 at 5:12 PM, Pasi Kärkkäinen <pasik@...> wrote:
On Sun, Sep 13, 2009 at 08:31:26AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> I have disabled all USB support in the kernel but I still couldn't get pvops
> dom0-patched kernel 2.6.31 final to complete loading. All I get is a
> blinking cursor at the top left hand corner of the monitor.
>
Did you try "nomodeset" parameter for the dom0 kernel?
Have you tried setting up a serial console and capturing the kernel boot
messages?
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I still
> > can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
> >
> > Really puzzled.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <
> > space.time.universe@...> wrote:
> >
> >> I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB
> >> 3.0 driver but the kernel stops loading.
> >>
> >> Then I totally disabled all USB support by passing the "nousb" parameter
> >> to the kernel but it still stops loading.
> >>
> >> pvops dom 0 2.6.31 final can't work.
> >>
> >> --
> >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >> Engineering)
> >> Alma Maters:
> >> (1) Singapore Polytechnic
> >> (2) National University of Singapore
> >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >> Email: space.time.universe@...
> >> MSN: teoenming@...
> >> Mobile Phone: +65-9648-9798
> >> Street: Bedok Reservoir Road
> >> Republic of Singapore
> >>
> >> On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <
> >> space.time.universe@...> wrote:
> >>
> >>> After disabling the USB 1.0 driver, but leaving the USB 2.0 driver
> >>> compiled statically into the kernel, I get an error with the USB 2.0 driver.
> >>> This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
> >>>
> >>> Please refer to my blog post here:
> >>>
> >>>
> >>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html
> >>>
> >>> --
> >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>> Engineering)
> >>> Alma Maters:
> >>> (1) Singapore Polytechnic
> >>> (2) National University of Singapore
> >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>> Email: space.time.universe@...
> >>> MSN: teoenming@...
> >>> Mobile Phone: +65-9648-9798
> >>> Street: Bedok Reservoir Road
> >>> Republic of Singapore
> >>>
> >>> On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <
> >>> space.time.universe@...> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
> >>>>
> >>>> But it gave me a USB host controller died error.
> >>>>
> >>>> Please refer to the error output here:
> >>>>
> >>>>
> >>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html
> >>>>
> >>>> --
> >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>>> Engineering)
> >>>> Alma Maters:
> >>>> (1) Singapore Polytechnic
> >>>> (2) National University of Singapore
> >>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>> Email: space.time.universe@...
> >>>> MSN: teoenming@...
> >>>> Mobile Phone: +65-9648-9798
> >>>> Street: Bedok Reservoir Road
> >>>> Republic of Singapore
> >>>>
> >>>> On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen < pasik@...> wrote:
> >>>>
> >>>>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming) wrote:
> >>>>> > Hi,
> >>>>> >
> >>>>> > Please refer to the disk I/O benchmark results here:
> >>>>> >
> >>>>> >
> >>>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html
> >>>>> >
> >>>>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> >>>>> > 2.6.31-rc6.
> >>>>> >
> >>>>>
> >>>>> Btw you might also want to test with the latest rebase/master tree;
> >>>>> it's
> >>>>> at Linux 2.6.31 final now.
> >>>>>
> >>>>> -- Pasi
> >>>>>
> >>>>> > --
> >>>>> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > Engineering)
> >>>>> > Alma Maters:
> >>>>> > (1) Singapore Polytechnic
> >>>>> > (2) National University of Singapore
> >>>>> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>>> > Email: space.time.universe@...
> >>>>> > MSN: teoenming@...
> >>>>> > Mobile Phone: +65-9648-9798
> >>>>> > Street: Bedok Reservoir Road
> >>>>> > Republic of Singapore
> >>>>> >
> >>>>> > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> >>>>> > space.time.universe@...> wrote:
> >>>>> >
> >>>>> > > Hi,
> >>>>> > >
> >>>>> > > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> >>>>> > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight
> >>>>> (Singapore
> >>>>> > > time). That will be more conclusive.
> >>>>> > >
> >>>>> > > --
> >>>>> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > > Engineering)
> >>>>> > > Alma Maters:
> >>>>> > > (1) Singapore Polytechnic
> >>>>> > > (2) National University of Singapore
> >>>>> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>>> > > Email: space.time.universe@...
> >>>>> > > MSN: teoenming@...
> >>>>> > > Mobile Phone: +65-9648-9798
> >>>>> > > Street: Bedok Reservoir Road
> >>>>> > > Republic of Singapore
> >>>>> > >
> >>>>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <
> >>>>> jeremy@...>wrote:
> >>>>> > >
> >>>>> > >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >>>>> > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming)
> >>>>> > >> wrote:
> >>>>> > >> >
> >>>>> > >> >> Dear All,
> >>>>> > >> >>
> >>>>> > >> >> Here is my latest video presentation on VGA passthrough. Please
> >>>>> check
> >>>>> > >> out my
> >>>>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or
> >>>>> the
> >>>>> > >> Youtube
> >>>>> > >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >>>>> > >> >>
> >>>>> > >> >> The "not enough free resources" problem for nVidia Geforce 8400
> >>>>> GS PCI
> >>>>> > >> >> Express x16 graphics card in earlier presentation videos:
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >>>>> > >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >>>>> > >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >>>>> > >> >>
> >>>>> > >> >> was fixed. Device manager in Windows XP HVM domU no longer
> >>>>> shows an
> >>>>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics
> >>>>> card. The
> >>>>> > >> >> device is working properly and the resources tab shows the
> >>>>> available
> >>>>> > >> memory
> >>>>> > >> >> ranges.
> >>>>> > >> >>
> >>>>> > >> >> Full VGA passthrough to Windows XP HVM guest operating system
> >>>>> using Xen
> >>>>> > >> >> virtualization has been realized. I am now able to run 3-D
> >>>>> video
> >>>>> > >> benchmarks
> >>>>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >>>>> > >> >>
> >>>>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel
> >>>>> supplied VGA
> >>>>> > >> >> passthrough patches. Instead of using pvops dom0 kernel
> >>>>> 2.6.31-rc6
> >>>>> > >> which
> >>>>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0
> >>>>> kernel
> >>>>> > >> >> 2.6.30-rc3.
> >>>>> > >> >>
> >>>>> > >> >>
> >>>>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could
> >>>>> cause
> >>>>> > >> > this HVM slowness?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> I can't think of anything, unless the new swiotlb code is causing
> >>>>> > >> problems.
> >>>>> > >>
> >>>>> > >> > Any tips how it could be debugged?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> It would help to isolate where the slowness is coming from. How
> >>>>> much
> >>>>> > >> slowdown are we talking about? Is the HVM domain doing lots of IO
> >>>>> at
> >>>>> > >> the time? Are there any processes using lots of time in dom0?
> >>>>> What's
> >>>>> > >> the interrupt rate like?
> >>>>> > >>
> >>>>> > >> J
> >>>>> > >>
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
USB Device Pass Through Succeeded How thick I must have been! In my earlier blog posts with VGA
passthrough succeeded, I said that I couldn't passthrough any USB
device at all. As a matter of fact, Timothy had corrected my
usbdevice directive in the guest config file in an earlier mailing list
post but I didn't take a careful look at the usbdevice directive at
all. The correct usbdevice directive is: usbdevice = "host:vendorid:productid" I had used usbdevice = [ 'host:vendorid:productid' ] which is completely erroneous. I need to omit the square brackets for USB device passthrough to work.
I
have now successfully passed through the USB optical mouse to the
Windows XP Home HVM domU and using on-screen keyboard as a substitute
for the physical USB keyboard. The reason I am doing this is because QEMU with Xen can only allow one USB device to be passed through at any one time. It was so obvious and I missed the obvious! Sorry Timothy!
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@...MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road
Republic of Singapore On Mon, Sep 14, 2009 at 2:22 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
Dear Pasi,
Yes, I have tried the nomodeset kernel parameter without result.
I couldn't get Jeremy's rebase/master branch (pvops dom 0 kernel
2.6.31) to work despite disabling all of USB support in the kernel. I
will troubleshoot this issue with the serial console enabled another
time.
Meanwhile, I got Linus' mainline kernel 2.6.31 to work on
my system. So apparently the dom 0 patched kernel 2.6.31 has some
issues or I did not configure it properly.
On Sun, Sep 13, 2009 at 5:12 PM, Pasi Kärkkäinen <pasik@...> wrote:
On Sun, Sep 13, 2009 at 08:31:26AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> I have disabled all USB support in the kernel but I still couldn't get pvops
> dom0-patched kernel 2.6.31 final to complete loading. All I get is a
> blinking cursor at the top left hand corner of the monitor.
>
Did you try "nomodeset" parameter for the dom0 kernel?
Have you tried setting up a serial console and capturing the kernel boot
messages?
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I still
> > can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
> >
> > Really puzzled.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <
> > space.time.universe@...> wrote:
> >
> >> I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB
> >> 3.0 driver but the kernel stops loading.
> >>
> >> Then I totally disabled all USB support by passing the "nousb" parameter
> >> to the kernel but it still stops loading.
> >>
> >> pvops dom 0 2.6.31 final can't work.
> >>
> >> --
> >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >> Engineering)
> >> Alma Maters:
> >> (1) Singapore Polytechnic
> >> (2) National University of Singapore
> >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >> Email: space.time.universe@...
> >> MSN: teoenming@...
> >> Mobile Phone: +65-9648-9798
> >> Street: Bedok Reservoir Road
> >> Republic of Singapore
> >>
> >> On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <
> >> space.time.universe@...> wrote:
> >>
> >>> After disabling the USB 1.0 driver, but leaving the USB 2.0 driver
> >>> compiled statically into the kernel, I get an error with the USB 2.0 driver.
> >>> This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
> >>>
> >>> Please refer to my blog post here:
> >>>
> >>>
> >>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html
> >>>
> >>> --
> >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>> Engineering)
> >>> Alma Maters:
> >>> (1) Singapore Polytechnic
> >>> (2) National University of Singapore
> >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>> Email: space.time.universe@...
> >>> MSN: teoenming@...
> >>> Mobile Phone: +65-9648-9798
> >>> Street: Bedok Reservoir Road
> >>> Republic of Singapore
> >>>
> >>> On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <
> >>> space.time.universe@...> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
> >>>>
> >>>> But it gave me a USB host controller died error.
> >>>>
> >>>> Please refer to the error output here:
> >>>>
> >>>>
> >>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html
> >>>>
> >>>> --
> >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>>> Engineering)
> >>>> Alma Maters:
> >>>> (1) Singapore Polytechnic
> >>>> (2) National University of Singapore
> >>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>> Email: space.time.universe@...
> >>>> MSN: teoenming@...
> >>>> Mobile Phone: +65-9648-9798
> >>>> Street: Bedok Reservoir Road
> >>>> Republic of Singapore
> >>>>
> >>>> On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen < pasik@...> wrote:
> >>>>
> >>>>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming) wrote:
> >>>>> > Hi,
> >>>>> >
> >>>>> > Please refer to the disk I/O benchmark results here:
> >>>>> >
> >>>>> >
> >>>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html
> >>>>> >
> >>>>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> >>>>> > 2.6.31-rc6.
> >>>>> >
> >>>>>
> >>>>> Btw you might also want to test with the latest rebase/master tree;
> >>>>> it's
> >>>>> at Linux 2.6.31 final now.
> >>>>>
> >>>>> -- Pasi
> >>>>>
> >>>>> > --
> >>>>> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > Engineering)
> >>>>> > Alma Maters:
> >>>>> > (1) Singapore Polytechnic
> >>>>> > (2) National University of Singapore
> >>>>> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>>> > Email: space.time.universe@...
> >>>>> > MSN: teoenming@...
> >>>>> > Mobile Phone: +65-9648-9798
> >>>>> > Street: Bedok Reservoir Road
> >>>>> > Republic of Singapore
> >>>>> >
> >>>>> > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> >>>>> > space.time.universe@...> wrote:
> >>>>> >
> >>>>> > > Hi,
> >>>>> > >
> >>>>> > > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> >>>>> > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight
> >>>>> (Singapore
> >>>>> > > time). That will be more conclusive.
> >>>>> > >
> >>>>> > > --
> >>>>> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > > Engineering)
> >>>>> > > Alma Maters:
> >>>>> > > (1) Singapore Polytechnic
> >>>>> > > (2) National University of Singapore
> >>>>> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>>> > > Email: space.time.universe@...
> >>>>> > > MSN: teoenming@...
> >>>>> > > Mobile Phone: +65-9648-9798
> >>>>> > > Street: Bedok Reservoir Road
> >>>>> > > Republic of Singapore
> >>>>> > >
> >>>>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <
> >>>>> jeremy@...>wrote:
> >>>>> > >
> >>>>> > >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >>>>> > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming)
> >>>>> > >> wrote:
> >>>>> > >> >
> >>>>> > >> >> Dear All,
> >>>>> > >> >>
> >>>>> > >> >> Here is my latest video presentation on VGA passthrough. Please
> >>>>> check
> >>>>> > >> out my
> >>>>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or
> >>>>> the
> >>>>> > >> Youtube
> >>>>> > >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >>>>> > >> >>
> >>>>> > >> >> The "not enough free resources" problem for nVidia Geforce 8400
> >>>>> GS PCI
> >>>>> > >> >> Express x16 graphics card in earlier presentation videos:
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >>>>> > >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >>>>> > >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >>>>> > >> >>
> >>>>> > >> >> was fixed. Device manager in Windows XP HVM domU no longer
> >>>>> shows an
> >>>>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics
> >>>>> card. The
> >>>>> > >> >> device is working properly and the resources tab shows the
> >>>>> available
> >>>>> > >> memory
> >>>>> > >> >> ranges.
> >>>>> > >> >>
> >>>>> > >> >> Full VGA passthrough to Windows XP HVM guest operating system
> >>>>> using Xen
> >>>>> > >> >> virtualization has been realized. I am now able to run 3-D
> >>>>> video
> >>>>> > >> benchmarks
> >>>>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >>>>> > >> >>
> >>>>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel
> >>>>> supplied VGA
> >>>>> > >> >> passthrough patches. Instead of using pvops dom0 kernel
> >>>>> 2.6.31-rc6
> >>>>> > >> which
> >>>>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0
> >>>>> kernel
> >>>>> > >> >> 2.6.30-rc3.
> >>>>> > >> >>
> >>>>> > >> >>
> >>>>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could
> >>>>> cause
> >>>>> > >> > this HVM slowness?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> I can't think of anything, unless the new swiotlb code is causing
> >>>>> > >> problems.
> >>>>> > >>
> >>>>> > >> > Any tips how it could be debugged?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> It would help to isolate where the slowness is coming from. How
> >>>>> much
> >>>>> > >> slowdown are we talking about? Is the HVM domain doing lots of IO
> >>>>> at
> >>>>> > >> the time? Are there any processes using lots of time in dom0?
> >>>>> What's
> >>>>> > >> the interrupt rate like?
> >>>>> > >>
> >>>>> > >> J
> >>>>> > >>
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Hi All, Here is my working Windows XP Home Edition 32-bit HVM domU guest configuration file: <CODE> #import os, re #arch = os.uname()[4] #if re.search('64', arch): # arch_libdir = 'lib64'
#else: # arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 3072 # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
#shadow_memory = 8 name = "winxphome32" vif = [ 'bridge=eth0' ] acpi = 1 apic = 1 disk = [ 'phy:/dev/virtualmachines/winxphome32,hda,w', 'phy:/dev/sr0,hdc:cdrom,r' ]
#device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' #device_model = '/usr/' + 'lib' + '/xen/bin/qemu-dm' device_model = 'qemu-dm' #-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="cd" #sdl=0 #vnc=1 #vncconsole=1 #vncpasswd='' #serial='pty' #usbdevice='tablet'
# onboard #pci = [ '00:02.0' ] # nvidia pci = [ '01:00.0' ] vcpus=2 # No passthrough #gfx_passthru=0 # onboard #gfx_passthru=1 # nvidia gfx_passthru=2 # Can only pass through one usb device at a time
usb=1 # USB Unity Green Mouse #usbdevice = 'host:1bcf:0007' # USB A1pro Black Mouse usbdevice = 'host:15d9:0a41' # USB Keyboard #usbdevice = 'host:0603:00f2' # USB Sony IC Recorder
#usbdevice = 'host:054c:0271' # USB Lexmark X1270 Color Printer #usbdevice = 'host:043d:00ff' # USB Lexmark X1270 Photo Scanner #usbdevice = 'host:043d:007d' # USB Lexmark X1270 Generic Hub
#usbdevice = 'host:043d:007a' </CODE> -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.comEmail: space.time.universe@...MSN: teoenming@...
Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Mon, Sep 14, 2009 at 2:28 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
USB Device Pass Through Succeeded
How thick I must have been! In my earlier blog posts with VGA
passthrough succeeded, I said that I couldn't passthrough any USB
device at all.
As a matter of fact, Timothy had corrected my
usbdevice directive in the guest config file in an earlier mailing list
post but I didn't take a careful look at the usbdevice directive at
all. The correct usbdevice directive is:
usbdevice = "host:vendorid:productid"
I had used
usbdevice = [ 'host:vendorid:productid' ]
which is completely erroneous. I need to omit the square brackets for USB device passthrough to work.
I
have now successfully passed through the USB optical mouse to the
Windows XP Home HVM domU and using on-screen keyboard as a substitute
for the physical USB keyboard.
The reason I am doing this is because QEMU with Xen can only allow one USB device to be passed through at any one time.
It was so obvious and I missed the obvious!
Sorry Timothy!On Mon, Sep 14, 2009 at 2:22 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@...> wrote:
Dear Pasi,
Yes, I have tried the nomodeset kernel parameter without result.
I couldn't get Jeremy's rebase/master branch (pvops dom 0 kernel
2.6.31) to work despite disabling all of USB support in the kernel. I
will troubleshoot this issue with the serial console enabled another
time.
Meanwhile, I got Linus' mainline kernel 2.6.31 to work on
my system. So apparently the dom 0 patched kernel 2.6.31 has some
issues or I did not configure it properly.
On Sun, Sep 13, 2009 at 5:12 PM, Pasi Kärkkäinen <pasik@...> wrote:
On Sun, Sep 13, 2009 at 08:31:26AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> I have disabled all USB support in the kernel but I still couldn't get pvops
> dom0-patched kernel 2.6.31 final to complete loading. All I get is a
> blinking cursor at the top left hand corner of the monitor.
>
Did you try "nomodeset" parameter for the dom0 kernel?
Have you tried setting up a serial console and capturing the kernel boot
messages?
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <
> space.time.universe@...> wrote:
>
> > OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I still
> > can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
> >
> > Really puzzled.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > Engineering)
> > Alma Maters:
> > (1) Singapore Polytechnic
> > (2) National University of Singapore
> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > Email: space.time.universe@...
> > MSN: teoenming@...
> > Mobile Phone: +65-9648-9798
> > Street: Bedok Reservoir Road
> > Republic of Singapore
> >
> > On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <
> > space.time.universe@...> wrote:
> >
> >> I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB
> >> 3.0 driver but the kernel stops loading.
> >>
> >> Then I totally disabled all USB support by passing the "nousb" parameter
> >> to the kernel but it still stops loading.
> >>
> >> pvops dom 0 2.6.31 final can't work.
> >>
> >> --
> >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >> Engineering)
> >> Alma Maters:
> >> (1) Singapore Polytechnic
> >> (2) National University of Singapore
> >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >> Email: space.time.universe@...
> >> MSN: teoenming@...
> >> Mobile Phone: +65-9648-9798
> >> Street: Bedok Reservoir Road
> >> Republic of Singapore
> >>
> >> On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <
> >> space.time.universe@...> wrote:
> >>
> >>> After disabling the USB 1.0 driver, but leaving the USB 2.0 driver
> >>> compiled statically into the kernel, I get an error with the USB 2.0 driver.
> >>> This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
> >>>
> >>> Please refer to my blog post here:
> >>>
> >>>
> >>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html
> >>>
> >>> --
> >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>> Engineering)
> >>> Alma Maters:
> >>> (1) Singapore Polytechnic
> >>> (2) National University of Singapore
> >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>> Email: space.time.universe@...
> >>> MSN: teoenming@...
> >>> Mobile Phone: +65-9648-9798
> >>> Street: Bedok Reservoir Road
> >>> Republic of Singapore
> >>>
> >>> On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <
> >>> space.time.universe@...> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
> >>>>
> >>>> But it gave me a USB host controller died error.
> >>>>
> >>>> Please refer to the error output here:
> >>>>
> >>>>
> >>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html
> >>>>
> >>>> --
> >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> >>>> Engineering)
> >>>> Alma Maters:
> >>>> (1) Singapore Polytechnic
> >>>> (2) National University of Singapore
> >>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>> Email: space.time.universe@...
> >>>> MSN: teoenming@...
> >>>> Mobile Phone: +65-9648-9798
> >>>> Street: Bedok Reservoir Road
> >>>> Republic of Singapore
> >>>>
> >>>> On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen < pasik@...> wrote:
> >>>>
> >>>>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming) wrote:
> >>>>> > Hi,
> >>>>> >
> >>>>> > Please refer to the disk I/O benchmark results here:
> >>>>> >
> >>>>> >
> >>>>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html
> >>>>> >
> >>>>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> >>>>> > 2.6.31-rc6.
> >>>>> >
> >>>>>
> >>>>> Btw you might also want to test with the latest rebase/master tree;
> >>>>> it's
> >>>>> at Linux 2.6.31 final now.
> >>>>>
> >>>>> -- Pasi
> >>>>>
> >>>>> > --
> >>>>> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > Engineering)
> >>>>> > Alma Maters:
> >>>>> > (1) Singapore Polytechnic
> >>>>> > (2) National University of Singapore
> >>>>> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>>> > Email: space.time.universe@...
> >>>>> > MSN: teoenming@...
> >>>>> > Mobile Phone: +65-9648-9798
> >>>>> > Street: Bedok Reservoir Road
> >>>>> > Republic of Singapore
> >>>>> >
> >>>>> > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> >>>>> > space.time.universe@...> wrote:
> >>>>> >
> >>>>> > > Hi,
> >>>>> > >
> >>>>> > > I will try to stop unnecessary services on Dom 0 and do a disk I/O
> >>>>> > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight
> >>>>> (Singapore
> >>>>> > > time). That will be more conclusive.
> >>>>> > >
> >>>>> > > --
> >>>>> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> >>>>> BEng(Hons)(Mechanical
> >>>>> > > Engineering)
> >>>>> > > Alma Maters:
> >>>>> > > (1) Singapore Polytechnic
> >>>>> > > (2) National University of Singapore
> >>>>> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> >>>>> > > Email: space.time.universe@...
> >>>>> > > MSN: teoenming@...
> >>>>> > > Mobile Phone: +65-9648-9798
> >>>>> > > Street: Bedok Reservoir Road
> >>>>> > > Republic of Singapore
> >>>>> > >
> >>>>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <
> >>>>> jeremy@...>wrote:
> >>>>> > >
> >>>>> > >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> >>>>> > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang
> >>>>> Enming)
> >>>>> > >> wrote:
> >>>>> > >> >
> >>>>> > >> >> Dear All,
> >>>>> > >> >>
> >>>>> > >> >> Here is my latest video presentation on VGA passthrough. Please
> >>>>> check
> >>>>> > >> out my
> >>>>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or
> >>>>> the
> >>>>> > >> Youtube
> >>>>> > >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> >>>>> > >> >>
> >>>>> > >> >> The "not enough free resources" problem for nVidia Geforce 8400
> >>>>> GS PCI
> >>>>> > >> >> Express x16 graphics card in earlier presentation videos:
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=HNEiSI...<
> >>>>> > >> http://www.youtube.com/watch?v=HNEiSInrav0>
> >>>>> > >> >>
> >>>>> > >> >> http://www.youtube.com/watch?v=_hOT_9...<
> >>>>> > >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> >>>>> > >> >>
> >>>>> > >> >> was fixed. Device manager in Windows XP HVM domU no longer
> >>>>> shows an
> >>>>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics
> >>>>> card. The
> >>>>> > >> >> device is working properly and the resources tab shows the
> >>>>> available
> >>>>> > >> memory
> >>>>> > >> >> ranges.
> >>>>> > >> >>
> >>>>> > >> >> Full VGA passthrough to Windows XP HVM guest operating system
> >>>>> using Xen
> >>>>> > >> >> virtualization has been realized. I am now able to run 3-D
> >>>>> video
> >>>>> > >> benchmarks
> >>>>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> >>>>> > >> >>
> >>>>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel
> >>>>> supplied VGA
> >>>>> > >> >> passthrough patches. Instead of using pvops dom0 kernel
> >>>>> 2.6.31-rc6
> >>>>> > >> which
> >>>>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0
> >>>>> kernel
> >>>>> > >> >> 2.6.30-rc3.
> >>>>> > >> >>
> >>>>> > >> >>
> >>>>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could
> >>>>> cause
> >>>>> > >> > this HVM slowness?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> I can't think of anything, unless the new swiotlb code is causing
> >>>>> > >> problems.
> >>>>> > >>
> >>>>> > >> > Any tips how it could be debugged?
> >>>>> > >> >
> >>>>> > >>
> >>>>> > >> It would help to isolate where the slowness is coming from. How
> >>>>> much
> >>>>> > >> slowdown are we talking about? Is the HVM domain doing lots of IO
> >>>>> at
> >>>>> > >> the time? Are there any processes using lots of time in dom0?
> >>>>> What's
> >>>>> > >> the interrupt rate like?
> >>>>> > >>
> >>>>> > >> J
> >>>>> > >>
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>> > >
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
On Mon, Sep 14, 2009 at 02:22:00AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> Yes, I have tried the nomodeset kernel parameter without result.
>
> I couldn't get Jeremy's rebase/master branch (pvops dom 0 kernel 2.6.31) to
> work despite disabling all of USB support in the kernel. I will troubleshoot
> this issue with the serial console enabled another time.
>
> Meanwhile, I got Linus' mainline kernel 2.6.31 to work on my system. So
> apparently the dom 0 patched kernel 2.6.31 has some issues or I did not
> configure it properly.
>
Did you try pv_ops dom0 kernel with dom0_mem=1024M parameter for xen.gz?
Some others are seeing problems with the recent kernels if they have
>4096M of memory for dom0.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Sun, Sep 13, 2009 at 5:12 PM, Pasi Kärkkäinen < pasik@...> wrote:
>
> > On Sun, Sep 13, 2009 at 08:31:26AM +0800, Mr. Teo En Ming (Zhang Enming)
> > wrote:
> > > I have disabled all USB support in the kernel but I still couldn't get
> > pvops
> > > dom0-patched kernel 2.6.31 final to complete loading. All I get is a
> > > blinking cursor at the top left hand corner of the monitor.
> > >
> >
> > Did you try "nomodeset" parameter for the dom0 kernel?
> >
> > Have you tried setting up a serial console and capturing the kernel boot
> > messages?
> >
> > -- Pasi
> >
> > > --
> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > Engineering)
> > > Alma Maters:
> > > (1) Singapore Polytechnic
> > > (2) National University of Singapore
> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > > Email: space.time.universe@...
> > > MSN: teoenming@...
> > > Mobile Phone: +65-9648-9798
> > > Street: Bedok Reservoir Road
> > > Republic of Singapore
> > >
> > > On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <
> > > space.time.universe@...> wrote:
> > >
> > > > OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I
> > still
> > > > can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
> > > >
> > > > Really puzzled.
> > > >
> > > > --
> > > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > > Engineering)
> > > > Alma Maters:
> > > > (1) Singapore Polytechnic
> > > > (2) National University of Singapore
> > > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > > > Email: space.time.universe@...
> > > > MSN: teoenming@...
> > > > Mobile Phone: +65-9648-9798
> > > > Street: Bedok Reservoir Road
> > > > Republic of Singapore
> > > >
> > > > On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <
> > > > space.time.universe@...> wrote:
> > > >
> > > >> I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled
> > USB
> > > >> 3.0 driver but the kernel stops loading.
> > > >>
> > > >> Then I totally disabled all USB support by passing the "nousb"
> > parameter
> > > >> to the kernel but it still stops loading.
> > > >>
> > > >> pvops dom 0 2.6.31 final can't work.
> > > >>
> > > >> --
> > > >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > >> Engineering)
> > > >> Alma Maters:
> > > >> (1) Singapore Polytechnic
> > > >> (2) National University of Singapore
> > > >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > > >> Email: space.time.universe@...
> > > >> MSN: teoenming@...
> > > >> Mobile Phone: +65-9648-9798
> > > >> Street: Bedok Reservoir Road
> > > >> Republic of Singapore
> > > >>
> > > >> On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <
> > > >> space.time.universe@...> wrote:
> > > >>
> > > >>> After disabling the USB 1.0 driver, but leaving the USB 2.0 driver
> > > >>> compiled statically into the kernel, I get an error with the USB 2.0
> > driver.
> > > >>> This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
> > > >>>
> > > >>> Please refer to my blog post here:
> > > >>>
> > > >>>
> > > >>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html> > > >>>
> > > >>> --
> > > >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > BEng(Hons)(Mechanical
> > > >>> Engineering)
> > > >>> Alma Maters:
> > > >>> (1) Singapore Polytechnic
> > > >>> (2) National University of Singapore
> > > >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > > >>> Email: space.time.universe@...
> > > >>> MSN: teoenming@...
> > > >>> Mobile Phone: +65-9648-9798
> > > >>> Street: Bedok Reservoir Road
> > > >>> Republic of Singapore
> > > >>>
> > > >>> On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <
> > > >>> space.time.universe@...> wrote:
> > > >>>
> > > >>>> Hi,
> > > >>>>
> > > >>>> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
> > > >>>>
> > > >>>> But it gave me a USB host controller died error.
> > > >>>>
> > > >>>> Please refer to the error output here:
> > > >>>>
> > > >>>>
> > > >>>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html> > > >>>>
> > > >>>> --
> > > >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > BEng(Hons)(Mechanical
> > > >>>> Engineering)
> > > >>>> Alma Maters:
> > > >>>> (1) Singapore Polytechnic
> > > >>>> (2) National University of Singapore
> > > >>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > > >>>> Email: space.time.universe@...
> > > >>>> MSN: teoenming@...
> > > >>>> Mobile Phone: +65-9648-9798
> > > >>>> Street: Bedok Reservoir Road
> > > >>>> Republic of Singapore
> > > >>>>
> > > >>>> On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen < pasik@...>
> > wrote:
> > > >>>>
> > > >>>>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang
> > > >>>>> Enming) wrote:
> > > >>>>> > Hi,
> > > >>>>> >
> > > >>>>> > Please refer to the disk I/O benchmark results here:
> > > >>>>> >
> > > >>>>> >
> > > >>>>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html> > > >>>>> >
> > > >>>>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> > > >>>>> > 2.6.31-rc6.
> > > >>>>> >
> > > >>>>>
> > > >>>>> Btw you might also want to test with the latest rebase/master tree;
> > > >>>>> it's
> > > >>>>> at Linux 2.6.31 final now.
> > > >>>>>
> > > >>>>> -- Pasi
> > > >>>>>
> > > >>>>> > --
> > > >>>>> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > > >>>>> BEng(Hons)(Mechanical
> > > >>>>> > Engineering)
> > > >>>>> > Alma Maters:
> > > >>>>> > (1) Singapore Polytechnic
> > > >>>>> > (2) National University of Singapore
> > > >>>>> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > > >>>>> > Email: space.time.universe@...
> > > >>>>> > MSN: teoenming@...
> > > >>>>> > Mobile Phone: +65-9648-9798
> > > >>>>> > Street: Bedok Reservoir Road
> > > >>>>> > Republic of Singapore
> > > >>>>> >
> > > >>>>> > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> > > >>>>> > space.time.universe@...> wrote:
> > > >>>>> >
> > > >>>>> > > Hi,
> > > >>>>> > >
> > > >>>>> > > I will try to stop unnecessary services on Dom 0 and do a disk
> > I/O
> > > >>>>> > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6
> > tonight
> > > >>>>> (Singapore
> > > >>>>> > > time). That will be more conclusive.
> > > >>>>> > >
> > > >>>>> > > --
> > > >>>>> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > > >>>>> BEng(Hons)(Mechanical
> > > >>>>> > > Engineering)
> > > >>>>> > > Alma Maters:
> > > >>>>> > > (1) Singapore Polytechnic
> > > >>>>> > > (2) National University of Singapore
> > > >>>>> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com> > > >>>>> > > Email: space.time.universe@...
> > > >>>>> > > MSN: teoenming@...
> > > >>>>> > > Mobile Phone: +65-9648-9798
> > > >>>>> > > Street: Bedok Reservoir Road
> > > >>>>> > > Republic of Singapore
> > > >>>>> > >
> > > >>>>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <
> > > >>>>> jeremy@...>wrote:
> > > >>>>> > >
> > > >>>>> > >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> > > >>>>> > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming
> > (Zhang
> > > >>>>> Enming)
> > > >>>>> > >> wrote:
> > > >>>>> > >> >
> > > >>>>> > >> >> Dear All,
> > > >>>>> > >> >>
> > > >>>>> > >> >> Here is my latest video presentation on VGA passthrough.
> > Please
> > > >>>>> check
> > > >>>>> > >> out my
> > > >>>>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/or> > > >>>>> the
> > > >>>>> > >> Youtube
> > > >>>>> > >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4> > > >>>>> > >> >>
> > > >>>>> > >> >> The "not enough free resources" problem for nVidia Geforce
> > 8400
> > > >>>>> GS PCI
> > > >>>>> > >> >> Express x16 graphics card in earlier presentation videos:
> > > >>>>> > >> >>
> > > >>>>> > >> >> http://www.youtube.com/watch?v=HNEiSI...<
> > > >>>>> > >> http://www.youtube.com/watch?v=HNEiSInrav0>
> > > >>>>> > >> >>
> > > >>>>> > >> >> http://www.youtube.com/watch?v=_hOT_9...<
> > > >>>>> > >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> > > >>>>> > >> >>
> > > >>>>> > >> >> was fixed. Device manager in Windows XP HVM domU no longer
> > > >>>>> shows an
> > > >>>>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS
> > graphics
> > > >>>>> card. The
> > > >>>>> > >> >> device is working properly and the resources tab shows the
> > > >>>>> available
> > > >>>>> > >> memory
> > > >>>>> > >> >> ranges.
> > > >>>>> > >> >>
> > > >>>>> > >> >> Full VGA passthrough to Windows XP HVM guest operating
> > system
> > > >>>>> using Xen
> > > >>>>> > >> >> virtualization has been realized. I am now able to run 3-D
> > > >>>>> video
> > > >>>>> > >> benchmarks
> > > >>>>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> > > >>>>> > >> >>
> > > >>>>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel
> > > >>>>> supplied VGA
> > > >>>>> > >> >> passthrough patches. Instead of using pvops dom0 kernel
> > > >>>>> 2.6.31-rc6
> > > >>>>> > >> which
> > > >>>>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0
> > > >>>>> kernel
> > > >>>>> > >> >> 2.6.30-rc3.
> > > >>>>> > >> >>
> > > >>>>> > >> >>
> > > >>>>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that
> > could
> > > >>>>> cause
> > > >>>>> > >> > this HVM slowness?
> > > >>>>> > >> >
> > > >>>>> > >>
> > > >>>>> > >> I can't think of anything, unless the new swiotlb code is
> > causing
> > > >>>>> > >> problems.
> > > >>>>> > >>
> > > >>>>> > >> > Any tips how it could be debugged?
> > > >>>>> > >> >
> > > >>>>> > >>
> > > >>>>> > >> It would help to isolate where the slowness is coming from.
> > How
> > > >>>>> much
> > > >>>>> > >> slowdown are we talking about? Is the HVM domain doing lots
> > of IO
> > > >>>>> at
> > > >>>>> > >> the time? Are there any processes using lots of time in dom0?
> > > >>>>> What's
> > > >>>>> > >> the interrupt rate like?
> > > >>>>> > >>
> > > >>>>> > >> J
> > > >>>>> > >>
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|

|
Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
Dear Pasi, No, I have not tried it yet. I have 8 GB of memory on my computer. What does dom0_mem parameter do? If I set dom0_mem, does it mean I cannot access more than 4 GB of memory even though I have 8 GB of memory?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@...MSN: teoenming@...Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road
Republic of Singapore On Mon, Sep 14, 2009 at 3:26 AM, Pasi Kärkkäinen <pasik@...> wrote:
On Mon, Sep 14, 2009 at 02:22:00AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> Yes, I have tried the nomodeset kernel parameter without result.
>
> I couldn't get Jeremy's rebase/master branch (pvops dom 0 kernel 2.6.31) to
> work despite disabling all of USB support in the kernel. I will troubleshoot
> this issue with the serial console enabled another time.
>
> Meanwhile, I got Linus' mainline kernel 2.6.31 to work on my system. So
> apparently the dom 0 patched kernel 2.6.31 has some issues or I did not
> configure it properly.
>
Did you try pv_ops dom0 kernel with dom0_mem=1024M parameter for xen.gz?
Some others are seeing problems with the recent kernels if they have
>4096M of memory for dom0.
-- Pasi
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@...
> MSN: teoenming@...
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Sun, Sep 13, 2009 at 5:12 PM, Pasi Kärkkäinen < pasik@...> wrote:
>
> > On Sun, Sep 13, 2009 at 08:31:26AM +0800, Mr. Teo En Ming (Zhang Enming)
> > wrote:
> > > I have disabled all USB support in the kernel but I still couldn't get
> > pvops
> > > dom0-patched kernel 2.6.31 final to complete loading. All I get is a
> > > blinking cursor at the top left hand corner of the monitor.
> > >
> >
> > Did you try "nomodeset" parameter for the dom0 kernel?
> >
> > Have you tried setting up a serial console and capturing the kernel boot
> > messages?
> >
> > -- Pasi
> >
> > > --
> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > Engineering)
> > > Alma Maters:
> > > (1) Singapore Polytechnic
> > > (2) National University of Singapore
> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > Email: space.time.universe@...
> > > MSN: teoenming@...
> > > Mobile Phone: +65-9648-9798
> > > Street: Bedok Reservoir Road
> > > Republic of Singapore
> > >
> > > On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <
> > > space.time.universe@...> wrote:
> > >
> > > > OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I
> > still
> > > > can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
> > > >
> > > > Really puzzled.
> > > >
> > > > --
> > > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > > Engineering)
> > > > Alma Maters:
> > > > (1) Singapore Polytechnic
> > > > (2) National University of Singapore
> > > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > > Email: space.time.universe@...
> > > > MSN: teoenming@...
> > > > Mobile Phone: +65-9648-9798
> > > > Street: Bedok Reservoir Road
> > > > Republic of Singapore
> > > >
> > > > On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <
> > > > space.time.universe@...> wrote:
> > > >
> > > >> I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled
> > USB
> > > >> 3.0 driver but the kernel stops loading.
> > > >>
> > > >> Then I totally disabled all USB support by passing the "nousb"
> > parameter
> > > >> to the kernel but it still stops loading.
> > > >>
> > > >> pvops dom 0 2.6.31 final can't work.
> > > >>
> > > >> --
> > > >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > >> Engineering)
> > > >> Alma Maters:
> > > >> (1) Singapore Polytechnic
> > > >> (2) National University of Singapore
> > > >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >> Email: space.time.universe@...
> > > >> MSN: teoenming@...
> > > >> Mobile Phone: +65-9648-9798
> > > >> Street: Bedok Reservoir Road
> > > >> Republic of Singapore
> > > >>
> > > >> On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <
> > > >> space.time.universe@...> wrote:
> > > >>
> > > >>> After disabling the USB 1.0 driver, but leaving the USB 2.0 driver
> > > >>> compiled statically into the kernel, I get an error with the USB 2.0
> > driver.
> > > >>> This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
> > > >>>
> > > >>> Please refer to my blog post here:
> > > >>>
> > > >>>
> > > >>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html
> > > >>>
> > > >>> --
> > > >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > BEng(Hons)(Mechanical
> > > >>> Engineering)
> > > >>> Alma Maters:
> > > >>> (1) Singapore Polytechnic
> > > >>> (2) National University of Singapore
> > > >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>> Email: space.time.universe@...
> > > >>> MSN: teoenming@...
> > > >>> Mobile Phone: +65-9648-9798
> > > >>> Street: Bedok Reservoir Road
> > > >>> Republic of Singapore
> > > >>>
> > > >>> On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <
> > > >>> space.time.universe@...> wrote:
> > > >>>
> > > >>>> Hi,
> > > >>>>
> > > >>>> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
> > > >>>>
> > > >>>> But it gave me a USB host controller died error.
> > > >>>>
> > > >>>> Please refer to the error output here:
> > > >>>>
> > > >>>>
> > > >>>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html
> > > >>>>
> > > >>>> --
> > > >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > BEng(Hons)(Mechanical
> > > >>>> Engineering)
> > > >>>> Alma Maters:
> > > >>>> (1) Singapore Polytechnic
> > > >>>> (2) National University of Singapore
> > > >>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>>> Email: space.time.universe@...
> > > >>>> MSN: teoenming@...
> > > >>>> Mobile Phone: +65-9648-9798
> > > >>>> Street: Bedok Reservoir Road
> > > >>>> Republic of Singapore
> > > >>>>
> > > >>>> On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen < pasik@...>
> > wrote:
> > > >>>>
> > > >>>>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang
> > > >>>>> Enming) wrote:
> > > >>>>> > Hi,
> > > >>>>> >
> > > >>>>> > Please refer to the disk I/O benchmark results here:
> > > >>>>> >
> > > >>>>> >
> > > >>>>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html
> > > >>>>> >
> > > >>>>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> > > >>>>> > 2.6.31-rc6.
> > > >>>>> >
> > > >>>>>
> > > >>>>> Btw you might also want to test with the latest rebase/master tree;
> > > >>>>> it's
> > > >>>>> at Linux 2.6.31 final now.
> > > >>>>>
> > > >>>>> -- Pasi
> > > >>>>>
> > > >>>>> > --
> > > >>>>> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > > >>>>> BEng(Hons)(Mechanical
> > > >>>>> > Engineering)
> > > >>>>> > Alma Maters:
> > > >>>>> > (1) Singapore Polytechnic
> > > >>>>> > (2) National University of Singapore
> > > >>>>> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>>>> > Email: space.time.universe@...
> > > >>>>> > MSN: teoenming@...
> > > >>>>> > Mobile Phone: +65-9648-9798
> > > >>>>> > Street: Bedok Reservoir Road
> > > >>>>> > Republic of Singapore
> > > >>>>> >
> > > >>>>> > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> > > >>>>> > space.time.universe@...> wrote:
> > > >>>>> >
> > > >>>>> > > Hi,
> > > >>>>> > >
> > > >>>>> > > I will try to stop unnecessary services on Dom 0 and do a disk
> > I/O
> > > >>>>> > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6
> > tonight
> > > >>>>> (Singapore
> > > >>>>> > > time). That will be more conclusive.
> > > >>>>> > >
> > > >>>>> > > --
> > > >>>>> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > > >>>>> BEng(Hons)(Mechanical
> > > >>>>> > > Engineering)
> > > >>>>> > > Alma Maters:
> > > >>>>> > > (1) Singapore Polytechnic
> > > >>>>> > > (2) National University of Singapore
> > > >>>>> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>>>> > > Email: space.time.universe@...
> > > >>>>> > > MSN: teoenming@...
> > > >>>>> > > Mobile Phone: +65-9648-9798
> > > >>>>> > > Street: Bedok Reservoir Road
> > > >>>>> > > Republic of Singapore
> > > >>>>> > >
> > > >>>>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <
> > > >>>>> jeremy@...>wrote:
> > > >>>>> > >
> > > >>>>> > >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> > > >>>>> > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming
> > (Zhang
> > > >>>>> Enming)
> > > >>>>> > >> wrote:
> > > >>>>> > >> >
> > > >>>>> > >> >> Dear All,
> > > >>>>> > >> >>
> > > >>>>> > >> >> Here is my latest video presentation on VGA passthrough.
> > Please
> > > >>>>> check
> > > >>>>> > >> out my
> > > >>>>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/or
> > > >>>>> the
> > > >>>>> > >> Youtube
> > > >>>>> > >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> > > >>>>> > >> >>
> > > >>>>> > >> >> The "not enough free resources" problem for nVidia Geforce
> > 8400
> > > >>>>> GS PCI
> > > >>>>> > >> >> Express x16 graphics card in earlier presentation videos:
> > > >>>>> > >> >>
> > > >>>>> > >> >> http://www.youtube.com/watch?v=HNEiSI...<
> > > >>>>> > >> http://www.youtube.com/watch?v=HNEiSInrav0>
> > > >>>>> > >> >>
> > > >>>>> > >> >> http://www.youtube.com/watch?v=_hOT_9...<
> > > >>>>> > >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> > > >>>>> > >> >>
> > > >>>>> > >> >> was fixed. Device manager in Windows XP HVM domU no longer
> > > >>>>> shows an
> > > >>>>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS
> > graphics
> > > >>>>> card. The
> > > >>>>> > >> >> device is working properly and the resources tab shows the
> > > >>>>> available
> > > >>>>> > >> memory
> > > >>>>> > >> >> ranges.
> > > >>>>> > >> >>
> > > >>>>> > >> >> Full VGA passthrough to Windows XP HVM guest operating
> > system
> > > >>>>> using Xen
> > > >>>>> > >> >> virtualization has been realized. I am now able to run 3-D
> > > >>>>> video
> > > >>>>> > >> benchmarks
> > > >>>>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> > > >>>>> > >> >>
> > > >>>>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel
> > > >>>>> supplied VGA
> > > >>>>> > >> >> passthrough patches. Instead of using pvops dom0 kernel
> > > >>>>> 2.6.31-rc6
> > > >>>>> > >> which
> > > >>>>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0
> > > >>>>> kernel
> > > >>>>> > >> >> 2.6.30-rc3.
> > > >>>>> > >> >>
> > > >>>>> > >> >>
> > > >>>>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that
> > could
> > > >>>>> cause
> > > >>>>> > >> > this HVM slowness?
> > > >>>>> > >> >
> > > >>>>> > >>
> > > >>>>> > >> I can't think of anything, unless the new swiotlb code is
> > causing
> > > >>>>> > >> problems.
> > > >>>>> > >>
> > > >>>>> > >> > Any tips how it could be debugged?
> > > >>>>> > >> >
> > > >>>>> > >>
> > > >>>>> > >> It would help to isolate where the slowness is coming from.
> > How
> > > >>>>> much
> > > >>>>> > >> slowdown are we talking about? Is the HVM domain doing lots
> > of IO
> > > >>>>> at
> > > >>>>> > >> the time? Are there any processes using lots of time in dom0?
> > > >>>>> What's
> > > >>>>> > >> the interrupt rate like?
> > > >>>>> > >>
> > > >>>>> > >> J
> > > >>>>> > >>
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> >
_______________________________________________
Xen-devel mailing list
Xen-devel@...
http://lists.xensource.com/xen-devel
|