LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 11:32 AM   #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



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:02 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
Open Source Consulting | Domain Registration