LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 11-22-2011, 12:32 PM   #1
gjpc
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?
 
  


Reply

Tags
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 11:06 PM
Problem with ioctl function when openning TUN/TAP device on Linux. shmilt24 Linux - Newbie 2 09-10-2010 03:14 AM
How to spin-up HDD using ioctl starvijay Linux - Hardware 2 05-09-2010 04:21 AM
how to 'spin down' scsi disks ? dansawyer Linux - Hardware 2 02-03-2007 05:41 PM


All times are GMT -5. The time now is 11:07 PM.

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