Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-22-2011, 11:32 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 7

Rep: Reputation: 0
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?


scsi, tape

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
In linux platform how to use ioctl function to read/write data to hid device zyroot998 Linux - Software 3 06-28-2011 10:06 PM
Problem with ioctl function when openning TUN/TAP device on Linux. shmilt24 Linux - Newbie 2 09-10-2010 02:14 AM
How to spin-up HDD using ioctl starvijay Linux - Hardware 2 05-09-2010 03:21 AM
how to 'spin down' scsi disks ? dansawyer Linux - Hardware 2 02-03-2007 04:41 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration