Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#350 closed task (invalid)

CentOS release 5.10 complains about deprecated SCSI ioctl

Reported by: Van Snyder Owned by:
Priority: minor Milestone:
Component: smartctl Version: 5.42
Keywords: linux Cc:

Description

I get the following message when I run smartctl version 5.42-2:

program smartctl is using a deprecated SCSI iocto, please convert to SG-IO.

Change History (2)

comment:1 Changed 5 years ago by Alex Samorukov

Resolution: invalid
Status: newclosed

Please test with latest smartmontools. If error occurs report it again and include all output in attachement. 5.42 is a very old version.

comment:2 Changed 5 years ago by Christian Franke

Keywords: linux added; SG-IO removed

Did you use any "-d TYPE" option?

Yes: Some controller specific code still uses SCSI_IOCTL_SEND_COMMAND instead of SG_IO. This is a known issue, see ticket #93.

No: smartmontools 5.42 already supported SG_IO. The CentOS package was probably build with a too old kernel include files not providing SG_IO define. In this case, please contact the package maintainer.

Note: See TracTickets for help on using tickets.