From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 16 02:05:09 2012 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CBAA1065670 for ; Thu, 16 Feb 2012 02:05:09 +0000 (UTC) (envelope-from johnny@interpro.com.hk) Received: from nt2000.interpro.com.hk (nt2000.interpro.com.hk [202.82.148.130]) by mx1.freebsd.org (Postfix) with ESMTP id 5A9AA8FC08 for ; Thu, 16 Feb 2012 02:05:08 +0000 (UTC) Received: from mail.interpro.com.hk (unknown [10.1.170.47]) by mercury.interpro.com.hk (Postfix) with ESMTP id F1E2F399F1 for ; Thu, 16 Feb 2012 10:05:06 +0800 (HKT) Received: (qmail 11290 invoked by uid 89); 16 Feb 2012 02:05:05 -0000 Received: from 10.1.170.148 by mail1 (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.96.4/12283. Clear:RC:1(10.1.170.148):. Processed in 0.083513 secs); 16 Feb 2012 02:05:05 -0000 Received: from unknown (HELO ?10.1.170.148?) (johnny@interpro.com.hk@10.1.170.148) by mail1 with ESMTPA; 16 Feb 2012 02:05:05 -0000 Message-ID: <4F3C6452.6000007@interpro.com.hk> Date: Thu, 16 Feb 2012 10:05:06 +0800 From: Johnny Sun User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Doug Barton References: <201202150548.q1F5mx9U026468@freefall.freebsd.org> <4F3B7B6C.80701@interpro.com.hk> <4F3B81EE.8070500@FreeBSD.org> In-Reply-To: <4F3B81EE.8070500@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/164838: Precompiled package sysutils/smartmontools 5.42_2 is not working properly in 9.0-RELEASE-i386 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2012 02:05:09 -0000 Hi, The version installed via (pkg_add -a smartmontoools) cannot detect harddisk and return the below error ========================================== server1# /usr/local/sbin/smartctl -a /dev/ada0 smartctl 5.42 2011-10-20 r3458 [FreeBSD 9.0-RELEASE i386] (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 ========================================= The same version (r3458 build) installed via ports-tree does not have such problem. ============================================ server1# /usr/local/sbin/smartctl -a /dev/ada0 smartctl 5.42 2011-10-20 r3458 [FreeBSD 9.0-RELEASE i386] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar 7K2000 Device Model: Hitachi HDS722020ALA330 .. . ============================================ Maybe I have same missing background knowledge. I assume *pkg_add -r* command will always get the latest version, not a snap shot version. If it is the case, I hope someone will update the working version to latest package database. If it is snap-shot based, any command that can get the latest binary version for a particular software? It happened to both fresh install or upgraded from 8.2->9.0 i386 version (on P3/P4 era CPUs), but not on AMD64 (Intel pentium dual CPU) Best Regards, Johnny Sun IT Officer Interpro Manufacturing Limited Tel. (852) 2363-1988 Fax. (852) 3547-6786 Email: johnny@interpro.com.hk ------------------------------------------------------------------------ *From:* Doug Barton *Date:* 2012-02-15 5:59 PM *Subject:* Re: misc/164838: Precompiled package sysutils/smartmontools 5.42_2 is not working properly in 9.0-RELEASE-i386 > It's not clear to me what problem you're reporting. Can you please try > reinstalling the latest package and then list what error messages you're > getting when you try to run it? > > > Thanks, > > Doug >