Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LATcf-0005jz-Nl for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:17:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LATcf-0005jf-8U for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:17:21 -0500 Received: from [199.232.76.173] (port=54585 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LATce-0005ja-Vr for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:17:21 -0500 Received: from hall.aurel32.net ([88.191.82.174]:60690) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LATce-0003Bw-Fu for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:17:20 -0500 Date: Wed, 10 Dec 2008 19:17:17 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] IDE: Implement SEEK command (resend) Message-ID: <20081210181717.GH19379@volta.aurel32.net> References: <821199.85524.qm@web51111.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <821199.85524.qm@web51111.mail.re2.yahoo.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: theburner1@yahoo.com, qemu-devel@nongnu.org On Wed, Dec 10, 2008 at 07:44:04AM -0800, Justin Chevrier wrote: > Resend original patch with correct Signed-off-by. Original text below. > > > Openserver issues a SEEK command during initial drive detection. It refuses to report the hard drive if this command fails. This patch gets Openserver to list the hard drive but installation still fails (freezes) later on due to an unrelated IDE issue (patch on its way). > > Justin > > Changelog: > > Implement SEEK command > > Signed-off-by: Justin Chevrier Thanks, applied. > Index: hw/ide.c > =================================================================== > --- hw/ide.c (revision 5948) > +++ hw/ide.c (working copy) > @@ -2324,6 +2324,13 @@ > s->status = READY_STAT; > ide_set_irq(s); > break; > + case WIN_SEEK: > + if(s->is_cdrom) > + goto abort_cmd; > + /* XXX: Check that seek is within bounds */ > + s->status = READY_STAT | SEEK_STAT; > + ide_set_irq(s); > + break; > /* ATAPI commands */ > case WIN_PIDENTIFY: > if (s->is_cdrom) { > > > > > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net