Re: freebsd-9.0 smartmontools and ada devices

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Tue, 18 Oct 2011 12:25:02 +0300
On Tue, Oct 18, 2011 at 11:02:42AM +0200, John Hay wrote:
> On Tue, Oct 18, 2011 at 09:39:24AM +0200, John Hay wrote:
> > Hi Guys,
> > 
> > I have upgraded my desktop from 8.2-stable to 9.0-RC1 (from source), using
> > a GENERIC kernel. I have installed the smartmontools-5.41_3 package from
> > a mirror and found that smartmontools does not like the ada devices anymore.
> > Previously (8.2) I had a GENERIC kernel, with ahci loaded in loader.conf.
> > There an older smartmontools (5.40) worked without a problem on the ada
> > devices.
> > 
> > The output of smartctl looks like this:
> > 
> > #############################
> > dolphin# smartctl -a /dev/ada0
> > smartctl 5.41 2011-06-09 r3365 [FreeBSD 9.0-RC1 amd64] (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/ada0: Unable to detect device type
> > Smartctl: please specify device type with the -d option.
> > 
> > Use smartctl -h to get a usage summary
> > 
> > #############################
> 
> Just to follow up on myself. :-( I have build smartmontools from ports and
> even though it is the same version, it works. So for me the package
> amd64/packages-9-current/All/smartmontools-5.41_3.tbz did not work, but the
> port does.

CAM ABI was changed right before RC1. The issue was mentioned in the Ken'
announcement. The packages were obviously built with the old headers.

Received on Tue Oct 18 2011 - 07:25:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC