From: James Bottomley <James.Bottomley@SteelEye.com>
To: Masthan <d.mastan@gmail.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: program inquiry is using a deprecated scsi_ioctl , please convert it to SG_IO
Date: Thu, 08 Feb 2007 09:50:55 -0500 [thread overview]
Message-ID: <1170946255.3766.18.camel@mulgrave.il.steeleye.com> (raw)
In-Reply-To: <8862659.post@talk.nabble.com>
On Thu, 2007-02-08 at 02:14 -0800, Masthan wrote:
> I am not getting why i am getting the following DIAG message
>
> Program inquiry is using deprecated scsi ioctl, please convert it to SG_IO.
>
> The following snippet of linux source code clearly saying that, the above
> message is a kind of cosmetic warning message.
>
> Do you know how to use SG_IO to overcome this problem.
>
> The following function sayign that only 6 scsi ioctls are deprecated, out of
> 6 inquiry program is using only 2 scsi ioctls(i.e.SCSI_IOCTL_SEND_COMMAND
> and SCSI_IOCTL_TEST_UNIT_READY ) . What are their equivalents SG_IO ioctls ?
Yes, see, e.g.
http://www.linux.org/docs/ldp/howto/SCSI-Generic-HOWTO/sg_io.html
although SG_IO can be sent to any SCSI device, not just sg.
James
next prev parent reply other threads:[~2007-02-08 14:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 10:14 program inquiry is using a deprecated scsi_ioctl , please convert it to SG_IO Masthan
2007-02-08 14:50 ` James Bottomley [this message]
[not found] ` <868c9d9d0702202233pa206222jb9beb85d60089003@mail.gmail.com>
2007-02-21 17:17 ` James Bottomley
[not found] ` <868c9d9d0702212229p2e1a39ek9b73813899f18645@mail.gmail.com>
2007-02-22 22:15 ` James Bottomley
2007-02-22 23:59 ` Douglas Gilbert
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=1170946255.3766.18.camel@mulgrave.il.steeleye.com \
--to=james.bottomley@steeleye.com \
--cc=d.mastan@gmail.com \
--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