Opened 10 years ago

Closed 10 years ago

Last modified 10 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 by Alex Samorukov, 10 years ago

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 by Christian Franke, 10 years ago

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.