Re: Oops/kernel panic with CD jukebox, 2.4.0-test{6,7}

From: Steven S. Dick (ssd@nevets.oau.org)
Date: Sun Sep 03 2000 - 00:45:12 EST


Anssi V I Johansson <avijohan@cc.helsinki.fi> wrote:
>Greetings. I'm having serious problems with my external NEC/Nakamichi
>MBR-7 7-CD jukebox. Linux gives me an oops _every_time_ I try to
>access two CDs from that jukebox at the same time and sometimes it even
>gives me a kernel panic when I'm doing that. Not very nice..

I've been fighting with this bug (and about 4 others that covered it up)
for about a year now.

I've spent the last week or so debugging this with Eric Youngdale.
I think he has it fixed. I assume he'll put the patch in the next
release of the kernel. (Right?)

In the meanwhile, here's a patch for it, against 2.4-test7

--- orig/drivers/scsi/scsi.c Mon Jul 31 14:00:06 2000
+++ linux/drivers/scsi/scsi.c Wed Aug 30 21:09:26 2000
@@ -384,7 +384,7 @@
                                          * return NULL.
                                          */
                                         SCpnt = NULL;
- break;
+ goto busy;
                                 }
                         }
                         /*
@@ -402,6 +402,7 @@
                 if (SCpnt) {
                         break;
                 }
+ busy:
                 /*
                  * If we have been asked to wait for a free block, then
                  * wait here.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:15 EST