Re: dma ripping

From: Jens Axboe
Date: Sat May 15 2004 - 05:15:13 EST

On Fri, May 14 2004, Daniele Bernardini wrote:
> Hi Folks,
> I am trying to get cd ripping to work on a freshly installed SuSE 9.1 on
> IBM thinkpad R50 with dvdram drive.
> It works for a while and then hangs. At this point nothing short of a
> reboot works. Ripping stop working when the message
> cdrom: dropping to single frame dma
> comes up. The system feels slow for a couple of seconds and then is back
> to normal, but no ripping until next reboot
> I am running the 2.6.4 compiled by SuSE.

Can you retest with this small debug patch applied.

--- drivers/cdrom/cdrom.c~ 2004-05-15 12:12:24.770228291 +0200
+++ drivers/cdrom/cdrom.c 2004-05-15 12:13:25.101720866 +0200
@@ -1987,6 +1987,7 @@
struct request_sense *s = rq->sense;
ret = -EIO;
cdi->last_sense = s->sense_key;
+ printk("rip failed, sense %x/%x/%x\n", s->sense_key, s->asc, s->ascq);

if (blk_rq_unmap_user(rq, ubuf, bio, len))

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
Please read the FAQ at