From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,3d3777f757ca1cc8 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,3d3777f757ca1cc8 X-Google-Attributes: gid1164f8,public X-Google-Thread: fdd80,3d3777f757ca1cc8 X-Google-Attributes: gidfdd80,public X-Google-ArrivalTime: 2001-11-03 18:02:51 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!easynews!sjc-peer.news.verio.net!dfw-feed.news.verio.net!news.verio.net!news!not-for-mail Message-ID: <3BE4A1DD.6A552FF2@ins-msi.com> From: Jeff Campbell Organization: INS-MSI Inc. X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: alt.sys.pdp10,alt.sys.pdp11,comp.sys.dec Subject: Re: Another RQDX3 problems. References: <3BE3133C.8A6B047A@srv.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 04 Nov 2001 02:37:46 GMT NNTP-Posting-Host: 209.190.33.143 X-Trace: news 1004841466 209.190.33.143 (Sat, 03 Nov 2001 21:37:46 EST) NNTP-Posting-Date: Sat, 03 Nov 2001 21:37:46 EST Xref: archiver1.google.com alt.sys.pdp10:7334 alt.sys.pdp11:2918 comp.sys.dec:8117 sword7@speakeasy.org wrote: > > In alt.sys.pdp10 Kevin Handy 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