From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bc14ed71af409452 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,bc14ed71af409452 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-02-14 17:33:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.shore.net!Ives.egh.com!JOHN Newsgroups: comp.sys.dec,comp.os.vms From: John Santos Subject: Re: TS10 - Successful but some PROBE problems. In-Reply-To: Message-ID: <1020214201523.19306A-100000@Ives.egh.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Thu, 14 Feb 2002 20:36:37 -0500 NNTP-Posting-Host: 209.192.204.112 X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 1013736820 209.192.204.112 (Thu, 14 Feb 2002 20:33:40 EST) NNTP-Posting-Date: Thu, 14 Feb 2002 20:33:40 EST Organization: Shore.Net, a PRIMUS Company (info@shore.net) Xref: archiver1.google.com comp.sys.dec:11932 comp.os.vms:64769 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