[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::mru

Title:MRU Internal Bug Reports
Moderator:COOKIE::STMARTIN
Created:Wed Sep 20 1995
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:346
Total number of notes:1175

176.0. "OP:MED large multi-element shows fail" by COOKIE::KYLER () Wed May 22 1996 11:48

T.RTitleUserPersonal
Name
DateLines
176.1Change mrd_res_size...COOKIE::MRUSun Sep 15 1996 12:0013
176.2concerned.....COOKIE::BOONEMon Sep 16 1996 08:515
176.3NABETH::alanDr. File System's Home for Wayward Inodes.Mon Sep 16 1996 12:517
176.4COOKIE::BOONETue Sep 17 1996 08:453
176.5NABETH::alanDr. File System's Home for Wayward Inodes.Thu Sep 26 1996 16:408
176.6NABETH::alanDr. File System's Home for Wayward Inodes.Mon Jan 27 1997 11:4818
	Part of the V1.2 work, was to add fields and support to calculate
	the maximum number of elements for given I/O size limit.  The direct
	connect SCSI size limit is 65535.  The limit for command disk connect
	SCSI is 8192.  If status for more elements than this are requested
	through mrd_read_element_status, another routine is called to
	break down the request into chunks the right size.  This data is
	mapped back into the Read Element Status format for use by the
	caller.

	I ran an extensive test with the parameters adjusted so that a
	direct connect SCSI could pretend to be a command disk connected
	robot and the results were the same for V1.1 and the new code
	in V1.2.  A test of the true direct connect SCSI is only possible
	in a five tower TL82x configuration; 65535 bytes of data is enough
	for 1,213 slots.

	Some detail testing of the error path is needed, but this is
	basically done.
176.7Command disk data region size may varyCOOKIE::KYLERMon Jan 27 1997 13:548
    >	The limit for command disk connect SCSI is 8192.
    
    Note that while this may be true for every known command disk
    implementation, the size is not architecturally specified.  The MSCSIP
    spec designates a field in the command disk Global Information Region
    (LBN 0) which specifies the size of the Data Region in 512 byte units.
    
    - Dan.
176.8Close.NABETH::alanDr. File System's Home for Wayward Inodes.Mon Jan 27 1997 14:101
	All done.
176.9NABETH::alanDr. File System's Home for Wayward Inodes.Mon Jan 27 1997 18:591
	Point me at the field and I'll fix it.
176.10data_region_sizeCOOKIE::KYLERTue Jan 28 1997 13:2734
    > 	Point me at the field and I'll fix it.
    
    The field is "data_region_size" in the typedef'ed struct "gir_buffer_t"
    in mrd_vms.c.
    
    
    From MSCSIP spec:
    
    The Global Information Region consists of a single sector at  LBN  0 of
    the Command Disk.  It contains data of the form:
    
      
    +-----------------+-----------------+-----------------+--------------+
    |       ASCII code for "I am a Command Disk!" (20 bytes)             | : 0
    |                               ...                                  | -16
    +-----------------+-----------------+-----------------+--------------+
    |     Subsidiary Unit Number        | MSCSIP vers num | Server State | :20
    +-----------------+-----------------+-----------------+--------------+
    |  SCSI INQUIRY data for device, obtained with EVPD = 0 (36 bytes)   | :24
    |                               ...                                  | -56
    +-----------------+-----------------+-----------------+--------------+
    |    Reserved     |  Config Flags   | Data Region sz in 512-byte blks| :60
    +-----------------+-----------------+-----------------+--------------+
                                                     ^
                                                    /|\
                                                   / | \
                                                  /  |  \
                                                     |
                                                     |
                                                     |
                                                This Field
    
    
    
176.11Done. Really.SSDEVO::ROLLOWDr. File System's Home for Wayward Inodes.Thu Jan 30 1997 08:222
	It took an extra field in robot_info_t, but I now get the
	command disk size from the command disk.