EJS 2015-09-15

Running tolts on the printer after my changes:

***enter "polts", "molts", "colts", "isolts", "quit", or "msg"
??? polts
??? test pcd

polt configuration:

iom a a iom iom on scu port 0 is on-line
iom b a iom iom on scu port 1 is on-line
dska 3381 14 units; starting with device no. 0
     011xx          primary channel of 1 logical channel on mpc card fips
tapa 500 16 units;  starting with device no. 1
     010xx          primary channel of 1 logical channel on mpc card mtpa
opca 03001 model 6001 EMC is the system console
     030xx           special purpose chan
prta 01501 model 1600 prt with 136 columns and a 600 print belt
     015xx           special purpose chan

??? test p01501
***polts executive versions 881028 880506 on 930915 at 12.24
**0(01501c) start td24ca - p401/2, ttldat 820716, phy./log. id  t//04
**0(01501c) 01/01a   40-res  10/00 01/00 30 i/ok rec cnt 01
#000001
 non-data command               rrc 00/--
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 01/01b   00-req  10/00 01/00 30 i/ok rec cnt 01
#000003
 non-data command               rrc 00/--
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) invalid tdl instruction, line 02, field 03, cw0s248.60,:
trying to use invalid cw numeric field value
t2 enter options:

I learned (by reading the doc in AU77) that you can type "s" at the "t2 enter options:" prompt to skip that test and continue on skipping all other failures. So in another run, I did that:

***enter "polts", "molts", "colts", "isolts", "quit", or "msg"
??? polts
??? test pcd

polt configuration:

iom a a iom iom on scu port 0 is on-line
iom b a iom iom on scu port 1 is on-line
dska 3381 14 units; starting with device no. 0
     011xx          primary channel of 1 logical channel on mpc card fips
tapa 500 16 units;  starting with device no. 1
     010xx          primary channel of 1 logical channel on mpc card mtpa
opca 03001 model 6001 EMC is the system console
     030xx           special purpose chan
prta 01501 model 1600 prt with 136 columns and a 600 print belt
     015xx           special purpose chan

??? test p01501
***polts executive versions 881028 880506 on 930915 at 12.40
**0(01501c) start td24ca - p401/2, ttldat 820716, phy./log. id  t//04
**0(01501c) 01/01a   40-res  10/00 01/00 30 i/ok rec cnt 01
#000001
 non-data command               rrc 00/--
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 01/01b   00-req  10/00 01/00 30 i/ok rec cnt 01
#000003
 non-data command               rrc 00/--
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) invalid tdl instruction, line 02, field 03, cw0s248.60,:
trying to use invalid cw numeric field value
t2 enter options: s
**0(01501c) 03/07a   02-si0  10/05 01/ok 30 t/ i rec cnt 01
#000005
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/07b   04-si0  10/05 01/ok 30 t/ i rec cnt 01
#000007
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/07c   06-si0  10/05 01/ok 30 t/ i rec cnt 01
#000009
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/07d   07-si0  10/05 01/ok 30 t/ i rec cnt 01
#000011
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08a   20-si0  10/05 01/ok 30 t/ i rec cnt 01
#000013
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08b   21-aop  10/05 01/ok 30 t/ i rec cnt 01
#000015
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08b   22-aop  10/05 01/ok 30 t/ i rec cnt 01
#000017
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08b   23-aop  10/05 01/ok 30 t/ i rec cnt 01
#000019
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08b   24-aop  10/05 01/ok 30 t/ i rec cnt 01
#000021
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08b   25-aop  10/05 01/ok 30 t/ i rec cnt 01
#000023
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08b   26-aop  10/05 01/ok 30 t/ i rec cnt 01
#000025
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08b   27-aop  10/05 01/ok 30 t/ i rec cnt 01
#000027
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08c   41-si0  10/05 01/ok 30 t/ i rec cnt 01
#000029
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   42-aop  10/05 01/ok 30 t/ i rec cnt 01
#000031
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   43-aop  10/05 01/ok 30 t/ i rec cnt 01
#000033
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   44-aop  10/05 01/ok 30 t/ i rec cnt 01
#000035
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   45-aop  10/05 01/ok 30 t/ i rec cnt 01
#000037
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   46-aop  10/05 01/ok 30 t/ i rec cnt 01
#000039
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   47-aop  10/05 01/ok 30 t/ i rec cnt 01
#000041
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   50-aop  10/05 01/ok 30 t/ i rec cnt 01
#000043
 non-data command               rrc 00/ok
**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) 03/08d   51-aop  11/05 00/01 00 i/ok rec cnt 01
#000045
 non-data command               rrc 00/--
polts: I/O in progress on device.
doing io for a tdio
***polts executive wrap-up at 013734  code  $b5  p.t.  1605
  ic 013734  ir 400200  ba 000000  er 000  ar 171717171717  qr 000000000000  tr
\c 00003664
  x0 050555  x1 013716  x2 023341  x3 046000  x4 000000  x5 050257  x6 000000  
\cx7 021513
***polts executive wrap-up at 013734  code  $b5  p.t.  1605

***enter "polts", "molts", "colts", "isolts", "quit", or "msg"
???

Looking at the debug output on the console (sim_printf statements in the code), I see:

1230.4  RCP: Attached prta for anonymous.HFED.a
1230.4  RCP: Note (prta) - T&D is attaching for a write prta
prt daze 3
prt daze 3
prt daze 2
prt daze 3
prt daze 4
prt daze 3
prt daze 6
prt daze 3
prt daze 7
prt daze 3
prt daze 20
prt daze 3
prt daze 21
prt daze 3
prt daze 22
prt daze 3
prt daze 23
prt daze 3
prt daze 24
prt daze 3
prt daze 25
prt daze 3
prt daze 26
prt daze 3
prt daze 27
prt daze 3
prt daze 41
prt daze 3
prt daze 42
prt daze 3
prt daze 43
prt daze 3
prt daze 44
prt daze 3
prt daze 45
prt daze 3
prt daze 46
prt daze 3
prt daze 47
prt daze 3
prt daze 50
prt daze 3
1231.0  RCP: Detached prta from anonymous.HFED.a
1231.0  RCP: Note (prta) - T&D is detaching prta

The "prt daze" messages are debugging printfs Charles put in when an unimplemented command is executed. If you look at the pattern, you see cmd=3 interspersed between every other command. I suspect command=3 is "get extended status" since we get "extended status unreadable" errors on each failing test. I'm sure that would go away if we figured out how to implement "get extended status".

Clearly, the other commands are commands that we should implement, if we knew what they were supposed to be. Fortunately, in the limited testing we've done on the printer so far, and with my fixes in, we do succeed in printing, and none of these unimplemented commands has been seen so far. So we may be able to get away with not implementing all (or some, if we discover some that are required).

The "status returned was 500140300000" messages from POLTS are intriguing since the following line of code is what is returning status for all the unimplemented opcodes:

chan_data -> stati = 04501; // cmd reject, invalid opcode

Not sure how those are mapped. Perhaps Charles does.

The first original failure was:

**0(01501c) extended status unreadable, status returned was 500140300000
**0(01501c) invalid tdl instruction, line 02, field 03, cw0s248.60,:
trying to use invalid cw numeric field value

A TDL instruction, is, apparently an instruction written in the "Test and Diagnostics Language". Don't know why it says "invalid tdl instruction", but it might be a bug in the tests. Sure wish we had the source code….

I assume cw0s248.60 is a test name and we probably don't know anything about that test.

I ran one more time, this time with the "z" option, which provides more data. It seems it only provides the PCW and DCW list, but that might be helpful. Here is the output:

*** i/o trace ***
pcw: - 020100700201
dcw list:
000532000001
**0(01501c) 03/07a   02-si0  10/05 01/ok 30 t/ i rec cnt 01
#000005
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 040100700201
dcw list:
000532000001
**0(01501c) 03/07b   04-si0  10/05 01/ok 30 t/ i rec cnt 01
#000007
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 060100700201
dcw list:
000532000001
**0(01501c) 03/07c   06-si0  10/05 01/ok 30 t/ i rec cnt 01
#000009
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 070100700201
dcw list:
000532000001
**0(01501c) 03/07d   07-si0  10/05 01/ok 30 t/ i rec cnt 01
#000011
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 200100700201
dcw list:
000532000001
**0(01501c) 03/08a   20-si0  10/05 01/ok 30 t/ i rec cnt 01
#000013
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 210100700201
dcw list:
000532000001
**0(01501c) 03/08b   21-aop  10/05 01/ok 30 t/ i rec cnt 01
#000015
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 220100700201
dcw list:
000532000001
**0(01501c) 03/08b   22-aop  10/05 01/ok 30 t/ i rec cnt 01
#000017
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 230100700201
dcw list:
000532000001
**0(01501c) 03/08b   23-aop  10/05 01/ok 30 t/ i rec cnt 01
#000019
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 240100700201
dcw list:
000532000001
**0(01501c) 03/08b   24-aop  10/05 01/ok 30 t/ i rec cnt 01
#000021
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 250100700201
dcw list:
000532000001
**0(01501c) 03/08b   25-aop  10/05 01/ok 30 t/ i rec cnt 01
#000023
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 260100700201
dcw list:
000532000001
**0(01501c) 03/08b   26-aop  10/05 01/ok 30 t/ i rec cnt 01
#000025
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 270100700201
dcw list:
000532000001
**0(01501c) 03/08b   27-aop  10/05 01/ok 30 t/ i rec cnt 01
#000027
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 410100700201
dcw list:
000532000001
**0(01501c) 03/08c   41-si0  10/05 01/ok 30 t/ i rec cnt 01
#000029
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 420100700201
dcw list:
000532000001
**0(01501c) 03/08d   42-aop  10/05 01/ok 30 t/ i rec cnt 01
#000031
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 430100700201
dcw list:
000532000001
**0(01501c) 03/08d   43-aop  10/05 01/ok 30 t/ i rec cnt 01
#000033
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 440100700201
dcw list:
000532000001
**0(01501c) 03/08d   44-aop  10/05 01/ok 30 t/ i rec cnt 01
#000035
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 450100700201
dcw list:
000532000001
**0(01501c) 03/08d   45-aop  10/05 01/ok 30 t/ i rec cnt 01
#000037
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 460100700201
dcw list:
000532000001
**0(01501c) 03/08d   46-aop  10/05 01/ok 30 t/ i rec cnt 01
#000039
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 470100700201
dcw list:
000532000001
**0(01501c) 03/08d   47-aop  10/05 01/ok 30 t/ i rec cnt 01
#000041
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 500100700201
dcw list:
000532000001
**0(01501c) 03/08d   50-aop  10/05 01/ok 30 t/ i rec cnt 01
#000043
 non-data command               rrc 00/ok

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
**0(01501c) extended status unreadable, status returned was 500140300000

*** i/o trace ***
pcw: - 510100700201
dcw list:
000532000001
**0(01501c) 03/08d   51-aop  11/05 00/01 00 i/ok rec cnt 01
#000045
 non-data command               rrc 00/--

*** i/o trace ***
pcw: - 030100700001
dcw list:
000532000004
polts: I/O in progress on device.
doing io for a tdio
***polts executive wrap-up at 013734  code  $b5  p.t.  3076
  ic 013734  ir 400200  ba 000000  er 000  ar 737120171717  qr 000000000000  tr
\c 00003112
  x0 050555  x1 013716  x2 023341  x3 046000  x4 000000  x5 050257  x6 000000  
\cx7 021513
***polts executive wrap-up at 013734  code  $b5  p.t.  3076

***enter "polts", "molts", "colts", "isolts", "quit", or "msg"
???
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License