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

[Xen-users] Xen4 / Intel DX58SO Mobo / VT-d not working

To: Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen4 / Intel DX58SO Mobo / VT-d not working
From: chris <tknchris@xxxxxxxxx>
Date: Wed, 12 May 2010 17:28:14 -0400
Delivery-date: Wed, 12 May 2010 14:31:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=I9+nwsJIRpz5ex8Bs00IV/SeHe/dDRYCMH5Eh4E9kuw=; b=V5FryVJ3dnEWAbOQyzIW+jTX8SPKB3lm+ROY8H401u0rOn78kwIUjPc1BY2e+fDjUU qzIiMNBlP/okc/dXUkaTE+xpWx/jVuTZCkW7CIdpZl4AlvkWgOC8nNPE5M/rcRhnkmu8 R9g2X8cHFHwGmHfJ+Dw96cqkoC6R74SMhXun8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gdNzqz2UPOnx0eH5QMIdHd+UKjj/8Qz7Q3Bqt65yUPBGy3vjfKuex9W30zy2GHaC/O oGII59znctyw4MOy8QRlClOo9GSEx0VJMnLs7cRq9IdPsyu2QlhJzwEnlxWaxGilElL6 8deq7n102FlsKFHkMq0BLed6G1t4A2ROsQKE0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I've previously been successful with Xen4 and VT-d on other systems. I
am having trouble getting VT-d passthrough working to a WinXP domain
with DX58SO (Q45) motherboard and i7 930 CPU. VT-d is enabled in bios,
xm info shows hvm_directio capability, I have iommu=1 set, I have the
devices bound to pciback on dom0 cmdline, xm
pci-list-assignable-devices shows the devices as assignable. When I
attempt to start the VM I get the error:

Error: Failed to assign device to IOMMU
(0000:02:00.0@100,msitranslate=1,power_mgmt=0)

Below is all the information I can think of that would be useful to
help debug it:

BIOS VT-d Enabled:
http://i43.tinypic.com/nl3a5e.jpg
http://i42.tinypic.com/nqvlu1.jpg

grub entry:

title           Xen 4.0.0 / Debian GNU/Linux, kernel 2.6.31.13
root            (hd0,0)
kernel          /boot/xen-4.0.0.gz iommu=1 dom0_mem=256M
dom0_max_vcpus=1 dom0_vcpus_pin=true
module          /boot/vmlinuz-2.6.31.13 root=/dev/md0 ro console=tty0
xen-pciback.permissive
xen-pciback.hide=(02:00.0)(02:00.1)(02:00.2)(04:00.0)(04:00.1)(04:00.2)(07:00.0)(07:00.1)(07:00.2)(09:00.0)(09:00.1)(09:00.2)
module          /boot/initrd.img-2.6.31.13

# xm pci-list-assignable-devices
0000:09:00.0
0000:09:00.1
0000:09:00.2
0000:07:00.0
0000:07:00.1
0000:07:00.2
0000:04:00.0
0000:04:00.1
0000:04:00.2
0000:02:00.0
0000:02:00.1
0000:02:00.2

# xm info
host                   : test-box2
release                : 2.6.31.13
version                : #2 SMP Wed May 12 14:11:37 EDT 2010
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2800
hw_caps                :
bfebfbff:28100800:00000000:00001b40:0098e3bd:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 7950
free_memory            : 7812
node_to_cpu            : node0:0-7
node_to_memory         : node0:7812
node_to_dma32_mem      : node0:3249
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : iommu=1 dom0_mem=256M dom0_max_vcpus=1
dom0_vcpus_pin=true
cc_compiler            : gcc version 4.3.2 (Debian 4.3.2-1.1)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Thu May  6 13:41:25 EDT 2010
xend_config_format     : 4

# xm create vm-five.cfg
Using config file "./vm-five.cfg".
Error: Failed to assign device to IOMMU
(0000:02:00.0@100,msitranslate=1,power_mgmt=0)

I feel like I'm missing something really obvious but I've been at it
for a while now and have run out of brain power. Anyone have any idea
what might be wrong?

- chris

Attachment: dom0-dmesg.txt
Description: Text document

Attachment: xen-dmesg.txt
Description: Text document

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