Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2011 12:25:02 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        John Hay <jhay@meraka.org.za>
Cc:        freebsd-current@freebsd.org
Subject:   Re: freebsd-9.0 smartmontools and ada devices
Message-ID:  <20111018092502.GH50300@deviant.kiev.zoral.com.ua>
In-Reply-To: <20111018090242.GA8339@zibbi.meraka.csir.co.za>
References:  <20111018073924.GA3644@zibbi.meraka.csir.co.za> <20111018090242.GA8339@zibbi.meraka.csir.co.za>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk6dRe4ACgkQC3+MBN1Mb4gUNQCguHipUrJs5sEimOypD7v9KJqH
xRwAoPBlohJaA12NdcYvRoPAIfl+xJQn
=fv68
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111018092502.GH50300>