Pat
(India)
The example below is from a magnetic tape drive, hence the "mt" and "MAKEDEV tape"
commands.
1. Let's assume for the moment your Cipher 9-track is on scsi controller 0,
and is device number 2. Do this:
prompt% mt status /dev/rmt/tps0d2
Controller: SCSI
Device: CIPHER: 12345-CCC6.78
Status: 0x202
Drive type: 9TRACK
Media : Not READY
Now name what's after "Device:", "CIPHER" as XX and call what's after the next
":", "12345-CCC6.78" as YY.
2. Edit /var/sysgen/master.d/scsi. Copy over and replace the fifth and sixth
fields of the chosen template entry with "XX" and "YY", and replace the third
and fourth fields with the length in characters of "XX" and "YY" respectively.
I'm modifying the KENNEDY 96X2 TAPE driver, because tpsc_default_hwg_dens_names
in the CIPHER TPQIC24 driver doesn't specifically list 6250, but
tpsc_kennedy_hwg_dens_names does--see the comments at the top of the
/var/sysgen/master.d/scsi file.
{ KENNEDY96X2, TP9TRACK, 6, 13, "CIPHER", "12345-CCC6.78", 0, 0,
{3, 6, 2, 1}, MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_LEOD |
MTCAN_CHKRDY|MTCAN_VAR| MTCAN_SETSZ|MTCAN_SETSP|MTCAN_SETDEN|
MTCAN_SYNC|MTCANT_RET|MTCANT_IMM,
20, 150, 20*60, 5*60, 5*60, 512, 60*512,
tpsc_kennedy_dens_count, tpsc_kennedy_hwg_dens_names, tpsc_kennedy_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
From the only modified line (the first one):
6 because CIPHER is six characters long.
13 because 12345-CCC6.78 is thirteen characters long.
"CIPHER" because that was the XX from the mt status output.
"12345-CCC6.78" because that was the YY from the mt status output.
Rebuild the kernel:
# cp /unix /works.unix
# autoconfig -vf
# mv /unix.install /unix
# reboot
Try hinv again. The tape drive should no longer be unknown. Now:
# cd /dev
# ./MAKEDEV tape
and you should be ready.