Sun Microsystems, Inc.
spacer spacer
spacer   Sun System Handbook Home | Systems | Components | General Info | Search | Feedback 
spacer
black dot
 
black fade
 

SCSI Disk Troubleshooting

SCSI Frequently Asked Questions (FAQ) List

Single-ended 8-bit SCSI Pinouts
Single-ended 16-bit SCSI Pinouts
Single Connector SCSI Pinouts
Differential 8-bit SCSI Pinouts
Differential 16-bit SCSI Pinouts
Media Defect Management
SCSI Option Bit
SCSI Controllers
SCSI Sense Keys
SCSI Sense Codes

Single-ended 8-bit SCSI Pinouts

SIGNAL DD-50P HD-50 DD-50SA HD-68
SIGNAL DD-50P HD-50 DD-50SA HD-68
-DB(0) 2 26 34 40 GND 1 1 1 6
-DB(1) 4 27 2 41 GND 3 2 18 7
-DB(2) 6 28 19 42 GND 5 3 35 8
-DB(3) 8 29 36 43 GND 7 4 3 9
-DB(4) 10 30 4 44 GND 9 5 20 10
-DB(5) 12 31 21 45 GND 11 6 37 11
-DB(6) 14 32 38 46 GND 13 7 5 12
-DB(7) 16 33 6 47 GND 15 8 22 13
-DB(P) 18 34 23 48 GND 17 9 39 14
GND 20 35 40 49 GND 19 10 7 15
GND 22 36 8 50 GND 21 11 24 16
GND 24 37 Res 25 51 Opn GND 23 12 Res 41 17 Opn
TPWR 26 38 42 52 GND 25 13 Opn 9 18 Opn
GND 28 39 Res 10 53 GND 27 14 Res 26 19
GND 30 40 27 54 GND 29 15 43 20
-ATN 32 41 44 55 GND 31 16 11 21
GND 34 42 12 56 GND 33 17 28 22
BSY 36 43 29 57 GND 35 18 45 23
-ACK 38 44 46 58 GND 37 19 13 24
-RST 40 45 14 59 GND 39 20 30 25
-MSG 42 46 31 60 GND 41 21 47 26
-SEL 44 47 48 61 GND 43 22 15 27
-C/D 46 48 16 62 GND 45 23 32 28
-REQ 48 49 33 63 GND 47 24 49 29
-I/O 50 50 50 64 GND 49 25 17 30

Connector Types

DD-50P
HD-50
DD-50SA

Notes

  1. On HD50 cables, Pins 12, 14, 37, and 39 are reserved and Pin 13 is open.
  2. On HD50 to HD68 cables, Pins 1, 2, 3, 4, 5, 17, 18, 31, 32, 33, 34, 35, 36, 37, 38, 39, 51, 65, 66, 67, and 68 are open.

Single-ended 16-bit SCSI Pinouts

SIGNAL PIN
SIGNAL PIN
GND 1 -DB(12) 35
GND 2 -DB(13) 36
GND 3 -DB(14 37
GND 4 -DB(15) 38
GND 5 -DB(P1) 39
GND 6 -DB(0) 40
GND 7 -DB(1) 41
GND 8 -DB(2) 42
GND 9 -DB(3) 43
GND 10 -DB(4) 44
GND 11 -DB(5) 45
GND 12 -DB(6) 46
GND 13 -DB(7) 47
GND 14 -DB(P) 48
GND 15 GND 49
GND 16 GND 50
TERMPWR 17 TERMPWR 51
TERMPWR 18 TERMPWR 52
open 19 open 53
GND 20 GND 54
GND 21 -ATN 55
GND 22 -GND 56
GND 23 -BSY 57
GND 24 -ACK 58
GND 25 -RST 59
GND 26 -MSG 60
GND 27 -SEL 61
GND 28 -C/D 62
GND 29 -REQ 63
GND 30 -I/O 64
GND 31 -DB(8) 65
GND 32 -DB(9) 66
GND 33 -DB(10) 67
GND 34 -DB(11) 68

Connector Type


Single Connector SCSI Pinouts

PIN DESCRIPTION PIN DESCRIPTION PIN DESCRIPTION PIN DESCRIPTION
1 +12v 21 -DB(7) 41 +12v Ground 61 Ground
2 +12v 22 -DB(6) 42 +12v Ground 62 Ground
3 +12v 23 -DB(5) 43 +12v Ground 63 Ground
4 +12v 24 -DB(4) 44 +12v Ground 64 Ground
5 Reserved / NC 25 -DB(3) 45 Reserved N/C 65 Ground
6 Reserved / NC 26 -DB(2) 46 Reserved N/C 66 Ground
7 -DB(11) 27 -DB(1) 47 Ground 67 Ground
8 -DB(10) 28 -DB(0) 48 Ground 68 Ground
9 -DB(9) 29 -DB(P1) 49 Ground 69 Ground
10 -DB(8) 30 -DB(15) 50 Ground 70 Ground
11 -I/O 31 -DB(14) 51 Ground 71 Ground
12 -REQ 32 -DB(13) 52 Ground 72 Ground
13 -C/D 33 -DB(12) 53 Ground 73 Ground
14 -SEL 34 +5v 54 Ground 74 +5v Ground
15 -MSG 35 +5v 55 Ground 75 +5v Ground
16 -RST 36 +5v 56 Ground 76 +5v Ground
17 -ACK 37 SYNC 57 Ground 77 LED
18 -BSY 38 RMT_START 58 Ground 78 DLYD_START
19 -ATN 39 SCSI ID (0) 59 Ground 79 SCSI ID (1)
20 -DB(P0) 40 SCSI ID (2) 60 Ground 80 SCSI ID (3)


Differential 8-bit SCSI Pinouts

SIGNAL
NAME
50
PIN
68
PIN

SIGNAL
NAME
50
PIN
68
PIN
None - 1 None - 35
None - 2 None - 36
None - 3 None - 37
None - 4 None - 38
None - 5 None - 39
GND 1 6 GND 2 40
+DB(0) 3 7 -DB(0) 4 41
+DB(1) 5 8 -DB(2) 6 42
+DB(2) 7 9 -DB(2) 8 43
+DB(3) 9 10 -DB(3) 10 44
+DB(4) 11 11 -DB(4) 12 45
+DB(5) 13 12 -DB(5) 14 46
+DB(6) 15 13 -DB(6) 16 47
+DB(7) 17 14 -DB(7) 18 48
+DB(P) 19 15 -DB(P) 20 49
DIFFSENS 21 16 GND 22 50
TERMPWR 23 17* TERMPWR 24 51*
TERMPWR 25 18 TERMPWR 26 52
GND 27 19 GND 28 53
+ATN 29 20 -ATN 30 54
GND 31 21 GND 32 55
+BSY 33 22 -BSY 34 56
+ACK 35 23 -ACK 36 57
+RST 37 24 -RST 38 58
+MSG 39 25 -MSG 40 59
+SEL 41 26 -SEL 42 60
+C/D 43 27 -C/D 44 61
+REQ 45 28 -REQ 46 62
+I/O 47 29 -I/O 48 63
GND 49 30 GND 50 64
None - 31 None - 65
None - 32 None - 66
None - 33 None - 67
None - 34 None - 68

Connector Types

* 50-Pin Connector Pins 17 and 51 are not used on the Differential SCSI Tray Internal Cable 530-1904-xx.


Differential 16-bit SCSI Pinouts

SIGNAL PIN
SIGNAL PIN
+DB(12) 1 -DB(12) 35
+DB(13) 2 -DB(13) 36
+DB(14) 3 -DB(14 37
+DB(15) 4 -DB(15) 38
+DB(P1) 5 -DB(P1) 39
GND 6 GND 40
+DB(0) 7 -DB(0) 41
+DB(1) 8 -DB(2) 42
+DB(2) 9 -DB(2) 43
+DB(3) 10 -DB(3) 44
+DB(4) 11 -DB(4) 45
+DB(5) 12 -DB(5) 46
+DB(6) 13 -DB(6) 47
+DB(7) 14 -DB(7) 48
+DB(P) 15 -DB(P) 49
DIFFSENS 16 GND 50
TERMPWR 17* TERMPWR 51*
TERMPWR 18 TERMPWR 52
GND 19 GND 53
+ATN 20 -ATN 54
GND 21 GND 55
+BSY 22 -BSY 56
+ACK 23 -ACK 57
+RST 24 -RST 58
+MSG 25 -MSG 59
+SEL 26 -SEL 60
+C/D 27 -C/D 61
+REQ 28 -REQ 62
+I/O 29 -I/O 63
GND 30 GND 64
+DB(8) 31 -DB(8) 65
+DB(9) 32 -DB(9) 66
+DB(10) 33 -DB(10) 67
+DB(11) 34 -DB(11) 68

Connector Type

* Pins 17 and 51 are used on the Differential SCSI Tray Internal Cable 530-2096-xx.


Media Defect Management

Embedded SCSI Disk Drives

The FORMAT UNIT command formats the media so that all data blocks can be accessed. The following lists are used during the defect management process.

Primary, or Manufacturer's, Defect List (P list)

The P list supplied by the manufacturer is resident on the disk drive. The initiator can reference this list with the READ DEFECT DATA command. The initiator cannot change or erase the Primary list.

Certification Defect List (C list)

The C list is the position information of defective data blocks detected during data block verification after initialization when the FORMAT UNIT command is issued. These defects are added to the Grown list.

Data Defect List (D list)

The D list is the defect position information transferred from the initiator upon execution of the FORMAT UNIT command. These defects are added to the Grown list.

Grown Defect List (G list)

The G list includes defects identified to, or by, the drive. It does not include the P list. These defects are classified as flaws appearing after the media is formatted. The initiator may request that the current G list be used during formatting, or that the current G list be erased and a new list begun. Entries to the G list include:

  1. Defects provided to the drive in D lists during previous FORMAT UNIT commands.
  2. Drive C list defects detected during previous FORMAT UNIT commands.
  3. Defects appended by successful completion of the REASSIGN BLOCKS command.

SCSI Option Bit

SCSI Option Bit Setting

Use the following procedure to determine the SCSI option bit setting under Solaris 2.x:

# adb -k /kernel/unix /dev/mem (Solaris 2.0 - 2.4)
# adb -k /dev/ksyms /dev/mem (Solaris 2.5)
scsi_options/X
$q

SCSI Option Bits

Disconnect/Reconnect 0x008
Linked Commands 0x010
Synchronous Transfer 0x020
Parity 0x040
Tagged Queuing 0x080
Fast SCSI 0x100
Wide SCSI 0x200
Ultra SCSI 0x400

Tagged Queuing

Tagged Queuing allows a disk to receive more than one command at a time and to perform the commands in an order that reduces disk latency in many applications. Tagged Queuing is implemented in Solaris 2.1.

Some SCSI disk drives may not properly implement Tagged Queuing. Disable Tagged Queuing in the driver to prevent unrecoverable failures. Add the following to the /etc/system file under Solaris 2.x:

set scsi_options=0x178

Wide SCSI

To enable Wide SCSI under Solaris 2.3, add the following to the /etc/system file:

set scsi_options=0x3f8

SCSI Controllers

esp isp fas glm
53C90 53C90A ESP236
53C96
FAS101 FAS236 MACIO ISP1000
ISP1000U*
ISP1040
FEPS 53C875
53C876*
4/20
4/25
4/40
4/60
4/65
4/75
4/40
4/50
X1055
SBE/S
SS600
SS10
SS600
SS1000
FSBE/S
DSBE/S
4/15
4/30
SS5
SS10SX
SS20
A11
SWIS/S
DWIS/S
UDWIS/S*
X1032
X2630
A12
A14
X1018
X1059
X2610
X2620
RSM2000
A16
A20/A25
A23*
A26*
A27*
X6540*
X6541*

MACIO (NCR 59C100) (STP2000)

The MACIO ASIC provides three special purpose SBus DMA channels: Ethernet, SCSI, and Parallel Port. The SCSI block is based on the Emulex FAS101 macrocell which is a superset of (and backwards compatible with) the ESP100A.

FEPS (STP2002)

The FEPS ASIC is a Fast Ethernet, Parallel Port, and Fast Wide SCSI controller. The SCSI Channel consists of SCSI DVMA and FAS366.

ESP esp(7D)

The esp driver supports the Emulex family of esp SCSI chips (esp100, esp100A, esp236, fas101, fas236).

FAS fas(7D)

The fas driver supports the Qlogic FAS366 SCSI chip.

ISP (isp7D)

The isp driver supports the Qlogic ISP1000 SCSI chip on SBus and the ISP1040B SCSI chip on PCI bus.

GLM (glm7D)

The glm driver supports the Symbios 53c875 SCSI chip.


SCSI Sense Keys

KEY DESCRIPTION
0 NO SENSE
There is no specific sense key information to be reported for the designated logical unit. This would be the case for a successful command or a command that received CHECK CONDITION or COMMAND TERMINATED status because one of the filemark, EOM, or ILI bits is set to one.
1 RECOVERED DATA
The last command completed successfully with some recovery action performed by the target. Details may be determined by examining the additional sense bytes and the information field.
2 NOT READY
The logical unit addressed cannot be accessed. Operator intervention may be required to correct this condition.
3 MEDIUM ERROR
The command terminated with a non-recovered error condition that was probably caused by a flaw in the medium or an error in the recorded data. This sense key may also be returned if the target is unable to distinguish between a flaw in the medium and a specific hardware failure (sense key 4).
4 HARDWARE ERROR
The target detected a non-recoverable hardware failure while performing the command or during self test.
5 ILLEGAL REQUEST
There was an illegal parameter in the command descriptor block or in the additional parameters supplied as data for some commands. If the target detects an invalid parameter in the command descriptor block, then it shall terminate the command without altering the medium. If the target detects an invalid parameter in the additional parameters supplied as data, then the target may have already altered the medium. This sense key may also indicate that an invalid IDENTIFY message was received.
6 UNIT ATTENTION
The removable medium may have been changed or the target has been reset.
7 DATA PROTECT
A command that reads or writes the medium was attempted on a block that is protected from this operation.
8 BLANK CHECK
A write-once device or a sequential-access device encountered blank medium or format-defined end-of-data indication while reading or a write-once device encountered.
9 Vendor Specific
This key is available for reporting vendor specific conditions.
a COPY ABORTED
A COPY, COMPARE, or COPY AND VERIFY command was aborted due to an error condition on the source device, the destination device, or both.
b ABORTED COMMAND
The target aborted the command. The initiator may be able to recover by trying the command again.
c HARDWARE ERROR
The target detected a non-recoverable hardware failure while performing the command or during self test.
d VOLUME OVERFLOW
A buffered peripheral device has reached the end-of-partition and data may remain in the buffer that has not been written to the medium.
e MISCOMPARE
The source data did not match the data read from the medium.
f Reserved

SCSI Sense Codes

BYTE DESCRIPTION
12
-
-
13
Additional Sense Code (ASC)
Additional Sense Code Qualifier (ASCQ)
00 00 No additional sense information
00 01 Filemark detected
00 02 End of partition/medium detected
00 03 Setmark detected
00 04 Begining-of-Partition/Medium detected
00 05 End of data detected
00 11 Audio play operation in progress
00 12 Audio play operation paused
00 13 Audio play operation successfully completed
00 14 Audio play operation stopped due to error
00 15 No current audio status to return
01 00 No index/sector signal
02 00 No seek complete
03 00 Peripheral device write fault
03 01 No write current
03 02 Excessive write errors
04 00 Logical unit not ready, cause not reportable
04 01 Logical unit is in progress of becoming ready
04 02 Logical unit not ready, initiating command required
04 03 Logical unit not ready, manual intervention required
04 04 Logical unit not ready, format in progress
05 00 Logical unit does not respond to selection
06 00 No reference position found
07 00 Multiple peripheral devices selected
08 00 Logical unit communication failure
08 01 Logical unit communication time out
08 02 Logical unit communication parity error
09 00 Track following error
09 01 Tracking servo failure
09 02 Focus servo failure
09 03 Spindle servo failure
0a 00 Error log overflow
0c 00 Write error
0c 01 Write error recovered with auto reallocation
0c 02 Write error - auto reallocation failed
10 00 ID CRC or ECC error
11 00 Unrecovered read error
11 01 Read retries exhausted
11 02 Error log too long to correct
11 03 Multiple read errors
11 04 Unrecovered read error - auto reallocate failed
11 05 L-EC uncorrectable error
11 06 CIRC unrecovered error
11 07 Data resynchronization error
11 08 Incomplete block read
11 09 No gap found
11 0a Miscorrected error
12 00 Address mark not found for ID field
13 00 Address mark not found for data field
14 00 Recorded entity not found
14 01 Record not found
15 00 Random positioning error
15 01 Mechanical positioning error
15 02 Positioning error detected by read of medium
16 00 Data synchronization mark error
17 00 Recovered data with no error correction applied
17 01 Recovered data with retries
17 02 Recovered data with positive head offset
17 03 Recovered data with negative head offset
17 04 Recovered data with retries and/or CIRC applied
17 05 Recovered data using previous sector
17 06 Recovered data without ECC - Data auto-reallocated
18 00 Recovered data with error correction applied
18 01 Recovered data with error correction & retries applied
18 02 Recovered data with ECC and/or retries
18 03 Recovered data with CIRC
18 04 Recovered data with LEC
19 00 Defect list error
19 01 Defect list not available
19 02 Defect list error in primary list
19 03 Defect list error in grown list
1a 00 Parameter list length error
1b 00 Synchronous data transfer error
1c 00 Defect list not found
1c 01 Primary defect list not found
1c 02 Grown defect list not found
1d 00 Miscompare during verify operation
1e 00 Recovered ID with ECC correction
20 00 Invalid command operation code
21 00 Logical block address out of range
21 01 Invalid element address
22 00 Illegal function for device type
24 00 Invalid field in CDB
25 00 Logical unit not supported
26 00 Invalid field in parameter list
26 01 Parameter not supported
26 02 Parameter value invalid
26 03 Threshold parameters not supported
27 00 Write protected
28 00 Not ready to ready transition
28 01 Import / Export element accessed
29 00 Power-On, reset, or bus device reset occurred
2a 00 Parameters changed
2a 01 Mode parameters changed
2a 02 Log parameters changed
2b 00 Copy cannot execute since host cannot disconnect
2c 00 Command sequence error
2c 01 Too many windows specified
2c 02 Invalid combination of windows specified
2d 00 Overwrite error on update in place
2f 00 Commands cleared by another initiator
30 00 Incompatible medium installed
30 01 Cannot read medium - unknown format
30 02 Cannot read medium - incompatible format
30 03 Cleaning cartridge installed
31 00 Medium format corrupted
31 01 Format command failure
32 00 No defect spare location available
32 01 Defect list update failure
33 00 Tape length error
36 00 Ribbon/Ink/Toner faliure
37 00 Rounded parameter
39 00 Saving parameters not supported
3a 00 Medium not present
3b 00 Sequential positioning error
3b 01 Tape position error at begining of medium
3b 02 Tape position error at end of medium
3b 03 Tape or electronic vertical forms unit not ready
3b 04 Slew failure
3b 05 Paper jam
3b 06 Failed to sense top of form
3b 07 Failed to sense bottom of form
3b 08 Reposition error
3b 09 Read past end of medium
3b 0a Read past begining of medium
3b 0b Position past end of medium
3b 0c Position past begining of medium
3b 0d Medium destination element full
3b 0e Medium source element empty
3d 00 Invalid bits in identify message
3e 00 Logical unit has not self configured yet
3f 00 Target operating conditions have changed
3f 01 Microcode has been changed
3f 02 Changed operating definition
3f 03 Inquiry data has changed
40 nn Diagnostic failure on component nn (80h-ffh)
41 00 Data path failure
42 00 Power-On or Self-Test failure
43 00 Message error
44 00 Internal target failure
45 00 Select/Reselect failure
46 00 Unsuccessful soft reset
47 00 SCSI parity error
48 00 Initiator detected error message received
49 00 Invalid message error
4a 00 Command phase error
4b 00 Data phase error
4c 00 Logical unit failed self configuration
4e 00 Overlapped commands attempted
50 00 Write append error
50 01 Write append position error
50 02 Position error related to timing
51 00 Erase failure
52 00 Cartridge fault
53 00 Media load/eject failed
53 01 Unload tape failure
53 02 Medium removal prevented
54 00 SCSI to host system interface failure
55 00 System resource failure
57 00 Unable to recover table-of-contents
58 00 Generation does not exist
59 00 Updated block read
5a 00 Operator request or state change input
5a 01 Operator medium removal request
5a 02 Operator selected write protect
5a 03 Operator selected write permit
5b 00 Log exception
5b 01 Threshold condition met
5b 02 Log counter at maximum
5b 03 Log list codes exhausted
5c 00 RPL status change
5c 01 Spindles synchronized
5c 02 Spindles not synchronized
60 00 Lamp failure
61 01 Unable to acquire video
61 02 Out of focus
62 00 Scan head positioning error
63 00 End of user area encountered on this track
64 00 Illegal mode for this track



80 80 Vendor unique ASC and ASCQ
through
ff ff Vendor unique ASC and ASCQ

WebToneWebToneWebToneWebTone
 Copyright 1994-2003 Sun Microsystems, Inc.,  901 San Antonio Road, Palo Alto, CA 94303 USA.  All rights reserved.
 Legal Terms Privacy Policy Feedback