From: sword7@speakeasy.org
Subject: Re: RRD40/45/50 Drive Gemetries, etc..
Date: Tue, 16 Oct 2001 12:20:35 -0000 [thread overview]
Message-ID: <tso9gjfcb5rtef@corp.supernews.com> (raw)
In-Reply-To: 3BCB5FBC.28694F08@ins-msi.com
In alt.sys.pdp10 Jeff Campbell <jcampbell@ins-msi.com> wrote:
> 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.
Hmmm. Thank you for information. I noticed that just one data is total
number of LBNs in Online End Message.
> 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.
Yes, right. I am aware of that. I noticed that they are not in blocks,
heads, and cylinders format. However, I noticed that sectors per LBN,
LBNs per track, Tracks per group, Groups per clylinder, total
cylinders. All are computed by multiply into total LBNs. User total LBNs
are difference from total physical LBNs. Why difference between physical
total LBNs and user-accessible total LBNs?? Check information on
page C-1 (RXQD3 user's manual). Does groups mean heads? If not, can you
explain me that?
However, I will just use user-accessible total LBNs as my VAX emulator
with UDA50 disk/tape emulation.
>>
>> I have a copy of RXQD3 disk controller manual and read page C-1 about
>> RD51 to RD53 fixed disks and RX50 floppy drive. I did not understand kind
>> of blocks about RBN, DBN, XBN, RCT, etc.. Does anyone have more
> RBN: replacement block number, used to replace (substitute) a bad LBN
> DBN: diagnostic block number, used for maintenance only
> XBN: transfer block number, temporary block used during bad block
> replacement
> RCT: replacement and cache table, controls mapping between known bad
> LBNs
> and their replacement RBNs
> The RQDX3 does controller based bad block replacement. You will not need
> to "know" about these block types unless you want to implement the
> host based bad block replacement algorithm as well. The KDA50, like
> the UDA50, uses host based bad block replacement.
Ok, thank for information. I do not need them to implement.
>> information about them? I noticed that total LBNs and user LBNs are
>> different execpt floppy drives. I am figuring out difference between
>> total LBNs and user LBNs. For accessing data blocks, should I use
>> total LBN or user LBN as total available blocks to being read and written?
> The response packet to an ONLINE MSCP command contains the size of the
> drive in user accessible LBNs. Use this number.
Yes, I am aware of that. I will use that.
> The SET UNIT CHARACTERISTICS response packet also contains the
> useable LBN size.
Well, I traced VMB execution that accessed UDA50 (RXQD3) disk controller.
I noticed that VMB scanned 10 units and gave up. It printed NOSUCHDEV
message and returned back to the >>> prompt on my VAX emulator. It
did not stop with error codes! That's why I implemented error codes to
test. Later I learned that I have to set 0x8000 in SA when any error
occurs.
Well, I learned that VMB sent three MSCP commands each unit:
Set Controller Characteristics Command (04)
Online Command (09)
Read Command (21)
That's why VMB just need user-accessible LBNs, not sectors, heads, and
cylinders. Hmmm. Now I understand and will change routines to just
use user-accessible LBNs as an array of disk blocks.
Why 10 units that VMB scanned but RXQD3 allows only 4 units each
controller?
Thank you for information!
-- 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)
next prev parent reply other threads:[~2001-10-16 12:20 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
2001-10-17 2:21 ` Rich Alderson
2001-10-16 12:20 ` sword7 [this message]
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