Re: [BUG] DVD writing in 2.6.6-rc2

From: Jens Axboe
Date: Thu Apr 29 2004 - 01:31:43 EST


On Wed, Apr 28 2004, Chris Wedgwood wrote:
> On Thu, Apr 29, 2004 at 08:19:58AM +0200, Jens Axboe wrote:
>
> > Yeah, with 'retries' I mean waiting retries. The command does expire
> > and ide-cd notices it just doesn't put an upper bound on how long it
> > waits. A minute or so should suffice, unless the caller specifies
> > otherwise.
>
> Can we poke the IDE drive is it's hung or reset it in these cases? I
> wonder more in the general case where I've had to reboot because the
> burner went nuts for some reason...

Drive needs to be reset. Something like this should be all that's
needed.

===== drivers/ide/ide-cd.c 1.81 vs edited =====
--- 1.81/drivers/ide/ide-cd.c Mon Apr 26 22:56:10 2004
+++ edited/drivers/ide/ide-cd.c Thu Apr 29 08:29:07 2004
@@ -844,7 +844,6 @@
case GPCMD_FORMAT_UNIT:
case GPCMD_RESERVE_RZONE_TRACK:
case GPCMD_CLOSE_TRACK:
- case GPCMD_FLUSH_CACHE:
wait = ATAPI_WAIT_PC;
break;
default:

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/