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 21:01:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: sword7@speakeasy.org Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: TS10 - Successful but some PROBE problems. Date: Fri, 15 Feb 2002 05:01:19 -0000 Message-ID: Sender: Timothy Stark References: <1020214201523.19306A-100000@Ives.egh.com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.20 (i686)) X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.sys.dec:11934 comp.os.vms:64796 In comp.sys.dec John Santos 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)