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:45:27 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1729957540; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=dEyUeq6LlEjA03nPKdqZDdTDjiZwc8Xnr+asBRLACc4=; b=mfeziq6quQ2Yu2oMnE/vP7na29okCx7vGfA/N1MWE+HHGK1tIZPGJBbNqc9NK6Wis0 glC63BUIfnX+N7kbfEs3xWx3n4hc1Nd3WXHgX6EMOLO82asF4XmxlGmBEjMl4rme6fFr m87mPhAVntSMdskGRXbtJ35OhDcatnfZWq/8gtXI1GVKrM2WwvbiofCTbeTThHeugHWp d2BX5XuLVUJtD924ntiKeEKl1q3M7NNW8/C4lnTlrnNKiDrfCjXZoCwmgwrSgHEjXCCu 8/csPGxBR7rsOG8KbtfWAV+oRIIVXYxdIZoIsea4GOm2iAUJgu4U/QA6D9uIqQN6pOZh LkJw==
- Arc-seal: i=1; a=rsa-sha256; t=1729957540; cv=none; d=strato.com; s=strato-dkim-0002; b=YXw6qGAzeZqReYy36z74c/Dr9NJ0aDhylT7U7AuZagK6pGiTTNqmp3kdzS2CasRYOA epIG8MYZYuGc+KsUhDvrrEDw3nsT6ka8enL7XSgFLOVTDKdQYzHMZH3ToW3cXWl84hnF mbAEORHfp8oOq/Nf0wWtoehvQdYLT/vryhxniDnlr0PKx44vAd4C9uudd9i0paWYG5km lh3Aj6IPdOd4x2GNEUqzI8XpQ6bpE0IyUB+81jTZCHxyfJfkoFXd16OGUk964Bi1MY+h AMuwVlJQtCMW75EiE+LLsvFqqq8qv1bZH+RwqAfCcJ654noUnLOwZ8XjInSg/0BnjcVm olXQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1729957540; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=dEyUeq6LlEjA03nPKdqZDdTDjiZwc8Xnr+asBRLACc4=; b=bVm4D3/47oox8OL9sU6r9iuTjBG4VkNaD4A5x4F5LkwP33pPfKiTEu6e0goX0zEnoA C/A2gpiEdUNcxEszwJUqKvKBcOd3b5d6EavZpj70H5QakpXA0eL0NEv80RNFLQ1NKuYo BJzzqN8ZbKr97EfL6QofV6q5s9BCi7+zXgfovsyzlGH2et1KuGki+PVmd2/o5EpmjmrI rvgisjFpa9ATYnhmxD6NmW+RVPjZpKrtxIUoa63LGTt7+3gsaZVdoBPsTzHCl5tC9G4N jXFRym/q9uw2NwAQqy509PdThrVN2ldfKpTgrKYrJW8PI2MNnUHm3lQzmrHYAT5uCOxB +Apg==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1729957540; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=dEyUeq6LlEjA03nPKdqZDdTDjiZwc8Xnr+asBRLACc4=; b=nHqcYAyYoAHP9qKRtCd6CCqkQTebKCfW6GIHQP8Uikd2lI0vCDd4zV6prEhtnX9vMa YtVwkM1hZdw6cnNgw/AA==
> Anyway it seems the simulated drive in hdc.c identifies itself as SCSI-I drive via its Inquiry data.
That's why I suggested to switch to SCSI-2 here, because that's far more
common with Ataris than older standards and also the default with todays
SCSI emulations.
Anyway, returning at least 4 bytes for REQUEST SENSE will usually do no harm
because it is unlikely that an initiator requests less, But to be on the safe
side here SCSI-2 semantics should be preferred. Even AHDI has no issues with
this.
Best regards
Uwe