Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 1996 20:46:17 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb>
To:        scsi
Cc:        hardware
Subject:   Archive Anaconda SCSI-2 is really SCSI-1
Message-ID:  <199602110446.UAA12334@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
the archive anaconda 1.35GB QIC tape drive may be a SCSI-1 device not a 
SCSI-2 as advertised.

INQUIRY command output delares the unit to be SCSI-1

	Aspen:[143] scsi -f /dev/st0ctl.0 -c "12 0 0 0 64 0" -i 64 -
	SCIOCCOMMAND ioctl: Command accepted.
	 host adapter status 110
	 Command out (6 of 6):
	 12 00 00 00 64 00 

	 Data in (64 of 64):
	 01 80 01 00 31 00 00 00 41 52 43 48 49 56 45 20  # ....1...ARCHIVE 
	 41 4e 43 44 41 20 32 37 35 30 20 32 38 30 37 37  # ANCDA 2750 28077
	 2d 30 30 33 20 20 20 20 36 2e 30 30 20 20 00 00  # -003    6.00  ..
	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  # ................

	 No sense sent.

Furthermore the unit rejects MODE SENSE commands with page control = 01
and page code = 0x3f 

	Aspen:[174] scsi -f /dev/st0ctl.0 -c "0x1A 0 0x3f 0 0xff 0" -i 255 -
	SCIOCCOMMAND ioctl: Command accepted.
	return status 3 (Sense Returned)Command out (6 of 6):
	1a 00 3f 00 ff 00 

	Data in (0 of 255):

	Error code is "current errors"
	Segment number is 00
	Sense key is "Illegal request"
	The Information field is not valid but contains 00000000 (0).
	The Command Specific Information field is 00000000 (0).
	Additional sense code: 00
	Additional sense code qualifier: 00
	sense (32 of 48):
	70 00 05 00 00 00 00 06 00 00 00 00 00 00 00 00 
	00 00 60 1e cb 08 40 34 62 00 1c 11 00 00 00 00 


The QIC implementation of the SCSI-2 spec references QIC-95-101 for tape
medium type and density codes.  anyone have a copy?  i will call QIC on monday
to get one.  so far i have:

tape in drive		medium code		density code
----------------------------------------------------------------
QIC-1350 (DC-9135)	0x23			0x00
         (DC-6250)	0x06			0x10
QIC-150  (QD-6150)	0x06			0x10


the unit can read QD-6150 tapes.

FreeBSD does recognize the difference between QIC-150 and QIC-1350 tapes
as reflected in the output 'mt -f /dev/rst0 status'  ;)


-- 
Jonathan M. Bresler           FreeBSD Postmaster             jmb@FreeBSD.ORG
FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602110446.UAA12334>