Re: OOPs reading audio data from CD, ide-cd.

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Sat Jan 19 2002 - 03:19:16 EST


On Fri, 18 Jan 2002, Ben Clifford wrote:

> 2.5.2, patched with: accessfs, i810_audio 0.20

I submitted a patch to fix this in 2.4.18-pre2. Here it is again,
hopefully it will apply, if not send me drivers/ide/ide-cd.c and i'll do a
patch for you.

Regards,
        Zwane Mwaikambo

--- linux-2.4.18-pre2/drivers/ide/ide-cd.c.orig Wed Jan 9 11:04:47 2002
+++ linux-2.4.18-pre2/drivers/ide/ide-cd.c Wed Jan 9 11:05:14 2002
@@ -1462,11 +1462,8 @@
                 ide_init_drive_cmd (&req);
                 req.cmd = PACKET_COMMAND;
                 req.buffer = (char *)pc;
- if (ide_do_drive_cmd (drive, &req, ide_wait)) {
- printk("%s: do_drive_cmd returned stat=%02x,err=%02x\n",
- drive->name, req.buffer[0], req.buffer[1]);
- /* FIXME: we should probably abort/retry or something */
- }
+ ide_do_drive_cmd (drive, &req, ide_wait);
+
                 if (pc->stat != 0) {
                         /* The request failed. Retry if it was due to a unit
                            attention status

-
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 : Wed Jan 23 2002 - 21:00:31 EST