From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Marczykowski Subject: Re: High CPU temp, suspend problem - xen 4.1.5-pre, linux 3.7.x Date: Mon, 25 Mar 2013 15:56:32 +0100 Message-ID: <515065A0.6030604@invisiblethingslab.com> References: <5140E69F.9090803@invisiblethingslab.com> <20130315130240.GA8582@phenom.dumpdata.com> <514C79F3.5050504@invisiblethingslab.com> <20130322165651.GA4827@phenom.dumpdata.com> <515036BF.10105@invisiblethingslab.com> <20130325141701.GI11546@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6823593192007761406==" Return-path: In-Reply-To: <20130325141701.GI11546@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============6823593192007761406== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF149456E107E3D0C3D2F1D77" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF149456E107E3D0C3D2F1D77 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25.03.2013 15:17, Konrad Rzeszutek Wilk wrote: > On Mon, Mar 25, 2013 at 12:36:31PM +0100, Marek Marczykowski wrote: >> On 22.03.2013 17:56, Konrad Rzeszutek Wilk wrote: >>> This reminds me of something. I recall a long long time ago seeing so= mething like this.... >>> Completly forgot about this until now. The difference was whether the= Xen's cpu_idle=20 >>> as running a) the acpi_idle (so using the different C-states), or b) = the default one >>> (so just using HLT). >>> >>> With the b), during resume it would get half-way through >>> (http://darnok.org/xen/devel.acpi-s3.v1.serial.log) while with a) it = would actually >>> continue on - http://darnok.org/xen/devel.acpi-s3.v0.serial.log >>> >>> This was on some MSI MS-7680/H61M-P23 (MS-7680) motherboard. >>> >>> Oh look: http://lists.xen.org/archives/html/xen-devel/2011-06/msg0205= 9.html >>> >>> And it looks Kevin's recommendation was use the a) case with max_csta= tes=3D1 >>> to narrow it down. >> >> When default_idle used, resume doesn't work at all (even the first one= ). Details: >> (1) With max_cstates=3D1, without xen-acpi-processor module: default_i= dle used. >> Suspend succeed, but always hang at resume. >=20 > AHA! So the bug persist. >> >> (2) With max_cstate=3D1, with xen-acpi-processor module loaded: acpi_i= dle used. >> Suspend succeed, resume also, but after resume above problem exists (h= igh >> temperature, C2-C3 states only present on CPU0, subsequent suspends al= ways >> ends up with reboot). >> >> (3) Without max_cstate=3D1, with xen-acpi-processor module loaded: sam= e as (2). >> >> (4) Without max_cstate=3D1, without xen-acpi-processor module loaded: = same as (1). >> >> One more observation: when xen compiled with debug=3Dy, (2) and (4) ca= ses >> behaves the same as (1). >=20 > Oh, that is something new. I've tried also some (automated :) ) bisection on xen from 4.1.2 to 4.1.4= , but unfortunately results wasn't deterministic... My script don't distinguish= different symptoms (reboot at suspend, hang at resume, incomplete C-state= s after resume, etc), so this can be reason for such non-deterministic resu= lts... One time I've got this commit as first bad: commit 329d4280255ff44300913f24119f52d3459c1ed0 Author: Jan Beulich Date: Tue Apr 17 08:33:33 2012 +0100 XENPF_set_processor_pminfo XEN_PM_CX overflows states array Maybe related? >> >> Hopefully I will have real serial console somehow in this week and wil= l be >> able to get more details from hang and reboot cases. >> >> BTW Any chances for Xen ACPI S3 patches in upstream kernel? >=20 > Now that the regression storm of v3.9 has subsided I should have= > some breathing room to address that.=20 I keep fingers crossed. --=20 Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab --------------enigF149456E107E3D0C3D2F1D77 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRUGWkAAoJENuP0xzK19csCGgH/35Vt3NSqL2iqTxqbRODu3l6 7Tic05U31JABC1OyHDwgqkDivVMNBI1nI1gbOD1gAAP3Hr9u4wdOlFcqQQ6eosN8 hWlbfilWjaD2V6VsmjiCqmHbL8PW1dAIOPUwOKc/shWQM1ui9cVbBMdLJJap0ELg hH6BQn/oHx54ZkHBMlapwO/YGyRwD7pPm0ARpHUDaYHJIM61oxH6d04aYPHl0P9B jy7++7+N9bHoE5mrht0XbEPqgtxy3KtAybr9PfUonMXz6x5iiMEJJm5LuKjCgZwG HFEKX5CikU/d4h4Jcktd6yVB7G7xNHiO1YycXqY5Ssp02yw9bByx7P30Vlkc2sM= =HkhI -----END PGP SIGNATURE----- --------------enigF149456E107E3D0C3D2F1D77-- --===============6823593192007761406== 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.xen.org http://lists.xen.org/xen-devel --===============6823593192007761406==--