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] Lenovo T400 problem

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Lenovo T400 problem
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Tue, 16 Mar 2010 11:38:05 +0200
Cc: xci-devel@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Mar 2010 02:38:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vo8U1ImczPtR1r3u5QoHPQk7NfT7WMq3t9MqwGdwIr4=; b=uvBHbpa+uIRLMalzolSSCcJYLi07I/Rn8MZKWDZB+Rmcahv5QkNyMr/N8cP8P6caqL cnl7oARMyTZoj0V34+vR/Bgaws8/b+w/63hWgI5gM5gZm5vNAVP+fl/JC3mypoEAHumG 4aB9mtXV/vd8NxNfyW2gV50dvI2zw5/77pLBY=
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:content-transfer-encoding; b=mEm+vhNadOAchQkRgMTQ6UGmHPHM415n0fdKo6mi0wipruo4Pd9/+Pa4W9b1gcFJ2b b1jAYz63SaJHP66pjNxd15Vx8MIpQgwBUQGlS2o1Z3a0/5XwD6EaHywfoPPNtkoUETQS fJHfXYC2CWusZ71Lt/WxDguOSlHE0zRhnyrBE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100315153953.GB30388@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>
References: <8686c3cd1003100456g72c20b0ar9d67077d42a5e2ca@xxxxxxxxxxxxxx> <20100315153953.GB30388@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Mar 15, 2010 at 5:39 PM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
> On Wed, Mar 10, 2010 at 02:56:48PM +0200, Tom Rotenberg wrote:
>
>
> What device is under BDF: 0:3.7 ?
No such device in the system.

>
>
> Hmm.. you really need the secret key decoder to figure that one out.
> I think it is 'Present bit in context entry is clear"'
>
> Looking at 
> "http://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_IO.pdf
>  "
> it says:
>
> "Present Flag: The present field is used by software to indicate to
> hardware whether the contextentry
> is present and initialized. Software may Clear the present field for
> context entries
> corresponding to device functions that are not present in the platform.
> If the present field of a
> context-entry used to process a DMA request is Clear, the DMA request is
> blocked, resulting in a
> translation fault."
>
>
> So from reading that it seems that the device in question: 0:3:7 hasn't
> been actually authorized for to be used by your guest?
>
Yeap. There is no such device in the system. Full lspci is below:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory
Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI
Express Graphics Port (rev 07)
00:03.0 Communication controller: Intel Corporation Mobile 4 Series
Chipset MEI Controller (rev 07)
00:03.3 Serial controller: Intel Corporation Mobile 4 Series Chipset
AMT SOL Redirection (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network
Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2
EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2
EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE
Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility
Radeon HD 3400 Series
03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)


>
>> (XEN) print_vtd_entries: iommu = ffff83013bdf5f90 bdf = 0:3:7 gmfn = 6cb6
>> (XEN)     root_entry = ffff83013bdcc000
>> (XEN)     root_entry[0] = 137e44001
>> (XEN)     context = ffff830137e44000
>> (XEN)     context[1f] = 0_0
>> (XEN)     ctxt_entry[1f] not present
>
> Sure enought. Not present it there.. Are there any other entries
> (earlier on) that talk about BDF 0:3:7?
>
>

It looks that this failure is the result of trying to pass-through
WLAN(3:0.0).  Interesting enough,- with this failure(coming
periodically once in few minutes) the system boots and runs ok(I can't
tell anything about its stability though). The problem becomes fatal
only when I'm trying to pass-through usb and wlan together.
Do you have any ideas were to start looking?

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

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