Skip to contentSkip to conversation

XCI: can we get to the demo state?

DISCUSSION Phung Te Ha 6 participants 19 messages Aug 6, 2009 – Aug 26, 2009

lore
Share & tools
lore
#0 lore raw

Hello XCI developers,

I have a HP6930, downloaded xenclient from the git. And by following the instruction in HOWTO, I could get xenclient boot up fine. I try then to start a guest using xenvm.readme as template and nothing shows on the screen for the guest, although xenops shows 2 doms running.

Can you point me to how to start a guest. And also, is the tree downloaded from git enough to arrive to what was shown in the demo video:

http://www.citrix.com/tv/#video/423

Thank you.

Phung-Te

#1 lore raw
Quoted 11 lines · Phung Te Ha

Hello XCI developers,

I have a HP6930, downloaded xenclient from the git. And by following the instruction in HOWTO, I could get xenclient boot up fine. I try then to start a guest using xenvm.readme as template and nothing shows on the screen for the guest, although xenops shows 2 doms running.

Can you point me to how to start a guest. And also, is the tree downloaded from git enough to arrive to what was shown in the demo video:

http://www.citrix.com/tv/#video/423

Thank you.

Phung-Te

Hi Phung-Te,

The demo contains few bytes from citrix that are not available, however you can definitely have the graphics of your VM if you have VT-d available and enabled. At this point you just need to set at the end of your xenvm config:

pci = 0,bind,PCIBUSID_OF_YOUR_GRAPHIC_CARD

usually with an intel card this end up beeing:

pci = 0,bind,0000:00:02.0

Signature · 1 line
Vincent
#2 lore raw

Hi Vincent,

I have not had a success with the 2.6.27 XCI kernel due to a number of issues (I think with support for my hardware).

Intel Core i7 920 on Intel DX58SO (latest Intel BIOS)

Success with build.git after the dev team fixed..

XCI Kernel fails to boot: 2 reasons

Randomly stops and freezes after initialising the 1st core on the processor (keyboard lockup / total machine lockup) have to hard reset to try again...

If it passes this point, kernel then continues to load all processor cores, and upto SATA controller (AHCI Mode). The driver loads the disk sd(..) and then the system reboots - no messages - I think just before initrc is started.

I have no RS232 on this board, so am waiting for a 1394 adapter for laptop before I can debug further...

Any pointers to getting further would help; I can't even get the point of trying pass-through for vga!

Cheers,
Tim

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Vincent Hanquez
Sent: 10 August 2009 14:20
To: Phung Te Ha
Cc: [email protected]
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 11 lines · Phung Te Ha

Hello XCI developers,

I have a HP6930, downloaded xenclient from the git. And by following the instruction in HOWTO, I could get xenclient boot up fine. I try then to start a guest using xenvm.readme as template and nothing shows on the screen for the guest, although xenops shows 2 doms running.

Can you point me to how to start a guest. And also, is the tree downloaded from git enough to arrive to what was shown in the demo video:

http://www.citrix.com/tv/#video/423

Thank you.

Phung-Te

Hi Phung-Te,

The demo contains few bytes from citrix that are not available, however you can definitely have the graphics of your VM if you have VT-d available and enabled. At this point you just need to set at the end of your xenvm config:

pci = 0,bind,PCIBUSID_OF_YOUR_GRAPHIC_CARD

usually with an intel card this end up beeing:

pci = 0,bind,0000:00:02.0

Signature · 6 lines
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
#3 lore raw
Quoted 10 lines · Tim Moore

Hi Vincent,

I have not had a success with the 2.6.27 XCI kernel due to a number of issues (I think with support for my hardware).

Intel Core i7 920 on Intel DX58SO (latest Intel BIOS)

Success with build.git after the dev team fixed..

XCI Kernel fails to boot: 2 reasons

Quoted 8 lines

Randomly stops and freezes after initialising the 1st core on the processor (keyboard lockup / total machine lockup) have to hard reset to try again...

If it passes this point, kernel then continues to load all processor cores, and upto SATA controller (AHCI Mode). The driver loads the disk sd(..) and then the system reboots - no messages - I think just before initrc is started.

I have no RS232 on this board, so am waiting for a 1394 adapter for laptop before I can debug further...

Any pointers to getting further would help; I can't even get the point of trying pass-through for vga!

are you able to boot with normal xen-unstable and the 2.6.27 ?

Did you try to tweak acpi or smp in your dom0 (or xen) command line ?
you can try to set nosmp, acpi=0, maxcpus=1 to see if it helps (see xen documentation for the xen equivalents).

Signature · 1 line
Vincent
#4 lore raw

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

Thank you very much.

Phung-Te

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
Quoted 43 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000
(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow
(XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault
(XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000 (XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

Quoted 7 lines
(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through? Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,

Signature · 1 line
Vincent
#6 lore raw

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha
Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,

Signature · 1 line
Vincent
#7 lore raw

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

Quoted 77 lines · Ross Philipson

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha
Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

Quoted 7 lines

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw

Well we don't have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks
Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 11:32 AM
To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller.
After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te
On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <[email protected]<mailto:[email protected]>> wrote:
Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha
Cc: [email protected]<mailto:[email protected]>; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te

Quoted 119 lines · Ross Philipson

Well we don’t have a official list we can push but we run on the same HP
6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 11:32 AM
*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan

*Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

Quoted 9 lines

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

Yes, I am passing the graphics through. I am using an HP 6930p at the moment. I am using Windows Vista as the VM I am passing the graphics through to and using Windows XP in a second VM that I am using VNC for. I attached the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 4:18 PM
To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te
On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson <[email protected]<mailto:[email protected]>> wrote:

Well we don't have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

From: Phung Te Ha [mailto:[email protected]<mailto:[email protected]>]
Sent: Friday, August 14, 2009 11:32 AM
To: Ross Philipson
Cc: Vincent Hanquez; [email protected]<mailto:[email protected]>; Kamala Narasimhan

Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller.
After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <[email protected]<mailto:[email protected]>> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]<mailto:[email protected]>; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw

Thank you Ross, I am working on it and will update.

Quoted 151 lines · Ross Philipson

Yes, I am passing the graphics through. I am using an HP 6930p at the
moment. I am using Windows Vista as the VM I am passing the graphics through to and using Windows XP in a second VM that I am using VNC for. I attached the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 4:18 PM

*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan *Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson < [email protected]> wrote:

Well we don’t have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 11:32 AM
*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan

*Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

Quoted 11 lines

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#12 lore raw
In reply to Ross Philipson

I think that the "hanging" problem happens, when you try to pass-through, both the 00:02.0, and the 00:02.1 (at-least that's what happened to me in the past), so i guess that because you are just passing through 00:02.0, you don't get this problem...

Can you try to pass-through 00:02.1 also, and see if it happens to you?

Quoted 166 lines · Ross Philipson

Yes, I am passing the graphics through. I am using an HP 6930p at the moment. I am using Windows Vista as the VM I am passing the graphics through to and using Windows XP in a second VM that I am using VNC for. I attached the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 4:18 PM

To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson <[email protected]> wrote:

Well we don’t have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 11:32 AM
To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan

Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 52 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

 id |  state |    cpu_time |                                 uuid 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
 _fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7
(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present
(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7
(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
...

Quoted 4 lines

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#14 lore raw
In reply to Ross Philipson

Hi all,

Thanks to your helps, I could see vista come up from a DVD installation with the graphics controller passed-through. The machine I am using is HP6930p. The config is Ross', just changed the disk from:

disk = /dev/sda:phy:hda:w:disk

to

disk = /dev/sr0:phy:hdd:r:cdrom

I also have vista on the disk at /dev/sda1. But since I use the same disk to boot xenclient, when I start the guest, giving /dev/sda as disk, grub wants to boot xenclient again, instead of vista.

So now I am building a xenclient_usb config, and leave /dev/sda to vista only.

Will update.

Phung-Te

Quoted 151 lines · Ross Philipson

Yes, I am passing the graphics through. I am using an HP 6930p at the
moment. I am using Windows Vista as the VM I am passing the graphics through to and using Windows XP in a second VM that I am using VNC for. I attached the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 4:18 PM

*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan *Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson < [email protected]> wrote:

Well we don’t have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 11:32 AM
*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan

*Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

Quoted 11 lines

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#13 lore raw
In reply to Tom Rotenberg

Hi Tom,

It does hang for me too.

Phung-Te

Quoted 90 lines · Tom Rotenberg

I think that the "hanging" problem happens, when you try to pass-through, both the 00:02.0, and the 00:02.1 (at-least that's what happened to me in the past), so i guess that because you are just passing through 00:02.0, you don't get this problem...

Can you try to pass-through 00:02.1 also, and see if it happens to you?

Quoted 2 lines · Ross Philipson

Yes, I am passing the graphics through. I am using an HP 6930p at the moment. I am using Windows Vista as the VM I am passing the graphics

through

Quoted 1 line

to and using Windows XP in a second VM that I am using VNC for. I

attached

Quoted 12 lines

the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 4:18 PM

Quoted 7 lines

To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using?

Do

Quoted 7 lines

you mind publish your config file?

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson <

[email protected]>

Quoted 23 lines

wrote:

Well we don’t have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 11:32 AM
To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan

Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 7 lines

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is

the

Quoted 10 lines

onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <

[email protected]>

Quoted 3 lines

wrote:

Yeah, these occur when the iommu context for the device in question (in

this

Quoted 1 line

case your iGfx card) has been torn down but the card is still active

(still

Quoted 97 lines
Quoted 1 line

attempting DMA). The code in xen to perform an function level resets

(FLR)

Quoted 2 lines

on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This

issue

Quoted 2 lines

was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is

the

Quoted 88 lines

vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#15 lore raw
In reply to Phung Te Ha

Hi all,

I tried and gave up on building a xenclient_usb.config, the build broke at quite many places. So I use file as disk:

disk = /mnt/3/vista_image.bin:file:hda:w:disk

first started a vista installation from DVD, then continued on, setup the network, download the graphics driver from hp.com, and aero showed after reboot!!!

Thanks for your help.

Phung-Te

Quoted 19 lines · Phung Te Ha

Hi all,

Thanks to your helps, I could see vista come up from a DVD installation with the graphics controller passed-through. The machine I am using is HP6930p. The config is Ross', just changed the disk from:

disk = /dev/sda:phy:hda:w:disk

to

disk = /dev/sr0:phy:hdd:r:cdrom

I also have vista on the disk at /dev/sda1. But since I use the same disk to boot xenclient, when I start the guest, giving /dev/sda as disk, grub wants to boot xenclient again, instead of vista.

So now I am building a xenclient_usb config, and leave /dev/sda to vista only.

Quoted 173 lines

Will update.

Phung-Te

On Fri, Aug 14, 2009 at 2:15 PM, Ross Philipson <[email protected]

Quoted 164 lines

wrote:

Yes, I am passing the graphics through. I am using an HP 6930p at the
moment. I am using Windows Vista as the VM I am passing the graphics through to and using Windows XP in a second VM that I am using VNC for. I attached the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 4:18 PM

*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan *Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson < [email protected]> wrote:

Well we don’t have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 11:32 AM
*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan

*Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <
[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 50 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000 (XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#16 lore raw

Did the Aero worked for you on the nVidia/ATI or on the Intel IGD?

Quoted 212 lines · Phung Te Ha

Hi all,

I tried and gave up on building a xenclient_usb.config, the build broke at quite many places. So I use file as disk:

disk = /mnt/3/vista_image.bin:file:hda:w:disk

first started a vista installation from DVD, then continued on, setup the network, download the graphics driver from hp.com, and aero showed after reboot!!!

Thanks for your help.

Phung-Te

Quoted 20 lines · Phung Te Ha

Hi all,

Thanks to your helps, I could see vista come up from a DVD installation with the graphics controller passed-through. The machine I am using is HP6930p. The config is Ross', just changed the disk from:

disk = /dev/sda:phy:hda:w:disk

to

disk = /dev/sr0:phy:hdd:r:cdrom

I also have vista on the disk at /dev/sda1. But since I use the same disk to boot xenclient, when I start the guest, giving /dev/sda as disk, grub wants to boot xenclient again, instead of vista.

So now I am building a xenclient_usb config, and leave /dev/sda to vista only.

Quoted 168 lines

Will update.

Phung-Te

Quoted 161 lines · Ross Philipson

Yes, I am passing the graphics through. I am using an HP 6930p at the moment. I am using Windows Vista as the VM I am passing the graphics through to and using Windows XP in a second VM that I am using VNC for. I attached the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 4:18 PM

To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson
<[email protected]> wrote:

Well we don’t have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 11:32 AM
To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan

Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson
<[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 53 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

 id |  state |    cpu_time |                                 uuid 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
 _fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7
(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present
(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000
(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7
(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
...

Quoted 4 lines

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#17 lore raw

That's on the Intel controller.

Phung-Te

Quoted 207 lines · Tom Rotenberg

Did the Aero worked for you on the nVidia/ATI or on the Intel IGD?

Quoted 3 lines · Phung Te Ha

Hi all,

I tried and gave up on building a xenclient_usb.config, the build broke

at

Quoted 8 lines

quite many places. So I use file as disk:

disk = /mnt/3/vista_image.bin:file:hda:w:disk

first started a vista installation from DVD, then continued on, setup the network, download the graphics driver from hp.com, and aero showed after reboot!!!

Quoted 19 lines

Thanks for your help.

Phung-Te

Quoted 14 lines · Phung Te Ha

Hi all,

Thanks to your helps, I could see vista come up from a DVD installation with the graphics controller passed-through. The machine I am using is HP6930p. The config is Ross', just changed the disk from:

disk = /dev/sda:phy:hda:w:disk

to

disk = /dev/sr0:phy:hdd:r:cdrom

I also have vista on the disk at /dev/sda1. But since I use the same

disk

Quoted 8 lines
Quoted 8 lines

to boot xenclient, when I start the guest, giving /dev/sda as disk, grub wants to boot xenclient again, instead of vista.

So now I am building a xenclient_usb config, and leave /dev/sda to vista only.

Will update.

Quoted 8 lines
Quoted 8 lines

Phung-Te

Quoted 3 lines · Ross Philipson

Yes, I am passing the graphics through. I am using an HP 6930p at the moment. I am using Windows Vista as the VM I am passing the graphics

through

Quoted 1 line
Quoted 1 line
Quoted 1 line

to and using Windows XP in a second VM that I am using VNC for. I

attached

Quoted 1 line
Quoted 1 line
Quoted 1 line

the xenvm config files I happen to be using right now. Note that my

Vista

Quoted 20 lines
Quoted 20 lines
Quoted 20 lines

install is not a vhd but rather installed on a partition on disk.

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 4:18 PM

To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson
<[email protected]> wrote:

Well we don’t have a official list we can push but we run on the same

HP

Quoted 20 lines
Quoted 20 lines
Quoted 20 lines

6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

From: Phung Te Ha [mailto:[email protected]]
Sent: Friday, August 14, 2009 11:32 AM
To: Ross Philipson
Cc: Vincent Hanquez; [email protected]; Kamala Narasimhan

Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is

showing.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics

controller

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson
<[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still

active

Quoted 1 line
Quoted 1 line
Quoted 1 line

(still attempting DMA). The code in xen to perform an function level

resets

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

(FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done.

This

Quoted 1 line
Quoted 1 line
Quoted 1 line

issue was never resolved but these few remaining faults don't seem to

cause

Quoted 1 line
Quoted 1 line
Quoted 1 line

a problem. So you are experiencing a hang as the vm starts I take it.

Is the

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 3 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the

config

Quoted 50 lines
Quoted 50 lines
Quoted 50 lines
Quoted 50 lines

on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg = ffff828bfff56000
(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000

...

Quoted 24 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you

have

Quoted 17 lines
Quoted 9 lines
Quoted 9 lines

any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#18 lore raw
In reply to Phung Te Ha

Hello Ross, hello Vincent,

I am looking around the source tree, and trying to see how from the current xci, the demo could be done.

Do you mind give some pointers how that was done?

Do the 2 guests both have the graphics passthrough to them? But then how to keep the one in the background happy and how to pop back its context when we want to bring it back into foreground?

Thank you.

Phung-Te

Quoted 11 lines · Phung Te Ha

Hi all,

I tried and gave up on building a xenclient_usb.config, the build broke at quite many places. So I use file as disk:

disk = /mnt/3/vista_image.bin:file:hda:w:disk

first started a vista installation from DVD, then continued on, setup the network, download the graphics driver from hp.com, and aero showed after reboot!!!

Quoted 201 lines

Thanks for your help.

Phung-Te

Quoted 193 lines · Phung Te Ha

Hi all,

Thanks to your helps, I could see vista come up from a DVD installation with the graphics controller passed-through. The machine I am using is HP6930p. The config is Ross', just changed the disk from:

disk = /dev/sda:phy:hda:w:disk

to

disk = /dev/sr0:phy:hdd:r:cdrom

I also have vista on the disk at /dev/sda1. But since I use the same disk to boot xenclient, when I start the guest, giving /dev/sda as disk, grub wants to boot xenclient again, instead of vista.

So now I am building a xenclient_usb config, and leave /dev/sda to vista only.

Will update.

Phung-Te

Quoted 163 lines · Ross Philipson

Yes, I am passing the graphics through. I am using an HP 6930p at the
moment. I am using Windows Vista as the VM I am passing the graphics through to and using Windows XP in a second VM that I am using VNC for. I attached the xenvm config files I happen to be using right now. Note that my Vista install is not a vhd but rather installed on a partition on disk.

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 4:18 PM

*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan *Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Do you pass the graphics controller through? Which guest are you using? Do you mind publish your config file?

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 11:08 AM, Ross Philipson < [email protected]> wrote:

Well we don’t have a official list we can push but we run on the same HP 6930p you have all the time. We have also had it running on Intel Q35 systems. So in general it should work on these systems.

Thanks

Ross

*From:* Phung Te Ha [mailto:[email protected]]
*Sent:* Friday, August 14, 2009 11:32 AM
*To:* Ross Philipson
*Cc:* Vincent Hanquez; [email protected]; Kamala Narasimhan

*Subject:* Re: [Xen-devel] XCI: can we get to the demo state?

Hello all,

The only thing I passed through was the graphics controller. After starting the guest, the system is still there running, xenops list_domains shows 2 doms running, but nothing from the guest is showing.

The board I am using is the Intel DQ35OJ and the graphics controller is the onboard one. Same operation has also been done on a HP6930p, same result. Can you publish the list of hardware you guys are using, MB, graphics board..., the config that most likely to get a graphics controller passed through.

Thank you.

Phung-Te

On Fri, Aug 14, 2009 at 7:13 AM, Ross Philipson <
[email protected]> wrote:

Yeah, these occur when the iommu context for the device in question (in this case your iGfx card) has been torn down but the card is still active (still attempting DMA). The code in xen to perform an function level resets (FLR) on the devices takes care of the vast majority of these but there still remain one or two that occur even thought the FLR has been done. This issue was never resolved but these few remaining faults don't seem to cause a problem. So you are experiencing a hang as the vm starts I take it. Is the vtd fault trace the last thing you see? Are you passing anything else through?

Thanks
Ross

-----Original Message-----
From: Vincent Hanquez
Sent: Friday, August 14, 2009 7:05 AM
To: Phung Te Ha

Cc: [email protected]; Ross Philipson; Kamala Narasimhan
Subject: Re: [Xen-devel] XCI: can we get to the demo state?

Quoted 40 lines · Phung Te Ha

Hi Vincent,

I tried your suggestion, adding pci = 0,bind,0000:00:02.0 in the config on 2 different machines, the HP6930 and on an Intel MB DQ35OJ.

On both machines, I got the samething, the guest run as shown by xenops list_domains:

id | state | cpu_time | uuid

 0 |     R  | 54203470658 | 00000000-0000-0000-0000-000000000000
 1 |    B H | 12214238864 | 00000000-0000-0000-0000-000000000002

But nothing shows on the screen.

I checked the logs and found in xenops dmesg:

...
(XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled

And when the guest is started:

...
_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg =
ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
(XEN)     context[10] = 201_7da02001
(XEN)     l3 = ffff83007da02000
(XEN)     l3_index = 3e
(XEN)     l3[3e] = 0
(XEN)     l3[3e] not present
Quoted 1 line

(XEN) [VT-D]iommu.c:722: iommu_page_fault: iommu->reg =

ffff828bfff56000

Quoted 9 lines

(XEN) [VT-D]iommu.c:691: iommu_fault_status: Fault Overflow (XEN) [VT-D]iommu.c:694: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:676: iommu_fault:DMA Write: 0:2.0 addr faddf7000 REASON 5 iommu->reg = ffff828bfff56000
(XEN) print_vtd_entries: iommu = ffff83007dcfb320 bdf = 0:2:0 gmfn = faddf7

(XEN)     root_entry = ffff83007e0ce000
(XEN)     root_entry[0] = 7e066001
(XEN)     context = ffff83007e066000
Quoted 6 lines

...

Do you think these 2 machines have enough of VT-d features to get the graphics passed-through?
Do you have a preferred desktop board, known to work for graphisc passed-through?

I'm not really familiar with thoses VT-d errors. Kamala/Ross do you have any idea, what this previous errors means ?

thanks,
--
Vincent

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel