next up previous
Next: SSP Cable Segment Up: SSP Diagnostic Programs Previous: sspar

sspcheck

Again, log on as bnlonl on bnlku7 and do this:

cd
sspcheck

and answering the questions. You need to be in a directory with write privilege (there is a log file written), for which the home directory is just fine.

Here are some techniques for testing the SSP system. The examples were all run on bnlku10, so they don't look exactly like what you see when you test the real system on bnlku7, but they demonstrate the techniques. Actually, it's not a bad idea to do run these tests on bnlku10 if you take an SSP out; you can more easily find bad hybrids, and you can make sure the SSP you're working on is really bad.

First of all, to communicate out over a cable segment, you need to load a program (any program, actually) into the SSP in the crate with the interface. Here's an example session:

bnlku10 > cd $BNLSSP/
/e787/local/online/fastbus/bnlssp/v700
bnlku10 > sspar
                               SSPAR Version 7.00
                               BBSGI Interface                 
Command:slot 8                                                                
Command:End of file
Command:scan
 Scan from route: 000000h - From the CFI's crate segment
 At:  5 (  5h) is: Struck 320 CAMAC Branch Driver (FBD)............ ID: 6841
 At: 13 (  Dh) is: SSP  (SLAC Scanner Processor)................... ID: 0106
 At: 18 ( 12h) is: SSP  (SLAC Scanner Processor)................... ID: 0106
 At:255 ( FFh) is: unknown device type............................. ID: FFFF
Command:slot d
Command:down arbtst
 The SSP system is: BNLSYS  , version: 5.10 .
 Lowest free DM location:  00000570  Lowest free PM location:  0B5C ( 2D7).
 Number of marker words in use:   189
 SSPCMP-I0-No errors.
Command:slot d00
Command:scan
 Scan from route: 00000Dh - From the CFI's crate segment
 on through the SSP at geographic address: 13 (  Dh)  to its cable segment
 At:  1 (  1h) is: SSP  (SLAC Scanner Processor)................... ID: 0106
 At:255 ( FFh) is: GAC card, cable seg............................. ID: 1002
Command:slot d01
Command:down arbtst
 The SSP system is: BNLSYS  , version: 5.10 .
 Lowest free DM location:  00000570  Lowest free PM location:  0B5C ( 2D7).
 Number of marker words in use:   189
 SSPCMP-I0-No errors.
Command:

I first changed the default directory to $BNLSSP, where there are some SSP programs. What happened then was that we scanned the crate with the interface (the bbfc), and found SSP's at addresses d and 12 ( hex--it's all in hex). Then, we went through the cable segment from slot d (that's the slot d00 command) out to its cable segment, and found an SSP at cable segment primary address 1, which we loaded by addressing it as slot d01. You can go further, and look back into the crate segment the remote SSP is in by scanning from slot d0100, like this:

Command:slot d0100
Command:scan
 Scan from route: 000D01h - From the CFI's crate segment
 on through the SSP at geographic address: 13 (  Dh)  to its cable segment
 on through the SSP at geographic address:  1 (  1h)  to its crate segment
 At:  5 (  5h) is: Struck 320 CAMAC Branch Driver (FBD)............ ID: 6841
 At: 13 (  Dh) is: SS=1
 At: 23 ( 17h) is: SS=6
 At:255 ( FFh) is: GAC card, crate seg............................. ID: 1020
Command:

although in this case, it's not so interesting, since it's looking back into the same crate segment that the two SSP's are both plugged into.

Anyway, the basic point is that this is done with software, so you need to do this:

bnlku10 > cd $BNLSSP/
/e787/local/online/fastbus/bnlssp/v700
bnlku10 > sspar
                               SSPAR Version 7.00
                               BBSGI Interface                 
Command:slot 8                                                                
Command:End of file
Command:scan
 Scan from route: 000000h - From the CFI's crate segment
 At:  5 (  5h) is: Struck 320 CAMAC Branch Driver (FBD)............ ID: 6841
 At: 13 (  Dh) is: SSP  (SLAC Scanner Processor)................... ID: 0106
 At: 18 ( 12h) is: SSP  (SLAC Scanner Processor)................... ID: 0106
 At:255 ( FFh) is: unknown device type............................. ID: FFFF
Command:slot d
Command:down arbtst
 The SSP system is: BNLSYS  , version: 5.10 .
 Lowest free DM location:  00000570  Lowest free PM location:  0B5C ( 2D7).
 Number of marker words in use:   189
 SSPCMP-I0-No errors.
Command:slot d00
Command:scan

before you can go further.

This allows you to run sspcheck, which looks like this when it works:

bnlku10 > cd
bnlku10 > sspcheck
                    SSP Diagnostic Control Routine, Version: 7.00
                               BBSGI Interface                 
                           14-Apr-95 21:08:46              
 SSP "slot" number, in hex: [ 00000004         ]  1202
 SSP "slot" number, in hex: [ 1202             ]  
 CHECK-I1-The "slot" specified requires BSI software in SSPs which are
 not being checked.
 CHECK-I2-CSR0 contains: 0106F000 (ID is  0106)
 CHECK-I11-SSP has: 8192 Kbytes of DM.
 Number of times to repeat each diagnostic: [         1 ] 
 Check all? (Y/N)  [ Y ]  
 Name of CPU diagnostics file: (diag.ssp is default) 
 CHECK-I12-Diagnostics file name:
 /e787/local/online/fastbus/bnlssp/v700/diag.ssp                              

 CHECK-I10-Check of SSP in slot (or route): 00001202
 CHECK-I4-Writing addresses to DM and PM.
 SSPCMP-I0-No errors.
 CHECK-I5-Writing zeroes and ones to DM and PM.                       
 SSPCMP-I0-No errors.
 SSPCMP-I0-No errors.
 CHECK-I5-Writing zeroes and even ones to DM and PM.                  
 SSPCMP-I0-No errors.
 SSPCMP-I0-No errors.
 CHECK-I5-Writing zeroes and odd ones to DM and PM.                   
 SSPCMP-I0-No errors.
 SSPCMP-I0-No errors.
 Total BSI retries:         0  Total SSP NTA errors:         0
 The SSP system is: BNLBAS  , version: 5.10 .
 Lowest free DM location:  00000DB4  Lowest free PM location:  08D4 ( 235).
 Number of marker words in use:   637
 SSPFMT-I1-Markers were not loaded into DM.
 SSPCMP-I0-No errors.
 Load and store (L and ST) registers over zeroes test                            
 Load and store (L and ST) registers over ones test                              
 Store-multiple (STM) test                                                       
 Load-multiple (LM) test                                                         
 Subtract-register (SR) test                                                     
 Load address (LA) test                                                          
 Branch and link register (BALR) test                                            
 Load positive register (LPR) test                                               
 Load negative register (LNR) test                                               
 Load and test register (LTR) test                                               
 Load complement register (LCR) test                                             
 Branch and link (BAL) test                                                      
 Load PSW and branch on condition (LPSW and BC) test                             
 Subtract register and set CC bits test                                          
 And register (NR) test                                                          
 Compare logical register (CLR) test                                             
 Or register (OR) test                                                           
 Load register (LR) test                                                         
 Compare register (CR) test                                                      
 Add register (AR) test                                                          
 Multiply register (MR) test                                                     
 Divide register (DR) test                                                       
 Add logical register (ALR) test                                                 
 Subtract logical register (SLR) test                                            
 Compare Logical Immediate (CLI) test                                            
 Pipeline Register Contention (PRC) test                                         
 The SSP system is: BNLSYS  , version: 5.10 .
 Lowest free DM location:  0000051C  Lowest free PM location:  0B0C ( 2C3).
 Number of marker words in use:   164
 SSPCMP-I0-No errors.
 SSP Condition Code Bits check
 
Loops:       1 Errors: CC=E:       0 CC=L:       0 CC=H:       0 CC=O:       0  
 The SSP system is: BNLSYS  , version: 5.10 .
 Lowest free DM location:  00000570  Lowest free PM location:  0B5C ( 2D7).
 Number of marker words in use:   189
 SSPCMP-I0-No errors.
 CHECK-I6-Performing arbitration test on the cable segment.
 CHECK-I6-Performing arbitration test on the crate segment.
 CHECK-I13-Arbitration done, with:
   0 arbitration failures and   0 Fastbus errors on the cable
   0 arbitration failures and   0 Fastbus errors on the crate
 CHECK-I9-Done, with:     0 errors.

I first moved to a directory where I have write access (sspcheck writes a log file called check.elg), and then chose the SSP at cable segment primary address 2, going through the SSP in slot d. Except for the primary address, carriage returns are good answers to the questions.

Passing sspcheck is not a guarantee that the system will work, but failing consistently is bad news.



next up previous
Next: SSP Cable Segment Up: SSP Diagnostic Programs Previous: sspar



John Haggerty
Thu May 4 15:36:13 EDT 1995