Re: Scsi tape - returns ENXIO after an error (aha1542) [PATCH]

C S Hendrix (shendrix@escape.widomaker.com)
Thu, 12 Nov 1998 12:28:25 -0500


In message <3649ADCF.87BC328A@estinc.com>, Richard Fish writes:

> This is a multi-part message in MIME format.
> --------------8D5CB9FFF7C338E2E58800CD
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Some weeks ago, there was discussion on linux-kernel about a problem
> with SCSI tape drives connected to a 1542 being put offline after any
> kind of error. Since it still occurs in the 2.1.127 kernel, I'm
> assuming there was no fix for this.
>
> My understanding of the problem is this:
[snip]

I think it is VERY important that people realize this problem is
NOT limited to the systems with 154x controllers.

My system with a DPT 2044W is also failing when accessing the tape
drive. Something happened regarding tape support between 2.0 and
2.1 kernels. I have had to fall back to 2.0.35 because I cannot
get reliable tape operation in 2.1.x.

> Assuming that my understanding of the problem is correct, I have
> attached a patch that suppresses the error handling code if the sense
> data indicates EOM or FMK. Please let me know if this breaks anything,
> or if there is some other reason not to include it in the kernel.

Is there a way to do this in a way that is not specific to the SCSI
controller driver? Or would each low-level driver have to receive
a similar patch?

--
Shannon - shendrix@widomaker.com - www.widomaker.com - Linux 2.0.x
----------------------------------------------------------------------
"Since a politician never believes what he says, he is surprised
when others believe him."  -- Charles DeGaulle

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