tape drive errors, is there a listing
W. Paul Zola
paulz at sco.COM
Sat May 4 04:51:33 AEST 1991
In article <892 at wyn386.mi.org> danielw at wyn386.mi.org (Daniel Wynalda) writes:
}I have a bunch of 60 MB tape drives in house. They vary from Archive
}to Wangtek to Caliper. All of the drives are similar in design and take
}the same type of tape cartridge. I have a machine here that doesn't
}seem to like my tape drives and I can't find anywhere that explains the
}error messages I receive from the drivers.
}
[ questions about the meaning of ct cmd errors deleted ]
The following article from the SCO Information Tools database should help
with your problem. I'm posting because I think this may be of general
interest.
################## cut here ################ cut here ##################
Generic QIC-02 tape drive: "ct cmd error(%d, %b)".
RELEASE: SCO XENIX System V Operating System Generic
SCO UNIX System V/386 Operating System Generic
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.
SOLUTION: The error codes %d and %b in the message "ct cmd error (%d, %b)"
indicate the following, depending on the values of %d and %b:
when %d is: it means the tape driver is:
---------------------------------------------------------
0 trying to sleep at interrupt time
1 waiting for READY or EXEC has failed
2 waiting for READY, active has failed
when %b is: the command issued to controller is:
----------------------------------------------------------
0x20 position tape
0x40 write data
0x60 write file mark
0x80 read data
0xa0 read file mark
0xc0 read status
0xff impossible command value
################## cut here ################ cut here ##################
I hope this helps you with your problem.
-
Paul Zola Support Technical Lead, Operating System
paulz at sco.COM
Gotta tend the earth if you want a rose. - Emily Saliers
DISCLAIMER: I speak for myself, and not for SCO.
}
}--
}Daniel Wynalda | (616) 866-1561 X22 Ham:N8KUD Net:danielw at wyn386.mi.org
}Wynalda Litho Inc. | 8221 Graphic Industrial Pk. | Rockford, MI 49341
More information about the Comp.unix.xenix.sco
mailing list