|
|
1.1 root 1: sstt -- Device Driver
2:
3:
4: The /ddeevv/rrsstt* devices provide access to the Archive SC-400 streaming tape
5: controller. Each entry is assigned major device number 12, and may be
6: accessed as a character-special device.
7:
8: The sstt tape driver handles one 0.25-inch streaming-tape drive. Minor
9: device 0 requests allocation of a 256-kilobyte tape cache and should be
10: used unless the system has minimal memory (e.g., less than 640 kilobytes).
11: Minor devices 1 through 127 request allocation of a tape cache of one to
12: 127 kilobytes. These devices normally rewind the tape during the close;
13: adding 128 to a minor-device number specifies non-rewind on close.
14:
15: For an interface to be accessible from the COHERENT system, a device file
16: must be present in directory /ddeevv with the appropriate type, major, and
17: minor device numbers, and permissions. The following gives an example form
18: of the command mmkknnoodd to creates a special file for a device:
19:
20: /etc/mknod /dev/rst256 c 12 0
21: /etc/mknod /dev/nrst256 c 12 128
22:
23: Tape-oriented commands under COHERENT (e.g., ttaarr) normally the disk devices
24: to store their output. The following sample commands associate the generic
25: interface with the Archive streaming tape driver:
26:
27: /bbiinn/llnn -ff /ddeevv/rrsstt225566 /ddeevv/rrmmtt
28: /bbiinn/llnn -ff /ddeevv/nnrrsstt225566 /ddeevv/nnrrmmtt
29:
30: Depending on the amount of memory available, you may wish to restrict the
31: amount of memory used to buffer tape data. This may be done by linking the
32: appropriate /ddeevv/rrsstt entry to /ddeevv/rrmmtt. For example, /ddeevv/rrsstt6644 allocates
33: 64 kilobytes during tape transfer whereas /ddeevv/rrsstt3322 allocates only 32
34: kilobytes.
35:
36: _H_a_r_d_w_a_r_e
37:
38: The following kernel variables define the hardware interface to streaming
39: tape.
40:
41: SSTTIIRRQQ Specify the interrupt vector (default, 3).
42:
43: SSTTPPOORRTT Specify the input/output port (default, 0x200).
44:
45: SSTTDDMMAA Specify the DMA channel (default, 1).
46:
47: Should these parameters conflict with other system hardware, you should use
48: the command /ccoonnff/ppaattcchh to rebuild the kernel appropriately. See the
49: Lexicon article on hhss for sample commands.
50:
51: _F_i_l_e_s
52: /ddeevv/rrsstt* -- Auto-rewind character-special file
53: /ddeevv/nnrrsstt* -- Non-rewinding character-special file
54: <ssyyss/mmttiiooccttll.hh>-- Tape iiooccttll commands
55:
56: _S_e_e _A_l_s_o
57: ddeevviiccee ddrriivveerrss, ttaarr
58:
59: _N_o_t_e_s
60: As delivered, the Archive tape controller uses interrupt vector 3. If this
61: interrupt is to be used, then the COHERENT kernel must be configured
62: without the second serial line driver (e.g., /ddeevv/ccoomm22*).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.