mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: rohan a <info1686@gmail.com>
To: linux-scsi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: SCSI command (SP-OUT) failing on SLES 9 32-bit
Date: Wed, 15 Jul 2009 10:07:10 +0530	[thread overview]
Message-ID: <7a7c22420907142137o4253dfb5gcd72176cd6a38beb@mail.gmail.com> (raw)

Hello,
        The SCSI command for LTO-4 drive based encryption (SPOUT
opcode = 0xB5) is failing on SLES 9 32-bit only and not on SLES 9 (64-
bit), SLES 10,11 or RHEL 4/5

Any idea why this is happening?

Error returned is : Invalid field in CDB

I am using ioctl() with the deprecated request SCSI_IOCTL_SEND_COMMAND
and not the SG3 driver.
However, only the SPOUT command is failing and none of the other SCSI
commands.
For ex: even the SPIN command (to obtain encryption status and
capabilities) works.

I even updated to SP4.

Any suggestions here?

Thanks

             reply	other threads:[~2009-07-15  4:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15  4:37 rohan a [this message]
2009-07-15  6:26 ` rohan a
2009-07-15 15:03   ` rohan a
2009-07-15 15:09     ` James Bottomley
2009-07-20 12:15       ` Hannes Reinecke
2009-07-22 13:26         ` rohan a
2009-07-28 10:57           ` rohan a
2009-07-30  5:36             ` rohan a

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a7c22420907142137o4253dfb5gcd72176cd6a38beb@mail.gmail.com \
    --to=info1686@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®