Jens Axboe wrote:
> On Wed, Jan 22 2003, Joerg Schilling wrote:
> > I thought it's obvious: It is most likely a problem caused by the broken
> > bit #defines in the Linux kernel for the SCSI status byte. I assume that
> > status should be 0x02 instead of 0x01. In addition, I would guess that
>
> Sounds plausible. Patch attached. Anyone care to expand on _why_ these
> status bytes are shifted one bit?
Possibly related... I was using SCSI tape to back up my 2.5.59 system
the other day. A media error was encountered, but the application (cpio
in this case) never saw the error and kept on trying to write to the bad
tape. Fortunately, I caught it after only 40 MB of associated syslog
entries had been made.
Thanks for the patch. I can now go back to "unattended" backup mode
(except for having to change tapes periodically) :-).
-- ----------------------------------------------------------------------- Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org rct@frus.com ----------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:29 EST