Date: Thu, 16 Feb 2012 10:05:06 +0800 From: Johnny Sun <johnny@interpro.com.hk> To: Doug Barton <dougb@FreeBSD.org> 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 Message-ID: <4F3C6452.6000007@interpro.com.hk> In-Reply-To: <4F3B81EE.8070500@FreeBSD.org> References: <201202150548.q1F5mx9U026468@freefall.freebsd.org> <4F3B7B6C.80701@interpro.com.hk> <4F3B81EE.8070500@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dougb@FreeBSD.org> *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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3C6452.6000007>