program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smartmontools (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: smartmontools
This is but does not produce an unexpected error, rather this is just an FYI so smartd
will not depend on a deprecated API.
When running smartd on SATA drives with the following /etc/smartd.conf
# begin smartd.conf
/dev/sda -a -d sat -m root -M exec /usr/share/
/dev/sdb -a -d sat -m root -M exec /usr/share/
/dev/sdc -a -d sat -m root -M exec /usr/share/
/dev/sdd -a -d sat -m root -M exec /usr/share/
# end smartd.conf
A kernel message is reported to syslog stating:
Oct 10 13:50:02 cylon kernel: [773193.698990] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
smartd continues to function normally.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: smartmontools 5.38-3ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Oct 11 10:33:17 2010
ExecutablePath: /usr/sbin/smartd
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: smartmontools
This should be partly fixed in newer smartmontools releases. Only some of the controller specific parts of the code may still use the old ioctl (http:// sourceforge. net/apps/ trac/smartmonto ols/ticket/ 93).