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: Sat, 26 Oct 2024 17:23:20 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1729956214; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=ndGhRvouDdr2qhzEUXUeIgGEFjPegf31YaYRI4zzGKI=; b=pPo8jD9FEMigxi+o1VAezqT41XoNKMv7TYs6UI/J1ju3mW6aYtk2qczen8OL2W4Lq1 4NmeUp/O7sf65xWG0ZJgMWF7L6lyLUx+jt5wMYaJvZmOzM0YxQk51IxcvIffq7PJ0QNY l+QrOc0YcaZwOC22rYQtU1MxyODRhF2sj4F1xI9t/2uxu5eY+MrlF3+x/kjj14KQhEZi znzYU1X4hqWRjznsd/wVpyUWfU5z2Bmv0ptHW3yfmVc7s8nZPjJ4F4f91dQmTBJsudIp eMBBnK3xZV2lbK14m9yycDVfGmQBrSZfllTxB6X242LlyJwOY/Hpy7i1UPxOotV3K5dS vX3Q==
- Arc-seal: i=1; a=rsa-sha256; t=1729956214; cv=none; d=strato.com; s=strato-dkim-0002; b=K9FrF3tMSz7baj9Zr4aGYuSAiFKb/vwExTRO9tDzAKCl0aRP4eS0lMPJ38GFfXy12q qyU4NB2/X/IIBoxoYeOufEcM76LSYvMH6MzP2mmeul9RZpi3zbhrJUpfNh4ohg94kLiz 910LGktEMCYceihPELsqGokldV+ijGk4jd+UoCfm4EaG/qaqiSlHlkm6jA1piWN4eRR+ laUxWu5LBUYHaUBEQ/0HcUrLPeun79rY/HV17OzPwp9Ig96bhx9pi0/wjR621+ckl90G 1EQa0wlgRUpZjWJ8/cAnKcLmJ5/Sl/SarCjYjualXOrLqJVAApl1ocE1crUhcMfXsiQD VPbw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1729956214; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=ndGhRvouDdr2qhzEUXUeIgGEFjPegf31YaYRI4zzGKI=; b=QicpSXAU/iNOm9WyHrRFcH2lBdWNSQT7qNGQ5fSTriy/IPx8S8R6vWnOkGwrXGi5Gc GM6XUZFpSk79bsLMHUZXcSPPakjLjCaXQPJiVi3okx0Obm7zSk3afIiQ/yG5KoW67H6V 6WtFtewDx01lO0ZIq3bkNgheSnQ6zoVph2vvbbK7s86tyIk9Nmu6bBODlu7Z2jNYp4ve zGDjBJPCtecAhPGLdgJKNI0AZcvjQp0FlK/dqd4/kkPheu/7rRvD7jfAhdLlQyE2wDje Gn6vfIujU/zS4o7vvjgFMt+VaRRf1+DzYYDGLzE9qdIVfNNsLdoo+VfJ2MfFV6bKsu5K M5uw==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1729956214; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=ndGhRvouDdr2qhzEUXUeIgGEFjPegf31YaYRI4zzGKI=; b=liQ9/qJ51Z2n2grEub4n76mGfA0R41iXL0EPOBhsShoU+HM8K+gVsA0OgXsEWDcy6E +S8tEobYIfDWW9WyBZCA==
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