Re: [hatari-devel] Wrong MODE SENSE data length for page code 0x3f

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


In case you are interested, the attachment shows the test suite results for
a Hatari ACSI, SCSI and IDE device.
SCSI Driver and firmware test V2.30�
� 2014-2024 Uwe Seimet

SCSI initiator ID in NVRAM is 7
SCSI initiator identification is enabled 

Found SCSI Driver version 1.01


Available buses:
  ID: 0
  Name: 'Atari ACSI'
  Maximum transfer length: 65536 ($10000)
  Supported SCSI Driver features:
    -

  ID: 1
  Name: 'Atari SCSI'
  Maximum transfer length: 268435456 ($10000000)
  Supported SCSI Driver features:
    Arbitration
    All SCSI commands
    Target control
    32 LUNs

  ID: 2
  Name: 'Atari IDE'
  Maximum transfer length: 130560 ($1FE00)
  Supported SCSI Driver features:
    All SCSI commands


Testing device ID 0 on bus 0 'Atari ACSI (ICD)'
  Supported SCSI Driver features:
    -
  CheckDev()
    Testing with valid bus ID 0
    Testing with invalid bus ID 32
  Open/Close()
    Available handles for bus 0: 29
  TEST UNIT READY
  INQUIRY
    Calling with valid data
      Device type: Direct Access
      Device name: 'Hatari  EmulatedHarddisk'
      Firmware revision: '0180'
      Removable media support: No
      Linked command support: No
      SCSI/SPC version: SCSI-1 CCS
      Response data format: SCSI-1
      Additional length: $1F
    Calling with non-existing LUN 7
    Testing with requested byte count of 10
  REQUEST SENSE
    Calling REQUEST SENSE for existing LUN 0
      Additional sense length: $0E
    Calling REQUEST SENSE for non-existing LUN 7
    Calling REQUEST SENSE again for existing LUN 0
    Testing SCSI Driver sense buffer handling
  READ CAPACITY
    Reading capacity with READ CAPACITY (10)
      Maximum block number: 1083563
      Block size: 512
    Reading capacity with READ CAPACITY (16)
      READ CAPACITY (16) is not supported by device
    Reading last block (1083563)
    Trying to read last block + 1 (1083564)
  READ
    Reading block 0 with READ (6)
    Reading block 0 with READ (10)
    Reading block 0 with READ (12)
      READ (12) is not supported by device
    Reading block 0 with READ (16)
      READ (16) is not supported by device
    Reading block 0 to odd address with READ (6)
    Trying to read block 0 from non-existing LUN 7
  SEEK
    Seeking block 0 with SEEK (6)
    Seeking block 0 with SEEK (10)
      SEEK (10) is not supported by device
  MODE SENSE
    Reading all mode pages with MODE SENSE (6)
      Received 44 data bytes
        Available pages list: 4, 0
        Page 4: Rigid disk drive geometry page (current, not savable)
          Page size is 22 bytes
          Number of cylinders: 8465
          Number of heads: 128
          Starting cylinder-write precompensation: 0
          Starting cylinder-reduced write current: 0
          Drive step rate: 0
          Landing zone cylinder 0
          Rotational offset: 0
          Medium rotation rate: 7200
        Page 0 (current, not savable)
          0e:00:08:00:10:88:ac:00:00:02:00:00:00:00:00
    Reading all mode pages with MODE SENSE (10)
      MODE SENSE (10) is not supported by device
  READ LONG
    Reading 0 bytes of sector 0 with READ LONG (10)
      READ LONG (10) is not supported by device
  GET CONFIGURATION
    GET CONFIGURATION is not supported by device
  REPORT LUNS
    Number of LUNs: 1
          LUN list: 0

Testing device ID 0 on bus 1 'Atari SCSI'
  Supported SCSI Driver features:
    Arbitration
    All SCSI commands
    Target control
    32 LUNs
  CheckDev()
    Testing with valid bus ID 1
    Testing with invalid bus ID 32
  Open/Close()
    Available handles for bus 1: 29
  TEST UNIT READY
  INQUIRY
    Calling with valid data
      Device type: Direct Access
      Device name: 'Hatari  EmulatedHarddisk'
      Firmware revision: '0180'
      Removable media support: No
      Linked command support: No
      SCSI/SPC version: SCSI-1 CCS
      Response data format: SCSI-1
      Additional length: $1F
    Calling with non-existing LUN 7
    Testing with requested byte count of 10
  REQUEST SENSE
    Calling REQUEST SENSE for existing LUN 0
      Additional sense length: $0E
    Calling REQUEST SENSE for non-existing LUN 7
    Calling REQUEST SENSE again for existing LUN 0
    Testing SCSI Driver sense buffer handling
  READ CAPACITY
    Reading capacity with READ CAPACITY (10)
      Maximum block number: 7
      Block size: 512
    Reading capacity with READ CAPACITY (16)
      READ CAPACITY (16) is not supported by device
    Reading last block (7)
    Trying to read last block + 1 (8)
  READ
    Reading block 0 with READ (6)
    Reading block 0 with READ (10)
    Reading block 0 with READ (12)
      READ (12) is not supported by device
    Reading block 0 with READ (16)
      READ (16) is not supported by device
    Reading block 0 to odd address with READ (6)
    Trying to read block 0 from non-existing LUN 7
  SEEK
    Seeking block 0 with SEEK (6)
    Seeking block 0 with SEEK (10)
      SEEK (10) is not supported by device
  MODE SENSE
    Reading all mode pages with MODE SENSE (6)
      Received 44 data bytes
        Available pages list: 4, 0
        Page 4: Rigid disk drive geometry page (current, not savable)
          Page size is 22 bytes
          Number of cylinders: 0
          Number of heads: 128
          Starting cylinder-write precompensation: 0
          Starting cylinder-reduced write current: 0
          Drive step rate: 0
          Landing zone cylinder 0
          Rotational offset: 0
          Medium rotation rate: 7200
        Page 0 (current, not savable)
          0e:00:08:00:00:00:08:00:00:02:00:00:00:00:00
    Reading all mode pages with MODE SENSE (10)
      MODE SENSE (10) is not supported by device
  READ LONG
    Reading 0 bytes of sector 0 with READ LONG (10)
      READ LONG (10) is not supported by device
  GET CONFIGURATION
    GET CONFIGURATION is not supported by device
  REPORT LUNS
    Number of LUNs: 1
          LUN list: 0

Testing device ID 0 on bus 2 'Atari IDE'
  Supported SCSI Driver features:
    All SCSI commands
  CheckDev()
    Testing with valid bus ID 2
    Testing with invalid bus ID 32
  Open/Close()
    Available handles for bus 2: 29
  TEST UNIT READY
  INQUIRY
    Calling with valid data
      Device type: Direct Access
      Device name: 'Hatari  IDE disk 15M    '
      Firmware revision: '1.0 '
      Removable media support: No
      Linked command support: No
      SCSI/SPC version: SPC-3
      Response data format: SCSI-2
      Additional length: $1F
    Calling with non-existing LUN 7
    Testing with requested byte count of 10
  REQUEST SENSE
    Calling REQUEST SENSE for existing LUN 0
      Additional sense length: $0A
    Calling REQUEST SENSE for non-existing LUN 7
    Calling REQUEST SENSE again for existing LUN 0
    Testing SCSI Driver sense buffer handling
  READ CAPACITY
    Reading capacity with READ CAPACITY (10)
      Maximum block number: 30719
      Block size: 512
    Reading capacity with READ CAPACITY (16)
      Maximum block number hi: 0, maximum block number lo: 30719
      Block size: 512
      Logical sectors per physical sector: Unknown (1 or more)
    Reading last block (30719)
    Trying to read last block + 1 (30720)
  READ
    Reading block 0 with READ (6)
    Reading block 0 with READ (10)
    Reading block 0 with READ (12)
      READ (12) is not supported by device
    Reading block 0 with READ (16)
    Trying to read IDE block 281474976710656 with READ (16)
    Reading block 0 to odd address with READ (6)
    Trying to read block 0 from non-existing LUN 7
  SEEK
    Seeking block 0 with SEEK (6)
      SEEK (6) is not supported by device
  MODE SENSE
    Reading all mode pages with MODE SENSE (6)
      MODE SENSE (6) is not supported by device
  READ LONG
    Reading 0 bytes of sector 0 with READ LONG (10)
      READ LONG (10) is not supported by device
  GET CONFIGURATION
    GET CONFIGURATION is not supported by device
  REPORT LUNS
    Number of LUNs: 1
          LUN list: 0


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/