lkml.org 
[lkml]   [1998]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: More data on ide-cd "playing music" death
Romano Giannetti wrote:
> So, I think that this shuold be hw related, but I think too that
> having to reboot the machine is a bit strong. I will like an abrupt
> solution too (reset the drive and SIGSEGV all programs waiting for it),
> everything is better than having an almost-dead machine. I mean,
> something on the line of:
>
> static int being_confused=0;
> ...
> } else {
> printk ("%s: cdrom_pc_intr: The drive "
> "appears confused (ireason = 0x%2x)\n",
> drive->name, ireason);
> being_confused++;
> if (being_confused>10) {
> /* Use _really_ drastic measures to reset drive*/
> being_confused=0;
> }
> pc->stat = 1;
> }
>
> Well, not so much help, but I am ready to try patches at your will.
> Bye,
> Romano

I'm working on a patch for that - could you try this one out? It's
very messy, but see if it does anything for you.

--
* Jens Axboe
*
* "The only thing that interferes with my
* learning is my education." -- A. Einstein[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2011 Jasper Spaans