From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Access to RSTS/E IOPAGE Registers
Date: Thu, 07 Mar 2013 00:51:26 +0100 [thread overview]
Message-ID: <kh8kpv$h40$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <51375fe9.58270507@nntp.aioe.org>
On 2013-03-06 16:33, paramucho wrote:
> On Sun, 24 Feb 2013 16:00:16 +0100, Johnny Billquist <bqt@softjar.se>
> 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]
Oh! Ah. Yes...
The reason for that is probably because RTEM was only ever intended for
(or maybe even officially supported) on 11M, where system programs
always sits in [1,54].
But that is just a convention. You can have the binary anywhere and it
works just as well. And if you install it, you will not even be aware of
where the binary actually resides in the file system.
To be even more clear: SYSUIC is an actual value in RSX. On a mapped 11M
system, it is normally [1,54], but under some circumstances it might be
something else.
RT11SH.SYS on the other hand is by default expected to be found in LB:[1,1].
The moving of system independent tasks only came about in M+. Before
that there was only SYSUIC, and everything was expected to sit there.
>>>>> 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.
Ok. But either way will work.
> 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).
No. There is nothing in there that are affected. A rename don't even
touch the file header. It's just a question of adding/removing entries
in the directory.
(This implies a problem in the RSX system, however. There is no
information in a file about which directory it was expected to sit in,
so if it gets lost, VFY can not properly recover, but instead places all
lost and found files in [1,3]. VMS did add a backpointer in the file
header for ODS-2, if I remember right.)
> 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
Pretty straight forward...
> 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.
Most likely it's actually a call to $DEACB, and not $DEAC1. But anyway...
I seem to remember that there might be an issue if you are sending
characters at a very high rate into RSX. The terminal device driver do
not handle that correctly, but it's not something ever noted by DEC,
since you can't physically produce characters at such rate on real
hardware. But it has been noted in simulators... Typically things like
function keys, which sends several characters are the thing that trigger it.
Could it be something related to that?
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt@softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
next prev parent reply other threads:[~2013-03-06 23:51 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 13:22 Access to RSTS/E IOPAGE Registers Jerome H. Fine
2012-12-26 15:35 ` Bill Gunshannon
2012-12-27 0:10 ` glen herrmannsfeldt
2012-12-27 21:13 ` Johnny Billquist
2012-12-27 21:25 ` glen herrmannsfeldt
2012-12-27 21:37 ` Johnny Billquist
2012-12-27 13:38 ` Jerome H. Fine
2012-12-27 21:16 ` Johnny Billquist
2012-12-28 6:32 ` paramucho
2012-12-28 15:01 ` Johnny Billquist
2012-12-30 2:04 ` paramucho
2012-12-30 3:25 ` Johnny Billquist
2012-12-30 18:25 ` jgharston
2012-12-30 21:44 ` Johnny Billquist
2012-12-31 0:34 ` Jerome H. Fine
2012-12-31 0:52 ` Johnny Billquist
2012-12-31 16:04 ` paramucho
2012-12-31 16:23 ` Bob Eager
2012-12-31 16:33 ` Johnny Billquist
2013-01-01 3:28 ` paramucho
2012-12-31 16:30 ` Johnny Billquist
2013-01-01 4:55 ` paramucho
2013-01-01 18:37 ` Johnny Billquist
2013-01-13 8:01 ` paramucho
2013-01-13 14:13 ` Johnny Billquist
2013-01-14 6:30 ` paramucho
2013-01-14 11:50 ` Johnny Billquist
2013-01-15 14:20 ` paramucho
2013-01-15 21:10 ` Johnny Billquist
2013-01-16 3:25 ` Jerome H. Fine
2013-01-16 4:39 ` Johnny Billquist
2013-01-16 13:43 ` paramucho
2013-01-16 18:59 ` Johnny Billquist
2013-01-17 11:56 ` paramucho
2013-01-22 9:53 ` Hartmut Brandt
2013-01-22 13:52 ` Johnny Billquist
2013-01-23 14:11 ` paramucho
2013-01-23 19:53 ` Johnny Billquist
2013-01-25 13:43 ` paramucho
2013-01-25 23:39 ` Johnny Billquist
2013-01-28 7:47 ` paramucho
2013-01-28 18:06 ` Johnny Billquist
2013-01-30 12:16 ` paramucho
2013-01-30 18:50 ` Johnny Billquist
2013-02-02 12:51 ` paramucho
2013-02-02 16:15 ` Johnny Billquist
2013-02-03 16:16 ` Jerome H. Fine
2013-02-04 12:03 ` paramucho
2013-02-04 16:58 ` Johnny Billquist
2013-02-15 12:34 ` paramucho
2013-02-15 13:08 ` Johnny Billquist
2013-02-15 15:15 ` paramucho
2013-02-15 16:04 ` Johnny Billquist
2013-02-17 13:02 ` paramucho
2013-02-17 13:43 ` Johnny Billquist
2013-02-19 14:09 ` paramucho
2013-02-20 11:18 ` paramucho
2013-02-21 0:23 ` Johnny Billquist
2013-02-21 0:22 ` Johnny Billquist
2013-02-24 14:10 ` paramucho
2013-02-24 15:00 ` Johnny Billquist
2013-03-06 15:33 ` paramucho
2013-03-06 23:51 ` Johnny Billquist [this message]
2013-03-20 10:15 ` paramucho
2013-03-20 13:01 ` Johnny Billquist
2013-03-20 21:42 ` Johnny Billquist
2013-04-14 16:48 ` paramucho
2013-04-14 18:28 ` Johnny Billquist
2013-04-15 10:30 ` Johnny Billquist
2013-03-20 17:33 ` Jerome H. Fine
2013-03-25 15:55 ` paramucho
2013-03-06 15:33 ` paramucho
2013-02-24 14:12 ` paramucho
2013-01-23 14:10 ` paramucho
2013-01-14 9:13 ` Hartmut Brandt
2013-01-14 8:08 ` John Santos
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox