Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQv78-0005If-1q for qemu-devel@nongnu.org; Sat, 24 Jan 2009 21:52:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQv76-0005IT-Gb for qemu-devel@nongnu.org; Sat, 24 Jan 2009 21:52:45 -0500 Received: from [199.232.76.173] (port=34924 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQv76-0005IQ-DC for qemu-devel@nongnu.org; Sat, 24 Jan 2009 21:52:44 -0500 Received: from mail.bmts.com ([216.183.128.202]:43254) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQv76-0006y9-0E for qemu-devel@nongnu.org; Sat, 24 Jan 2009 21:52:44 -0500 Received: from brennin.fionavar.dd (ppp-144-017.bmts.com [216.183.144.17]) by mail.bmts.com (8.13.7/8.12.10) with ESMTP id n0P2h8tj001996 for ; Sat, 24 Jan 2009 21:43:08 -0500 (EST) Date: Sat, 24 Jan 2009 21:51:57 -0500 From: Daniel Dickinson Message-ID: <20090124215157.557f1116@brennin.fionavar.dd> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/sklykEIHQWcI2SYrrb_7I9="; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: [Qemu-devel] Debugging AIO hangs Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Sig_/sklykEIHQWcI2SYrrb_7I9= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, I have reported Debian bug #474386 sometime ago, and in the process tracked the hangs I was experiencing (consistently during windows 98se guest install, which is what I used to git bisect the commits, but also at random times with different Ubuntu guests) to one of the following three commits: The last good revision is 2072 (git d62ca2669be6d6af2c0cbda47abd7e51548060bf) The first known bad commit is 2075 (git 83f640910acd7cd13ff8a603f29c46033c4fb00) Which is where the aio code was introduced. Since those commits the hangs occur and have not disappeared with fairly recent SVN builds. My question is where I should start looking and what I should do to start tracking down where in the code the hangs are occurring. I don't know aio and there is a lot of code to look at; I don't think I'm going to figure it the problem purely by inspection and I have limited time to work on this, so anything that makes my time spent more useful would be appreciated. I know the code has changed since those commits, but the problem hasn't changed since then, so I am assuming there is a fairly basic (yet hard to find) flaw that causes the aio to block, probably due to deadlock, but possibly for other reasons. FYI I have browsed the user forums and it looks like there are other people who experience the same issues (random vm hangs in various guests, and no luck with 98se), so I assume that it's not just my hardware or specific to my system (but perhaps to debian-derived systems as the other reports are from debian or ubuntu systems, IIRC). Regards, Daniel --=20 And that's my crabbing done for the day. Got it out of the way early,=20 now I have the rest of the afternoon to sniff fragrant tea-roses or=20 strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org --Sig_/sklykEIHQWcI2SYrrb_7I9= Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkl7080ACgkQhvWBpdQuHxw7cACfWBJZ1RCMwdqxa1hnwrzw0liD O4EAn075UNlRzyrwuZOlnDIJyIGcuDe8 =tvKW -----END PGP SIGNATURE----- --Sig_/sklykEIHQWcI2SYrrb_7I9=--