From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joanna Rutkowska Subject: Re: Re: DomU lockups after resume from S3 on Core i5 processors Date: Tue, 06 Jul 2010 00:07:46 +0200 Message-ID: <4C3257B2.1040002@invisiblethingslab.com> References: <4C31B629.7070601@invisiblethingslab.com> <4C324E8C.4030305@invisiblethingslab.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0099264852==" Return-path: In-Reply-To: <4C324E8C.4030305@invisiblethingslab.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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0099264852== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFDAC256F8398090502770DF3" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFDAC256F8398090502770DF3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/05/10 23:28, Joanna Rutkowska wrote: > On 07/05/10 12:38, Joanna Rutkowska wrote: >> I'm experiencing very reproducible DomU lockups that occur after I >> resume the system from an S3 sleep. Strangely this seem to happen only= >> on my Core i5 systems (tested on two different machines), but not on >> older Core 2 Duo systems. >> >> Usually this causes the apps (e.g. Firefox) running in DomUs to become= >> unresponsive, but sometimes I see that some very limited functionality= >> of the app is still available (e.g. I can open/close Tabs in Firefox, >> but cannot do much anything more). Also, when I log in to the DomU via= >> xm console, I usually can see the login prompt, can enter the username= , >> but then the console hangs. >> >> I tried to attach to such a hanged DomU using gdbserver-xen, but when = I >> subsequently try to attach to the server from gdb (via the target >> 127.0.0.1:9999 command), my gdb segfaults (how funny!). >> >> I'm running Xen 3.4.3, and fairly recent pvops0 kernel in DomU. In Dom= 0 >> I run 2.6.34-xenlinux kernel (opensuse patches), but I doubt it is >> relevant in any way. >> >> This seems like a scheduling problem, and, because it seems to affect >> Core i5 processors, but not Core 2 Duos, it might have something to do= >> with Hyperthreading perhaps? >> > Ok, finally got the gdbsever working. This is the backtrace I get when > attaching to a lockedup DomU after resume: >=20 > #0 0xffffffff810093aa in ?? () > #1 0xffffffff8168be18 in ?? () > #2 0xffff880003a21600 in ?? () > #3 0xffffffff8100ee63 in HYPERVISOR_sched_op () > at > /usr/src/debug/kernel-2.6.32/linux-2.6.32.x86_64/arch/x86/include/asm/x= en/hypercall.h:292 > #4 xen_safe_halt () at arch/x86/xen/irq.c:104 > #5 0xffffffff8100c33e in raw_safe_halt () at > /usr/src/debug/kernel-2.6.32/linux-2.6.32.x86_64/arch/x86/include/asm/p= aravirt.h:110 > #6 xen_idle () at arch/x86/xen/setup.c:193 > #7 0xffffffff81011cdd in cpu_idle () at arch/x86/kernel/process_64.c:1= 43 > #8 0xffffffff8144b997 in rest_init () at init/main.c:445 > #9 0xffffffff81824ddc in start_kernel () at init/main.c:695 > #10 0xffffffff818242c1 in x86_64_start_reservations > (real_mode_data=3D) at arch/x86/kernel/head64.c:12= 3 > #11 0xffffffff81828160 in xen_start_kernel () at > arch/x86/xen/enlighten.c:1300 > #12 0xffffffff838f3000 in ?? () > #13 0xffffffff838f4000 in ?? () > #14 0xffffffff838f5000 in ?? () >=20 > Any ideas? >=20 =2E.. and when I disabled Hyperthreading in BIOS, the problem seems to gone. Obviously this is not a desired solution... joanna. --------------enigFDAC256F8398090502770DF3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkwyV7cACgkQORdkotfEW85/CgCfSmZrnBYXhkO+RQdH/LfsMYAD vmkAoICLNg29nQyeBA/EhzPHpAavUsQB =KmzL -----END PGP SIGNATURE----- --------------enigFDAC256F8398090502770DF3-- --===============0099264852== 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 --===============0099264852==--