Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755679AbYCVA34 (ORCPT ); Fri, 21 Mar 2008 20:29:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753839AbYCVA3r (ORCPT ); Fri, 21 Mar 2008 20:29:47 -0400 Received: from artax.karlin.mff.cuni.cz ([195.113.31.125]:58925 "EHLO artax.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752857AbYCVA3p (ORCPT ); Fri, 21 Mar 2008 20:29:45 -0400 Date: Sat, 22 Mar 2008 01:29:44 +0100 (CET) From: Mikulas Patocka To: "Rafael J. Wysocki" cc: linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: Re: APM crashes when IO is going on In-Reply-To: <200803212351.20186.rjw@sisk.pl> Message-ID: References: <200803212245.13659.rjw@sisk.pl> <200803212351.20186.rjw@sisk.pl> X-Personality-Disorder: Schizoid MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1908636959-412644717-1206145784=:2982" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10653 Lines: 201 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1908636959-412644717-1206145784=:2982 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 21 Mar 2008, Rafael J. Wysocki wrote: > On Friday, 21 of March 2008, Mikulas Patocka wrote: > > On Fri, 21 Mar 2008, Rafael J. Wysocki wrote: > > > > > On Friday, 21 of March 2008, Mikulas Patocka wrote: > > > > > > I found another problem --- present in 2.6.23.1, 2.6.25rc3, 2.6.25rc6 > > > > > > > > > > > > --- when I run three threads concurrently reading raw disk partition and > > > > > > suspend, I get 100% reproducible failure. (with one thread running it > > > > > > usually succeeds, sometimes fail) > > > > > > > > > > Are they userland threads or kernel threads? > > > > > > > > Useland threads. Just dd if=/dev/hda of=/dev/null > > > > > > > > > > Either the on-going I/O will jam BIOS and I need to remove power to > > > > > > continue. > > > > > > > > > > > > Or the machine suspends, wakes up and reports "hda: lost interrupt" > > > > > > (2.6.23.1 was able to recover from this condition, 2.6.25rc3,6 does not > > > > > > recover and it is not able to send any more disk IOs). > > > > > > > > > > > > How is suspending disk IO supposed to work? > > > > > > > > > > That depends on the driver, if I understand your question correctly. > > > > > > > > The driver is normal IDE. > > > > > > Do you mean IDE_GENERIC/BLK_DEV_GENERIC? > > > > Compaq Triflex IDE. The computer is Compaq Armada 7400 (Pentium 2/300MHz) > > Can you attach a dmesg output taken after a fresh boot? > > Thanks, > Rafael Here it is. Mikulas --1908636959-412644717-1206145784=:2982 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dm Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=dm TGludXggdmVyc2lvbiAyLjYuMjUtcmM2IChyb290QGdlcmxpbmRhKSAoZ2Nj IHZlcnNpb24gNC4xLjIgMjAwNjExMTUgKHByZXJlbGVhc2UpIChEZWJpYW4g NC4xLjEtMjEpKSAjMSBQUkVFTVBUIFdlZCBNYXIgMTkgMjM6MzE6NTIgQ0VU IDIwMDgNCkJJT1MtcHJvdmlkZWQgcGh5c2ljYWwgUkFNIG1hcDoNCiBCSU9T LWU4MjA6IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDAwMDlmYzAwICh1 c2FibGUpDQogQklPUy1lODIwOiAwMDAwMDAwMDAwMDlmYzAwIC0gMDAwMDAw MDAwMDBhMDAwMCAocmVzZXJ2ZWQpDQogQklPUy1lODIwOiAwMDAwMDAwMDAw MGYwMDAwIC0gMDAwMDAwMDAwMDEwMDAwMCAocmVzZXJ2ZWQpDQogQklPUy1l ODIwOiAwMDAwMDAwMDAwMTAwMDAwIC0gMDAwMDAwMDAwN2ZmODAwMCAodXNh YmxlKQ0KIEJJT1MtZTgyMDogMDAwMDAwMDAwN2ZmODAwMCAtIDAwMDAwMDAw MDgwMDAwMDAgKEFD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ucHV0Mg0KU2VyaWFsOiA4MjUwLzE2 NTUwIGRyaXZlciAkUmV2aXNpb246IDEuOTAgJCAyIHBvcnRzLCBJUlEgc2hh cmluZyBkaXNhYmxlZA0Kc2VyaWFsODI1MDogdHR5UzAgYXQgSS9PIDB4M2Y4 IChpcnEgPSA0KSBpcyBhIDE2NTUwQQ0Kc2VyaWFsODI1MDogdHR5UzEgYXQg SS9PIDB4MmY4IChpcnEgPSAzKSBpcyBhIDE2NTUwQQ0K --1908636959-412644717-1206145784=:2982-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/