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] Fwd: Cannot assign device in Xen-unstable [VT-d]

To: "Bryan York" <bryan.york@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Fwd: Cannot assign device in Xen-unstable [VT-d]
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Mon, 11 Aug 2008 11:31:52 +0800
Cc:
Delivery-date: Sun, 10 Aug 2008 20:32:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5bcc2bd80808100042id472700m80422a1173456ecb@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: <5bcc2bd80808081735x199d777es5c151614b057fe33@xxxxxxxxxxxxxx> <5bcc2bd80808100042id472700m80422a1173456ecb@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acj6vLuQyltFa7B8RFys2MVDChKtOwAoxLmw
Thread-topic: [Xen-devel] Fwd: Cannot assign device in Xen-unstable [VT-d]
Hi Bryan,
 
Can you paste your serial console output? I want to see whether the hidden devices are really assigned to dom0 via add_device hypercall.
 
 
Randy (Weidong) 
 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Bryan York
Sent: 2008年8月10日 15:42
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Fwd: Cannot assign device in Xen-unstable [VT-d]

Moving over to xen-devel to see if anyone has any suggestions there.

Thanks again to everyone for the help earlier with my VT-d kernel hangs.

-Bryan

---------- Forwarded message ----------
From: Bryan York <bryan.york@xxxxxxxxx>
Date: Fri, Aug 8, 2008 at 5:35 PM
Subject: Cannot assign device in Xen-unstable [VT-d]
To: xen-users@xxxxxxxxxxxxxxxxxxx


Hello,

I FINALLY got Xen working with VT-d. I compiled Xen-unstable (3.3) from Mercurial on CentOS 5.2, but compiled my own kernel-xen from the latest CentOS SRPM. (Made sure pciback was built-in and not a module, as the stock kernel-xen has it as a module.) I'm probably going to write a how-to soon, so stay tuned!

I have a JMicron SATA/PATA PCI Express controller with a DQ35JO motherboard and a Q6600 processor.

My grub entry:

title CentOS (2.6.18-92.el5.xenpcibackxen)
        root (hd0,0)
        kernel /xen-3.3.0-rc4-pre.gz vtd=1 iommu=1
        module /vmlinuz-2.6.18-92.el5.xenpcibackxen ro root=/dev/VolGroup00/LogVol00 pci=nommconf rhgb pciback.hide=(01:00.0)(01:00.1)
        module /initrd-2.6.18-92.el5.xenpcibackxen.img

xm create hd.hvm
Using config file "./hd.hvm".
Error: fail to assign device(1:0.1): maybe it has already been assigned to other domain, or maybe it doesn't exist.

My dmesg, xm dmesg, hvm, and lspci -vv are attached. What's weird is that Xen appears to be able to tell it grabbed 01:00.0. However I cannot grab just 01:00.0 because it is on the same PCI Express bus. I thought the problem initially was the fact that the JMB363 ide chipset was being picked up by the generic ATA driver, so I removed that and recompiled, but that didn't change anything. pciback.hide seems to grab both controllers per my dmesg. (They are on the same board.)

Any ideas?

Thanks,

-Bryan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>