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 list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Wrong MODE SENSE data length for page code 0x3f
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Sat, 26 Oct 2024 17:32:18 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1729956741; bh=qZslKlCK2uCWACICacY/SL7Qmubx0zPq0e5BOrmQ36I=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=NCh7DmgVpH+lUX8DtzC/JVir6PeYABQcSxAyTVZGYzp/QpXOGkg9Ka7rheoSLlb77 OZwOi/rX90mB8iXYYX49qyghWf96fcTAgF3qUCA9dtp3tT+uIP/b8rRP0IQtv0FNOW tgdcJkCL317YOF0N+oFjzpLlEoRIcPGOghBnxVtlfKq5aasg+tHc0QCgR7cQxFlrvv rx7nTiL+zES/X8uR0a863givl1Zg932SxacjUs6pd0UTFNwRsyg+R7z8SCMcYO3xIT Vi88/cmB05K+pGPUtSO+mx3mc1c4lkJbSO7OXjTwrDjRKLoE5ZBtmMMVFQadb2ZDa5 18A2DrpQwc5mA==
> Am 26.10.2024 um 17:27 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
>
>
>
>> Am 26.10.2024 um 17:23 schrieb Uwe Seimet <Uwe.Seimet@xxxxxxxxx>:
>>
>> Hello,
>>
>>> The code is correct. SCSI specification says:
>>
>>>
>>> „If the value specified by the Allocation Length field equals zero, the number of bytes to be transferred shall be four bytes.“
>>>
>>> https://ecma-international.org/publications-and-standards/standards/ecma-111/
>>> 
>>
>> This appears to be an old specification from 1985, which predates SCSI-2. I
>> am always referring to the official SCSI-2 specification 10L from 1993, which
>> does not say something like that. At least I don't find anything like that.
>> Maybe I have missed it? If I did, can you please point out where the SCSI-2
>> specification says so?
>>
>> Best regards
>>
>> Uwe
>>
> Does Linux only support SCSI-2 and later drives?
>
Anyway it seems the simulated drive in hdc.c identifies itself as SCSI-I drive via its Inquiry data.