From: Dietmar Hahn Subject: Re: Problem: WIndows domu switches power off Date: Mon, 8 Nov 2010 15:17:52 +0100 Message-ID: <201011081517.53256.dietmar.hahn@ts.fujitsu.com> References: <201010260923.43691.dietmar.hahn@ts.fujitsu.com> <987664A83D2D224EAE907B061CE93D53016489A1F3@orsmsx505.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2070881489==" Return-path: In-Reply-To: <987664A83D2D224EAE907B061CE93D53016489A1F3@orsmsx505.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Kay, Allen M" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============2070881489== Content-Type: multipart/alternative; boundary="Boundary-01=_RaA2MgdMJbvoZdJ" Content-Transfer-Encoding: 7bit --Boundary-01=_RaA2MgdMJbvoZdJ Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Hi Allen, Am 05.11.2010 schrieb ""Kay, Allen M" ": > Dietmar, >=20 > This is a known issue with WLAN passthrough cause by ME (management engin= e) interaction. The latest xen-unstable has quirk to workaround issue. Are you think of this quirk: http://xenbits.xensource.com/staging/xen-unstable.hg?rev/b48d8f27fca2 > Can you give it a try and let me know if it fixes the problem for you? I looked at the sources and found your me_wifi_quirk() stuff. But if I understand the code right, the patch doesn't help. # lspci -n -s 00:00.0 00:00.0 0600: 8086:0044 (rev 02) So IS_ILK(id) should be true. But my WLAN adapter is: 10:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev= 35) # lspci -n -s 10:00.0 10:00.0 0280: 8086:422c (rev 35) And the id 8086:422c is not in your switch statement and therewith map_me_phantom_function() is not called. By the way I don't see a pci device 0:22.7 > By the way, which brand of Core i5 laptop do you have. I would like to s= ee if I have one locally. It's a Fujitsu Lifebook S760 =46ollowing the intel spec I checked the device id of the D31:F0 device fun= ction: 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface= Controller (rev 05) # lspci -n -s 00:1f.0 00:1f.0 0601: 8086:3b07 (rev 05) And this is the Intel=AE QM57 Chipset. Thanks. Dietmar. =46or your information: # lspci 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev = 02) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integra= ted Graphics Controller (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Ch= ipset HECI Controller (rev 06) 00:16.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset PT ID= ER Controller (rev 06) 00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset K= T Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Conn= ection (rev 05) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2= Enhanced Host Controller (rev 05) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High D= efinition Audio (rev 05) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Expr= ess Root Port 6 (rev 05) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Expr= ess Root Port 2 (rev 05) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2= Enhanced Host Controller (rev 05) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface= Controller (rev 05) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 p= ort SATA AHCI Controller (rev 05) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Control= ler (rev 05) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Serie= s Chipset Thermal Subsystem (rev 05) 10:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev= 35) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architectur= e Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architectur= e System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 0= 2) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) >=20 > Allen >=20 > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lis= ts.xensource.com] On Behalf Of Dietmar Hahn > Sent: Tuesday, October 26, 2010 12:24 AM > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] Problem: WIndows domu switches power off >=20 >=20 > Hi list, >=20 > I have a special effect on a Laptop with: >=20 > cpu: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz with integrated graphics >=20 > Chipsatz: Intel QM57 >=20 > with SLES11 SP1 (xen-4.0 with some patches from Novell) >=20 > I passed through the sound and WLAN pci controller to the guest. >=20 > I start a Windows 7 guest and while installing the driver for the WLAN >=20 > controller within Windows the power of the notebook got switched off. >=20 > I couldnt see any message on the serial console. >=20 > I tried Windows on bare metall and all runs very well. Later on starting = this >=20 > Windows guest again the power got switched of after login into Windows - = maybe >=20 > the WLAN driver got started there. >=20 > For a test I prepared a OpenSuSE 11.3 as HVM guest and were able to confi= gure >=20 > the WLAN device without any problems. >=20 > And here I need some assistance to prevent the power off and to add some = tracer >=20 > in the hypervisor. >=20 > By the way I have no problems with the sound device. >=20 > If wanted I can add more informations. >=20 > Thanks. >=20 > Dietmar. =2D-=20 Company details: http://ts.fujitsu.com/imprint.html --Boundary-01=_RaA2MgdMJbvoZdJ Content-Type: text/html; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable

Hi Allen,

Am 05.11.20= 10 schrieb ""Kay, Allen M" <allen.m.kay@intel.com>&quo= t;:

> Dietma= r,

>

> This i= s a known issue with WLAN passthrough cause by ME (management engine) inter= action. The latest xen-unstable has quirk to workaround issue.

Are you thi= nk of this quirk:

http://xenb= its.xensource.com/staging/xen-unstable.hg?rev/b48d8f27fca2

> Can yo= u give it a try and let me know if it fixes the problem for you?

I looked at= the sources and found your me_wifi_quirk() stuff.

But if I un= derstand the code right, the patch doesn't help.

# lspci -n = =2Ds 00:00.0

00:00.0 060= 0: 8086:0044 (rev 02)

So IS_ILK(i= d) should be true.

But my WLAN= adapter is:

10:00.0 Net= work controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)

# lspci -n = =2Ds 10:00.0

10:00.0 028= 0: 8086:422c (rev 35)

And the id = 8086:422c is not in your switch statement and therewith

map_me_phan= tom_function() is not called.

By the way = I don't see a pci device 0:22.7

> By the= way, which brand of Core i5 laptop do you have. I would like to see if I = have one locally.

It's a Fuji= tsu Lifebook S760

Following t= he intel spec I checked the device id of the D31:F0 device function:

00:1f.0 ISA= bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller= (rev 05)

# lspci -n = =2Ds 00:1f.0

00:1f.0 060= 1: 8086:3b07 (rev 05)

And this is= the Intel=AE QM57 Chipset.

Thanks.

Dietmar.

For your in= formation:

# lspci

00:00.0 Hos= t bridge: Intel Corporation Core Processor DRAM Controller (rev 02)

00:02.0 VGA= compatible controller: Intel Corporation Core Processor Integrated Graphic= s Controller (rev 02)

00:16.0 Com= munication controller: Intel Corporation 5 Series/3400 Series Chipset HECI = Controller (rev 06)

00:16.2 IDE= interface: Intel Corporation 5 Series/3400 Series Chipset PT IDER Controll= er (rev 06)

00:16.3 Ser= ial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controlle= r (rev 06)

00:19.0 Eth= ernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev= 05)

00:1a.0 USB= Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced H= ost Controller (rev 05)

00:1b.0 Aud= io device: Intel Corporation 5 Series/3400 Series Chipset High Definition A= udio (rev 05)

00:1c.0 PCI= bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Po= rt 6 (rev 05)

00:1c.1 PCI= bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Po= rt 2 (rev 05)

00:1d.0 USB= Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced H= ost Controller (rev 05)

00:1e.0 PCI= bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)

00:1f.0 ISA= bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller= (rev 05)

00:1f.2 SAT= A controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AH= CI Controller (rev 05)

00:1f.3 SMB= us: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05= )

00:1f.6 Sig= nal processing controller: Intel Corporation 5 Series/3400 Series Chipset T= hermal Subsystem (rev 05)

10:00.0 Net= work controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)

ff:00.0 Hos= t bridge: Intel Corporation Core Processor QuickPath Architecture Generic N= on-core Registers (rev 02)

ff:00.1 Hos= t bridge: Intel Corporation Core Processor QuickPath Architecture System Ad= dress Decoder (rev 02)

ff:02.0 Hos= t bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)

ff:02.1 Hos= t bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)

ff:02.2 Hos= t bridge: Intel Corporation Core Processor Reserved (rev 02)

ff:02.3 Hos= t bridge: Intel Corporation Core Processor Reserved (rev 02)

>

> Allen<= /p>

>

> From: = xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xenso= urce.com] On Behalf Of Dietmar Hahn

> Sent: = Tuesday, October 26, 2010 12:24 AM

> To: xe= n-devel@lists.xensource.com

> Subjec= t: [Xen-devel] Problem: WIndows domu switches power off

>

>

> Hi lis= t,

>

> I have= a special effect on a Laptop with:

>

> cpu: I= ntel(R) Core(TM) i5 CPU M 540 @ 2.53GHz with integrated graphics

>

> Chipsa= tz: Intel QM57

>

> with S= LES11 SP1 (xen-4.0 with some patches from Novell)

>

> I pass= ed through the sound and WLAN pci controller to the guest.

>

> I star= t a Windows 7 guest and while installing the driver for the WLAN

>

> contro= ller within Windows the power of the notebook got switched off.

>

> I coul= dnt see any message on the serial console.

>

> I trie= d Windows on bare metall and all runs very well. Later on starting this

>

> Window= s guest again the power got switched of after login into Windows - maybe

>

> the WL= AN driver got started there.

>

> For a = test I prepared a OpenSuSE 11.3 as HVM guest and were able to configure

>

> the WL= AN device without any problems.

>

> And he= re I need some assistance to prevent the power off and to add some tracer

>

> in the= hypervisor.

>

> By the= way I have no problems with the sound device.

>

> If wan= ted I can add more informations.

>

> Thanks= =2E

>

> Dietma= r.

--

Company det= ails: http://ts.fujitsu.com/imprint.html

--Boundary-01=_RaA2MgdMJbvoZdJ-- --===============2070881489== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2070881489==--