Open dalvenjah opened 2 years ago
Is it possible to build with SCSI debugging on and dump the output? Unfortunately it has to be given at compile time.
./autogen.sh && ./configure --with-scsi-debug && make
sudo ./src/stenc -f /dev/nst0 --detail
@dalvenjah Can you run this command and show what it returns? sg_raw -r 44 /dev/your_tape_dev a2 00 00 00 00 00 00 01 00 00 00
@dalvenjah ping
@dalvenjah any news?
This looks like issue #11 but is different (this error code is 0x24 vs issue 11's 0x26).
Latest (as of May 3 2022) stenc works fine with an IBM Ultrium-TD8 drive with J4D0 and JAYE firmwares; but with the latest N4Q0 firmware, stenc returns an error:
Per IBM's doc at https://www.ibm.com/docs/en/ts3500-tape-library?topic=information-sense-key-illegal-request , ASC 0x24 and ASCQ 0x00 means "Invalid Field in CDB". Not sure if this means the data structure's the wrong length or what; I'll continue to do investigating on my end to see if I can work out what the drive needs with this firmware, but wanted to open this issue in case others can help take a look.
Also in case it helps, here's the link to IBM's fixlist showing what's changed between J4D0/JAYE firmwares and the latest N4Q0 firmware: https://delivery04.dhe.ibm.com/sar/CMA/STA/09qkh/0/LTO8_N4Q0_fixlist.txt