* Another RQDX3 problems.
@ 2001-10-31 23:05 sword7
2001-11-01 15:20 ` Bob Supnik
0 siblings, 1 reply; 9+ messages in thread
From: sword7 @ 2001-10-31 23:05 UTC (permalink / raw)
Hello,
Well, I thought that something was wrong with a last fail message but...
I discovered that OpenVMS took a nap between initialization and first
MSCP command several microseconds according to my debug log file. MSCP
initialization routine set a timer before entered a null job. Later
a timer alarm set off during clock interrupt routines and continued
to initialize RQDX3 disk controller. It finally send first MSCP command
to my RQDX3 emulator. It was "Set Controller Characteristics Command".
RQDX3 processed it and sent results back to OpenVMS and woke it up by
issued an interrupt. OpenVMS woke up and processed the results but...
It did not send more commands like get unit information, etc... It
waited for other messages, etc until timeout alarm set off. OpenVMS
overstarted back to beginning of RQDX3 initialization! I waited for a
minute later, and noticed that OpenVMS tried to initialize my RQDX3
emulator again and again forever... (According to my debug log file).
I believe that something might be wrong with the MSCP packet from
RQDX3 controller (Set Controller Characteristics End). I looked
into other TOPS-10 v7.04 sources that supports MSCP and learned that
high-order of command reference must be 0xFFFF that show done flag.
Mine did not set done flag in command reference yet or so...
I do not have enough information about controller identification (only
6th byte of controller id as model number). I noticed that trace showed
that checked for 0x0002 in reserved area or ControllerCmdl?? etc...
Without some information, it might stall RQDX3 initialization. :-(
Does anyone know about this problems? I am looking for solutions.
Thank you!
-- Tim Stark
--
Timothy Stark <>< Inet: sword7@speakeasy.org
--------------------------------------------------------------------------
"For God so loved the world, that he gave his only begotten Son, that
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Another RQDX3 problems.
2001-10-31 23:05 Another RQDX3 problems sword7
@ 2001-11-01 15:20 ` Bob Supnik
2001-11-02 3:48 ` sword7
2001-11-02 3:48 ` sword7
0 siblings, 2 replies; 9+ messages in thread
From: Bob Supnik @ 2001-11-01 15:20 UTC (permalink / raw)
The RQDX3 doesn't modify the command reference on the way out. It
actually creates the end packet in the same physical buffer as the
original saved SetContChar packet. (The RQDX3 has a T11 running a
C/assembler PDP11 program as microcode.) After pulling out the host
timeout value and the error log flags (the only settable values), it
sets up these following fields:
status = success
controller flags = new controller flags
timeout = 120
software and hardware versions
max byte count = 0,0
controller options = 0,0,0,type
opcode = scc end
type = sequential
size = #bytes in packet
and fires the result back.
This is very typical of the RQDX3. It maintains an internal queue of
packets and uses them to store commands from the host. For immediate
commands, it constructs the end response in the command packet,
thereby guaranteeing the availability of a response packet in its
internal queue. Obviously, data transfer packets, and other queued
oeprations, go through a more complicated sequence.
/Bob
On Wed, 31 Oct 2001 23:05:41 -0000, sword7@speakeasy.org wrote:
>Hello,
>
>Well, I thought that something was wrong with a last fail message but...
>I discovered that OpenVMS took a nap between initialization and first
>MSCP command several microseconds according to my debug log file. MSCP
>initialization routine set a timer before entered a null job. Later
>a timer alarm set off during clock interrupt routines and continued
>to initialize RQDX3 disk controller. It finally send first MSCP command
>to my RQDX3 emulator. It was "Set Controller Characteristics Command".
>RQDX3 processed it and sent results back to OpenVMS and woke it up by
>issued an interrupt. OpenVMS woke up and processed the results but...
>It did not send more commands like get unit information, etc... It
>waited for other messages, etc until timeout alarm set off. OpenVMS
>overstarted back to beginning of RQDX3 initialization! I waited for a
>minute later, and noticed that OpenVMS tried to initialize my RQDX3
>emulator again and again forever... (According to my debug log file).
>
>I believe that something might be wrong with the MSCP packet from
>RQDX3 controller (Set Controller Characteristics End). I looked
>into other TOPS-10 v7.04 sources that supports MSCP and learned that
>high-order of command reference must be 0xFFFF that show done flag.
>Mine did not set done flag in command reference yet or so...
>I do not have enough information about controller identification (only
>6th byte of controller id as model number). I noticed that trace showed
>that checked for 0x0002 in reserved area or ControllerCmdl?? etc...
>Without some information, it might stall RQDX3 initialization. :-(
>Does anyone know about this problems? I am looking for solutions.
>
>Thank you!
>
>-- Tim Stark
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Another RQDX3 problems.
2001-11-01 15:20 ` Bob Supnik
@ 2001-11-02 3:48 ` sword7
2001-11-02 3:48 ` sword7
1 sibling, 0 replies; 9+ messages in thread
From: sword7 @ 2001-11-02 3:48 UTC (permalink / raw)
In alt.sys.pdp10 Bob Supnik <bsupnik@nauticusnet.com> wrote:
> max byte count = 0,0
Bob, thank for information. However, which location in packet is about
'max byte count = 0,0'? My RQDX3 originally does not modify command
reference. Check my next message with debug log file...
Thank you!
-- Tim Stark
--
Timothy Stark <>< Inet: sword7@speakeasy.org
--------------------------------------------------------------------------
"For God so loved the world, that he gave his only begotten Son, that
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Another RQDX3 problems.
2001-11-01 15:20 ` Bob Supnik
2001-11-02 3:48 ` sword7
@ 2001-11-02 3:48 ` sword7
2001-11-02 19:00 ` Eric Smith
2001-11-02 21:42 ` Kevin Handy
1 sibling, 2 replies; 9+ messages in thread
From: sword7 @ 2001-11-02 3:48 UTC (permalink / raw)
Hey Folks and Bob:
Well, thank you for information, Bob Sunpik... I know that RQDX3 disk
controller has T11 processor. However, I still have some RQDX3 emulation
problems. After received the end message from RQDX3, OpenVMS did nothing
afterward until timeout alarm set off and restarted entire initialization
again and again...
In "Set Controller Characteristics End Message", I carefully studied
traced executions but they looks like fine. I found nothing is
wrong with my RQDX3 emulator. OpenVMS still am waiting for unit
status information like DUA0:, etc.
About the last fail message, I do not know about message header information.
OpenVMS did requested the last fail message per LF bit set in step #4
initialization. I assumed that last fail message's header information:
Virtual circuit ID = 0
Message Type = 1 (Error Datagram)
Credits = 0
OpenVMS received the last fail message but did nothing with it but
just labeled my RQDX3 emulator as "SABKUP$PUA:". By using VC ID#,
OpenVMS jumped into one of functions. It ended up the "null" function at
est. location 80C71111 before it labeled "PUA:". Yes, I found SCSNODE
in SYSBOOT> prompt. That's why It said that its SCSNODE variable is
"SABKUP". I assume that last fail message is suspect that cause
possible 'derailment' of RQDX3 initialization.
Also I noticed that unknown bit in step #4 of initialization. OpenVMS
sent '002003' to SA register. Does anyone know about that bit (2)
in '002003'? My MQDX documentation does not have that information.
Yes, MQDX has complete information about entire sequence initialization.
Then OpenVMS took a nap until timer alarm set off for next initialization.
It finally send the first MSCP command to my RQDX3 emulator. It
processed and sent it back to OpenVMS to continue. OpenVMS successfully,
normally processed the end message. Then OpenVMS took another nap
until the timeout alarm set off. Then OpenVMS restarted the
entire initialization again and again!
I learned that OpenVMS is senstive to message header like virtual circuit
ID, message type, and credits. Specific settings are required to process
properly. Also, I discovered that OpenVMS is complete interrupt-driven
operating system with multi-tier IPL levels. OpenVMS uses IPL 8 to process
device interrupt services from multi-level Q22 interrupts (200 to 3F4).
According to my book, I learned that there are groups of vectors can be
specifically to IPL interrupt. For example, 3C0 to 3F4 is IPL BR7 (17), etc.. Does anyone have any suggestions?
Any solutions about that problems?? It happened nothing after
first MSCP command. :-(
Thank you!
-- Tim Stark
Console terminal screen log
---------------------------
Welcome to VAX Emulator
KA630-A.V1.3
Performing normal system tests.
7..6..5..4..3..
Tests completed.
>>> b /r5:1
2..1..0..
SYSBOOT> SHOW /SCS
Parameter Name Current Default Min. Max. Unit Dynamic
-------------- ------- ------- ------- ------- ---- -------
TIMVCFAIL 1600 1600 100 65535 10Ms D
SCSBUFFCNT 50 50 0 32767 Entries
SCSCONNCNT 40 40 2 32767 Entries
SCSRESPCNT 300 300 0 32767 Entries
SCSMAXDG 576 576 28 985 Bytes
SCSMAXMSG 216 216 60 985 Bytes
SCSFLOWCUSH 1 1 0 16 Credits D
SCSSYSTEMID 65535 0 0 -1 Pure-numbe
SCSSYSTEMIDH 0 0 0 -1 Pure-numbe
SCSNODE "SABKUP" " " " " "ZZZZ" Ascii
PRCPOLINTERVAL 30 30 1 32767 Seconds D
PASTIMOUT 5 5 1 99 Seconds D
PASTDGBUF 4 4 1 16 Buffers
PANUMPOLL 16 16 1 223 Ports D
PAMAXPORT 32 32 0 223 Port-numbe D
PAPOLLINTERVAL 5 5 1 32767 Seconds D
PAPOOLINTERVAL 15 15 1 32767 Seconds D
PASANITY 1 1 0 1 Boolean D
PANOPOLL 0 0 0 1 Boolean D
UDABURSTRATE 0 0 0 31 Longwords
SYSBOOT> CONTINUE
%SYSBOOT-I-SYSBOOT Mapping the SYSDUMP.DMP on the System Disk
%SYSBOOT-W-SYSBOOT Can not map SYSDUMP.DMP on the System Disk
%SYSBOOT-W-SYSBOOT Can not map PAGEFILE.SYS on the System Disk
OpenVMS (TM) VAX Version X72T Major version id = 1 Minor version id = 0
[Then it happened nothing...]
Debug log file
--------------
UDA: (R) IP (00012150) => 000000
QBA: (W) 20001468 => 3FF468 (17772150) at PC 80C724FC
UDA: (W) IP (00012150) <= 000000
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C7276B
UDA: (R) SA (00012152) => 005000
QBA: (W) 2000146A => 3FF46A (17772152) at PC 80C727EC
UDA: (W) SA (00012152) <= 122377
UDA: Initialization Step 1
UDA: Wrap Mode: No Interrupt: Yes Vector: 01FC (774)
UDA: Descriptor: Command: 4 (16 slots) Response: 4 (16 slots)
QBA: Interrupt - IPL 04 (4) Vector 3FC (1774)
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C738B0
UDA: (R) SA (00012152) => 010244
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C7282C
UDA: (R) SA (00012152) => 010244
QBA: (W) 2000146A => 3FF46A (17772152) at PC 80C728A1
UDA: (W) SA (00012152) <= 142120
UDA: Initialization Step 2
UDA: PI: No Ringbase Address (low): C450
QBA: Interrupt - IPL 04 (4) Vector 3FC (1774)
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C738B0
UDA: (R) SA (00012152) => 020377
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C728E1
UDA: (R) SA (00012152) => 020377
QBA: (W) 2000146A => 3FF46A (17772152) at PC 80C72956
UDA: (W) SA (00012152) <= 000003
UDA: Initialization Step 3
UDA: PP: No Ringbase Addr (high): 0003
QBA: Interrupt - IPL 04 (4) Vector 3FC (1774)
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C738B0
UDA: (R) SA (00012152) => 040463
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C72A6C
UDA: (R) SA (00012152) => 040463
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C72AAB
UDA: (R) SA (00012152) => 040463
QBA: (W) 2000146A => 3FF46A (17772152) at PC 80C72B29
UDA: (W) SA (00012152) <= 002003
UDA: Response Dscriptor: C003C514
I/O Address: 0003C510 Memory Address: 00F0ED10 Size: 28 bytes
00000000: 1C 00 10 00 00 00 00 00-00 00 00 00 00 01 0A 00 |................|
00000010: 00 00 00 00 00 00 13 00-00 03 00 00 33 |............3 |
[OpenVMS requested that last fail message packet above.]
QBA: Interrupt - IPL 04 (4) Vector 3FC (1774)
UDA: Initialization Step 4
UDA: GO: Yes LF: Yes Burst: 00
UDA: All setup done. Ready.
UDA: Ring=0003C450 C=4 R=4 Vector=774
QBA: Interrupt - IPL 04 (4) Vector 3FC (1774)
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C738B0
UDA: (R) SA (00012152) => 000000
QBA: (R) 20001468 => 3FF468 (17772150) at PC 80C734C0
Ringbase Address: 0003C450
(Host Address: 4106BC58)
-8 Reserved 0000
-6 Adp Chan 0000
-4 Cmd Int 0000
-2 Res Int 0000
0 Response Descriptor C003CB54
4 Response Descriptor C003C578
8 Response Descriptor C003C5DC
12 Response Descriptor C003C640
16 Response Descriptor C003C6A4
20 Response Descriptor C003C708
24 Response Descriptor C003C76C
28 Response Descriptor C003C7D0
32 Response Descriptor C003C834
36 Response Descriptor C003C898
40 Response Descriptor C003C8FC
44 Response Descriptor C003C960
48 Response Descriptor C003C9C4
52 Response Descriptor C003CA28
56 Response Descriptor C003CA8C
60 Response Descriptor C003CAF0
64 Command Descriptor C003CBB8
68 Command Descriptor 00000000
72 Command Descriptor 00000000
76 Command Descriptor 00000000
80 Command Descriptor 00000000
84 Command Descriptor 00000000
88 Command Descriptor 00000000
92 Command Descriptor 00000000
96 Command Descriptor 00000000
100 Command Descriptor 00000000
104 Command Descriptor 00000000
108 Command Descriptor 00000000
112 Command Descriptor 00000000
116 Command Descriptor 00000000
120 Command Descriptor 00000000
124 Command Descriptor 00000000
UDA: Command Descriptor = C003CBB8
I/O Address: 0003CBB4 Memory Address: 00F0F3B4 Size: 36 bytes
00000000: 24 00 00 00 00 00 8E 6D-00 00 00 00 04 00 00 00 |$......m........|
00000010: 00 00 D0 00 00 00 00 00-A0 E7 83 B0 D0 F9 9B 00 |................|
00000020: 00 00 00 00 30 |....0 |
QBA: Interrupt - IPL 04 (4) Vector 3FC (1774)
[Get that packet from host]
MSCP Packet (Address 03CBB8)
VCID: 0 Type: 00 Length: 36 bytes
Cmd Ref: 6D8E0000
Unit: 0 Sequence: 0
Opcode: 04 - Set Controller Characteristics Command
Flags: 00 - Success
MSCP Version: 0
Controller Flags: 00D0
Host Timeout: 0
Use Fraction: 0000
Time/Date: 009BF9D0B083E7A0
Error Log Flags: 0000
Copy Speed: 0810
[Send that packet back to host - Response Address 3C578]
MSCP Packet (Address BFFFF1AC)
VCID: 0 Type: 00 Length: 36 bytes
Cmd Ref: 6D8E0000
Unit: 0 Sequence: 0
Opcode: 84 - Set Controller Characteristics Command (End Message Flag)
Flags: 00 - Success
MSCP Version: 0
Controller Flags: 00D0
Controller Timeout: 120
Controller ???: 0000
Controller Options: 0000 0000 0000 0013
Volume Serial #: 0000
UDA: Response Dscriptor: C003C578
I/O Address: 0003C574 Memory Address: 00F0ED74 Size: 36 bytes
00000000: 24 00 00 00 00 00 8E 6D-00 00 00 00 84 00 00 00 |$......m........|
00000010: 00 00 D0 00 78 00 00 00-00 00 00 00 00 00 13 00 |....x...........|
00000020: 00 00 00 00 00 |..... |
QBA: Interrupt - IPL 04 (4) Vector 3FC (1774)
UDA: (R) IP (00012150) => 000000
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C738B0
UDA: (R) SA (00012152) => 000000
QBA: (R) 2000146A => 3FF46A (17772152) at PC 80C73CD5
UDA: (R) SA (00012152) => 000000
Then, it happened nothing until OpenVMS re-started entire initialization
again.... OpenVMS just did find the end message from "Set Controller
Characteristics Command" package and processed it properly.
--
Timothy Stark <>< Inet: sword7@speakeasy.org
--------------------------------------------------------------------------
"For God so loved the world, that he gave his only begotten Son, that
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Another RQDX3 problems.
2001-11-02 3:48 ` sword7
@ 2001-11-02 19:00 ` Eric Smith
2001-11-02 21:42 ` Kevin Handy
1 sibling, 0 replies; 9+ messages in thread
From: Eric Smith @ 2001-11-02 19:00 UTC (permalink / raw)
sword7@speakeasy.org writes:
> Also, I discovered that OpenVMS is complete interrupt-driven operating
> system with multi-tier IPL levels. OpenVMS uses IPL 8 to process
> device interrupt services from multi-level Q22 interrupts (200 to
> 3F4). According to my book, I learned that there are groups of
> vectors can be specifically to IPL interrupt. For example, 3C0 to 3F4
> is IPL BR7 (17), etc.. Does anyone have any suggestions?
From a hardware point of view, the vector and IPL are completely orthogonal.
In a given hardware configuration, a particular device will generally always
be assigned the same vector, but the IPL may be set to any level. Some
devices require the vector to be configured by jumpers, but others including
the RQDX3 are software configurable.
I don't have any idea about the VMS conventions for vectors or IPLs, though.
I'm only familiar with how this is done on PDP-11s. The Qbus hardware
requirements are the same as for Qbus VAXen, but the vectors are probably
different.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Another RQDX3 problems.
2001-11-02 3:48 ` sword7
2001-11-02 19:00 ` Eric Smith
@ 2001-11-02 21:42 ` Kevin Handy
2001-11-02 23:59 ` sword7
1 sibling, 1 reply; 9+ messages in thread
From: Kevin Handy @ 2001-11-02 21:42 UTC (permalink / raw)
sword7@speakeasy.org wrote:
>
> Hey Folks and Bob:
>
> Well, thank you for information, Bob Sunpik... I know that RQDX3 disk
> controller has T11 processor. However, I still have some RQDX3 emulation
> problems. After received the end message from RQDX3, OpenVMS did nothing
> afterward until timeout alarm set off and restarted entire initialization
> again and again...
>
> In "Set Controller Characteristics End Message", I carefully studied
> traced executions but they looks like fine. I found nothing is
> wrong with my RQDX3 emulator. OpenVMS still am waiting for unit
> status information like DUA0:, etc.
>
> About the last fail message, I do not know about message header information.
> OpenVMS did requested the last fail message per LF bit set in step #4
> initialization. I assumed that last fail message's header information:
Isn't the last-fail packet only send when an error occurs? If so, then
that might be what is triggering it to restart. It might be trying
several times to see if it stabilizes.
> Virtual circuit ID = 0
> Message Type = 1 (Error Datagram)
> Credits = 0
>
> OpenVMS received the last fail message but did nothing with it but
> just labeled my RQDX3 emulator as "SABKUP$PUA:". By using VC ID#,
> OpenVMS jumped into one of functions. It ended up the "null" function at
> est. location 80C71111 before it labeled "PUA:". Yes, I found SCSNODE
> in SYSBOOT> prompt. That's why It said that its SCSNODE variable is
> "SABKUP". I assume that last fail message is suspect that cause
> possible 'derailment' of RQDX3 initialization.
>
> Also I noticed that unknown bit in step #4 of initialization. OpenVMS
> sent '002003' to SA register. Does anyone know about that bit (2)
> in '002003'? My MQDX documentation does not have that information.
> Yes, MQDX has complete information about entire sequence initialization.
>
> Then OpenVMS took a nap until timer alarm set off for next initialization.
> It finally send the first MSCP command to my RQDX3 emulator. It
> processed and sent it back to OpenVMS to continue. OpenVMS successfully,
> normally processed the end message. Then OpenVMS took another nap
> until the timeout alarm set off. Then OpenVMS restarted the
> entire initialization again and again!
It sounds like the VAX is not seeing any interrupts generated by the
RQDX3. In step 1, if the IE bit is set (bit 7) then it expects that
the RQDX will send an interrupt after it sets up for each step.
Or is it sleeping after it gets the interrupt and before going on
to the next step? I don't know why it would do that, since all the
example code (PDP11 based) that I've seen loops through it without
any pause.
> I learned that OpenVMS is senstive to message header like virtual circuit
> ID, message type, and credits. Specific settings are required to process
> properly. Also, I discovered that OpenVMS is complete interrupt-driven
> operating system with multi-tier IPL levels. OpenVMS uses IPL 8 to process
> device interrupt services from multi-level Q22 interrupts (200 to 3F4).
> According to my book, I learned that there are groups of vectors can be
> specifically to IPL interrupt. For example, 3C0 to 3F4 is IPL BR7 (17), etc.. Does anyone have any suggestions?
>
> Any solutions about that problems?? It happened nothing after
> first MSCP command. :-(
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Another RQDX3 problems.
2001-11-02 21:42 ` Kevin Handy
@ 2001-11-02 23:59 ` sword7
2001-11-04 2:37 ` Jeff Campbell
0 siblings, 1 reply; 9+ messages in thread
From: sword7 @ 2001-11-02 23:59 UTC (permalink / raw)
In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote:
>> About the last fail message, I do not know about message header information.
>> OpenVMS did requested the last fail message per LF bit set in step #4
>> initialization. I assumed that last fail message's header information:
> Isn't the last-fail packet only send when an error occurs? If so, then
> that might be what is triggering it to restart. It might be trying
> several times to see if it stabilizes.
Hmmm. When I suspended the last-fail packet from being sent during step
4, it resulted the same. I will remove it from step 4 initialization
until it is sent if serious error occurs....
>> Then OpenVMS took a nap until timer alarm set off for next initialization.
>> It finally send the first MSCP command to my RQDX3 emulator. It
>> processed and sent it back to OpenVMS to continue. OpenVMS successfully,
>> normally processed the end message. Then OpenVMS took another nap
>> until the timeout alarm set off. Then OpenVMS restarted the
>> entire initialization again and again!
> It sounds like the VAX is not seeing any interrupts generated by the
> RQDX3. In step 1, if the IE bit is set (bit 7) then it expects that
> the RQDX will send an interrupt after it sets up for each step.
> Or is it sleeping after it gets the interrupt and before going on
> to the next step? I don't know why it would do that, since all the
> example code (PDP11 based) that I've seen loops through it without
> any pause.
No, each step initialization, VAX did received an interrupt after MTPR
instruction changed IPL to 8. All steps for initialization were
completed successfully without any pause. Then it went to sleep before
it started to send STCON command to RQDX3.
During step 4, OpenVMS received 040463 (Model 19, Revision 3) and
processed it by labeling it as PUA: device. When it was done, it exited
through REI and SIRR 8 was interrupted immediately after REI was
executed. It checked for any incoming packet but found nothing. Then it
went sleep for some time. When it woke up, it sent STCON command message
to RQDX3. Then RQDX3 set up controller flags and sent results back to
VAX and issued an interrupt to wake up.
When VAX received an interript, OpenVMS woke up and checked for any new
packets. It found the results from RQDX3 to process. It did processed
the end STCON message packet. Then it went back to sleep forever until
timeout alarm set off. It did not send any ONLINE commands.
Today, I tried Available Attention Message but it did not work. After
STCON command was processed, RQDX3 tried to send an attention packet
to VAX. VAX received an interrupt and processed it. It recongized the
Available Message packet and checked some settings in somewhere. It
found out and tossed it away. It went back to sleep without send
ONLINE commands. :-(
-- Tim Stark
--
Timothy Stark <>< Inet: sword7@speakeasy.org
--------------------------------------------------------------------------
"For God so loved the world, that he gave his only begotten Son, that
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Another RQDX3 problems.
2001-11-02 23:59 ` sword7
@ 2001-11-04 2:37 ` Jeff Campbell
2001-11-04 3:48 ` sword7
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Campbell @ 2001-11-04 2:37 UTC (permalink / raw)
sword7@speakeasy.org wrote:
>
> In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote:
> >> About the last fail message, I do not know about message header information.
> >> OpenVMS did requested the last fail message per LF bit set in step #4
> >> initialization. I assumed that last fail message's header information:
>
> > Isn't the last-fail packet only send when an error occurs? If so, then
> > that might be what is triggering it to restart. It might be trying
> > several times to see if it stabilizes.
>
> Hmmm. When I suspended the last-fail packet from being sent during step
> 4, it resulted the same. I will remove it from step 4 initialization
> until it is sent if serious error occurs....
>
> >> Then OpenVMS took a nap until timer alarm set off for next initialization.
> >> It finally send the first MSCP command to my RQDX3 emulator. It
> >> processed and sent it back to OpenVMS to continue. OpenVMS successfully,
> >> normally processed the end message. Then OpenVMS took another nap
> >> until the timeout alarm set off. Then OpenVMS restarted the
> >> entire initialization again and again!
>
> > It sounds like the VAX is not seeing any interrupts generated by the
> > RQDX3. In step 1, if the IE bit is set (bit 7) then it expects that
> > the RQDX will send an interrupt after it sets up for each step.
>
> > Or is it sleeping after it gets the interrupt and before going on
> > to the next step? I don't know why it would do that, since all the
> > example code (PDP11 based) that I've seen loops through it without
> > any pause.
>
> No, each step initialization, VAX did received an interrupt after MTPR
> instruction changed IPL to 8.
Does your emulator (vax/rqdx3) implement the port hardware interrupt
service routine? The IPL 8 is a software fork level interrupt. I do not
know if the VMS PUDRIVER interrupt processing handles the communication
rings transitions. My guess is that it does.
I assume your emulator code is trapping references to rqdx3 polling
register (IP). If the command ring is not empty when a new command
packet
is inserted into the command ring the driver may not poll, giving your
symptom of hanging/time-out reinit.
All steps for initialization were
> completed successfully without any pause. Then it went to sleep before
> it started to send STCON command to RQDX3.
>
> During step 4, OpenVMS received 040463 (Model 19, Revision 3) and
> processed it by labeling it as PUA: device. When it was done, it exited
> through REI and SIRR 8 was interrupted immediately after REI was
> executed. It checked for any incoming packet but found nothing. Then it
> went sleep for some time. When it woke up, it sent STCON command message
> to RQDX3. Then RQDX3 set up controller flags and sent results back to
> VAX and issued an interrupt to wake up.
>
> When VAX received an interript, OpenVMS woke up and checked for any new
> packets. It found the results from RQDX3 to process. It did processed
> the end STCON message packet. Then it went back to sleep forever until
> timeout alarm set off. It did not send any ONLINE commands.
>
> Today, I tried Available Attention Message but it did not work. After
> STCON command was processed, RQDX3 tried to send an attention packet
> to VAX. VAX received an interrupt and processed it. It recongized the
> Available Message packet and checked some settings in somewhere. It
> found out and tossed it away. It went back to sleep without send
> ONLINE commands. :-(
>
> -- Tim Stark
>
> --
> Timothy Stark <>< Inet: sword7@speakeasy.org
> --------------------------------------------------------------------------
> "For God so loved the world, that he gave his only begotten Son, that
> whosoever believeth in him should not perish, but have everlasting life.
> Amen." -- John 3:16 (King James Version Bible)
Jeff Campbell
n8wxs@arrl.net
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Another RQDX3 problems.
2001-11-04 2:37 ` Jeff Campbell
@ 2001-11-04 3:48 ` sword7
0 siblings, 0 replies; 9+ messages in thread
From: sword7 @ 2001-11-04 3:48 UTC (permalink / raw)
In alt.sys.pdp10 Jeff Campbell <jcampbell@ins-msi.com> wrote:
> Does your emulator (vax/rqdx3) implement the port hardware interrupt
> service routine? The IPL 8 is a software fork level interrupt. I do not
> know if the VMS PUDRIVER interrupt processing handles the communication
> rings transitions. My guess is that it does.
Jeff,
My emulator does implement the port hardware interrupt service routines.
RQDX3/Q22 sent IPL 16 to VAX to interrupt OpenVMS after command
descriptor was executed or each step value for initialization was
received. DSR Interrupt will not happen until MTFR changed to IPL 8
from 1F or 18.
> I assume your emulator code is trapping references to rqdx3 polling
> register (IP). If the command ring is not empty when a new command
> packet
> is inserted into the command ring the driver may not poll, giving your
> symptom of hanging/time-out reinit.
Yes, that's why...
My debug log file showed only one command descriptor that contains STCON
command and other descriptors are zero.
Hmmm. If STCON command has timeout 120 so that RXQD3 runs out of time
that waiting for another poll or so then re-issue interrupt? Or each
timeout of 120, RQDX3 checked command descriptor or so? For timeout 120,
it uses microseconds or milliseconds?
Also, I have not seen any commands but only STCON command was posted
by OpenVMS before it polls.
Thank you.
-- Tim Stark
P.S. STCON = Set Controller Characteristics Command
--
Timothy Stark <>< Inet: sword7@speakeasy.org
--------------------------------------------------------------------------
"For God so loved the world, that he gave his only begotten Son, that
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2001-11-04 3:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-31 23:05 Another RQDX3 problems sword7
2001-11-01 15:20 ` Bob Supnik
2001-11-02 3:48 ` sword7
2001-11-02 3:48 ` sword7
2001-11-02 19:00 ` Eric Smith
2001-11-02 21:42 ` Kevin Handy
2001-11-02 23:59 ` sword7
2001-11-04 2:37 ` Jeff Campbell
2001-11-04 3:48 ` sword7
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox