Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Robin T. Miller" <Robin.Miller@compaq.com>
To: Uncle George <gatgul@voicenet.com>
Cc: axp-list@redhat.com
Subject: Re: SCU & interleave & seagate ST15150N scsi
Date: Mon, 30 Apr 2001 09:20:21 -0400	[thread overview]
Message-ID: <3AED6695.62039097@Compaq.com> (raw)
In-Reply-To: 3AEAB86B.9D1097F7@voicenet.com

[-- Attachment #1: Type: text/plain, Size: 5240 bytes --]

Hi All,
    The "ILLEGAL REQUEST" indicates the device doesn't like the
SCSI Format CDB sent.  I think I've only used the interleave option
with SCSI floppies.

    The drive may allow you to change for Format Device Mode Page.
Use Scu's "set page" or "change page" command to alter mode pages.

    Also, if you wish to see SCSI CDB's issued, use "set debug on".

Regards,
Robin
===============================================

scu> show page format pcf all

Mode Page Parameters for Direct Access Device c: (DDYS-T18350N):

Format Device Page (0x03):

      Headers: 23 00 10 08 00 00 00 00 00 00 02 00
      Current: 83 16 20 31 00 00 00 00 00 00 00 fe 02 00 00 01 00 0b 00 14
               40 00 00 00
   Changeable: 83 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
               00 00 00 00
      Default: 83 16 20 31 00 00 00 00 00 00 00 fe 02 00 00 01 00 0b 00 14
               40 00 00 00
        Saved: 83 16 20 31 00 00 00 00 00 00 00 fe 02 00 00 01 00 0b 00 14
               40 00 00 00
scu>
scu> show page format

Format Device Parameters (Page 0x3 - Current Values):

Mode Parameter Header:

                      Mode Data Length: 35
                           Medium Type: 0 (Default Medium Type)
             Device Specific Parameter: 0x10 (Supports DPO & FUA bits)
               Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                          Density Code: 0
              Number of Logical Blocks: 0
                  Logical Block Length: 512

Page Header / Data:
                             Page Code: 0x3
                    Parameters Savable: Yes
                           Page Length: 22
                       Tracks per Zone: 8241
            Alternate Sectors per Zone: 0
             Alternate Tracks per Zone: 0
           Alternate Tracks per Volume: 0
                     Sectors per Track: 254
        Data Bytes per Physical Sector: 512
                            Interleave: 1
                     Track Skew Factor: 11 sectors
                  Cylinder Skew Factor: 20 sectors
                        Surface (SURF): Off
                 Removable Media (RMB): No
         Hard Sector Formatting (HSEC): Yes
         Soft Sector Formatting (SSEC): No

scu> show layout format

                     Format Device Page Layout (Page 0x3)

    Field Description & Offset/Bit Information        Set Name
    ------------------------------------------        --------
                       Tracks per Zone (bytes 2-3) -> tracks_per_zone
            Alternate Sectors per Zone (bytes 4-5) -> alt_sectors_zone
             Alternate Tracks per Zone (bytes 6-7) -> alt_tracks_zone
           Alternate Tracks per Volume (bytes 8-9) -> alt_tracks_volume
                   Sectors per Track (bytes 10-11) -> sectors_per_track
      Data Bytes per Physical Sector (bytes 12-13) -> bytes_per_sector
                          Interleave (bytes 14-15) -> interleave
                   Track Skew Factor (bytes 16-17) -> track_skew
                Cylinder Skew Factor (bytes 18-19) -> cylinder_skew
                      Reserved (byte 20, bits 0:3) ->
                   Surface (SURF) (byte 20, bit 4) -> surface
            Removable Media (RMB) (byte 20, bit 5) -> removable_mdeia
    Hard Sector Formatting (HSEC) (byte 20, bit 6) -> hard_sector_format
    Soft Sector Formatting (SSEC) (byte 20, bit 7) -> soft_sector_format
                                Reserved (byte 21) ->
                                Reserved (byte 22) ->
                                Reserved (byte 23) ->

scu>



Uncle George wrote:

> This device does multiple blocksizes  up to 4096bytes/block
>
> Going beyond 512bytes/block has a big performence hit  ~1/2 of the
> 512bytes/block
>
> I tried to set the interleave in the format command, but it gave a
>
> scu> format interleave 3
> Formatting device /dev/sda (ST15150N), please be patient...
>  Working ... Sat Apr 28 07:48:31 2001
> scu: 'format unit' failed on device 'ST15150N' at nexus [0/1/0]
> scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
> parameter,
>      Sense Code/Qualifier = (0x24, 0) = Invalid field in CDB
>
> scu> format interleave 4
> Formatting device /dev/sda (ST15150N), please be patient...
>  Working ... Sat Apr 28 07:48:39 2001
> scu: 'format unit' failed on device 'ST15150N' at nexus [0/1/0]
> scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
> parameter,
>      Sense Code/Qualifier = (0x24, 0) = Invalid field in CDB
> scu>
>
> scu> format
> Formatting device /dev/sda (ST15150N), please be patient...
>  Working ... Sat Apr 28 07:48:50 2001
>  Working ... Sat Apr 28 07:50:50 2001
>  Working ... Sat Apr 28 07:52:50 2001
>
> DOCUMENTATION suggests that it can do interleaves greated than 1, ie
>
> General performance characteristics
> Minimum sector interleave    1 to 1
> Data buffer to/from disc media    512-byte sector
> Data transfer rate (  1 sector)
> Minimum    5.30 Mbytes/sec*
> Maximum    8.94 Mbytes/sec*
> Data transfer rate (< 1 track)
> Minimum, divided by interleave factor    3.56 Mbytes/sec
> Maximum, divided by interleave factor    7.65 Mbytes/sec
>
> Is it HARDWARE,  or software problem.  How can I tell.
>
> BTW:    FYI - axp-list@redhat.com

[-- Attachment #2: Type: text/html, Size: 10653 bytes --]

  parent reply	other threads:[~2001-04-30 13:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-28 12:32 SCU & interleave & seagate ST15150N scsi Uncle George
2001-04-28 21:21 ` Maciej W. Rozycki
2001-04-30 13:20 ` Robin T. Miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-04-28 15:23 Paul Bunn
2001-04-28 18:18 ` Uncle George
2001-04-28 18:35   ` Maurice Hilarius
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