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: Tue, 26 Mar 2013 13:17:16 +0100 Message-ID: <515191CC.6060609@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="===============2979460510639927366==" 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) --===============2979460510639927366== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig16C19683E5D97713418A2B4A" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig16C19683E5D97713418A2B4A 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: >>> On Fri, Mar 22, 2013 at 04:34:11PM +0100, Marek Marczykowski 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. Finally got serial console :) The debug=3Dy problem is (actually at resume): (XEN) Assertion 'test_bit(vector, cfg->used_vectors)' failed at io_apic.c= :542 (XEN) ----[ Xen-4.1.5-rc1 x86_64 debug=3Dy Tainted: C ]---- (XEN) CPU: 0 (XEN) RIP: e008:[] smp_irq_move_cleanup_interrupt+0x= 1c3/0x23d (XEN) RFLAGS: 0000000000010046 CONTEXT: hypervisor (XEN) rax: 0000000000000000 rbx: 00000000000000e9 rcx: ffff82c48029ff= 18 (XEN) rdx: 00000000000000e9 rsi: 000000000000002a rdi: ffff8304210605= 38 (XEN) rbp: ffff82c48029ff08 rsp: ffff82c48029feb8 r8: ffff88041820eb= 60 (XEN) r9: 0000000000000000 r10: 0000000000007ff0 r11: 00000000000000= 00 (XEN) r12: ffff830421080250 r13: ffff830421060534 r14: ffff82c48029ff= 18 (XEN) r15: ffff82c4802dd9e0 cr0: 000000008005003b cr4: 00000000000026= f0 (XEN) cr3: 0000000300b81000 cr2: ffff880402070198 (XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: 0000 cs: e008 (XEN) Xen stack trace from rsp=3Dffff82c48029feb8: (XEN) 0000000000000000 000000000000e030 ffff82c48029ff18 ffff82c4802dd= 9e0 (XEN) ffff8802cac3c7c0 00000000ffff3729 00000000ffff3729 000000013fff3= 728 (XEN) ffffffff81b907c0 00000000ffff3729 00007d3b7fd600c7 ffff82c48014d= e60 (XEN) 00000000ffff3729 ffffffff81b907c0 000000013fff3728 00000000ffff3= 729 (XEN) ffffffff81a01e18 00000000ffff3729 0000000000000000 0000000000007= ff0 (XEN) 0000000000000000 ffff88041820eb60 ffff8803fd1820a8 ffffffff81b90= a88 (XEN) 000000000000002a 000000000000002a 00000000ffff372a 0000002000000= 000 (XEN) ffffffff8105dd5a 000000000000e033 0000000000000246 ffffffff81a01= db8 (XEN) 000000000000e02b 0000000000000000 0000000000000000 0000000000000= 000 (XEN) 0000000000000000 0000000000000000 ffff8300ca9a0000 0000000000000= 000 (XEN) 0000000000000000 (XEN) Xen call trace: (XEN) [] smp_irq_move_cleanup_interrupt+0x1c3/0x23d (XEN) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) Assertion 'test_bit(vector, cfg->used_vectors)' failed at io_apic.c= :542 (XEN) **************************************** --=20 Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab --------------enig16C19683E5D97713418A2B4A 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.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRUZHNAAoJENuP0xzK19csOcAH/2rCdQ6NKwNkq34XlbRYL71f AI3PlQwoe129vUo0wEKuhF4aairQV31JD10Y4NXqALigxelXYa3vf7aIyM9+w71b UdXiefsk3VvnjgPyOybpHUuF1ZZJTI2LUXyooj8lLh0OEmz9ppVkVWNXLD9ZWzAv Z9oJ2ltfnbg/sR1g0B56DdyXyIB03M6dPyzZoSEpr0UTeHwIGeYC6KQjQ3jgL/fR dfmhZnnzt/rh0q38F9vsn605ba08iFA0qEf8JmhQkAoXAflY/tN/ruSZhQ2j492V 2j1ulsnRA9zqWdrTQdGVMiUGgNsm5+DXafiP+2qodH91Zb1drZlblz1q5owK4jE= =JU8M -----END PGP SIGNATURE----- --------------enig16C19683E5D97713418A2B4A-- --===============2979460510639927366== 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 --===============2979460510639927366==--