From owner-freebsd-current@FreeBSD.ORG Tue Oct 18 09:25:08 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B619106566C for ; Tue, 18 Oct 2011 09:25:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id F30A08FC14 for ; Tue, 18 Oct 2011 09:25:07 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p9I9P3Wq057946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Oct 2011 12:25:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id p9I9P2S9058394; Tue, 18 Oct 2011 12:25:02 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id p9I9P20h058393; Tue, 18 Oct 2011 12:25:02 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 18 Oct 2011 12:25:02 +0300 From: Kostik Belousov To: John Hay Message-ID: <20111018092502.GH50300@deviant.kiev.zoral.com.ua> References: <20111018073924.GA3644@zibbi.meraka.csir.co.za> <20111018090242.GA8339@zibbi.meraka.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7J16OGEJ/mt06A90" Content-Disposition: inline In-Reply-To: <20111018090242.GA8339@zibbi.meraka.csir.co.za> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org Subject: Re: freebsd-9.0 smartmontools and ada devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2011 09:25:08 -0000 --7J16OGEJ/mt06A90 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, > >=20 > > I have upgraded my desktop from 8.2-stable to 9.0-RC1 (from source), us= ing > > 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 any= more. > > Previously (8.2) I had a GENERIC kernel, with ahci loaded in loader.con= f. > > There an older smartmontools (5.40) worked without a problem on the ada > > devices. > >=20 > > The output of smartctl looks like this: > >=20 > > ############################# > > 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 > >=20 > > 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. > >=20 > > Use smartctl -h to get a usage summary > >=20 > > ############################# >=20 > 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 t= he > 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. --7J16OGEJ/mt06A90 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk6dRe4ACgkQC3+MBN1Mb4gUNQCguHipUrJs5sEimOypD7v9KJqH xRwAoPBlohJaA12NdcYvRoPAIfl+xJQn =fv68 -----END PGP SIGNATURE----- --7J16OGEJ/mt06A90--