A single QIC-02 or QIC-36
cartridge tape drive can be supported by the
ct device driver.
Error code correction (ECC) is supported for
the QIC-02 though the /dev/ect0 device node.
If a SCSI tape drive is installed as the default
device and there is no tape cartridge drive installed,
it will be linked to the /dev/rct0 device node instead.
If both SCSI and cartridge drives are
installed, the SCSI device node cannot be
linked to this node.
See
tape(HW)
for details of the
ioctl(S)
commands supported by the ct driver.
Quarter Inch Committee (QIC) recording formats
The following table shows the tape cartridge compatibility and
capacity for the various QIC recording formats:
Format
Cartridge
Capacity
QIC-24
DC600A
60MB
QIC-120
DC6150
125MB
QIC-150
DC6150
150MB
DC6250
250MB
QIC-525
DC6320
320MB
DC6525
525MB
QIC-1000
DC9100
1.01GB
QIC-1350
DC9135
1.35GB
Note that the high capacity formats listed are generally only
supported by SCSI cartridge tape drives.
Minor device numbers
The minor device numbering scheme is shown in the
following table. Using this information, you can construct
the minor number of any allowable cartridge tape configuration.
The mknod command can be used to create special device files;
see
mknod(C)
for more information.
Cartridge tape minor device bit representation
Bits
7
6
5
4
3
2
1
0
Description
-
-
-
-
-
-
-
X
unit 0 or 1
-
-
-
-
-
-
1
0
unit 2
-
-
-
-
-
1
0
0
unit 3
-
-
-
-
X
-
-
-
1 = no rewind (/dev/n*), 0 = rewind on close
-
-
-
X
-
-
-
-
tape format 0 = QIC-24 (/dev/*ct0), 1 = QIC-11 (/dev/*ct2)
-
-
X
-
-
-
-
-
perform ECC on data (/dev/ect0, QIC-24 only)
-
X
-
-
-
-
-
-
fast mode (uses more memory)
X
-
-
-
-
-
-
-
1 = control/override device (/dev/xct*)
Diagnostics
The following error messages may be displayed on the console.
See
messages(M)
for general information about kernel error messages,
including a list of generic device driver errors.
Some of these messages print the unit number (#) of
the drive on which the problem occurred.
CONFIG: ct#: Cannot allocate nk tape buffer for dev major/minor
(CTBUFSIZE = nk too small)
Increase the size of the tunable variable CTBUFSIZE.
CONFIG: Tape controller ct=type(0xbase,irq,dma) error n: Not found
The registers of the controller specified in the file
/usr/sys/io/ctconf.asm
were not found on initialization.