scsi the bus and network. big three the big three of scsi are: –adaptec and then comes everybody...

25
SCSI The Bus and Network

Upload: justin-murphy

Post on 11-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI

The Bus and Network

Page 2: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Big Three

• The Big three of SCSI are:– Adaptec– Adaptec– Adaptec

• And then comes everybody else

Page 3: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

The Copier Analogy

Page 4: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Historical

• 1979 – Shugart, an early pioneer in computer technology, introduces SCSI

• System-independent: Not Mac- or PC-specific

• Network within your computer

• Common devices: hard drives, tape backup, removable hard drives, scanners, CD-ROM drives, printers

Page 5: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI Chains

• SCSI manifests itself as a chain or series of devices working together through a host adapter.

• The host adapter provides the interface/link between chain and PC

Page 6: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Host Adapter

• Also called a SCSI controller

• Usually has two connectors – one for internal devices and one for external

Page 7: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Connections

• For Wide SCSI-2• Internal devices: 68-pin ribbon cable• External devices: 50-pin, High Density

connector• Plug it in backwards and you fry the device and

the host controller– Cables have “key” on connector and device has slot

for the key

• Connect device to device – daisy chain up to 15 devices in addition to host controller

Page 8: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI IDs

• Host adapter has to be able to address each device on the cable(s)

• We use IDs for this address: 0-15• A SCSI device can (theoretically) have any

address• Can’t share address/ID• Most times host adapter is 7• Addresses don’t have to be ordered by position

on the cable• We use Binary to set IDs

Page 9: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Counting Revisited

ID A0 = 1 A1 = 2 A2 = 4 A3 = 80 Off Off Off Off

1 On Off Off Off

2 Off On Off Off

3 On On Off Off

4 Off Off On Off

5 On Off On Off

6 Off On On Off

7 On On On Off

8 Off Off Off On

9 On Off Off On

10 Off On Off On

Page 10: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

IDs and Booting

• Host controller manual will tell you which ID can boot; often you can change that

• Usually, ID 0 is used for boot device

• Have to set CMOS to boot to SCSI first – if you can!

Page 11: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else
Page 12: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Logical Unit Number (LUN)

• Used in drive arrays – RAID

• One SCSI ID, different LUNs

• Have not seen one of these (I think)

Page 13: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Termination

• We need a solution for “bounce back”

• Usually pull-down resistors

• Only at the ENDS of SCSI chain

Page 14: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI - 1

• More a group of suggestions than standard

• Hence, most vendors took liberty with the suggestions and thus devices would not interoperate, or cooperate

• PC use was “me too!” from Mac use (Apple was much more clear about SCSI)

• 8-bit, parallel, 5MHz, 8 devices (counting host controller)

Page 15: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI - 2

• Finalized in 1990; showed up in 1994

• Much improved over -1 standard

• 18 commands in Common Command Set (CCS)– Added CD-ROM, tape and scanners– Command Queuing: multiple incoming

commands stored for execution

10

Page 16: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI -2, cont.

• 8-bit “Narrow”

• 16-bit “Wide

• 5 MHz standard, 10 MHz “Fast”

Page 17: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Electricity 401

• One wire for each bit

• Common ground back to power supply

• “Noise” develops, looks like data, forces a retransmission of data

• This is called “Single-Ended” or SE

• Limits SCSI chain to max of 6 meters (standard) or 3 meters (fast)

8

Page 18: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Variations

• HVD: High Voltage Differential – 25 meters

• LVD: Low Voltage Differential – 12 meters

• Both use negative/inverse matching to distinguish data from noise

• HVD is bad boy, on its own

• LVD can live with SE devices

Page 19: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI-3

• A whole group of standards

• Ultra, Ultra2 and Ultra3 for 20, 40 and 80 MHz speeds; Fast-20, Fast-40, Fast-80 per Adaptec

• Hot swap: to unplug a drive without rebooting or resetting the chain

6

Page 20: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

More Termination

• Passive – resistors – used on SCSI-1

• Active – voltage regulators – used on SCSI-2

• Forced Perfect – diodes

• LVD active for LVD chains (even with SE)

Page 21: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Bus Mastering

• SCSI devices are “intelligent” devices

• Host adapter sets up conversation then drops out of the loop

• Devices use SCSI bus and not system bus

4

Page 22: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI Cabling - Internal

• A 50-wire cable for 8-bit called A cables

• 16-bit uses 68-wire cables: P cables

Page 23: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

External Cables

• 50-pin HD DB for SCSI-2

• 68-pin HD DB for wide SCSI-2 and -3

• Relic: 25-pin D-shell, just like parallel port

2

Page 24: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

SCSI and IDE

• Usually, it’s an “OR” situation

• Can be “AND” with boot (IDE) drive providing SCSI drivers. IDE gets drive letters first (so what?) then SCSI

Page 25: SCSI The Bus and Network. Big Three The Big three of SCSI are: –Adaptec And then comes everybody else

Troubleshooting

• Most problems are at installation: cables, connectors, IDs and termination

• SCSI scan should report all devices

• Remember: the interface is different, but the drive itself is the same