1 :Info: page_control_check: pcc:  2023-03-15  page_control_check, pcc
  2 
  3 
  4 Syntax:  pcc {-control_args}
  5 
  6 
  7 Function:  Reports any inconsistency between page control data items
  8 (ASTE location, PTW offset within SST, core_map offsets to those
  9 items, core_map disk addresses, etc.).  Checks for inconsistency are
 10 performed using the pc_check_tables_ subroutine with modes:
 11 
 12   report_error_counts:    total inconsistencies found
 13     report_statistics:    count of each type of inconsistency
 14         report_errors:    description of individual inconsistencies
 15          report_state:    description of interrupted operations
 16 
 17 
 18 When a crash occurs, pc_check_tables_ is called by Emergency Shutdown
 19 (ESD) to repair reported inconsistencies (if possible).  Since ESD
 20 runs after the dump is saved, none of these corrective repairs are
 21 reflected in the dump image.  The pcc request can therefore describe
 22 those earlier problems, perhaps adding more details.  No data in the
 23 dump is changed by running this request.
 24 
 25 
 26 For further details about the inconsistency checking performed by the
 27 pcc request, display the azm general info topic:  help pcc.gi
 28 
 29 
 30 Control arguments (reported data):
 31 -long, -lg
 32    display content of inconsistent data items and run diagnostic
 33    requests to display affected data items.
 34 -brief, -bf
 35    display location of inconsistent items with brief information
 36    naming affected data items (when possible).  Diagnostic requests
 37    are recommended for later use by the user.  (default)
 38 
 39 
 40 Examples:
 41 
 42 azm:  sld >old_dumps>25
 43 Could not find apte for process_idx 0
 44      dbr = 17543650
 45 This is an early dump.
 46 
 47   ERF 25  in directory >old_dumps dumped at 09/19/21  2120.7 pst Sun.
 48 Proc   0 DBR  17543650 empty     last on cpu    Initializer.SysDaemon.z
 49 
 50 azm:  pcc
 51 
 52 
 53 ________________________________________
 54 Bad counter for ASTE.
 55  --> ASTE at SST|1240
 56      ASTE for config_deck (Seg 2  in Proc 0), at SST|1240.
 57  np = 0, should be 4
 58              DIAGNOSTIC REQUEST(s): aste -offset 1240;
 59 ________________________________________
 60 CME ptwp ^= ptw address.
 61  --> PTW at SST|1275
 62      ASTE for wi_linkage (Seg 406  in Proc 0), at SST|1260.
 63  --> CME at core_map|144    breakpoint_page
 64      CME for breakpoint_page (Seg 14|0  in Proc 0), at core_map|144
 65              EXPECTED INCONSISTENCY:  the breakpoint_page ends many hardcore segs.
 66               cme.ptwp intentionally set to "000000"b3 cannot match PTW offset.
 67 
 68 
 69 ________________________________________
 70 CME ptwp ^= ptw address.
 71  --> PTW at SST|16165
 72      ASTE for prds (Seg 72  in Proc 0), at SST|16140.
 73  --> CME at core_map|144    breakpoint_page
 74      CME for breakpoint_page (Seg 14|0  in Proc 0), at core_map|144
 75              EXPECTED INCONSISTENCY:  the breakpoint_page ends many hardcore segs.
 76               cme.ptwp intentionally set to "000000"b3 cannot match PTW offset.
 77 
 78 
 79 ________________________________________
 80 CME ptwp ^= ptw address.
 81  --> PTW at SST|16370
 82      ASTE for free_area_1 (Seg 436  in Proc 0), at SST|16354.
 83  --> CME at core_map|1604
 84 
 85 2 PTWs reference memory frame described by core_map|1604:
 86 
 87   CME_OFS     FWD   BACK   ASTEP   PTWP  DFWU  --- FRAME CONTENT ---------------------  --- FLAGS ---
 88      1604       0      0       0      0    W   Seg  60|0       idle_pdses               abs_wired  scu(A)
 89      1604       0      0       0      0    W   Seg 436|0       free_area_1              abs_wired  scu(A)
 90 
 91              DIAGNOSTIC REQUEST(s): aste -ptw 16370 -pt; cme -ptw 16370; cme -search 1604;
 92 
 93 
 94 ________________________________________
 95 Bad counter for ASTE.
 96  --> ASTE at SST|16354
 97      ASTE for free_area_1 (Seg 436  in Proc 0), at SST|16354.
 98  records = 9, should be 8
 99  np = 9, should be 8
100              DIAGNOSTIC REQUEST(s): aste -offset 16354;
101 ________________________________________
102 CME ptwp ^= ptw address.
103  --> PTW at SST|26512
104      ASTE for bound_library_wired_ (Seg 41  in Proc 0), at SST|26430.
105  --> CME at core_map|144    breakpoint_page
106      CME for breakpoint_page (Seg 14|0  in Proc 0), at core_map|144
107              EXPECTED INCONSISTENCY:  the breakpoint_page ends many hardcore segs.
108               cme.ptwp intentionally set to "000000"b3 cannot match PTW offset.
109 
110 
111 ________________________________________
112 CME ptwp ^= ptw address.
113  --> PTW at SST|26715
114      ASTE for error_table_ (Seg 56  in Proc 0), at SST|26660.
115  --> CME at core_map|144    breakpoint_page
116      CME for breakpoint_page (Seg 14|0  in Proc 0), at core_map|144
117              EXPECTED INCONSISTENCY:  the breakpoint_page ends many hardcore segs.
118               cme.ptwp intentionally set to "000000"b3 cannot match PTW offset.
119 ________________________________________
120 Bad counter for ASTE.
121  --> ASTE at SST|35300
122      ASTE for disk_mst_seg (Seg 434  in Proc 0), at SST|35300.
123  csl = 15, should be 31
124  records = 0, should be 31
125              DIAGNOSTIC REQUEST(s): aste -offset 35300;
126 
127 
128 ________________________________________
129 Statistics:
130          3 Bad aste counter
131          5 Bad cme ptwp
132 
133 
134 :hcom:
135 /****^  HISTORY COMMENTS:
136   1) change(2022-11-17,GDixon), approve(2023-01-16,MCR10129),
137      audit(2023-02-28,Swenson), install(2023-02-28,MR12.8-1054):
138       A) Initial version of this info segment.
139   2) change(2023-03-15,GDixon), approve(2023-03-15,MCR10129a),
140      audit(2023-04-29,Swenson), install(2023-04-29,MR12.8-1055):
141       A) Add reference to page_control_check.gi.info segment in the azm help
142          directory.
143                                                    END HISTORY COMMENTS */
144