Re: [hatari-devel] Linux-68k and REQUEST SENSE |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Linux-68k and REQUEST SENSE
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 24 Nov 2024 20:48:27 +0100
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1732477721; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=nISNIhvsHGyfYEMDDB5o6vCFgf7qSmy8c/E8jq2eyr4=; b=od/53qyhFba61GhcDaGIv8Tyxktjm7rIc08mk7fBqGgIRMQZEWhU6BF3GoHaRsdIhb RDR5PopjjvDPGE8juTpud3rLmb4nhDziswAnEaJ0Cq0IxLQZOMZjPhkoN89Y+tNW3Fwc mus+Nt1ai3azzu1CkZloqAOWmfJ0y39VRB1FzYL07AU2syVrhRQPGvkL+WFE54lJRlsv dedkvrWnSRODPHemVfLapuTYD83+57lgpHaQq6BAxjQMCY/a2HDP83/ytXX2LyTfYwNR 9kegICXkVsojFJ5xzTcie7tcjHFUrVUOgKeEJhSC1A2OQS9InC5RN7C8M7ZP72HRUTx3 +gPQ==
- Arc-seal: i=1; a=rsa-sha256; t=1732477721; cv=none; d=strato.com; s=strato-dkim-0002; b=EI0Ez9Ll8ETaMv7Ew5oiME2Bea4mKcog+xR36dPysHPEq8KQ7vEtROeYIAuWrh+gl3 6VZAei5Jf4DLO0KM9n/y+pNbtr5nAAmLk1iQXmsM7Y3MsD3Ge3jBwZVL1+lwWY4AhDFT xzfwwneSGpM2CGQ1SXd2oBE81D7U4ZBLWgIBDp87HGYMTZNKHpHXDauKuIeV4DB1pd1o GngjfbZgcTiTUIEDIWHjC0IYcpQZd4eZ4pUti3aQcdpv5DnCLxZJkbSh8Nqtf7kBwUu2 dBVH/u+1iLRpmr1adVeBJ4K29bxFbhWjgphFJAJXrWkVn8RxC4tLx2j9tPD0Oq6YSng4 Gm9g==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1732477721; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=nISNIhvsHGyfYEMDDB5o6vCFgf7qSmy8c/E8jq2eyr4=; b=Isc5UnX2OG4ZuBB7crlihVFW+GPLZLjz4HxjRe5eNXzi+hrNy6E8CU5GMICU+P2GH+ 3h99QPm1sDaNZppiJrtTKArT0OQUW70T+yoRBoepTS7+qQXduiLBVotwwDoERhtMiVle p+fP9Z/SyaGP+z9o/HtBKZts60nChnbkeu65OvhSuhHCvq5a8Tb4KDCZMVgThBr0MbZW XoYnDzEQzSeFI8WB9If6RkJKTRRAvuVzwedvPKO1Vhzk1ZZlGasvVpRzsl9u53Pokrdn X4D+LYl3CAJ5jCwuNlz1X5Lp03zaUpn/ewpDiMy2PD06Irf7rUD+jscHqdpJZR0RpWmM yQLg==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1732477721; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=nISNIhvsHGyfYEMDDB5o6vCFgf7qSmy8c/E8jq2eyr4=; b=7eweZGv9fyntVmyIzcu2Fcxf9qxbqKx7/PazVAu3LIKTYpusvQZnM+IWEhuX1m0CEu C/FNvSlukmQYSYldK9DA==
Hi Eero,
I was referring to the Hatari logfile, i.e. a current version of what's
checked in in git. The one where you find "Strange REQUEST SENSE", even
though nothing is strange with this request.
The file is doc/m68k-linux.txt. The log file also says "SCSI BUS reset".
>=> Linux IDE driver works fine with single EXT2 partition image, but it seem
>like there could be also a problem of Linux SCSI driver expecting also a
>partition table?
I have already pointed this out earlier: If a bus reset is logged, like in
the log I am referring to, this is a low-level issue with the SCSI signals.
This is a completely different layer than the filesystem layer.
What I also mentioned earlier: Linux requires a partition table, just like
any other OS. Your image is probably just the image of a single partition,
but you need a full drive image with an Atari MBR partition table.
What's interesting about your log is that Linux uses PERSISTENT RESERVE IN,
which is not supported by Hatari, but I am quite sure its availaibility is
not mandatory.
This command is newer than SCSI-2. This confirms my assessment that having
SCSI-1 the default setting for Hatari is not that good.
When trying to run Linux, you should use SCSI-2. Just like IMO for the
Atari.
So all in all these are the things that I think are somehow wrong:
1. The image is not a valid drive image with a partition table.
2. There seems to be a low-level signal issue with the SCSI protocol.
3. The REQUEST SENSE command sent is not strange, the logging is just wrong.
4. Linux is aware of newer SCSI standards than SCSI-2 and tries to use
commands not covered by SCSI-2. Therefore, Hatari should be configured
with the latest SCSI level it supports, in order to accommodate Linux as
good as possible.
Hope that helps.
Best regards
Uwe