* TS10 - Successful but some PROBE problems.
@ 2002-02-14 19:27 sword7
2002-02-15 1:36 ` John Santos
0 siblings, 1 reply; 11+ messages in thread
From: sword7 @ 2002-02-14 19:27 UTC (permalink / raw)
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).
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] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-14 19:27 TS10 - Successful but some PROBE problems sword7
@ 2002-02-15 1:36 ` John Santos
2002-02-15 5:01 ` sword7
0 siblings, 1 reply; 11+ messages in thread
From: John Santos @ 2002-02-15 1:36 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-15 1:36 ` John Santos
@ 2002-02-15 5:01 ` sword7
2002-02-22 1:47 ` Zane H. Healy
0 siblings, 1 reply; 11+ messages in thread
From: sword7 @ 2002-02-15 5:01 UTC (permalink / raw)
In comp.sys.dec John Santos <JOHN@egh.com> wrote:
> 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.
Well, manual said that PROBE instructions use previous mode to maxize mode
(least privilege). Yes, I set temp value to test them on my emulator.
I now uncommented two lines in emulated PROBE instruction. Yes,
I made some tests to trying find a bug.
If I set transmit delay to 200, I noticed that CHMK #32 transmitted
a first character to the console terminal and quickly exited with
result code #8001 before an interrupt occured from TXCS tell TXDB is
ready to receive another character. When all terminal stream is
finished, it tried to return results but it ended up PROBE test failure
and returned with #040C error code during AST delivered (IPL 2). PROBE
tried probe (access test) executive stack with previous mode (supervisor)!
That is much difficult to debug it. :-(
> 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.
My first edition is "1987" that have information about queue instrctions
but not much.
> 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:
Yes, I am aware of that.
-- 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] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-15 5:01 ` sword7
@ 2002-02-22 1:47 ` Zane H. Healy
2002-02-22 4:10 ` sword7
0 siblings, 1 reply; 11+ messages in thread
From: Zane H. Healy @ 2002-02-22 1:47 UTC (permalink / raw)
In comp.sys.dec sword7@speakeasy.org wrote:
> My first edition is "1987" that have information about queue instrctions
> but not much.
Tim, you're talking about a Hardback book that's about 2-3 inches thick,
right? I believe John, OTOH, istalking about one of the DEC Handbooks.
Zane
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-22 1:47 ` Zane H. Healy
@ 2002-02-22 4:10 ` sword7
2002-02-23 18:33 ` Zane H. Healy
0 siblings, 1 reply; 11+ messages in thread
From: sword7 @ 2002-02-22 4:10 UTC (permalink / raw)
In comp.sys.dec Zane H. Healy <healyzh@shell1.aracnet.com> wrote:
> Tim, you're talking about a Hardback book that's about 2-3 inches thick,
> right? I believe John, OTOH, istalking about one of the DEC Handbooks.
You mean that handbook called "VAX/VMS Internals and Data Structures
v5.2"? That is 2-3 inches thick and so heavy book. I have VAX Arch
Handbook that is smaller like 1 inch thick. That is first edition (1987).
I still am looking for second edition (PDF or copy) that has KA655
information. I implemented KA655 and KA630 processors in my TS10
emulator.
Well, I think that queue instructions are fine on my VAX emulator.
However a mystery bug still remains undetermined due to AST delivery
crash during PROBEW operation on both Simh and TS10 emulator.
-- 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] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-22 4:10 ` sword7
@ 2002-02-23 18:33 ` Zane H. Healy
2002-02-23 22:58 ` sword7
0 siblings, 1 reply; 11+ messages in thread
From: Zane H. Healy @ 2002-02-23 18:33 UTC (permalink / raw)
In comp.sys.dec sword7@speakeasy.org wrote:
> You mean that handbook called "VAX/VMS Internals and Data Structures
> v5.2"? That is 2-3 inches thick and so heavy book. I have VAX Arch
> Handbook that is smaller like 1 inch thick. That is first edition (1987).
> I still am looking for second edition (PDF or copy) that has KA655
> information. I implemented KA655 and KA630 processors in my TS10
> emulator.
I'm talking about the "VAX Architecture Reference Manual", which was
published by Digital Press in 1987. I really think this is the one you're
talking about. Unfortunatly I don't have the 2nd Ed. of this one either.
I've also got the "VAX Architecture Handbook" published by DEC in 1981, and
the 1980-81 & 1886 versions of the "VAX Hardware Handbook" from DEC. These
are the paperbacks.
Something you might want to try and get access to is copies of the "Digital
Technical Journal". I believe some of these are available online still,
somewhere at Compaq. Unfortunatly they probably don't have what you're
needing.
Zane
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-23 18:33 ` Zane H. Healy
@ 2002-02-23 22:58 ` sword7
2002-02-24 3:37 ` Sam Weiner
2002-02-25 1:58 ` Zane H. Healy
0 siblings, 2 replies; 11+ messages in thread
From: sword7 @ 2002-02-23 22:58 UTC (permalink / raw)
In comp.sys.dec Zane H. Healy <healyzh@shell1.aracnet.com> wrote:
> I'm talking about the "VAX Architecture Reference Manual", which was
> published by Digital Press in 1987. I really think this is the one you're
> talking about. Unfortunatly I don't have the 2nd Ed. of this one either.
Oh, yes. I got it. I have a copy of "VAX Arch Reference Manual" that is
1st edition (1987). I was given a book some time ago.
> I've also got the "VAX Architecture Handbook" published by DEC in 1981, and
> the 1980-81 & 1886 versions of the "VAX Hardware Handbook" from DEC. These
> are the paperbacks.
Hmmm. What is information (summary) in them?
> Something you might want to try and get access to is copies of the "Digital
> Technical Journal". I believe some of these are available online still,
> somewhere at Compaq. Unfortunatly they probably don't have what you're
> needing.
Thank you for information. I will look into that. I do not know where
are them yet.
-- 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] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
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
1 sibling, 1 reply; 11+ messages in thread
From: Sam Weiner @ 2002-02-24 3:37 UTC (permalink / raw)
In article <u7g7kfegri60f3@corp.supernews.com>, <sword7@speakeasy.org> wrote:
>In comp.sys.dec Zane H. Healy <healyzh@shell1.aracnet.com> wrote:
[snip]
>> Something you might want to try and get access to is copies of the "Digital
>> Technical Journal". I believe some of these are available online still,
>> somewhere at Compaq. Unfortunatly they probably don't have what you're
>> needing.
>
>Thank you for information. I will look into that. I do not know where
>are them yet.
Issues starting with Volume 3 in 1991 are at
http://research.compaq.com/wrl/DECarchives/DTJ/
I wonder if all this stuff plus ftp.digital.com
which still has some interesting stuff will
survive if the HP merger goes through.
Sam
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-24 3:37 ` Sam Weiner
@ 2002-02-24 9:54 ` jmfbahciv
0 siblings, 0 replies; 11+ messages in thread
From: jmfbahciv @ 2002-02-24 9:54 UTC (permalink / raw)
In article <Gs0q28.6oJ@world.std.com>,
weiner@TheWorld.com (Sam Weiner) wrote:
<snip>
>I wonder if all this stuff plus ftp.digital.com
>which still has some interesting stuff will
>survive if the HP merger goes through.
I would assume not, especially if it has nothing to do with
current business. Everybody seems to be stricken with PC-itis
these days.
/BAH
Subtract a hundred and four for e-mail.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems.
2002-02-23 22:58 ` sword7
2002-02-24 3:37 ` Sam Weiner
@ 2002-02-25 1:58 ` Zane H. Healy
1 sibling, 0 replies; 11+ messages in thread
From: Zane H. Healy @ 2002-02-25 1:58 UTC (permalink / raw)
sword7@speakeasy.org wrote:
> In comp.sys.dec Zane H. Healy <healyzh@shell1.aracnet.com> wrote:
>> I've also got the "VAX Architecture Handbook" published by DEC in 1981, and
>> the 1980-81 & 1886 versions of the "VAX Hardware Handbook" from DEC. These
>> are the paperbacks.
> Hmmm. What is information (summary) in them?
Here is what the "VAX Hardware Handbook 1980-81" has to say about that. The
1986 edition looks to cover through the VAX 8600 (including having info on
the MicroVAX I).
Zane
"The VAX handbook set is presented in three books:
* The VAX Archetecture Handbook introduces VAX system architecture,
addressing modes, and the native mode instruction set.
* The VAX Software Handbook introduces the VAX/VMS virtual memory operating
system, its operation, hardware interaction, data structures, features, and
capabilities.
* This book, VAX Hardware Handbook, introduces the VAX hardware elements,
including the central processor units, intelligent console subsystems,
MASSBUS and UNIBUS subsystems, main memory, and memory management.
Part 1 of this book describes the VAX family of computers in general,
certain architectural characteristics, and the functions independent of
processor type. Part 2 contains information pertinent to the new VAX
processor, the VAX-11/750. Part 3 describes the VAX-11/780 and Part 4
contains the eppendices, glossary and index.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: TS10 - Successful but some PROBE problems
@ 2002-02-25 16:57 nospam
0 siblings, 0 replies; 11+ messages in thread
From: nospam @ 2002-02-25 16:57 UTC (permalink / raw)
> Something you might want to try and get access to is copies of the "Digital
> Technical Journal". I believe some of these are available online still,
> somewhere at Compaq. Unfortunatly they probably don't have what you're
> needing.
I have them available for anonymous ftp as well, on cmuccvax.vaxpower.org,
if theyre not on gatekeeper anymore.. Mostly compress'ed postscript.
All together, theyre like 66 megs.
happy hacking,
Isildur
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2002-02-25 16:57 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-14 19:27 TS10 - Successful but some PROBE problems sword7
2002-02-15 1:36 ` John Santos
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox