From: Tim Shoppa <shoppa@trailing-edge.com>
Subject: Re: RRD40/45/50 Drive Gemetries, etc..
Date: 16 Oct 2001 05:07:58 -0700 [thread overview]
Message-ID: <9qh7uu02hll@drn.newsguy.com> (raw)
In-Reply-To: 3BCB5FBC.28694F08@ins-msi.com
In article <3BCB5FBC.28694F08@ins-msi.com>, Jeff says...
>
>sword7@speakeasy.org wrote:
>>
>> Hello folks:
>>
>> Does anyone have disk geometries about CD-ROM drives (RRD40, RRD45, and
>> RRD50 drives)? I am looking for them because I need them to boot CD on
>> my emulator.
>
>The disk geometry is not really useful. Both MSCP and SCSI protocols
>treat the disk drives as an array of blocks, from zero to N-1 where N
>is the total number of 512 byte blocks available.
>
>An MSCP GET UNIT STATUS command *can* return the drive's geometry. Not
>all units (drives) do. For those that do the information is not in a
>simple sectors (blocks), tracks (heads), cylinders format.
It's *almost* that simple. In response to a MSCP inquire command,
many controllers return numbers that supposedly represent:
* Number of blocks/track.
* Number of tracks/cylinder.
* The cylinder size.
From these numbers, you can do a little simple math and get the number
of cylinders. For an example of how to interpret this (and other MSCP
and TMSCP informational packets), see my RT-11 DUSTAT program at
http://ftp.ibiblio.org/pub/academic/computer-science/history/pdp-11/rt/misc/dustat/dustat.mac
Few OS's depend on the exact numbers returned (and none should!). Many
of the better third-party MSCP-emulating controllers let you put any numbers
you want into these fields to satisfy those few OS's that were stupid
enough to depend on the physical geometries.
And the exact numbers
returned don't necessarily match up to either the "physical" device
geometry (many third-party controllers don't even try here - and it
doesn't even make any sense with any modern disks!), and when
you multiply them out you don't necessarily get the number of user-
accessible blocks.
>The response packet to an ONLINE MSCP command contains the size of the
>drive in user accessible LBNs. Use this number.
Absolutely 100% agreement here. Unfortunately too many people
who've done some Linux fdisk'ing or BSD disklabel'ing are under
the impression that physical geometry means something. We moved
beyond that 15 years ago with MSCP and with modern physical disks
these numbers don't make any sense.
For anyone doing MSCP-type emulation for PDP-10's (what, you could
hook up RA80's and RA60's to the PDP-10 equivalent of an HSC? I've
only seen pictures of these in mid-80's Systems and Options catalog)
you may have to set the 576-byte-sector bits in the controller and
unit word flags. I don't even know if the -10 can "see" these bits
or if they're all hidden on the other side of the CI.
Tim.
next prev parent reply other threads:[~2001-10-16 12:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-15 20:15 RRD40/45/50 Drive Gemetries, etc sword7
2001-10-15 22:48 ` Jeff Campbell
2001-10-16 12:07 ` Tim Shoppa [this message]
2001-10-17 2:21 ` Rich Alderson
2001-10-16 12:20 ` sword7
2001-10-16 15:07 ` Tim Shoppa
2001-10-17 1:07 ` sword7
2001-10-17 2:11 ` Tim Shoppa
2001-10-17 14:46 ` John Santos
2001-10-16 17:44 ` Terry Kennedy
2001-10-16 0:07 ` Zane H. Healy
2001-10-16 13:27 ` sword7
2001-10-16 12:21 ` Tim Shoppa
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