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: Wed, 30 Oct 2024 08:21:23 +0100
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1730272901; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=z97z5AdNEyRmj4w8dPJrQutY60PLxSxl+I0JdgBf7FQ=; b=CMV5cL4OhaxzuFUwkkmMD7Zhh6P5LGVY9B6yTa3hJfwtEH0Q6p2cm60eJtweZ6wCtS UQoaKVdsPS7VLMPnldUkhaj6fDwLWPkIxi/8eye3xBHh7RWnVCjY3xUyX988Xy37q45g G2ynTteRAcFwSGGuonZAZFtlvEZ01QDVkoE42Oz+r+BzvguAk7gYg1NZOvHleBTMm4aS cfTuGpNPJrKHlPAGlZGiLvp9ZbQRqbC+2BvNa8M2vCaYH8W6osww6n6dt0inTZHG35vf /86CzGZm+OFF5YfkzyCxdh4qAdpTDGbHP/geH24oqTOZuTVIRITe9Z0/XUb5ny475lUu UGcA==
- Arc-seal: i=1; a=rsa-sha256; t=1730272901; cv=none; d=strato.com; s=strato-dkim-0002; b=oOKtGiZovD6hIy5J6fp/TL1T2K4j+uV1bNFzzStbUo0+yYtyFpq5rrJS94m/03u6CP wcz2Kw/r2Z/Ik7AYobypdilbWlZzqS3B8EsFAY0NhFra7rDjvQRJPAgp0PsOqBY5UCF2 VvT0qYsuSCl6pjdxm4tlCd0Eb5T7LGOYWOAvpmRvHEYq4lCoMekL1chDhsbPtPXVNads c7qr7Lbr9o55JJaAZ6QEEvJaDNwcGSO4FgcINX+pwDX7d+Aq5JIFRJvWtO+ZowJYIniM dIAx6tvrhU9MBr2Suc9mLH0H6XlJh5figKznPUUL/q48r/NjEllaDwWkHilr9Wmrak1j Qarw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1730272901; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=z97z5AdNEyRmj4w8dPJrQutY60PLxSxl+I0JdgBf7FQ=; b=tvNH5/uIbHymsnjcu+qFM2MuuL0TTYgGxmh9zhn+pH91Gk59LJhrLo8Jz5jnAXMODl whnRxQbP8+AZ9MY4B/PsWCb7kUYi6VQbc5wY2pwjlBRkulIKUwwCovexglzefGl2t0Er hjmDFRtRkppL8cgPvMx6SLWvn1d+kVolU+7QDfEVdr5c9p1r7zoIvC1Ns5JmgvSyp10Z l96kuCjRsKrvBw4f59FSOrIlTbYapEndcOJ7t0FuwTu3FwEWi9yABUyltQlQ89odeDol b3RRAIQvNrHkSWp89xpyq3jf3k2zmnTMFQ1tRtHfqqQqVuROEa64ZcgWM+xL+VePGU6Z Ngpg==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1730272901; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=z97z5AdNEyRmj4w8dPJrQutY60PLxSxl+I0JdgBf7FQ=; b=I5UQnwMPVxYDnOaBt1d+hNzOm2cCrlOjqcWVy9EjK+3gKfOb34BuSNapozyXYL6gV+ tPt8dg9suQv2Zcri12BQ==
Hi,
> Thanks! Could you also propose a patch?
I suggest that you just change the conditions in the code accordingly.
Frankly speaking, I don't want to be involved in yet another SCSI emulation,
and implement the same logic over and over again. This is boring.
I just stumbled upon the existing code and pointed out potential issues.
> Btw. Are there other differences between SCSI-1 & SCSI-2 that could be
> relevant for Hatari?
>
> (I'm asking as started to wonder whether it would make sense to have
> some option to select which standard Hatari emulates...)
I doubt it. For almost 35 years there has not been any SCSI-1 hardware
anymore, and Ataris have been happy with SCSI-2 since about 1991, also STs.
This is why I wonder whether it makes any sense to support SCSI-1 at all.
Provided that AHDI and HDX are fine with SCSI-2, I do know know any software
that would require SCSI-1. Regular software is not affected anyway, only hard
disk software is. Any potentially an OS like Linux. Atari's ASV is also fine
with SCSI-2, by the way. I have been using SCSI-2 drives with it already in
1990, even though Atari distributed it on SCSI-1 drives (and on tapes).
Best regards
Uwe