From: John Santos <JOHN@egh.com>
Subject: Re: TS10 - Successful but some PROBE problems.
Date: Thu, 14 Feb 2002 20:36:37 -0500 [thread overview]
Message-ID: <1020214201523.19306A-100000@Ives.egh.com> (raw)
In-Reply-To: <u6o3sr7ulobdbf@corp.supernews.com>
On Thu, 14 Feb 2002 sword7@speakeasy.org wrote:
> Hello folks:
>
> Well, I studied entire CHMK #32 tracings but found nothing is wrong
> with that. Bugs had not found yet. I decided to commented out two
> lines in emulated PROBE instruction (check previous mode for requested
> mode) and recompiled my TS10 (VAX) emulator to see what happens...
>
> All problems disappeared and OpenVMS get so much (infinitely) further!
> I successfully completed the secondary OpenVMS installation. I rebooted
> system and booted OpenVMS through messages from OPCOM, etc into the
> userland and finally 'Username:'! I was able logged into system with
> out any problems.
>
> I tested some commands like 'sh user', 'sh system', etc.. They worked so
> well. However, OpenVMS complaint about a few things. Some logical
> names 'no matched' error messages, and a few access violation messages
> during STARTUP.COM scripts. OpenVMS did not tell me a bug check
> message but it was found in my debug.log file - Bug Check #474.
>
> I believe that some problems in PROBE instructions or a problem in
> terminal stream routines ($QIO - queue I/O system). Does anyone
> have complete information about PROBE instructions with their inner
> workings? My VAX arch manual (1st edition) said that PROBE must
> check perivous mode in PSL for requested mode (1st operand). If
> pervious mode is higher than requested mode, changed requested mode
> to match previous mode or higher (least privilege).
This matches my 1981 VAX Arch Handbook... Are you setting a temp
value to the max (requested mode, previous mode) or are you setting
the mode arg of the PROBE instruction? If you change the instruction's
arg, I can easily see things breaking. (For example, same code is checking
accessibility of a buffer from the caller's mode. Sometime the caller
is user mode (prev_mode=3) and sometimes it's kernel (prev_mode=0), so
the 1st call from user mode modifies the arg to a "3" and it stays
there forever, thus producing spurious errors when prev_mode is kernel.
The first edition (what year? mine doesn't say what edition it is, just
"1981" on the spine) doesn't have the self-relative queue instructions,
and who knows what else. I can't imaging VMS working with out them,
though.
The current Macro-32 assembler manual (VAX Macro and Instuction Set
Reference Manual) is included in the online DOCS and should be at
the Compaq doc site:
http://www.openvms.compaq.com:8000/
http://www.openvms.compaq.com/doc/
http://www.openvms.compaq.com/commercial/
(from the FAQ.)
HTH
>
> Thank you!
>
> -- Tim Stark
--
John Santos
Evans Griffiths & Hart, Inc.
781-861-0670 ext 539
next prev parent reply other threads:[~2002-02-15 1:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-14 19:27 TS10 - Successful but some PROBE problems sword7
2002-02-15 1:36 ` John Santos [this message]
2002-02-15 5:01 ` sword7
2002-02-22 1:47 ` Zane H. Healy
2002-02-22 4:10 ` sword7
2002-02-23 18:33 ` Zane H. Healy
2002-02-23 22:58 ` sword7
2002-02-24 3:37 ` Sam Weiner
2002-02-24 9:54 ` jmfbahciv
2002-02-25 1:58 ` Zane H. Healy
-- strict thread matches above, loose matches on Subject: below --
2002-02-25 16:57 nospam
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