From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,ff854c28b9837dc4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: fdd80,ff854c28b9837dc4 X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,ff854c28b9837dc4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-10-16 05:35:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sjc1.nntp.concentric.net!newsfeed.concentric.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Tim Shoppa Newsgroups: alt.sys.pdp10,alt.sys.pdp11,comp.sys.dec Subject: Re: RRD40/45/50 Drive Gemetries, etc.. Date: 16 Oct 2001 05:07:58 -0700 Organization: Trailing-Edge Technologies Message-ID: <9qh7uu02hll@drn.newsguy.com> References: <3BCB5FBC.28694F08@ins-msi.com> NNTP-Posting-Host: p-875.newsdawg.com X-Newsreader: Direct Read News 2.90 Xref: archiver1.google.com alt.sys.pdp10:7096 alt.sys.pdp11:2820 comp.sys.dec:7767 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.