[lkml]   [2003]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Can't burn DVD under 2.5.59 with ide-cd
On Thu, Jan 23 2003, Gregoire Favre wrote:
> On Thu, Jan 23, 2003 at 06:52:24PM +0100, Joerg Schilling wrote:
> > In one of my mails, I decribed why there are 2 bugs in the kernel.
> > Only one of them so far has been fixed. The sense data is still missing.
> Oups, sorry I didn't read enough carefully!!!
> Does someone know how to fix the sense data bug?

In drivers/ide/ide-cd.c:cdrom_end_request(), try to insert something

if ((rq->flags & REQ_SENSE) && uptodate) {
struct request *failed = (struct request *) rq->buffer;
struct cdrom_info *info = drive->driver_data;
void *sense = &info->sense_data;

+ if (failed && block_pc_request(failed))
+ printk("%s: failed %p\n", __FUNCTION__, failed->sense);

if (failed && failed->sense)
sense = failed->sense;

cdrom_analyze_sense_data(drive, failed, sense);

in pseudo-patch form.

Jens Axboe

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.138 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site