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

RE: [Xen-devel] PCI Passthrough Problems/Questions

To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
Subject: RE: [Xen-devel] PCI Passthrough Problems/Questions
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Thu, 28 Oct 2010 12:37:50 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "konrad.wilk@xxxxxxxxxx" <konrad.wilk@xxxxxxxxxx>
Delivery-date: Wed, 27 Oct 2010 21:38:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CC8A62602000099000BAA42@xxxxxxxxxxxxxxxxxxxxx>
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: <4CC8A62602000099000BAA42@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Act2V8nrxY+MK+LvQYil3TK7o7UDVgAAeOSQ
Thread-topic: [Xen-devel] PCI Passthrough Problems/Questions
I don't want xend.log. I want xen log (xm dmesg or captured by serial port). 
And pls also post qemu log (/var/log/xen/dm-qemu-xxx.log).

Regards,
Weidong

-----Original Message-----
From: Nick Couchman [mailto:Nick.Couchman@xxxxxxxxx] 
Sent: Thursday, October 28, 2010 12:23 PM
To: Han, Weidong
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; konrad.wilk@xxxxxxxxxx
Subject: Re: [Xen-devel] PCI Passthrough Problems/Questions

> the log of xm dmesg looks no problem. you'd better post complete log 
> and lspci -v.

Sorry about that, xend.log is attached, and here's the output of lspci -v:

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
    Subsystem: Dell Device 0420
    Flags: bus master, fast devsel, latency 0
    Capabilities: [e0] Vendor Specific Information: Len=0c 
    Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port 
(rev 03) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=02, sec-latency=0
    I/O behind bridge: 0000d000-0000dfff
    Memory behind bridge: f7900000-f79fffff
    Prefetchable memory behind bridge: 00000000f0000000-00000000f00fffff
    Capabilities: [88] Subsystem: Dell Device 0420
    Capabilities: [80] Power Management version 3
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [a0] Express Root Port (Slot+), MSI 00
    Capabilities: [100] Virtual Channel
    Capabilities: [140] Root Complex Link
    Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset 
Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Dell Device 0420
    Flags: bus master, fast devsel, latency 0, IRQ 435
    Memory at f7c00000 (64-bit, non-prefetchable) [size=4M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at ecb0 [size=8]
    Expansion ROM at  [disabled]
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated 
Graphics Controller (rev 03)
    Subsystem: Dell Device 0420
    Flags: bus master, fast devsel, latency 0
    Memory at f7b00000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [d0] Power Management version 2

00:03.0 Communication controller: Intel Corporation 4 Series Chipset HECI 
Controller (rev 03)
    Subsystem: Dell Device 0420
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at feda6000 (64-bit, non-prefetchable) [size=16]
    Capabilities: [50] Power Management version 3
    Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:03.2 IDE interface: Intel Corporation 4 Series Chipset PT IDER Controller 
(rev 03) (prog-if 85 [Master SecO PriO])
    Subsystem: Dell Device 0420
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 9
    I/O ports at fe80 [size=8]
    I/O ports at fe90 [size=4]
    I/O ports at fea0 [size=8]
    I/O ports at feb0 [size=4]
    I/O ports at fef0 [size=16]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+

00:03.3 Serial controller: Intel Corporation 4 Series Chipset Serial KT 
Controller (rev 03) (prog-if 02 [16550])
    Subsystem: Dell Device 0420
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
    I/O ports at ecb8 [size=8]
    Memory at f7ad8000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Kernel driver in use: serial

00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network 
Connection (rev 02)
    Subsystem: Dell Device 0276
    Flags: bus master, fast devsel, latency 0, IRQ 434
    Memory at f7ae0000 (32-bit, non-prefetchable) [size=128K]
    Memory at f7ad9000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at ece0 [size=32]
    Capabilities: [c8] Power Management version 2
    Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [e0] PCI Advanced Features
    Kernel driver in use: e1000e

00:1a.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #4 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 16
    I/O ports at ff20 [size=32]
    Capabilities: [50] PCI Advanced Features
    Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #5 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 17
    I/O ports at ff00 [size=32]
    Capabilities: [50] PCI Advanced Features
    Kernel driver in use: uhci_hcd

00:1a.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #6 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 22
    I/O ports at fc00 [size=32]
    Capabilities: [50] PCI Advanced Features
    Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI 
Controller #2 (rev 02) (prog-if 20 [EHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 22
    Memory at f7ada000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [50] Power Management version 2
    Capabilities: [58] Debug port: BAR=1 offset=00a0
    Capabilities: [98] PCI Advanced Features
    Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio 
Controller (rev 02)
    Subsystem: Dell Device 0420
    Flags: bus master, fast devsel, latency 0, IRQ 433
    Memory at f7adc000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [100] Virtual Channel
    Capabilities: [130] Root Complex Link
    Kernel driver in use: HDA Intel

00:1c.0 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express 
Port 1 (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    I/O behind bridge: 00001000-00001fff
    Memory behind bridge: f7800000-f78fffff
    Prefetchable memory behind bridge: 00000000fc000000-00000000fc1fffff
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Dell Device 0420
    Capabilities: [a0] Power Management version 2
    Capabilities: [100] Virtual Channel
    Capabilities: [180] Root Complex Link
    Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express 
Port 2 (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    I/O behind bridge: 00002000-00002fff
    Memory behind bridge: f7700000-f77fffff
    Prefetchable memory behind bridge: 00000000fc200000-00000000fc3fffff
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Dell Device 0420
    Capabilities: [a0] Power Management version 2
    Capabilities: [100] Virtual Channel
    Capabilities: [180] Root Complex Link
    Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #1 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 23
    I/O ports at ff80 [size=32]
    Capabilities: [50] PCI Advanced Features
    Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #2 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 17
    I/O ports at ff60 [size=32]
    Capabilities: [50] PCI Advanced Features
    Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #3 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 18
    I/O ports at ff40 [size=32]
    Capabilities: [50] PCI Advanced Features
    Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI 
Controller #1 (rev 02) (prog-if 20 [EHCI])
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0, IRQ 23
    Memory at ff980000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [50] Power Management version 2
    Capabilities: [58] Debug port: BAR=1 offset=00a0
    Capabilities: [98] PCI Advanced Features
    Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a2) (prog-if 01 
[Subtractive decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
    Capabilities: [50] Subsystem: Dell Device 0420

00:1f.0 ISA bridge: Intel Corporation 82801JDO (ICH10DO) LPC Interface 
Controller (rev 02)
    Subsystem: Dell Device 0420
    Flags: bus master, medium devsel, latency 0
    Capabilities: [e0] Vendor Specific Information: Len=0c 

00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 
02)
    Subsystem: Dell Device 0420
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 436
    I/O ports at fe00 [size=8]
    I/O ports at fe10 [size=4]
    I/O ports at fe20 [size=8]
    I/O ports at fe30 [size=4]
    I/O ports at fec0 [size=32]
    Memory at ff970000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit-
    Capabilities: [70] Power Management version 3
    Capabilities: [a8] SATA HBA v1.0
    Capabilities: [b0] PCI Advanced Features
    Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801JD/DO (ICH10 Family) SMBus Controller 
(rev 02)
    Subsystem: Dell Device 0420
    Flags: medium devsel, IRQ 18
    Memory at f7adb000 (64-bit, non-prefetchable) [size=256]
    I/O ports at 0980 [size=32]
    Kernel driver in use: i801_smbus

01:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI 
Bridge (rev aa) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Memory at f0000000 (64-bit, prefetchable) [size=64K]
    Bus: primary=01, secondary=02, subordinate=02, sec-latency=64
    I/O behind bridge: 0000d000-0000dfff
    Memory behind bridge: f7900000-f79fffff
    Capabilities: [40] Power Management version 2
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [60] Express PCI/PCI-X Bridge, MSI 00
    Capabilities: [100] Power Budgeting 
    Kernel driver in use: pciback

02:00.0 Serial controller: Perle Systems Ltd Device 0331 (prog-if 06 [16950])
    Subsystem: Oxford Semiconductor Ltd Device 9501
    Flags: medium devsel, IRQ 16
    I/O ports at dc80 [disabled] [size=32]
    Memory at f79fc000 (32-bit, non-prefetchable) [disabled] [size=4K]
    I/O ports at dca0 [disabled] [size=32]
    Memory at f79fd000 (32-bit, non-prefetchable) [disabled] [size=4K]
    Capabilities: [40] Power Management version 1
    Kernel driver in use: pciback

02:00.1 Bridge: Perle Systems Ltd Device 0331
    Subsystem: Oxford Semiconductor Ltd Device 9511
    Flags: medium devsel, IRQ 16
    I/O ports at dcc0 [disabled] [size=32]
    Memory at f79fe000 (32-bit, non-prefetchable) [disabled] [size=4K]
    I/O ports at dce0 [disabled] [size=32]
    Memory at f79ff000 (32-bit, non-prefetchable) [disabled] [size=4K]
    Capabilities: [40] Power Management version 1
    Kernel driver in use: pciback

and lspci -vt:
-[0000:00]-+-00.0  Intel Corporation 4 Series Chipset DRAM Controller
           +-01.0-[01-02]----00.0-[02]--+-00.0  Perle Systems Ltd Device 0331
           |                            \-00.1  Perle Systems Ltd Device 0331
           +-02.0  Intel Corporation 4 Series Chipset Integrated Graphics 
Controller
           +-02.1  Intel Corporation 4 Series Chipset Integrated Graphics 
Controller
           +-03.0  Intel Corporation 4 Series Chipset HECI Controller
           +-03.2  Intel Corporation 4 Series Chipset PT IDER Controller
           +-03.3  Intel Corporation 4 Series Chipset Serial KT Controller
           +-19.0  Intel Corporation 82567LM-3 Gigabit Network Connection
           +-1a.0  Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #4
           +-1a.1  Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #5
           +-1a.2  Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #6
           +-1a.7  Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI 
Controller #2
           +-1b.0  Intel Corporation 82801JD/DO (ICH10 Family) HD Audio 
Controller
           +-1c.0-[03]--
           +-1c.1-[04]--
           +-1d.0  Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #1
           +-1d.1  Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #2
           +-1d.2  Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI 
Controller #3
           +-1d.7  Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI 
Controller #1
           +-1e.0-[05]--
           +-1f.0  Intel Corporation 82801JDO (ICH10DO) LPC Interface Controller
           +-1f.2  Intel Corporation 82801 SATA RAID Controller

-Nick




-------- This e-mail may contain confidential and privileged material for the 
sole use of the intended recipient.  If this email is not intended for you, or 
you are not responsible for the delivery of this message to the intended 
recipient, please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.

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