* Need RRD40 Disk Geometries info
@ 2001-11-30 0:13 sword7
2001-11-30 0:38 ` glen herrmannsfeldt
` (2 more replies)
0 siblings, 3 replies; 24+ messages in thread
From: sword7 @ 2001-11-30 0:13 UTC (permalink / raw)
Hello folks:
I am looking for complete disk geometries information about RRD40 CD-ROM
drive. Does anyone have info or specs about RRD40 CD drive?
Thank you!
-- 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)
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 0:13 Need RRD40 Disk Geometries info sword7
@ 2001-11-30 0:38 ` glen herrmannsfeldt
2001-11-30 0:55 ` Hoff Hoffman
2001-11-30 0:55 ` Eric Smith
2001-11-30 13:33 ` Bob Supnik
2 siblings, 1 reply; 24+ messages in thread
From: glen herrmannsfeldt @ 2001-11-30 0:38 UTC (permalink / raw)
sword7@speakeasy.org writes:
>Hello folks:
>I am looking for complete disk geometries information about RRD40 CD-ROM
>drive. Does anyone have info or specs about RRD40 CD drive?
You mean like heads, sectors, etc?
I don't think CD's have that. They do have a blocksize, which I
think is usually, or maybe always, 2048. SCSI disks are addressed
by absolute sector number for any geometery.
-- glen
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 0:13 Need RRD40 Disk Geometries info sword7
2001-11-30 0:38 ` glen herrmannsfeldt
@ 2001-11-30 0:55 ` Eric Smith
2001-11-30 1:21 ` Hoff Hoffman
2001-11-30 13:30 ` sword7
2001-11-30 13:33 ` Bob Supnik
2 siblings, 2 replies; 24+ messages in thread
From: Eric Smith @ 2001-11-30 0:55 UTC (permalink / raw)
sword7@speakeasy.org writes:
> I am looking for complete disk geometries information about RRD40 CD-ROM
> drive. Does anyone have info or specs about RRD40 CD drive?
I seem to recall that you've asked this question before, but here we
go again...
The RRD40, and CD-ROMs in general, don't HAVE a geometry in the sense
that disk drives are said to. In mode 1 (the normal mode), they are
a linear array of 2048-byte blocks numbered from 0 to n-1. The original
CD-ROM spec only allowed for 74 minute discs. Each second translates to
75 blocks, so the maximum blocks per disc was 74*60*75 = 333,000.
In practice, most 74-minute CD-R blanks had somewhat more than 74 minutes,
and of course now many blanks are actually specified as 80 minutes.
80 minutes is 80*60*75 blocks = 360,000.
Some CD-ROM drives can be placed in a 512-byte sector mode for use with
older Unix systems. Instead of 0..n-1 2K blocks, they have 0..4n-1
512 byte blocks.
But there aren't any cylinders, heads, or sectors as per typical
hard drives.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 0:38 ` glen herrmannsfeldt
@ 2001-11-30 0:55 ` Hoff Hoffman
0 siblings, 0 replies; 24+ messages in thread
From: Hoff Hoffman @ 2001-11-30 0:55 UTC (permalink / raw)
In article <9u6keh$ghr@gap.cco.caltech.edu>, gah@ugcs.caltech.edu (glen herrmannsfeldt) writes:
:sword7@speakeasy.org writes:
From memory here...
:>I am looking for complete disk geometries information about RRD40 CD-ROM
:>drive. Does anyone have info or specs about RRD40 CD drive?
:
:You mean like heads, sectors, etc?
:
:I don't think CD's have that.
The CD-ROM devices I am aware of all utilize one head and one track.
The track spirals outward from the inside edge of the media.
:They do have a blocksize, which I think is usually, or maybe always, 2048.
I believe you are correct about the media, but the CD-ROM drives used
by OpenVMS systems typically present 512 byte blocks to the host.
(Though the IDE/ATAPI CD-ROM drives present 2048 byte blocks, and
DQDRIVER synthesizes 512 byte block operations corresponding to host
expectations -- though the RRD40 is a SCSI CD-ROM drive, not IDE/ATAPI.)
What's the REAL question here? (The RRD40 series CD-ROM drive is old
and slow, and as one engineer famously put it, "just barely above the
level of `drooling idiot'". There have been many things learned about
handling CD-ROM media and about SCSI -- and many improvements -- in the
dozen or so years since the RRD40 was designed.)
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 0:55 ` Eric Smith
@ 2001-11-30 1:21 ` Hoff Hoffman
2001-11-30 2:59 ` Eric Smith
2001-11-30 13:30 ` sword7
1 sibling, 1 reply; 24+ messages in thread
From: Hoff Hoffman @ 2001-11-30 1:21 UTC (permalink / raw)
In article <qhadx5krfw.fsf@ruckus.brouhaha.com>, Eric Smith <eric-no-spam-for-me@brouhaha.com> writes:
:The RRD40, and CD-ROMs in general, don't HAVE a geometry in the sense
:that disk drives are said to.
To be pedantic, disk drives also no longer have a traditional disk
geometry. :-)
:But there aren't any cylinders, heads, or sectors as per typical
:hard drives.
The cylinders/tracks/sectors geometry of disk drives is now typically
synthesized, with more sectors existing per track as the track length
increases toward the outside of the platter surface -- this makes better
use of the platter surface. Without this technique, disk capacity was
limited to the maximum density of the innermost track.
Most applications only care about referencing the relative block number,
and the disk drives provide this quite nicely -- most application code
does not care about the vagaries of disk geometry.
I would not be surprised to find a disk using one really long spiral
track. Oh, wait, that's a CD. :-)
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 1:21 ` Hoff Hoffman
@ 2001-11-30 2:59 ` Eric Smith
0 siblings, 0 replies; 24+ messages in thread
From: Eric Smith @ 2001-11-30 2:59 UTC (permalink / raw)
I wrote:
> The RRD40, and CD-ROMs in general, don't HAVE a geometry in the sense
> that disk drives are said to.
hoffman@xdelta.zko.dec.nospam (Hoff Hoffman) writes:
> To be pedantic, disk drives also no longer have a traditional disk
> geometry. :-)
That's what I meant when I wrote "disk drives are said to", as opposed to
writing "disk drives have".
However, it is certainly still the case that magnetic disk drives have
cylinders, heads, and sectors. They don't have a constant number of
sectors per track, and the actual geometry is unrelated to the supposed
geometry that the drives report.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 0:55 ` Eric Smith
2001-11-30 1:21 ` Hoff Hoffman
@ 2001-11-30 13:30 ` sword7
2001-11-30 19:57 ` glen herrmannsfeldt
` (2 more replies)
1 sibling, 3 replies; 24+ messages in thread
From: sword7 @ 2001-11-30 13:30 UTC (permalink / raw)
In alt.sys.pdp11 Eric Smith <eric-no-spam-for-me@brouhaha.com> wrote:
> The RRD40, and CD-ROMs in general, don't HAVE a geometry in the sense
> that disk drives are said to. In mode 1 (the normal mode), they are
> a linear array of 2048-byte blocks numbered from 0 to n-1. The original
> CD-ROM spec only allowed for 74 minute discs. Each second translates to
> 75 blocks, so the maximum blocks per disc was 74*60*75 = 333,000.
> In practice, most 74-minute CD-R blanks had somewhat more than 74 minutes,
> and of course now many blanks are actually specified as 80 minutes.
> 80 minutes is 80*60*75 blocks = 360,000.
> Some CD-ROM drives can be placed in a 512-byte sector mode for use with
> older Unix systems. Instead of 0..n-1 2K blocks, they have 0..4n-1
> 512 byte blocks.
> But there aren't any cylinders, heads, or sectors as per typical
> hard drives.
I already know about that. That is physical one track on CD.
However, I mean that logical sectors, cylinders, etc. that one spiral
track can be broken down into. On my OpenVMS installation CD, how I can
find number of LBNs when "online" and "get unit status" command are
issued on my RQDX3 emulator?
Thank you!
-- 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)
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 0:13 Need RRD40 Disk Geometries info sword7
2001-11-30 0:38 ` glen herrmannsfeldt
2001-11-30 0:55 ` Eric Smith
@ 2001-11-30 13:33 ` Bob Supnik
2001-11-30 18:54 ` Eric Smith
2001-12-01 2:59 ` sword7
2 siblings, 2 replies; 24+ messages in thread
From: Bob Supnik @ 2001-11-30 13:33 UTC (permalink / raw)
I spoke to Steve Shirron, who authored the RQDX3 firmware. There
never was a CD on the RQDX3; CD's were always on SCSI controllers.
VMS probably won't barf at at RRD40 on an RQDX3. You can set the
geometry arbitrarily, as long as the LBN's come out right.
A UNIX dd rip of the VMS hobbyist CD is 681,578,496 bytes long, or
1331208 512-byte blocks. You can round up a bit to fit the previous
calculation of 333,000 2048-byte = 1332000 512-byte sectors. You can
make up cylinders, tracks, groups, etc to your liking, as long as all
the fields are 16b or less. I'm using 128 sectors per track, 1
surface, and 10400 cylinders.
/Bob
On Fri, 30 Nov 2001 00:13:29 -0000, sword7@speakeasy.org wrote:
>Hello folks:
>
>I am looking for complete disk geometries information about RRD40 CD-ROM
>drive. Does anyone have info or specs about RRD40 CD drive?
>
>Thank you!
>
>-- Tim Stark
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 13:33 ` Bob Supnik
@ 2001-11-30 18:54 ` Eric Smith
2001-11-30 19:54 ` Jeff Campbell
2001-12-01 0:06 ` Hoff Hoffman
2001-12-01 2:59 ` sword7
1 sibling, 2 replies; 24+ messages in thread
From: Eric Smith @ 2001-11-30 18:54 UTC (permalink / raw)
Bob Supnik <bsupnik@nauticusnet.com> writes:
> I spoke to Steve Shirron, who authored the RQDX3 firmware. There
> never was a CD on the RQDX3; CD's were always on SCSI controllers.
Not always. The early ones such as the RRD50 were on dedicated non-SCSI
interfaces. I think they looked to the host like an MSCP device, but
I don't have one so I don't know for certain.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 18:54 ` Eric Smith
@ 2001-11-30 19:54 ` Jeff Campbell
2001-11-30 20:54 ` a.carlini
2001-11-30 23:02 ` Bob Supnik
2001-12-01 0:06 ` Hoff Hoffman
1 sibling, 2 replies; 24+ messages in thread
From: Jeff Campbell @ 2001-11-30 19:54 UTC (permalink / raw)
The Qbus interface is an KRQ50, which is MCSP based. The interconnect to the drive,
(I have an RRD50), is twisted pair, synchronous. Decidedly non-SCSI. 8-)
Jeff
n8wxs@arrl.net
Eric Smith wrote:
>
> Bob Supnik <bsupnik@nauticusnet.com> writes:
> > I spoke to Steve Shirron, who authored the RQDX3 firmware. There
> > never was a CD on the RQDX3; CD's were always on SCSI controllers.
>
> Not always. The early ones such as the RRD50 were on dedicated non-SCSI
> interfaces. I think they looked to the host like an MSCP device, but
> I don't have one so I don't know for certain.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 13:30 ` sword7
@ 2001-11-30 19:57 ` glen herrmannsfeldt
2001-12-01 1:07 ` Tim Shoppa
2001-11-30 22:21 ` Jeff Campbell
2001-11-30 23:56 ` Hoff Hoffman
2 siblings, 1 reply; 24+ messages in thread
From: glen herrmannsfeldt @ 2001-11-30 19:57 UTC (permalink / raw)
Someone wrote:
>> But there aren't any cylinders, heads, or sectors as per typical
>> hard drives.
Then someone else wrote:
>I already know about that. That is physical one track on CD.
>However, I mean that logical sectors, cylinders, etc. that one spiral
>track can be broken down into. On my OpenVMS installation CD, how I can
>find number of LBNs when "online" and "get unit status" command are
>issued on my RQDX3 emulator?
I thought you knew about that, but you did ask.
Tracks and cylinders are never visible to the host OS on SCSI
disks. The only thing is the total number of blocks. Some
(many, all, most?) magnetic SCSI disks allow the blocksize to be
specified and the disk reformatted, but most now use 512 bytes.
CDROM's use 2048 byte blocks, but as someone said in this
thread, some drives can return them as 512 byte blocks.
I don't have the SCSI CCS list here, so I won't say more about it.
It might be that you have to get the number of blocks from the
file system itself.
-- glen
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 19:54 ` Jeff Campbell
@ 2001-11-30 20:54 ` a.carlini
2001-11-30 22:43 ` Jeff Campbell
2001-11-30 23:02 ` Bob Supnik
1 sibling, 1 reply; 24+ messages in thread
From: a.carlini @ 2001-11-30 20:54 UTC (permalink / raw)
Jeff Campbell wrote:
>
> The Qbus interface is an KRQ50, which is MCSP based. The interconnect to the drive,
> (I have an RRD50), is twisted pair, synchronous. Decidedly non-SCSI. 8-)
>
The RRD40 comes in two variants, one of which
also connects to the KRQ50. In fact, I think
the KRQ50 interface is the native one and the
SCSI RRD40s have an converter from
the Philips interface (LMSI??) to SCSI;
that's certainly what happens for RRD40s
in VAXstation 3100s.
Antonio
--
---------------
Antonio Carlini arcarlini@iee.org
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 13:30 ` sword7
2001-11-30 19:57 ` glen herrmannsfeldt
@ 2001-11-30 22:21 ` Jeff Campbell
2001-11-30 23:56 ` Hoff Hoffman
2 siblings, 0 replies; 24+ messages in thread
From: Jeff Campbell @ 2001-11-30 22:21 UTC (permalink / raw)
Hi Tim,
sword7@speakeasy.org wrote:
>
> In alt.sys.pdp11 Eric Smith <eric-no-spam-for-me@brouhaha.com> wrote:
> > The RRD40, and CD-ROMs in general, don't HAVE a geometry in the sense
> > that disk drives are said to. In mode 1 (the normal mode), they are
> > a linear array of 2048-byte blocks numbered from 0 to n-1. The original
> > CD-ROM spec only allowed for 74 minute discs. Each second translates to
> > 75 blocks, so the maximum blocks per disc was 74*60*75 = 333,000.
>
> > In practice, most 74-minute CD-R blanks had somewhat more than 74 minutes,
> > and of course now many blanks are actually specified as 80 minutes.
> > 80 minutes is 80*60*75 blocks = 360,000.
>
> > Some CD-ROM drives can be placed in a 512-byte sector mode for use with
> > older Unix systems. Instead of 0..n-1 2K blocks, they have 0..4n-1
> > 512 byte blocks.
>
> > But there aren't any cylinders, heads, or sectors as per typical
> > hard drives.
>
> I already know about that. That is physical one track on CD.
> However, I mean that logical sectors, cylinders, etc. that one spiral
> track can be broken down into. On my OpenVMS installation CD, how I can
> find number of LBNs when "online" and "get unit status" command are
> issued on my RQDX3 emulator?
The layout of the end message packets for these are:
ONLINE response:
31 16 8 0
+-------------------------------+
| command reference number |
+-------------------------------+
| reserved | unit number |
+-------------------------------+
| status | flags | end code |
+-------------------------------+
| unit flags | multi-unit code +
+-------------------------------+
| reserved |
+-------------------------------+
| unit |
+----- ----+
| identifier |
+-------------------------------+
| media type identifier |
+-------------------------------+
| reserved | reserved |
+-------------------------------+
| unit size | <- size in LBN
+-------------------------------+
| volume serial number |
+-------------------------------+
GET UNIT STATUS:
31 24 16 8 0
+---------------------------------+
| command reference number |
+---------------------------------+
| reserved | unit number |
+---------------------------------+
| status | flags | end code |
+---------------------------------+
| unit flags | multi-unit code |
+---------------------------------+
| reserved |
+---------------------------------+
| unit |
+----- ------+
| identifier |
+---------------------------------+
| media type identifier |
+---------------------------------+
| reserved | shadow unit |
+---------------------------------+
| group size | track size |
+---------------------------------+
| reserved | cylinder size |
+---------------------------------+
|copies | RBNs | RCT size |
+---------------------------------+
Note that the GET UNIT STATUS response does NOT return
the drive's size in LBNs. As I indicated before the
end message does not have to contain values for the
drive size fields.
>
> Thank you!
>
> -- 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)
HTH,
Jeff
n8wxs@arrl.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 20:54 ` a.carlini
@ 2001-11-30 22:43 ` Jeff Campbell
2001-12-01 18:18 ` Terry Kennedy
0 siblings, 1 reply; 24+ messages in thread
From: Jeff Campbell @ 2001-11-30 22:43 UTC (permalink / raw)
"a.carlini" wrote:
>
> Jeff Campbell wrote:
> >
> > The Qbus interface is an KRQ50, which is MCSP based. The interconnect to the drive,
> > (I have an RRD50), is twisted pair, synchronous. Decidedly non-SCSI. 8-)
> >
>
> The RRD40 comes in two variants, one of which
> also connects to the KRQ50. In fact, I think
> the KRQ50 interface is the native one and the
> SCSI RRD40s have an converter from
> the Philips interface (LMSI??) to SCSI;
> that's certainly what happens for RRD40s
> in VAXstation 3100s.
>
> Antonio
>
> --
>
> ---------------
> Antonio Carlini arcarlini@iee.org
Yes, it's the Philips' LMSI interface. I've never seen the RRD40 in
either flavor but I believe you are correct about the SCSI converter.
Where's Terry Kennedy when we need him? 8-)
He'd probably know for sure.
Jeff
n8wxs@arrl.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 19:54 ` Jeff Campbell
2001-11-30 20:54 ` a.carlini
@ 2001-11-30 23:02 ` Bob Supnik
2001-12-01 22:01 ` Jeff Campbell
1 sibling, 1 reply; 24+ messages in thread
From: Bob Supnik @ 2001-11-30 23:02 UTC (permalink / raw)
Great... so what does it reply to a GUS (get unit status)???
/Bob
On Fri, 30 Nov 2001 19:54:20 GMT, Jeff Campbell
<jcampbell@ins-msi.com> wrote:
>The Qbus interface is an KRQ50, which is MCSP based. The interconnect to the drive,
>(I have an RRD50), is twisted pair, synchronous. Decidedly non-SCSI. 8-)
>
>Jeff
>n8wxs@arrl.net
>
>Eric Smith wrote:
>>
>> Bob Supnik <bsupnik@nauticusnet.com> writes:
>> > I spoke to Steve Shirron, who authored the RQDX3 firmware. There
>> > never was a CD on the RQDX3; CD's were always on SCSI controllers.
>>
>> Not always. The early ones such as the RRD50 were on dedicated non-SCSI
>> interfaces. I think they looked to the host like an MSCP device, but
>> I don't have one so I don't know for certain.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 13:30 ` sword7
2001-11-30 19:57 ` glen herrmannsfeldt
2001-11-30 22:21 ` Jeff Campbell
@ 2001-11-30 23:56 ` Hoff Hoffman
2 siblings, 0 replies; 24+ messages in thread
From: Hoff Hoffman @ 2001-11-30 23:56 UTC (permalink / raw)
Posted to newsgroups: comp.sys.dec,alt.sys.pdp11,comp.os.vms
Follow-ups to: comp.sys.dec
In article <u0f2fo4dkh0m2c@corp.supernews.com>, sword7@speakeasy.org writes:
:However, I mean that logical sectors, cylinders, etc. that one spiral
:track can be broken down into. On my OpenVMS installation CD, how I can
:find number of LBNs when "online" and "get unit status" command are
:issued on my RQDX3 emulator?
OpenVMS drivers can and do report a synthesized and almost entirely
fictional set of values to the host software for all disks, for the
tracks, sectors, cylinders, and related information -- these values
can be determined by OpenVMS based on the number of blocks reported
by the disk device.
In most cases, the host software simply doesn't care about the geometry.
OpenVMS Host-based Volume shadowing, for instance, doesn't care -- it
just wants the total number of blocks reported to match.
Tools such as the Freeware rzdisk tool can be used to acquire this
(potentially fictionalized) information directly from a device.
http://www.openvms.compaq.com/freeware/freeware40/rzdisk/
OpenVMS tries to divide the tracks, cylinders, sectors and such into
the UCB word-length fields.
The four most common "fake" disk geometries are synthesized (by DKDRIVER
and by DUDRIVER) as follows:
tracks sectors cylinders potential max
UCB$B_TRACKS UCB$B_SECTORS UCB$W_CYLINDERS wasted blocks
6 4 ? 23
32 32 ? 1024
96 96 ? 9216
255 255 ? 65025
The smallest of these four that provides sufficient room for the
number of blocks reported by the disk device -- where ? is set to
the value 65534 for purposes of the test -- is used.
Given that no CD-ROM drive connects to the RQDX3 controller and given
that write-locked disks (CD-ROM and other optical, and worm devices)
can return entirely bogus geometries to the host, the disk geometry
is triply fictional.
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 18:54 ` Eric Smith
2001-11-30 19:54 ` Jeff Campbell
@ 2001-12-01 0:06 ` Hoff Hoffman
1 sibling, 0 replies; 24+ messages in thread
From: Hoff Hoffman @ 2001-12-01 0:06 UTC (permalink / raw)
In article <qh4rncrsvy.fsf@ruckus.brouhaha.com>, Eric Smith <eric-no-spam-for-me@brouhaha.com> writes:
:Bob Supnik <bsupnik@nauticusnet.com> writes:
:> I spoke to Steve Shirron, who authored the RQDX3 firmware. There
:> never was a CD on the RQDX3; CD's were always on SCSI controllers.
:
:Not always. The early ones such as the RRD50 were on dedicated non-SCSI
:interfaces. I think they looked to the host like an MSCP device, but
:I don't have one so I don't know for certain.
I am aware of no CD-ROM devices on the RQDX3 series controllers.
The earliest CD-ROM disk drives I am aware of on Q-bus systems -- the
RRD50 series -- used the KRQ50 (M7552) controller. The KRQ50 presents
the PU/DU interface to host and application software -- the RRD50 disk
drive will configure as a DUc0: device.
The RRD40-DC could also be connected to and operate on later-revision
KRQ50 controllers.
RRD40-AA and RRD40-DA were SCSI, and were in the embedded and standalone
enclosure configurations respectively.
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 19:57 ` glen herrmannsfeldt
@ 2001-12-01 1:07 ` Tim Shoppa
2001-12-04 20:40 ` glen herrmannsfeldt
0 siblings, 1 reply; 24+ messages in thread
From: Tim Shoppa @ 2001-12-01 1:07 UTC (permalink / raw)
glen herrmannsfeldt wrote:
>
> Someone wrote:
>
> >> But there aren't any cylinders, heads, or sectors as per typical
> >> hard drives.
>
> Then someone else wrote:
>
> >I already know about that. That is physical one track on CD.
> >However, I mean that logical sectors, cylinders, etc. that one spiral
> >track can be broken down into. On my OpenVMS installation CD, how I can
> >find number of LBNs when "online" and "get unit status" command are
> >issued on my RQDX3 emulator?
>
> I thought you knew about that, but you did ask.
> Tracks and cylinders are never visible to the host OS on SCSI
> disks. The only thing is the total number of blocks.
Not strictly true - nearly all SCSI disk drives allow "mode sense"
commands that return numbers purporting to be physical heads,
cylinders, and sectors. With modern zoned SCSI drives, though,
the # of sectors per cylinder is variable and the drive returns
an "average" number.
Few host OS's bother to pay attention to the physical geometry,
and none should. (You do frequently run across people who believe
that physical geometry is still important, though. Everyone's
entitled to their own opinion, no matter how wrong they are. The
way that BSD-derived disklabels are written is a damn shame because
it promotes this backwards view.)
Tim.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 13:33 ` Bob Supnik
2001-11-30 18:54 ` Eric Smith
@ 2001-12-01 2:59 ` sword7
2001-12-01 3:21 ` Hoff Hoffman
1 sibling, 1 reply; 24+ messages in thread
From: sword7 @ 2001-12-01 2:59 UTC (permalink / raw)
In comp.sys.dec Bob Supnik <bsupnik@nauticusnet.com> wrote:
> I spoke to Steve Shirron, who authored the RQDX3 firmware. There
> never was a CD on the RQDX3; CD's were always on SCSI controllers.
> VMS probably won't barf at at RRD40 on an RQDX3. You can set the
> geometry arbitrarily, as long as the LBN's come out right.
No, VMS already accepted that because I had old copy of Charon-VAX
emulator with RRD40 drive type on RQDX3 controller. It worked so well.
Now I have time-limited PicoVAX emulator for Windows 2000/XP. It worked
fine on Windows XP. I have both Windows ME, 2000, and XP on my computer.
> A UNIX dd rip of the VMS hobbyist CD is 681,578,496 bytes long, or
> 1331208 512-byte blocks. You can round up a bit to fit the previous
> calculation of 333,000 2048-byte = 1332000 512-byte sectors. You can
> make up cylinders, tracks, groups, etc to your liking, as long as all
> the fields are 16b or less. I'm using 128 sectors per track, 1
> surface, and 10400 cylinders.
Very good! I get it. I figured it out and will be use 32 sectors,
1 surface, and 41625 cylinders for total 1332000 512-byte sectors (LBNs)
on my RQDX3 emulator for non-standard drive. I do not know which
class and model number for read-only disk (RRDxx series). I know class 1
as controller, and class 2 as disk drive. To find class number in
high byte of Controller ID #D or Unit ID #D (low byte is model number).
I am working on my re-written RQDX3 emulator and tested packet transfers
with using new internal queue management today. It worked so well. Now
I am implementing MSCP commands into it.
-- 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)
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-12-01 2:59 ` sword7
@ 2001-12-01 3:21 ` Hoff Hoffman
0 siblings, 0 replies; 24+ messages in thread
From: Hoff Hoffman @ 2001-12-01 3:21 UTC (permalink / raw)
In article <u0ghtfrd00gb5a@corp.supernews.com>, sword7@speakeasy.org writes:
:In comp.sys.dec Bob Supnik <bsupnik@nauticusnet.com> wrote:
:> I spoke to Steve Shirron, who authored the RQDX3 firmware. There
:> never was a CD on the RQDX3; CD's were always on SCSI controllers.
:> VMS probably won't barf at at RRD40 on an RQDX3. You can set the
:> geometry arbitrarily, as long as the LBN's come out right.
:
:No, VMS already accepted that because I had old copy of Charon-VAX
:emulator with RRD40 drive type on RQDX3 controller. It worked so well.
You are referencing what (extensions) the VAX emulator might provide
and what OpenVMS might accept versus what hardware configurations were
actually configured, shipped and supported. Software versus hardware.
OpenVMS is usually pretty tolerant of creative hardware configurations,
with releases being better about it. But no CD-ROM drive was ever
shipped with a connection to the RQDX1, RQDX2, RQDX3 nor KDA50 series
controller. Some of the many CD-ROM host connections very likely use
MSCP, which is why you have gotten as far as you have with this.
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 22:43 ` Jeff Campbell
@ 2001-12-01 18:18 ` Terry Kennedy
0 siblings, 0 replies; 24+ messages in thread
From: Terry Kennedy @ 2001-12-01 18:18 UTC (permalink / raw)
In alt.sys.pdp11 Jeff Campbell <jcampbell@ins-msi.com> wrote:
> Where's Terry Kennedy when we need him? 8-)
> He'd probably know for sure.
I'm here 8-) But you folks seem to have a grip on the issue, so I didn't
think it necessary to go "me too".
Terry Kennedy http://www.tmk.com
terry@tmk.com New York, NY USA
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-11-30 23:02 ` Bob Supnik
@ 2001-12-01 22:01 ` Jeff Campbell
2001-12-02 1:35 ` Jeff Campbell
0 siblings, 1 reply; 24+ messages in thread
From: Jeff Campbell @ 2001-12-01 22:01 UTC (permalink / raw)
I'll fire it up and post the end packet here.
Jeff
n8wxs@arrl.net
Bob Supnik wrote:
>
> Great... so what does it reply to a GUS (get unit status)???
>
> /Bob
>
> On Fri, 30 Nov 2001 19:54:20 GMT, Jeff Campbell
> <jcampbell@ins-msi.com> wrote:
>
> >The Qbus interface is an KRQ50, which is MCSP based. The interconnect to the drive,
> >(I have an RRD50), is twisted pair, synchronous. Decidedly non-SCSI. 8-)
> >
> >Jeff
> >n8wxs@arrl.net
> >
> >Eric Smith wrote:
> >>
> >> Bob Supnik <bsupnik@nauticusnet.com> writes:
> >> > I spoke to Steve Shirron, who authored the RQDX3 firmware. There
> >> > never was a CD on the RQDX3; CD's were always on SCSI controllers.
> >>
> >> Not always. The early ones such as the RRD50 were on dedicated non-SCSI
> >> interfaces. I think they looked to the host like an MSCP device, but
> >> I don't have one so I don't know for certain.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-12-01 22:01 ` Jeff Campbell
@ 2001-12-02 1:35 ` Jeff Campbell
0 siblings, 0 replies; 24+ messages in thread
From: Jeff Campbell @ 2001-12-02 1:35 UTC (permalink / raw)
Jeff Campbell wrote:
>
> I'll fire it up and post the end packet here.
>
> Jeff
> n8wxs@arrl.net
>
> Bob Supnik wrote:
> >
> > Great... so what does it reply to a GUS (get unit status)???
> >
> > /Bob
Here, in octal, is the output generated by a KRQ50/RRD50 pair in
response to a GET UNIT STATUS command:
.run mscp
*qa0:
mscp> 3
000060 000001 000001 000000 000000 000000 000203 000000
000402 120200 001000 000000 001751 000000 000000 001016
021062 022545 000000 000000 000004 000001 000006 120412
000000 000000
DURRD50
and an ONLINE command:
mscp> 11
000054 000001 000002 000000 000000 000000 000211 000400
000402 120200 001000 000000 001751 000000 000000 001016
021062 022545 000000 000000 176660 000023 000000 000000
DURRD50
mscp> ^C
.
MSCP is an RT-11 utility I wrote many years ago. 8-)
Jeff
n8wxs@arrl.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Need RRD40 Disk Geometries info
2001-12-01 1:07 ` Tim Shoppa
@ 2001-12-04 20:40 ` glen herrmannsfeldt
0 siblings, 0 replies; 24+ messages in thread
From: glen herrmannsfeldt @ 2001-12-04 20:40 UTC (permalink / raw)
Tim Shoppa <shoppa@trailing-edge.com> writes:
>glen herrmannsfeldt wrote:
(snip)
>> Tracks and cylinders are never visible to the host OS on SCSI
>> disks. The only thing is the total number of blocks.
>Not strictly true - nearly all SCSI disk drives allow "mode sense"
>commands that return numbers purporting to be physical heads,
>cylinders, and sectors. With modern zoned SCSI drives, though,
>the # of sectors per cylinder is variable and the drive returns
>an "average" number.
>Few host OS's bother to pay attention to the physical geometry,
>and none should. (You do frequently run across people who believe
>that physical geometry is still important, though. Everyone's
>entitled to their own opinion, no matter how wrong they are. The
>way that BSD-derived disklabels are written is a damn shame because
>it promotes this backwards view.)
Yes. But for actual disk addressing they are not visible.
I do remember trying to come up with numbers to use with SunOS that
would satisfy the disk. In the beginning I tried to believe the
"mode sense" numbers, but not for long. I would find some nice
factors of the number of blocks and use those. Yes, it is BSD that
seems to promote that.
Though IBM OS/390 still makes if visible to the programmer. Disk
space is allocated in tracks or cylinders, and not blocks. This
is true even though the newer disks emulate physical tracks and
cylinders using a fixed block structure internally.
-- glen
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2001-12-04 20:40 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-30 0:13 Need RRD40 Disk Geometries info sword7
2001-11-30 0:38 ` glen herrmannsfeldt
2001-11-30 0:55 ` Hoff Hoffman
2001-11-30 0:55 ` Eric Smith
2001-11-30 1:21 ` Hoff Hoffman
2001-11-30 2:59 ` Eric Smith
2001-11-30 13:30 ` sword7
2001-11-30 19:57 ` glen herrmannsfeldt
2001-12-01 1:07 ` Tim Shoppa
2001-12-04 20:40 ` glen herrmannsfeldt
2001-11-30 22:21 ` Jeff Campbell
2001-11-30 23:56 ` Hoff Hoffman
2001-11-30 13:33 ` Bob Supnik
2001-11-30 18:54 ` Eric Smith
2001-11-30 19:54 ` Jeff Campbell
2001-11-30 20:54 ` a.carlini
2001-11-30 22:43 ` Jeff Campbell
2001-12-01 18:18 ` Terry Kennedy
2001-11-30 23:02 ` Bob Supnik
2001-12-01 22:01 ` Jeff Campbell
2001-12-02 1:35 ` Jeff Campbell
2001-12-01 0:06 ` Hoff Hoffman
2001-12-01 2:59 ` sword7
2001-12-01 3:21 ` Hoff Hoffman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox