From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,b79b03565fd3002e X-Google-NewGroupId: yes X-Google-Thread: ffc31,b79b03565fd3002e X-Google-NewGroupId: yes X-Google-Thread: 1164f8,b79b03565fd3002e X-Google-NewGroupId: yes X-Google-Thread: 1018e7,b79b03565fd3002e X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,gid9b70862339,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!newsfeeder.syd.optusnet.com.au!news.optusnet.com.au!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec,comp.os.rsts,comp.os.vms Subject: Re: RMS-11 Date: Thu, 08 Sep 2011 09:54:06 GMT Reply-To: paramucho@hotmail.com Message-ID: <4e687c78.22576246@news.optusnet.com.au> References: <4e6a5c5d.14357271@news.optusnet.com.au> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 59.154.42.141 X-Trace: 1315475662 2444 59.154.42.141 Xref: g2news2.google.com alt.sys.pdp11:2457 vmsnet.pdp-11:731 comp.sys.dec:3943 comp.os.rsts:36 comp.os.vms:45727 On Thu, 08 Sep 2011 08:27:28 +0200, Johnny Billquist wrote: >On 2011-09-08 08.16, paramucho wrote: >> On Wed, 07 Sep 2011 22:06:38 +0200, Johnny Billquist >> wrote: >> >> >>> In RMS? With the current implementation, FCS calls the device driver to >>> get a file id, based on a FNB. RMS claims to open the file without >>> calling the device driver at all. So it does not give any error. >>> However, trying to do I/O after that, means that my TCP/IP gives an >>> error, since there is no connection open on that LUN. >>> >>>> Can you single step the RMS code... for a while? >>> >>> I've done it some, and it's tedious and complex. RMS is not a small >>> library... >> >> I think I'm starting to understand the problem. >> >> Do you have a simple stand-alone RMS test app that demonstrates the >> problem? I have RSX-11M 4.4 and I also do testing in RUST/XM using an >> RSX AME (which doesn't support PLAS and only has really basic support >> for loadable libraries). > >Yes, I have an extremely short program that demonstrates the problem. >However, it isn't of any use to anyone else, since you also need my >TCP/IP to test this. >It is a question of RMS reacts/behaves with my device/or with devices >with different attributes. All I need to know about your device should be it's unit characteristics (record oriented FD.REC etc). That's what RMS will know about your device (from GLUN). I should be able to fudge the rest of the details to run a simple test program. I have some tools which let me look at the behavior of apps and play around with the environment. The first is the RUST RSX AME directive trace. Here's an example trace using RSX PIP: . mcr pip PIP> sy:a.a=tt:aaaaaaa.aaa ... 26456 alun lun=3 dev=TT: 26620 glun lun=3 buf=15370 20426 qiow (acr) fun=15 mod=0 lun=3 efn=40 pri=0 isb=15420 ast=0 p1=1654 p2=334 p3=0 p4=0 p5=100400 p6=0 20426 qiow (att) fun=3 mod=0 lun=3 efn=40 pri=0 isb=36620 ast=0 p1=0 p2=0 p3=0 p4=0 p5=0 p6=0 26456 alun lun=4 dev=SY: 26620 glun lun=4 buf=15370 26456 alun lun=4 dev=SY: 26620 glun lun=4 buf=15370 20426 qiow (cre) fun=24 mod=0 lun=4 efn=40 pri=0 isb=15420 ast=0 p1=1514 p2=342 p3=0 p4=0 p5=0 p6=0 fid=a.a 20426 qiow (ena) fun=14 mod=0 lun=4 efn=40 pri=0 isb=15420 ast=0 p1=0 p2=0 p3=0 p4=0 p5=0 p6=1514 fid=a.a nam=a.a;0 sta=100206 nxt=0 did=001004.dir dev=SY: 20426 qiow (ace) fun=17 mod=0 lun=4 efn=40 pri=0 isb=15420 ast=0 p1=1514 p2=334 p3=0 p4=0 p5=101400 p6=0 ... Using trace I can look at the behavior if different device characteristics settings, and I can locate the point at which RMS looks at the settings (GLUN). The RUST emulator debugger stores the last few hundred instructions so it's simple to walk back through code and I can use WATCH to track access to specific pieces of data (such as the unit characteristics). If I need anything else I just modify the emulator. My guess is that RMS is going to need a patch since you want your device to look like two different sorts of device to it. > What it does for a normal disk device is >known, but I do not want to look like a disk, for reasons explained. > >:-) I'm not thinking about disks! >However, if you want to try and understand anything, you are welcome to >log into my development system and step through RMS in there. :-) >(It's Mim.Update.UU.SE, guest/guest) I successfully logged in (after I remembered how HELLO works) and I managed to look around, but I couldn't see any test programs. Ian