• Aucun résultat trouvé

TESTING .1 Self-Test

Dans le document California EMULEX (Page 46-51)

DODD DOD

3.10 TESTING .1 Self-Test

When power is applied to the CPU, the controller will automatically execute a built-in self-test. If the self-test has been executed successfully, the FAULT LED on the top edge of the controller board will be OFF or flashing.

The FAULT LED flashes when. the controller cannot properly address at least one drive after successfully executing its self-test. This will occur if the A and B cables are not properly plugged in, a drive is powered-up without a code plug, or two drives have an identical code plug. If the FAULT LED is ON steadily the controller did not pass its self-test and the controller cannot be addressed from the CPU. The self-test will fail if the paddle board is not properly installed.

3-16

3.10.2 Register Examination

Before formatting the disk or running diagnostics, a quick check should be made to ensure that the controller registers can be read from the CPU console. Power up the CPU with the POWER ON ACTION switch in the HALT position. When the CPU has completed its self-test, a »> prompt will be issued at the consol. This indicates that the consol is in the consol

Ilo

mode. Check the FAULT indicator on the SC750. If it is not ON steadily, examine the controller's first MBA

register. For RHO this can be done by typing:

»> E/L/p F28004<cr>

Use F2A004 for RHI or F2C004 for RH2. If the controller can not be accessed at the base address the console will return

"1", otherwise it will return 00000000 which is the contents of the first MBA register.

3.10.3 Hardware Formatting the pisk

The controller has the means to format the disk by writing headers and zero data in all sectors of the disk. This

format doee not verify the data or headers nor does it write a Bad Sector File on the last track of the last cylinder.

The consol should already be in the consol

Ilo

mode as

described in paragraph 3.10.2 (indicated by the »> prompt).

If it is not, type CNTL P to place the consol in that mode.

In determining the drive's register addresses remember that the base address for the first drive on RHO is F28400, on RHI it is F2A400 and on RH2 it is F2C400. Add 80 for each drive after the first.

If the drive is on-line and there are no drive errors, the formatting is carried out as follows (the addresses in the example are those of drive zero on RHO, <cr> indicates a carriage return, place spaces as indicated):

1. peposit 0013 (Pack Acknowledge command) in RMCSI (base address) :

»> PiLip F28400 0013<cr>

2. Peposit FFFF (enables optional Format command) in RMHR (base address + 2C) :

»> piLip F2842C FFFF<cr>

3-17

3. Deposit 003F (Format command) in R"CSI (base address):

»> D/L/PF2B400 003F<cr>

The ACTIVITY indicator will flash as long as the formatting is underway.

4. When the activity light stops flashing, examine RMDS (base + 4) to see if ERR (bit 14) is set indicating an error:

»> E/L/P F2B404<cr>

If there has been no error, the register will contain l5CO. If there is an error resulting from the format

operation, RMERI and RMER2 should be examined to determine the cause of the error, and RMDA and RMDC should be

examined to see how far the formatting progressed.

The time to format the disk is as follows: RM03 1.8 min., RM05 -5.5 min. and RMBO - 4.5 min.

3.10.4 DEC Diagnostics

The controller will execute the DEC diagnostics as" indicated below if the drive is a standard RM03, RM05 or RMBO size. Consult

Appendix C for more detailed information on operation of the DEC disk diagnostics listed below which are applicable to the SC750.

ECCAA - VAX-ll/750 RH750 Diagnostic

This program tests only the RH750 portion of the SC750

controller. Most of the test is executed with the controller in diagnostic mode which allows for simul'ation of an attached Massbus. Since the SC750 has no Massbus, it does not simulate one and therefore only tests 1-3, 5-6 and 11 run without

errors. Test 11 requires, drive 0 to be on line.

EVRDA - RM03/5 RMBO Diskless Diagnosti'c

This program tests the drive portion of the controller's logic.

No data transfers are performed. A portion of this program uses the diagnostic mode of the DEC drives. Since the

diagnostic mode is not implemented in the SC750 controller only tests 1-23 will run without errors.

EVRAC - Disk Formatter

This program will format RM03 and RM05 type drives. A different format program is used for RMBO's.

3-1B

EVRDB - RM03/5 Functional

This program does simple operations, including data transfers, with an attached RM03 or RM05 type drive.

EVRGA - RM80 Formatter

This program does the formatting of the RM80 type drives.

EVRGB - RM80 Functional Diagnostic

This program does simple operations, including data transfers, with an attached RM80 type drive.

EVRAA - VAX RP/RK/RM/RX/TU58 Reliability

This program is a general purpose data reliability test program which will handle the RM drives.

BLANK

Section 4 CONTROLLER REGISTERS There are 32 device registers for ea'ch of the drives, plus seven Massbus Adaptor (MBA) registers in the SC750/B controller. The first MBA register is not used in the SC750 and reads back as zero.

The registers are used to interface the controller to the drives and the

cpu.

The registers are loaded and/or read under program control in order to initiate drive commands, set-up for DMA data transfers, and moni tor status and er ror condi tions. The MBA registers and the 32 drive registers are read and written as long words. The drive registers return the upper half of MBASR in bits

<31:16> when read.

In add~tion there are 256 map registers which control the virtual to physical mapping for DMA transfers.

This section shows the format of each of the registers and explains the use and the meaning of each of the bits~ The addresses for the registers are for unit 0 and the first MBA, and are given in hexadecimal. Add 2000 for the second MBA and 4000 for the third MBA. Add 80 to the drive register address for unit 1, 100 for unit 2, etc.

Dans le document California EMULEX (Page 46-51)

Documents relatifs