Re: 2.5.46: ide-cd cdrecord (almost) success report

From: Jens Axboe (axboe@suse.de)
Date: Wed Nov 06 2002 - 02:44:57 EST


On Wed, Nov 06 2002, Jens Axboe wrote:
> > when the cdrecord buffer underran was surprising, though: oops below.
> > Very repeatable. Can supply copious hw details if it helps.
>
> I'll try and reproduce that here, there's been a similar report (same
> oops) before. If you can just send me the dmesg output after a boot that
> should be fine.

Could you reproduce with this patch? I'd like to see the request state
when this happens.

===== drivers/ide/ide-cd.c 1.32 vs edited =====
--- 1.32/drivers/ide/ide-cd.c Sun Nov 3 19:57:35 2002
+++ edited/drivers/ide/ide-cd.c Wed Nov 6 08:44:04 2002
@@ -1722,6 +1722,11 @@
                         blen = bio_iovec(rq->bio)->bv_len;
                 }
 
+ if (!ptr) {
+ blk_dump_rq_flags(rq, "cdrom_newpc_intr");
+ break;
+ }
+
                 if (blen > thislen)
                         blen = thislen;
 

-- 
Jens Axboe

- 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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:42 EST