tape drive errors, is there a listing
Mike Sanfratello
mcs at fps.com
Fri May 10 06:48:30 AEST 1991
In article <16615 at scorn.sco.COM> paulz at sco.COM (W. Paul Zola) writes:
>
>PROBLEM: The message "ct cmd error (%d,%b)", where %d is 0, 1 or 2
> and %b is a a hexadecimal number, appears quite frequently
> when the tape drive is in use.
>
>CAUSE: The interrupt handler contains a loop which polls the tape,
> waiting for the status to say Ready or Exception. If neither
> bit gets set in a reasonable amount of time, the loop runs out
> and the status read may not be accurate. As machines have become
> faster, this time period may have become too short for some
> configurations, and hence the error messages.
This is very poor driver construction; blind spin loops should be outlawed!
I've seen the ct driver source, and I'm sure you'll agree with me that this
is a very poor example of a tape driver and should be redone.
More information about the Comp.unix.xenix.sco
mailing list