Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Jeff Campbell <jcampbell@ins-msi.com>
Subject: Re: Another RQDX3 problems.
Date: Sun, 04 Nov 2001 02:37:46 GMT	[thread overview]
Message-ID: <3BE4A1DD.6A552FF2@ins-msi.com> (raw)
In-Reply-To: tu6cr029kest17@corp.supernews.com

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


  reply	other threads:[~2001-11-04  2:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2001-11-04  3:48           ` sword7
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox