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

From: Anssi V I Johansson (avijohan@cc.helsinki.fi)
Date: Sun Sep 03 2000 - 02:44:26 EST


[lkml ppl can visit http://iki.fi/avij/linux-scsi.html for the full story]

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

With success, I might add.

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

Yes, this patch works. No matter how hard I try to break things
it works just beautifully. Even running cat and du at the same
time acts sanely. Thanks! Now my NEC MultiSpin 2Xc (a.k.a.
old loyal workhorse) is usable again.

> --- 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.

-- 
-- avij(at)iki.fi -- anssi johansson -- u of helsinki, computer sc. --
--    "Meglio vivere un giorno da leone che cent'anni da pecora"    --

- 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