Linux 2.6.18 SCSI SPIN and SPOUT SG_IO ioctl's to a sg LTO5 device
Does anyone know if the 2.6 kernel mangles SCSI SPIN & SPOUT commands sent to a tape device using the ioctl SG_IO mechanism?
I am sending SPOUT to a LTO5 tape drive to set up encryption and getting command complete, sense 0. The encryption is not enabled and when I use SPIN to look at the active encryption page I get back the SPOUT page I sent populated with the secret key.
Any thoughts?
|