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

[Xen-users] VTD not working on Intel DX58SO w/ Xen 4.0.1

To: Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] VTD not working on Intel DX58SO w/ Xen 4.0.1
From: chris <tknchris@xxxxxxxxx>
Date: Mon, 29 Nov 2010 11:13:18 -0500
Cc: Xen-Devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 Nov 2010 08:14:21 -0800
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:cc:content-type; bh=96/RNlLjbiE5ZMLlf/VpaAEJoN32QoLnTzVF+6iEVe0=; b=h6zNzvWMuS5JqAb6Xs7GBeLXqHA7TxcgrKG+vCItXROBTK6qVtv8bRCb5vtLaw6bc8 1A+9sU0x8RrCGnLp+Fa5QrCKlr4sWKwDTe4dMPHGJLEz03xIHe2fqYwoJxo4Bq6CqIcO vspmNFFfHXouQ63Pv/L33hkt94q9RZsGa4Smo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=SZPP/Myv03W+OPMsSEez/+VOprhHdrY8wY98KYp0lGy0TciI1Gb6QZ3c14zkEZgieu wK5tEsp5CNeJrmTjUwf+GSmjap3ZPiX2JNcktkGIpWrw1dftX9lwIaMZKKPOcYHSY7Bi l0PIkL96GiQcFajUKdUFP1UZqilHI+3yK/SP0=
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'm having problems with VTD on this board. The board/cpu/bios all
support vt-d and I think maybe I'm just missing something?
Any feedback would be much appreciated :)

Output below:

root@vm:~# xm create /etc/xen/vm-nine.cfg
Using config file "/etc/xen/vm-nine.cfg".
Error: Failed to assign device to IOMMU
(0000:05:00.0@100,msitranslate=1,power_mgmt=0)

root@vm:~# lspci -s 05:00
05:00.0 USB Controller: NEC Corporation USB (rev 43)
05:00.1 USB Controller: NEC Corporation USB (rev 43)
05:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

root@vm:~# cat /etc/xen/vm-nine.cfg
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '1024'
device_model='/usr/lib/xen/bin/qemu-dm'
# Disks
disk = [ 'phy:/dev/storage/vm-nine,ioemu:hda,w',
'phy:/dev/sr0,ioemu:hdc:cdrom,r'
]

# Hostname
name = 'vm-nine'

# Networking
vif = ['type=ioemu, bridge=eth0, mac=00:16:3D:37:A2:38']

# Behaviour
boot='dc'
vcpus=1
acpi=1
ahci=1
vnc=1
vncviewer=1
sdl=0
timer_mode=1
usb=1
usbdevice='tablet'
localtime=1
viridian=1
pci=['05:00.0','05:00.1','05:00.2']

root@vm:~# dmesg | grep seiz
[    1.880424] pciback 0000:05:00.0: seizing device
[    1.880482] pciback 0000:05:00.1: seizing device
[    1.880539] pciback 0000:05:00.2: seizing device

root@vm:~# cat /boot/grub/grub.cfg  | grep pciback
        module  /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder
root=UUID=aebc8747-abb3-413a-b808-b345a9a19111 ro
pci=resource_alignment=05:00.0 xen-pciback.permissive
xen-pciback.hide=(05:00.0)(05:00.1)(05:00.2)

root@vm:~# xm info
host                   : vm
release                : 2.6.32-5-xen-amd64
version                : #1 SMP Sat Oct 30 17:04:10 UTC 2010
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 3066
hw_caps                :
bfebfbff:28100800:00000000:00001b40:0098e3bd:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 8180
free_memory            : 1493
node_to_cpu            : node0:0-7
node_to_memory         : node0:1493
node_to_dma32_mem      : node0:743
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
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        : placeholder
cc_compiler            : gcc version 4.4.5 20100824 (prerelease)
(Debian 4.4.4-11)
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Fri Sep  3 15:38:12 UTC 2010
xend_config_format     : 4

- chris

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