From: Jerome Fine <jhfine@idirect.com>
To: Tigger LAS <TiggerLAS@aol.com>
Subject: Re: BOOT-U-I/O ERROR and "Set"
Date: 1998/01/30 [thread overview]
Message-ID: <34D22981.150DD1C4@idirect.com> (raw)
In-Reply-To: 1ce5920a.34cf70ce@aol.com
>Tigger LAS wrote:
>Actually, I don't have ANY problem; I was pointing out a possible
>suggestion as to why SOMEONE ELSE might be getting a BOOT-U-I/O ERROR
>on their RT11 system when booting from an RX50.
>The example that I provided:
>SET DU0: UNIT 2 PORT 0
>SET DU1: UNIT 3 PORT 0
>SET DU2: UNIT 0 PORT 0
>SET DU3: UNIT 1 PORT 0
>. . .is a perfectly valid configuration; in fact, it's how my system
>is configured right now, with two RD51's and an RX50.
>This wasn't the issue I was trying to bring up. . . .
>Once these "SET" commands are issued, RT11 (I'm assuming) will use these
>values every time it boots. . . (But this isn't the issue, either.)
Jerome Fine replies:
I have asked Tigger LAS to allow me to post a reply to his understanding
of the RT-11 mapping within an RT-11 MSCP device driver. I asked that
he respond by Friday if he felt that I should not post my reply so that
other interested parties might also understand the situation a bit better.
I am assuming that the physical units for the above set of drives are:
First RD51 - UNIT 0
Second RD51 - UNIT 1
First RX50 - UNIT 2
Second RX50 - UNIT 3
since this is how an RQDX1,2,3 would autoconfigure the physical 4
units when the controller is first initialized.
The above configuration is definitely legal and bootable via DUP AFTER
the system has first been booted (let us say on some other device such
as an RL02 or a RX02). I just did basically what you have on the
example you used by starting with a normal set up and copying it to
the VM: at which point I gave the commands (I only used an RX50):
"SET DU0: PORT=0,UNIT=1,PART=0"
"SET DU1: PORT=0,UNIT=0,PART=0"
I had started with a floppy: an RX50 that was normal which I copied
to VM: which I then booted and issued the above "SETS". Then
I created two more floppies (RX50s) which were identical to the
first floppy with the normal definitions of DUX.SYS and copied
the new DUX.SYS (with the reversed SETS) over the normal
DUX.SYS (with the normal SETS). Thus, the two floppies in
PHYSICAL DU0: and DU1: (now logical DU1: and DU0:,
respectively) had exactly two words different which was due
to the switched mapping. Naturally, the DUX.SYS on VM0:
also had the reversed mapping. Now, I then tried to:
"BOOT DU0:" and naturally PHYSICAL DU1: was booted.
Then I tried the other floppy by:
"BOOT DU1:" and naturally PHYSICAL DU0: was booted.
Then I booted the VM0: and started again. I tried to:
"BOOT/FOREIGN DU1:" and the system crashed with a
"?-U-Boot I/O Error" message and went into ODT. Then
I tried the DEC boot ROMs and said to: "B DU0" (I was
using a KDJ11-BB) and again the system crashed with the
same error message. The above tests were done using V5.4G
of RT-11.
However, if the tests are repeated using V5.6, the results are
somewhat different. Now all modes of booting function correctly.
However, the big winner is using the DEC BOOT ROMs which are now
able to function in an interesting manner. If BOTH DU0: and
DU1: are on-line, then specifying "B DU0" results in the boot
block on physical unit "0" being read followed thereafter by
physical unit "1" being used for the rest of the booting.
On the other hand, if "B DU1" is requested, then the boot block
on physical unit "1" is read followed by physical unit "0" being
used for the rest of the booting. I didn't try to boot using
the DEC BOOT ROMs with only one floppy on-line as I strongly
suspect the system would have just crashed.
Now, I am not sure what floppies are mounted when Tim boots the
system, nor which version of RT-11 was being used. So it would be
interesting to find out what software was where on which drive.
In addition, were there any other devices that were used first.
Now, I realize I have tried to specify everything in the utmost
detail so that there would not be a misunderstanding. If I left
anything out and you don't understand something, please feel
free to e-mail me for clarification either via a post or in private.
In summary, setting up a device with a MSCP mapping table that has
entries where the logical and the physical units are different (but
at least the partition numbers are zero) will allow DUP to boot
the device, but DEC BOOT ROMs (at least from my understanding and
very limited testing to verify that understanding) can't boot an
MSCP device when the PHYSICAL and the LOGICAL device mapping
is NOT IDENTICAL UNLESS the BOOT block has been set up in a
manner which is able to accommodate this situation being different.
As far as I know, all of the standard device drivers distributed
by DEC for RT-11 in the past have NOT had this additional feature
for V5.4G and prior thereto. V5.6 of RT-11 does have this feature
for booting. I have not bothered to test V5.5 and it may or not.
RT-11 BOOT ROMs are able to accommodate this difference IF BOTH
the PHYSICAL device and the final LOGICAL device (whatever it
may be as a physical device) are on-line and the BOOT BLOCK
of the PHYSICAL device has the same mapping as the final LOGICAL
DEVICE AND the boot block has the extra mapping to allow this
situation to occur. As far as I know, V5.4G and prior do not.
At least V5.6 versions of the MSCP device drivers do.
It is also possible to boot all 64 partitions of an MSCP hard
disk drive as opposed to the 8 partitions allowed by the standard
MSCP device driver produced by DEC for V5.6 of RT-11.
I really don't expect anyone to ask since no one else has responded
to such offers in the past with regard to other topics of interest.
Is there no one out there on the internet (or otherwise) who is
still using RT-11 in anything but a now standard application which
will never change? Surely there must be some hobby users (a few
contacts have indicated as such) who are still interested in sharing
RT-11 bug fixes and other aspects of RT-11.
>Now, if I create a bootable floppy, and then power down the system,
>and then physically REMOVE the 2nd hard drive, what's going to happen
>when I try to boot the floppy?
>The hardware bootstrap will work just fine. But when RT11 tries to start,
>it's going to EXPECT to find the RX50 associated with DU2:, but it is now
>going to be at DU1:. Is RT11 smart enough to realize this, and adjust
>accordingly?
>Again, I really don't need an ANSWER to any of this;
>my system works fine. I'm just posing a hypothetical situation,
>based on my limited knowledge of RT11. I suppose, though, that
>the best way to find out would be to pull the system out of moth-balls,
>and try it myself. . . .
That would be the best way to attack the question. I would like
nothing better than to be proved completely wrong. If that were the
case, I would have to correct some bugs in the device drivers which
I would have produced as a result of not understanding the situation
and I would be very grateful if anyone out there can prove me to
be incorrect in anything I have written.
In a direct response to Tim's question, I would first want to know
which version of RT-11 is being used. For V5.4G and prior, I doubt
that the DEC BOOT ROMs will be able to boot at all. For V5.6,
I would speculate that "B DU0" would result in the second RX50 being
booted, but if I am incorrect, then having been advised of the result,
I would probably be able to re-think and understand why the answer I
gave as speculation was wrong. "B DU1" would probably crash and
"B DU2" would probably boot the hard drive. Almost certainly, "B DU3"
would crash since a physical unit 3 no longer exists.
I would appreciate knowing the answers when V5.6 is used. Does anyone
have an hour or two, a couple of hard drives and an RX50?
Sincerely yours,
Jerome Fine
RT-11/TSX-PLUS User/Addict
Year 2000 Solutions for Legacy RT-11 Applications
(Sources not always required)
next parent reply other threads:[~1998-01-30 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1ce5920a.34cf70ce@aol.com>
1998-01-30 5:00 ` Jerome Fine [this message]
1998-01-30 5:00 ` BOOT-U-I/O ERROR and "Set" Tim Shoppa
1998-01-31 5:00 ` Jerome Fine
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