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-devel] Re: [Xen-users] VTD not working on Intel DX58SO w/ Xen 4.0.1

To: chris <tknchris@xxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-users] VTD not working on Intel DX58SO w/ Xen 4.0.1
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 29 Nov 2010 20:42:40 +0200
Cc: Xen-Devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 Nov 2010 10:44:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTika_RqMaPcZUVoiRN_p1dMza7+rf8=wZMXVSOE4@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: <AANLkTika_RqMaPcZUVoiRN_p1dMza7+rf8=wZMXVSOE4@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Nov 29, 2010 at 11:13:18AM -0500, chris wrote:
> 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:
> 

Please add "iommu=verbose" option for xen.gz in grub.cfg,
then reboot and then paste full Xen hypervisor "xm dmesg" output.

-- Pasi

> 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

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