WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Partial succes VGA passthrough Ati Radeon HD4850 on Asus

To: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Partial succes VGA passthrough Ati Radeon HD4850 on Asus P5Q-EM DO (Q45 chipset)
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 1 Dec 2009 17:57:22 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Dec 2009 01:58:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <01581271.20091201104916@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <497086737.20091126154022@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C05538D38CC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1046025008.20091127101551@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C05538D3AC9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1502107094.20091127105401@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C05538D3AD8@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1589813990.20091129115452@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C05538D3C32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1686160645.20091130192417@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C05538D4336@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <01581271.20091201104916@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpya4zpcZberMMvSg+oIzzllqL92AAAFEQA
Thread-topic: [Xen-devel] Partial succes VGA passthrough Ati Radeon HD4850 on Asus P5Q-EM DO (Q45 chipset)
Per your qemu log, it is not complete. Io port and io memory are not mapped. So 
something broke it.

> The IGD is at this moment the primary (boot) display adapter (and the only 
> display adapter present), could this be a problem and should a boot from a 
> pci adapter as primary, or is that not required ?

Missed to answer this question. Yes, must use IGD as primary graphics card in 
host. It needs extra patch to support secondary graphics assignment.

Regards,
Weidong

-----Original Message-----
From: Sander Eikelenboom [mailto:linux@xxxxxxxxxxxxxx] 
Sent: Tuesday, December 01, 2009 5:49 PM
To: Han, Weidong
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Partial succes VGA passthrough Ati Radeon HD4850 on 
Asus P5Q-EM DO (Q45 chipset)

Ahh see i thought i had missed something ... here is the qemu log attached.
I will try the changeset and 2.6.18 kernel as suggested.

Thx,

Sander

Tuesday, December 1, 2009, 10:11:14 AM, you wrote:

> Sander,

> Can you post qemu log (/var/log/xen/qemu-dm-xxx.log)?

> Maybe need to rebase the patch on latest xen with pv-ops, I will look at it 
> in several days. I you want to have a quick try, I suggest you to use xen 
> changeset 20145, 2.6.18 dom0, and qemu commit: a05958b6e. It worked stably 
> for me with IGD pass-through.

> Regards,
> Weidong

> -----Original Message-----
> From: Sander Eikelenboom [mailto:linux@xxxxxxxxxxxxxx] 
> Sent: Tuesday, December 01, 2009 2:24 AM
> To: Han, Weidong
> Subject: Re: [Xen-devel] Partial succes VGA passthrough Ati Radeon HD4850 on 
> Asus P5Q-EM DO (Q45 chipset)



> I previously tried passing through both functions of the IGD, but from what i 
> saw from Tom Rotenberg, i now tried only passing through 00:02.0.
> It now doesn't continue to spew error messages, but the guest domain didn't 
> completely start either. After the errors stopped i was able to switch to the 
> hypervisor and get a full dump.

> The IGD is at this moment the primary (boot) display adapter (and the only 
> display adapter present), could this be a problem and should a boot from a 
> pci adapter as primary, or is that not required ?

> Info:
> - serial console output + hypervisor dump is attached
> - "xm info" with the changeset is attached
> - QEMU_TAG ?= f72b6e0ffc3bb84d4442c5a7493bffbdce2a4468 from Config.mk
> - lspci -vvvknn output is attached
> - .cfg of HVM is attached

> I hope i have given you all the right info this time.

> --
> Sander




> Monday, November 30, 2009, 2:05:59 AM, you wrote:

>> Sander,

>> Pls provide xen changeset, dom0 and qemu commit, and qemu log 
>> (/var/log/xen/qemu-dm-xxx.log).

>> Regards,
>> Weidong

>> -----Original Message-----
>> From: Sander Eikelenboom [mailto:linux@xxxxxxxxxxxxxx]
>> Sent: Sunday, November 29, 2009 6:55 PM
>> To: Han, Weidong
>> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Subject: Re: [Xen-devel] Partial succes VGA passthrough Ati Radeon HD4850 on 
>> Asus P5Q-EM DO (Q45 chipset)

>> Hmm less succes with the IGD :(, it keeps (infinite) giving IOMMU faults, in 
>> a rate which locks up the box.
>> I have experienced this before, but didn't have serial console.
>> But since i do now i have something to report :-)

> h



-- 
Best regards,
 Sander                            mailto:linux@xxxxxxxxxxxxxx

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>