[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

smartmontools + freebsd-9 kernel "gives error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device"



Hi!
 
I have tried to find an existing bug report for this problem, but I did not find one. I have never submitted a Debian bug report before, so I wanted to double-check with you guys if this is a known issue.
 
I recently upgraded my Debian kFreeBSD installation from an 8.x kernel to the 9.0.1 kernel. After this was done, I could not use smartctl to check the SMART data of my hard drives any more.
 
Example:
root@debian:/# smartctl -a /dev/ad0
smartctl 5.41 2011-06-09 r3365 [GNU/kFreeBSD 9.0-1-amd64 x86_64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
Unable to get CAM device list
/dev/ad0: Unable to detect device type
Smartctl: please specify device type with the -d option.
Use smartctl -h to get a usage summary
 
Packages:
kfreebsd-image-9.0.1-amd64 9.0.1
smartmontools 5.41+svn3365-1
 
I found someone else experiencing the same problem on (non-Debian) FreeBSD: http://comments.gmane.org/gmane.os.freebsd.current/136418
Quote: "CAM ABI was changed right before RC1. The issue was mentioned in the Ken' announcement. The packages were obviously built with the old headers."

Reply to: