Re: [hatari-devel] Wrong MODE SENSE data length for page code 0x3f |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Wrong MODE SENSE data length for page code 0x3f
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Fri, 25 Oct 2024 23:38:12 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1729892305; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=Hk+biTG7pIK19e5jljRP4HApYVoXxkpM6SqGPuggQz4=; b=lk3bNmaH8puOur16nRlPOE3y7LHl14DvC108Uq818PRbegj/Fl0ZRIu/CHpgb2pOui qwgE1lSJ/xKDTmXdXf48wMf8twlB6fcZ4AnQB7dUiXkiT4kVu/mTySnGFSFpaBlE0wCc ZDI2NtxiaPhvlzm4JVu308K/ADy2EdMclr6z8JUP7R4Srq6VPsJ5kw3FoX3CbYLSwO60 3kk5FBVv55rB+s+PUaZkAkFcezlg2JCn3AJ5Rw8GGRWP6VzW9vN07br6hCnnBug0f/5A cpVQqdVZnPjGFsFs+RFCoxIZOWxQO8YwTQ4YC73XIynkIA0lnrZ8wR5kE5bjxfD0zxLs HvZQ==
- Arc-seal: i=1; a=rsa-sha256; t=1729892305; cv=none; d=strato.com; s=strato-dkim-0002; b=NBmF2woW1e9/FBU/86qKjJLN+Bod+61nZI05/zdQxLU4MGwfgg35U0tPJFm7JYQaeK RU29tals9t9HIvw7Fvclu9xWtw2fsUHJbGmZe8EKl6+oxFrWZLgbFfb7zvjqbVqj+B3J 0P7XXU8yGAjNErG7UoJW+KQK/ps7sJXYB7RnAkOZ1En+Kdlxu/1o4cT8fy264si9si/S MNx8rqji7dX1yLb6xITUdJ0GGlCkdXpBs2ZDZf5HQ4i88mDtwNPmJJQoMZEG6N6ozK0h tUgZT4zfjSl063txJy2nNV2dx70u45H55Qew8FBvhmOOuQnu2623+ymV138BUCmmxlCy ZzuQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1729892305; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=Hk+biTG7pIK19e5jljRP4HApYVoXxkpM6SqGPuggQz4=; b=sTrKBzoC5bn/LWnIMAKGCKzYRROi9+NH7VrK38DG8SYrBZ0EBM9ZSGpK4V/KIjtTPs stbwMjagY+zeU+W+IgYw91L05sJ9qtX2G4vC6ztMaVQ1ZAGcD0WTrWH4HT+/ppKmCSU9 i7zKXo9xuj9PElRhviz+8ma1r0pNY7DkezOkQQztgbMEJLyUusOZi36o04XOdjpncsw/ ZrZBV/bvJDDqMsrJGy9x6e2oBERv/kpk0HnwUoBpezEhyaWXb0ATDZqWZcYF4G5MwgHh OTeub6VNKyYdSRdb4VQevZ/CEtbkHptgmM4D8eKRwxHkyiguQCIg9qkE3KNF3v9xa8bY 4Qcg==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1729892305; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=Hk+biTG7pIK19e5jljRP4HApYVoXxkpM6SqGPuggQz4=; b=FfypfBrxlGZkpUYSL8AznqM+/iQN+qwL+dFwdJTzLAUELn+wIGwNP3j4MncgJisr30 HEKyu8mHqNlkw4Vz+MAw==
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