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: joh...@interpro.com.hk ------------------------------------------------------------------------ *From:* Doug Barton <do...@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 > _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"