From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5e74e0b23842db90 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.68.132.73 with SMTP id os9mr8225567pbb.4.1362583986002; Wed, 06 Mar 2013 07:33:06 -0800 (PST) Path: jm3ni34315pbb.0!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers Date: Wed, 06 Mar 2013 15:33:02 GMT Organization: Aioe.org NNTP Server Message-ID: <51375fe9.58270507@nntp.aioe.org> References: <510fa014.171203983@nntp.aioe.org> <511e2731.130278790@nntp.aioe.org> <511e442b.137696544@nntp.aioe.org> <5120d34f.47638789@nntp.aioe.org> <512385cb.224392072@nntp.aioe.org> <512a1f3b.52491122@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: yPe0Vz9rK3epnEf2vEo6yg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 X-Received-Bytes: 4943 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Sun, 24 Feb 2013 16:00:16 +0100, Johnny Billquist wrote: >> That said, I note that RTEM.TSK resides in [1,54], probably because >> it's considered a system program rather than an app. > >Uh? RTEM.TSK don't need to be anywhere in particular. I have it in >LB:[RTEM] on my system... >What made you think it must be in [1,54]? That's not what I said, but I did forget to mention the source: it's the RTEM documentation kit that describes RTEM.TSK as residing in [1,54]. The installation procedure describes the copy operation as follows (page 2.5): PIP DR0:[1,54]RTEM.TSK/...=DL1:[277,54]RTEM.TSK An earlier section states the locations as follows (page 1.1). ("sysuic" is not detailed). RTEM.TSK LB:[sysuic] RT11SH.SYS LB:[1,1] >>>> Is there a way for a task to determine whether a particular >>>> device/unit has been mounted, and if so as a FILES11 volume or as a >>>> foreign device and whether the task has access to the volume? >>> >>> GLUN$ gives you parts of the information, but is not really good enough >>> for that purpose. What you need is GIN$, and the GI.DEV subfunction. But >>> I think that is M+ only. >> >> I guess I could probe all known disks with ALUN$ and various QIOs and >> look for error messages. > >Yuck! GLUN$ is atleast better than that. GLUN$ would be included in the party. Throw everything at the system and see if it falls over and whether it can get back up again :-) >> I noticed that the F11A ACP doesn't support a RENAME operation >> directly but that applications have to DELETE the old name and then >> ENTER a new name, attaching the existing FID to the new name. What >> happens if the application aborts after the DELETE but before the >> ENTER? Does the FID become an orphan? > >Yes. Or you'd rather say that it comes a lost file. VFY can locate and >recover such files. > >However, why remove the old one before entering the new one? >Add the new one first, and then remove the old one. Better from a >recovery point of view. I'm reporting what PIP actually does, and PIP does the delete first. Likewise, the RSX documentation (IO Operations Manual, ACP appendix) says to delete then enter. Perhaps it has something to do with the identification area of the file header (i.e. I.FNAM and I.FTYP). Here's a V11 trace of a PIP rename (with some ALUNs/GLUNs deleted) DCL> rename g.g h.h 26456u 326 alun lun=4 dev=[SY] 20426u 15370 qiow fun=11=(fna) lun=4 efn=40 isb=15420 p1=0 p2=0 p3=0 p4=0 p5=0 p6=1514 nam=[DL0:001054.DIR] fid=0/0 did=4/4 26456u 334 alun lun=3 dev=[DL] 20426u 15370 qiow fun=11=(fna) lun=3 efn=40 isb=15420 p1=0 p2=0 p3=0 p4=0 p5=0 p6=1654 nam=[DL0:G.G] fid=0/0 did=22/1 20426u 15370 qiow fun=13=(rna) lun=3 efn=40 isb=15420 p1=0 p2=0 p3=0 p4=0 p5=0 p6=1654 nam=[DL0:G.G] fid=607/11 did=22/1 26456u 346 alun lun=4 dev=[DL] 20426u 15370 qiow fun=14=(ena) lun=4 efn=40 isb=15420 p1=0 p2=0 p3=0 p4=0 p5=0 p6=1514 nam=[DL0:H.H] fid=607/11 did=22/1 I'm getting a bit more skilled with RSX so I managed to find the location of the intermittent crash. It's the CRASH at 100$ in CORAL.MAC, which points to a corruption of the dynamic memory structures detected during DEAC1. I'll put a breakpoint at the location to see if I can get more detail. It seems only to happen when I use KEYPAD.SAV (a KED replacement) in RTX. There is no access to RSX disks, so I think it must be tied to the terminal, or perhaps ASTs in general. Ian