Closed uweseimet closed 9 months ago
I just flashed and tested the 2024-02-22 firmware, and unfortunately there is still something wrong with the LUN handling.
The PR was a few weeks ago. Once I push the fix for this can you commit to testing it before I merge to avoid back and forth on LUNs?
I think (but cannot test it anymore) this was not wrong with the previous firmware. Regarding INQUIRY in general, it was designed to more or less never fail, but to always be available to collect vital product data.
All binaries are still there - you could flash back to the previous release.
By the way, it would be nice if BlueSCSI was reporting the firmware version similar to how the Plextor drive does it. That would make checking the logfile obsolete if you are not sure, for instance, whether flashing was successful.
That appears to be in theVendor-specific
section? Do you know if that is the same response format for SCSI-1? It appears it can be for "Private Use" so it should be fine.
Please don't get me wrong - I do appreciate you raising issues, but I'll need you to verify they are addressed before commiting fixes to main.
Jugding from section 7.1.3 of the X3.131-1986 specification I'd say that for the vendor-specific section the same rules apply as for SCSI-2.
Verifyng a fix is fine for me. I guess that you are going to provide a binary file to flash, so that I can test any upcoming change? Am I right that downgrading or upgrading is essentially the same, i.e. any valid binary I provide will simply be flashed?
From my perspective it is not that important whether the previous release also had this bug or not. It's just that I am quite sure that my test suite did not report it with the previous release, this is why I mentioned it.
Every push has the binaries built (see the little green checkmark in github on the commit above your message) click it and you can see the build details -> Summary -> Under Artifacts: "BlueSCSI Binaries"
Here's the direct link: https://github.com/BlueSCSI/BlueSCSI-v2/actions/runs/8025983300
Yes you can flash older or newer binaries without issue.
Sounds good. I will run a test tomorrow.
Thank you for the quick fix. My test suite is happy now and does not report any errors.
I just flashed and tested the 2024-02-22 firmware, and unfortunately there is still something wrong with the LUN handling. The issue is similar to https://github.com/BlueSCSI/BlueSCSI-v2/issues/112, but this time INQUIRY is affected:
The same test with a real drive (and emulated SCSI2Pi/PiSCSI devices) does not report an error:
Instead, as specified for INQUIRY in section 8.2.5.1 of the SCSI-2 specification, the non-existence of the LUN is signalled with $7f in the peripheral qualifier (first byte of the response):
I think (but cannot test it anymore) this was not wrong with the previous firmware. Regarding INQUIRY in general, it was designed to more or less never fail, but to always be available to collect vital product data.
By the way, it would be nice if BlueSCSI was reporting the firmware version similar to how the Plextor drive does it. That would make checking the logfile obsolete if you are not sure, for instance, whether flashing was successful.