Opened 5 years ago
Closed 11 days ago
#244 closed defect (invalid)
What?????
| Reported by: | canthony | Owned by: | Eric Swenson |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Answering Service | Version: | |
| Keywords: | Cc: |
Description
Found in init_sst.pl1
`
355 if (scs$controller_data (i).online | scs$controller_data (i).offline) & base = 0
356 then begin; /* we found our bootload controller */
`
How can you be running at all if the low memory controller is offline?
This is equivalent to the "Branch If Power Off" instruction.
Note:
See TracTickets
for help on using tickets.

This test is correct.
offlinedoesn't mean "powered off". Inscs$controller_data,offlinemeans "configured, but not in use; can be added" (scs.incl.pl1: "ON if controller is offline but can be added").online | offlinetherefore means "this controller is in the configuration deck". That is exactly howscas_inituses it to detect a controller listed twice:init_sstruns.scas_init(around lines 300-313) finds the controller whose base is 0. If its MEM card saysoff, it reports "Config card for bootload MEM indicates unit is offline." and forces it online (cdata.offline = "0"b; cdata.online = "1"b). So ininit_ssttheofflinehalf of the test can never be the one that's true for the base-0 controller.cme.contr) so that their memory can be added later by reconfiguration. The early loop only adds& base = 0.So the code is "find the configured controller at address 0", which is
the bootload controller.