From: Jeff Campbell <jcampbell@ins-msi.com>
Subject: Re: TS10 Emulator - a bug had been found!
Date: Fri, 08 Feb 2002 20:48:59 GMT [thread overview]
Message-ID: <3C64309A.EDDC2721@ins-msi.com> (raw)
In-Reply-To: u67louhjphdqb3@corp.supernews.com
Tim,
Dumb question. 8-)
Is your emulator code single threaded? That is, not coded as a
multithreaded application.
The reason I ask is that the INS/REMQUE instructions are atomic. A
queued element should not 'disappear' before the it's expected removal.
Maybe the queue header is being overwritten (initialized after an item
has been inserted into the queue.)
Jeff
n8wxs@arrl.net
sword7@speakeasy.org wrote:
>
> Jeff:
>
> Yes, that is right. That's why OpenVMS stalled after RQDX3 initialization
> and all units scanned. When RQDX3 initialization was completed, OpenVMS
> checked saved interrupt flags from ring base table and see command
> interrupt flag is set then jumped to check all queues by using
> INSQUE/REMQUE instructions but found nothing. Then returned back to
> null job and never do the read access.
>
> After it was fixed in my RQDX3 emulation, now all saved interrupt flags
> are response interrupt is one but command interrupt is zero. OpenVMS
> checked everything before exit RQDX3 initization. When it made sure that
> command interrupt is zero, it gave green signal to start I/O data acceses.
> Then OpenVMS issued IPL 8 software interrupt and returned back to null
> job. Then interrupt immediately occured after REI executed and checked
> any requests. It found something and issued IPL 4 software interrupt and
> returned back to null job. Then interrupt immediated occured and started
> to execute at IPL 4. It jumped into the I/O data routines and tried to
> dequeue I/O requests from its queue (80AE6350) at 80C68AD9. It found
> queue empty and gave up. It just gave up before next instructions that
> is starting I/O data access. It retuned back to null job forever....
>
> According to debug.log, it failed to enqueue I/O requests to 80AE6350
> during MSCP initialization step #1. It did in SIMH emulator. That
> is big difference that I detected in both log files. In TS10 emulator,
> it never encounter 80C7476D that contains INSQUE instruction with queue
> 80AE6350. In SIMH emulator, it did encountered 80C7476D. There are
> 300,000 lines between step #1 and step #2. According to VAX
> Internal and Data Structures, it is in processing at step 44 during
> EXE$INIT routine. I believed that LDR$CQ_IMAGES (sp?) perhaps is messed
> up or so.
>
> -- 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)
next prev parent reply other threads:[~2002-02-08 20:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-07 0:33 TS10 Emulator Updates (KA655) sword7
2002-02-08 0:11 ` TS10 Emulator - a bug had been found! sword7
2002-02-08 2:45 ` Jeff Campbell
2002-02-08 13:48 ` sword7
2002-02-08 20:48 ` Jeff Campbell [this message]
2002-02-08 21:28 ` TS10 Emulator - A PROBEx bug found!!! sword7
2002-02-08 23:36 ` Jeff Campbell
2002-02-09 3:58 ` Zane H. Healy
2002-02-09 5:28 ` sword7
2002-02-10 5:58 ` 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