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

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: [Xen-devel] Re: [Xen-users] VTD not working on Intel DX58SO w/ Xen 4.0.1
From: chris <tknchris@xxxxxxxxx>
Date: Mon, 29 Nov 2010 14:48:08 -0500
Cc: Xen-Devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 Nov 2010 11:48:57 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=mPSHWgSkhBHY43isuEXbRVqGQ9MeGJauZtCZ4GZ0Zi0=; b=Zq8DmHLY92q6HI1CsS7Kp4P2EScyw8a/kKRjDLqEUVUUGymwtKNPfkdPG49FSVWoqm umIDgaku10KA63Yp+nRwcAjjkHwQSlMIGqs3T5DI0oYw5kvipQ5KxIbPf2/nzjMhOBr9 cYXZ4tNZhxdncWfnrHyQgXGbXAOOrzNcyuudg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VKSti2oVzbFQsBsS3++gLO19bZ31zUmY+zmug5IwNaJpb8qAw6GU2yJsr1NMT8wjAI idcrelwOT4yP8ohGtxMKyyMFCKqY4+K87BbuDPEZ7jgke2LQPYzAy6Uj2MylPx7yy7sI 2zqPdzJLdd2Ak52zs7ags4P4jKTWdlv81KSFI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101129184240.GY2754@xxxxxxxxxxx>
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> <20101129184240.GY2754@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
ok here is the logs with 2.6.32.26 using pasi's config for 2.6.32.25
and iommu=verbose at boot. unfortunately this board doesnt have serial
and i dont have a spare serial card handy, so hopefully this will help
us figure it out :)

On Mon, Nov 29, 2010 at 1:42 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> 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
>

Attachment: xmdmesg.txt
Description: Text document

Attachment: dmesg.txt
Description: Text document

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