2.5.72: SCSI tape error handling

Bob Tracy (rct@gherkin.frus.com)
Thu, 19 Jun 2003 16:36:35 -0500 (CDT)


I was trying to do the responsible thing and back up my system today
(for the first time in too many weeks :-)), and got the following
errors in syslog about 15 minutes into the process:

Jun 19 09:55:04 gherkin kernel: st0: Error with sense data: Info fld=0x3ba, Deferred stst0: sense key Medium Error
Jun 19 09:55:04 gherkin kernel: Additional sense: Write append position error
Jun 19 09:55:04 gherkin kernel: st0: Error with sense data: Current stst0: sense key Medium Error
Jun 19 09:55:04 gherkin kernel: Additional sense: Write append position error
Jun 19 09:55:04 gherkin kernel: st0: Error with sense data: Current stst0: sense key Medium Error
Jun 19 09:55:04 gherkin kernel: Additional sense: Write append position error
(... ad infinitum for the next three hours -- backup was unattended.
There were no error messages of any kind on the console.)

I'm going to ASSume that cpio would have done something appropriate if
the underlying write() call had returned some kind of error. The fact
that write() is evidently NOT returning an error is a problem. For me,
it's a show-stopper. I can handle bad tapes if the userland side of
things will report there's a problem.

st0 is an Exabyte 8mm tape drive. SCSI adapter is an Adaptec 2930U2
using the new aic7xxx driver (as included with the 2.5.72 kernel).

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