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:28:36 PST Path: archiver1.google.com!news1.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: sword7@speakeasy.org Newsgroups: alt.sys.pdp10,alt.sys.pdp11,comp.sys.dec Subject: Re: RRD40/45/50 Drive Gemetries, etc.. Date: Tue, 16 Oct 2001 12:20:35 -0000 Message-ID: Sender: Timothy Stark References: <3BCB5FBC.28694F08@ins-msi.com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.19 (i686)) X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com alt.sys.pdp10:7095 alt.sys.pdp11:2819 comp.sys.dec:7766 In alt.sys.pdp10 Jeff Campbell 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)