public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
@ 2005-03-28 10:33 Marcelo Tosatti
  2005-03-28 15:39 ` James Bottomley
  0 siblings, 1 reply; 4+ messages in thread
From: Marcelo Tosatti @ 2005-03-28 10:33 UTC (permalink / raw)
  To: linux-scsi


Hi SCSI gurus,

You probably already know about this, but just in case:

v2.6.12-rc1 yields

program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO

On my Fusion MPT based machine, on bootup.

[marcelo@xeon linux-216]$ dmesg | grep Fus
Fusion MPT base driver 3.01.19
Fusion MPT SCSI Host driver 3.01.19


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
  2005-03-28 15:39 ` James Bottomley
@ 2005-03-28 12:34   ` Marcelo Tosatti
  2005-03-28 17:35     ` James Bottomley
  0 siblings, 1 reply; 4+ messages in thread
From: Marcelo Tosatti @ 2005-03-28 12:34 UTC (permalink / raw)
  To: James Bottomley; +Cc: SCSI Mailing List

On Mon, Mar 28, 2005 at 09:39:23AM -0600, James Bottomley wrote:
> On Mon, 2005-03-28 at 07:33 -0300, Marcelo Tosatti wrote:
> > You probably already know about this, but just in case:
> > 
> > v2.6.12-rc1 yields
> > 
> > program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
> 
> Actually, a lot of programs do this.  Since about 2.6.11 (I think, might
> be earlier), the SCSI subsystem has actually begun warning about the use
> of ioctls which have been deprecated for a while.
> 
> The solution is to fix up the scsi_unique_id program to use SG_IO.

Doh. 

I'm using FC2 - FC3 probably has it updated.

Sorry for the noise.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
  2005-03-28 10:33 program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO Marcelo Tosatti
@ 2005-03-28 15:39 ` James Bottomley
  2005-03-28 12:34   ` Marcelo Tosatti
  0 siblings, 1 reply; 4+ messages in thread
From: James Bottomley @ 2005-03-28 15:39 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: SCSI Mailing List

On Mon, 2005-03-28 at 07:33 -0300, Marcelo Tosatti wrote:
> You probably already know about this, but just in case:
> 
> v2.6.12-rc1 yields
> 
> program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO

Actually, a lot of programs do this.  Since about 2.6.11 (I think, might
be earlier), the SCSI subsystem has actually begun warning about the use
of ioctls which have been deprecated for a while.

The solution is to fix up the scsi_unique_id program to use SG_IO.

James



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO
  2005-03-28 12:34   ` Marcelo Tosatti
@ 2005-03-28 17:35     ` James Bottomley
  0 siblings, 0 replies; 4+ messages in thread
From: James Bottomley @ 2005-03-28 17:35 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: SCSI Mailing List

On Mon, 2005-03-28 at 09:34 -0300, Marcelo Tosatti wrote:
> I'm using FC2 - FC3 probably has it updated.
> 
> Sorry for the noise.

Heh, not necessarily ... the reason for making the SCSI subsystem print
these messages is that no-one was updating any user level programs to
move to the new API ... now at least we're worrying people enough to ask
questions.

James



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-28 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-28 10:33 program scsi_unique_id is using a deprecated SCSI ioctl, please convert it to SG_IO Marcelo Tosatti
2005-03-28 15:39 ` James Bottomley
2005-03-28 12:34   ` Marcelo Tosatti
2005-03-28 17:35     ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox