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-users

RE: [Xen-users] VT-d... I think is working?

To: "'Daniel Kao'" <dkao@xxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] VT-d... I think is working?
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Wed, 23 Jul 2008 09:49:31 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 Jul 2008 06:50:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48850F06.4020906@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: PRD, Inc.
References: <487FF752.10005@xxxxxxxxxxxx> <200807212323.20031.mark.williamson@xxxxxxxxxxxx> <48850F06.4020906@xxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjrghAx3wIRASmTTY++bYcfYijexgBSLuNw
I don’t know a lot about this stuff, but couldn’t you put the pciback module in 
your initrd instead of doing all that manual stuff?
        Dustin

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Daniel Kao
Sent: Monday, July 21, 2008 18:35
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] VT-d... I think is working?

Hi Mark!

Thanks for the reply and clarification!

Just an update to all on the list, I decided to use the stock Xen linux kernel 
from CentOS and only recompiled Xen 3.2.1 itself in another thread which I 
started and updated here on Xen-users.  The recompiled kernel based off of the 
CentOS source worked, but it was behaving a bit "odd" so I blew it all away and 
started over.  Turns out I didn't need to recompile the CentOS kernel to add 
VT-d support.  I would of liked to have pciback module compiled directly into 
the CentOS kernel, but I'm just unbinding things at boot and loading the 
pciback module manually upon startup... which works fine for me!

Thanks, all!

Cheers,
Daniel

Mark Williamson wrote: 
Hi Daniel,

On Friday 18 July 2008, Daniel Kao wrote:
  
 Hi All,

 I haven't tried to pciback a device yet and setup an HVM but finally got
to a point where I think I have VT-d working, but wanted to make sure this
looks right from my "xm dmesg" output:

 (XEN) Intel VT-d has been enabled

 [snip]

 (XEN) xenoprof: Initialization failed. Intel processor model 23 for P6
class family is not supported (XEN) [VT-D]intel-iommu.c:1204:d32767
context_context_mapping: nested PCI bridge not supported: bdf = 0:1:0
sec_bus = 1 sub_bus = 3 (XEN) [VT-D]intel-iommu.c:1226:d32767
domain_context_mapping:bus2bridge[2].bus != 0 (XEN)
[VT-D]intel-iommu.c:771: iommu_page_fault: iommu->reg = ffff828bfff57000
(XEN) [VT-D]intel-iommu.c:754: iommu_page_fault:DMA Write: DEVICE 0:2.0
addr 0 REASON 5 (XEN) print_vtd_entries: domain_id = 7fff bdf = 0:2:0 gmfn
= 0
 (XEN)     hg->pgd == NULL
 (XEN) AMD IOMMU: Disabled
 (XEN) *** LOADING DOMAIN 0 ***

 Only concerns I have are:

 (XEN) xenoprof: Initialization failed. Intel processor model 23 for P6
class family is not supported
    

That's nothing to do with VT-d, Xenoprof is a profiling app (e.g. for 
conducting performance analyses, etc).  Don't worry about it :-)

Cheers,
Mark

  
 I have an E8400 on an Intel DQ35JO motherboard and the references to
iommu_page_fault but I think that's just info and nothing else? 
    

  
For 
reference, this is on CentOS 5.2 w/custom Xen kernel I built using CentOS
xen kernel source (2.6.18-92.1.6.el5-xen-x86_64) with Xen 3.2.1 tarball.
    



  



-- 
Daniel Kao
Übermind, Inc.
Seattle, WA, U.S.A.



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

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