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] Xen PCI Pass-through: 0xbf701000 is using VM_IO, but it is

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen PCI Pass-through: 0xbf701000 is using VM_IO, but it is 0xfffffffffffff000!
From: Hans de Bruin <jmdebruin@xxxxxxxxx>
Date: Sun, 11 Sep 2011 15:49:42 +0200
Delivery-date: Sun, 11 Sep 2011 06:51:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9
Hi,

I get a warning in the domU kernels when I pass-through the ehcu/uhci devices. The usb-ports seem to work. I can use usb-sticks and a sundtek DVB-C stick. A microsoft usb-mouse is not recognized.
Can I ignore the warning or do I have some serious issue/misconfiguration?

Dom0: xm info:
host                   : luna
release                : 3.1.0-rc5+
version                : #6 SMP Sat Sep 10 10:30:18 CEST 2011
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 2
cpu_mhz                : 1666
hw_caps : bfebfbff:20100800:00000000:00000940:0040e31d:00000000:00000001:00000000
virt_caps              :
total_memory           : 4086
free_memory            : 1988
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline : dom0_mem=768M dom0_max_vcpus=2 loglvl=all guest_loglvl=all com1=115200,8n1 console=com1,vga
cc_compiler            : gcc version 4.5.2 (GCC)
cc_compile_by          : hans
cc_compile_domain      : system
cc_compile_date        : Wed Jun 29 13:29:41 CEST 2011
xend_config_format     : 4

Dom0: /proc/cmdline
root=/dev/md2 ro console=hvc0 earlyprintk=xen xen-pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)(00:1d.0)(00:1d.1)(00:1d.2)(00:1d.7) pci=resource_alignment=00:1a.7;00:1d.7

Dom0: cat /etc/xen/vm/aries
kernel  = "/etc/xen/boot/vmlinuz-3.1.0-rc5"
builder = 'linux'
memory  = 512
name    = "aries"
vcpus   = 1
pci     = [ '00:1a.0', '00:1a.1','00:1a.7' ]
vif     = [ 'mac=00:00:00:00:00:09,bridge=br_lan' ]
disk    = [ 'phy:vg2/aries_root,xvda,w',
            'phy:vg2/aries_nfs,xvdb,w',
            'phy:vg2/aries_video,xvdc,w' ]
root    = "/dev/xvda2 ro"
extra   = "3 iommu=soft"
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

Dom0: cat /etc/xen/vm/orion
kernel  = "/etc/xen/boot/vmlinuz-3.1.0-rc5"
builder = 'linux'
memory  = 512
name    = "orion"
vcpus   = 2
pci     = [ '00:1d.0', '00:1d.1','00:1d.2','00:1d.7']
vif     = [ 'mac=00:00:00:00:00:2,bridge=br_lan' ]
disk    = [ 'phy:vg2/orion_root,xvda,w' ]
root    = "/dev/xvda2 ro"
extra   = "3 iommu=soft"
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


DomU Aries: dmesg:
[    0.704330] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.704816] ehci_hcd 0000:00:00.7: enabling device (0000 -> 0002)
[    0.705842] ehci_hcd 0000:00:00.7: Xen PCI mapped GSI18 to IRQ28
[    0.705951] ------------[ cut here ]------------
pte_debug+0x154/0x160()
[    0.706099] 0xbf700000 is using VM_IO, but it is 0xfffffffffffff000!
[    0.706155] Modules linked in:
[    0.706251] Pid: 1, comm: swapper Not tainted 3.1.0-rc5+ #6
[    0.706294] Call Trace:
[    0.706356]  [<ffffffff81063baf>] warn_slowpath_common+0x7f/0xc0
[    0.706418]  [<ffffffff81063ca6>] warn_slowpath_fmt+0x46/0x50
[    0.706481]  [<ffffffff81009720>] ? xen_clocksource_read+0x20/0x30
[    0.706542]  [<ffffffff810056f4>] xen_make_pte_debug+0x154/0x160
[ 0.706604] [<ffffffff810046ab>] __raw_callee_save_xen_make_pte_debug+0x11/0x1e
[    0.706669]  [<ffffffff81302f5f>] ? ioremap_page_range+0x22f/0x300
[    0.706738]  [<ffffffff8103b50e>] __ioremap_caller+0x2ae/0x3a0
[    0.706755]  [<ffffffff8146d39f>] ? usb_hcd_pci_probe+0x18f/0x340
[    0.706755]  [<ffffffff8105c5d0>] ? try_to_wake_up+0x2b0/0x2b0
[    0.706755]  [<ffffffff8103b657>] ioremap_nocache+0x17/0x20
[    0.706755]  [<ffffffff8146d39f>] usb_hcd_pci_probe+0x18f/0x340
[    0.706755]  [<ffffffff8162b80e>] ? _raw_spin_unlock_irqrestore+0x1e/0x30
[    0.706755]  [<ffffffff8132b39f>] local_pci_probe+0x5f/0xd0
[    0.706755]  [<ffffffff8132ccd8>] pci_device_probe+0x88/0xb0
[    0.706755]  [<ffffffff813cb67a>] ? driver_sysfs_add+0x7a/0xb0
[    0.706755]  [<ffffffff813cb986>] driver_probe_device+0x96/0x1c0
[    0.706755]  [<ffffffff813cbab0>] ? driver_probe_device+0x1c0/0x1c0
[    0.706755]  [<ffffffff813cbb5b>] __driver_attach+0xab/0xb0
[    0.706755]  [<ffffffff813cbab0>] ? driver_probe_device+0x1c0/0x1c0
[    0.706755]  [<ffffffff813ca92e>] bus_for_each_dev+0x5e/0x90
[    0.706755]  [<ffffffff813cb5fe>] driver_attach+0x1e/0x20
[    0.706755]  [<ffffffff813cb165>] bus_add_driver+0xc5/0x280
[    0.706755]  [<ffffffff81b1766d>] ? mon_bin_init+0xb5/0xb5
[    0.706755]  [<ffffffff813cc156>] driver_register+0x76/0x140
[    0.706755]  [<ffffffff81628b73>] ? printk+0x41/0x43
[    0.706755]  [<ffffffff81b1766d>] ? mon_bin_init+0xb5/0xb5
[    0.706755]  [<ffffffff8132bb36>] __pci_register_driver+0x56/0xd0
[    0.706755]  [<ffffffff81b176d7>] ehci_hcd_init+0x6a/0x78
[    0.706755]  [<ffffffff81002164>] do_one_initcall+0x44/0x190
[    0.706755]  [<ffffffff81ae5ccb>] kernel_init+0xc8/0x14d
[    0.706755]  [<ffffffff8162e474>] kernel_thread_helper+0x4/0x10
[    0.706755]  [<ffffffff8162c523>] ? int_ret_from_sys_call+0x7/0x1b
[    0.706755]  [<ffffffff8162bafc>] ? retint_restore_args+0x5/0x6
[    0.706755]  [<ffffffff8162e470>] ? gs_change+0x13/0x13
[    0.706755] ---[ end trace 55922f9402942cd3 ]---

DomU Orion: dmesg:
[    0.890404] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.891167] ehci_hcd 0000:00:00.7: enabling device (0000 -> 0002)
[    0.892300] ehci_hcd 0000:00:00.7: Xen PCI mapped GSI23 to IRQ32
[    0.892412] ------------[ cut here ]------------
[ 0.892484] WARNING: at /home/hans/linux-2.6/arch/x86/xen/mmu.c:519 xen_make_pte_debug+0x154/0x160()
[    0.892556] 0xbf701000 is using VM_IO, but it is 0xfffffffffffff000!
[    0.892617] Modules linked in:
[    0.892712] Pid: 1, comm: swapper Not tainted 3.1.0-rc5+ #6
[    0.892769] Call Trace:
[    0.892867]  [<ffffffff81063baf>] warn_slowpath_common+0x7f/0xc0
[    0.892960]  [<ffffffff81063ca6>] warn_slowpath_fmt+0x46/0x50
[    0.893052]  [<ffffffff81009720>] ? xen_clocksource_read+0x20/0x30
[    0.893146]  [<ffffffff810056f4>] xen_make_pte_debug+0x154/0x160
[ 0.893230] [<ffffffff810046ab>] __raw_callee_save_xen_make_pte_debug+0x11/0x1e
[    0.893299]  [<ffffffff81302f5f>] ? ioremap_page_range+0x22f/0x300
[    0.893364]  [<ffffffff8103b50e>] __ioremap_caller+0x2ae/0x3a0
[    0.893521]  [<ffffffff8146d39f>] ? usb_hcd_pci_probe+0x18f/0x340
[    0.893585]  [<ffffffff8105c5d0>] ? try_to_wake_up+0x2b0/0x2b0
[    0.893624]  [<ffffffff8103b657>] ioremap_nocache+0x17/0x20
[    0.893624]  [<ffffffff8146d39f>] usb_hcd_pci_probe+0x18f/0x340
[    0.893624]  [<ffffffff8162b80e>] ? _raw_spin_unlock_irqrestore+0x1e/0x30
[    0.893624]  [<ffffffff8132b39f>] local_pci_probe+0x5f/0xd0
[    0.893624]  [<ffffffff8132ccd8>] pci_device_probe+0x88/0xb0
[    0.893624]  [<ffffffff813cb67a>] ? driver_sysfs_add+0x7a/0xb0
[    0.893624]  [<ffffffff813cb986>] driver_probe_device+0x96/0x1c0
[    0.893624]  [<ffffffff813cbab0>] ? driver_probe_device+0x1c0/0x1c0
[    0.893624]  [<ffffffff813cbb5b>] __driver_attach+0xab/0xb0
[    0.893624]  [<ffffffff813cbab0>] ? driver_probe_device+0x1c0/0x1c0
[    0.893624]  [<ffffffff813ca92e>] bus_for_each_dev+0x5e/0x90
[    0.893624]  [<ffffffff813cb5fe>] driver_attach+0x1e/0x20
[    0.893624]  [<ffffffff813cb165>] bus_add_driver+0xc5/0x280
[    0.893624]  [<ffffffff81b1766d>] ? mon_bin_init+0xb5/0xb5
[    0.893624]  [<ffffffff813cc156>] driver_register+0x76/0x140
[    0.893624]  [<ffffffff81628b73>] ? printk+0x41/0x43
[    0.893624]  [<ffffffff81b1766d>] ? mon_bin_init+0xb5/0xb5
[    0.893624]  [<ffffffff8132bb36>] __pci_register_driver+0x56/0xd0
[    0.893624]  [<ffffffff81b176d7>] ehci_hcd_init+0x6a/0x78
[    0.893624]  [<ffffffff81002164>] do_one_initcall+0x44/0x190
[    0.893624]  [<ffffffff81ae5ccb>] kernel_init+0xc8/0x14d
[    0.893624]  [<ffffffff8162e474>] kernel_thread_helper+0x4/0x10
[    0.893624]  [<ffffffff8162c523>] ? int_ret_from_sys_call+0x7/0x1b
[    0.893624]  [<ffffffff8162bafc>] ? retint_restore_args+0x5/0x6
[    0.893624]  [<ffffffff8162e470>] ? gs_change+0x13/0x13
[    0.893624] ---[ end trace d4aaccc7a6a84eaa ]---

By the way, when I attach all the uhci/ehci devices to one DomU the error occurs only on detection of the first ehci device.

--
Hans



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

<Prev in Thread] Current Thread [Next in Thread>