; 91711-12032 Rev. 2201 ICD/MAC Disc Diagnostic (RTE-IVB) echo echo echo echo ------------------------------ echo DIAG - ICD/MAC Disc Diagnostic echo ------------------------------ echo echo Configuring the diagnostic. set DA1 ENABLED,7906H,FORMAT attach -N DA1 scratch.U1.7906H.disc ; Start the diagnostic. echo echo Executing the diagnostic. echo Expect message "DIAG : DIAGNOSTIC TERMINATED. 15 FAILURES DETECTED." echo reply "RUN,DIAG\r" ; Respond to "DIAG : List LU (0 for none) ? ". go until "? " ; reply "0\r" ; Respond to "DIAG : Do you want to trace disc operations ? " go until "? " ; reply "YES\r" ; Respond to "DIAG : Start trace at what step ? " go until "? " ; reply "0\r" ; Respond to "DIAG : Trace operations which are not part of the test steps ? " go until "? " ; reply "NO\r" ; Respond to "DIAG : Stop after first failure ? " go until "? " ; reply "NO\r" ; Respond to "DIAG : Disc LU ? " go until "? " ; reply "14\r" ; Respond to "DIAG : Disc address ? " go until "? " ; reply "1\r" ; Respond to "DIAG : Drive model number ? " go until "? " ; reply "06\r" ; Respond to "DIAG : Do you want to run the interactive part of the test ? " go until "? " ; reply "YES\r" ; Respond to "DIAG : Type , " go until " " ; reply " \r" ; Respond to "DIAG : Use default test tracks ? " go until "? " ; reply "YES\r" ; Respond to "DIAG : PUT RUN/STOP SWITCH IN STOP POSITION ; DIAG : Type , " go until " " ; set DA1 UNLOADED ; reply " \r" ; Respond to "DIAG : PUT RUN/STOP SWITCH IN RUN POSITION ; DIAG : Type , " go until " " ; set DA1 LOADED ; reply " \r" ; Respond to "DIAG : TURN OFF FORMAT SWITCH ; DIAG : Type , " go until " " ; set DA1 NOFORMAT ; reply " \r" ; Respond to "DIAG : TURN ON FORMAT SWITCH ; DIAG : Type , " go until " " ; set DA1 FORMAT ; reply " \r" ; Respond to "DIAG : TURN ON UPPER PLATTER PROTECT SWITCH ; DIAG : Type , " go until " " ; set DA1 PROTECT; reply " \r" ; Respond to "DIAG : TURN OFF PROTECT READ ONLY SWITCH ; DIAG : Type , " go until " " ; set DA1 UNPROTECT ; reply " \r" ; Respond to "DIAG : Do you want to run the diagnostic again ? " go until "? " ; reply "NO\r" go until ":" ; End of the diagnostic. ; ; Restore the hardware configuration. detach DA1 delete scratch.U1.7906H.disc