Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 31 Jul 2002 14:54:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 31 Jul 2002 14:54:27 -0400 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:7950 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Wed, 31 Jul 2002 14:54:27 -0400 Date: Wed, 31 Jul 2002 14:52:00 -0400 (EDT) From: Bill Davidsen To: Mark Lord cc: Mukesh Rajan , linux-kernel@vger.kernel.org Subject: Re: IDE, putting HD to sleep causes "lost interrupt" In-Reply-To: <3D47D59B.6B8CFED7@pobox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 998 Lines: 25 On Wed, 31 Jul 2002, Mark Lord wrote: > Well, the answer is very simple, then: DON'T DO THAT. > > When an ATA (IDE) drive is put to sleep (-Y), > it *requires* a reset to revive it for any future commands. > > The IDE driver doesn't know about the -Y, so it just attempts > I/O a few times before digging out the BIG hammer and doing a reset. Would it be a reasonable thing to include the -Y information in the device status so that the driver could know a reset was required? Since the driver sends the command it has the chance to notice there, or might read a status, or ??? Or is this undesirable for some other reason? -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/