Skip to contentSkip to conversation

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

DISCUSSION Marcelo Tosatti 2 participants 4 messages Mar 28, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Marcelo Tosatti

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

#2 lore raw
Quoted 5 lines · James Bottomley
Quoted 4 lines · Marcelo Tosatti

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

v2.6.12-rc1 yields

Quoted 7 lines
Quoted 1 line

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.

#3 lore raw
Quoted 3 lines · Marcelo Tosatti

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