Bugzilla – Bug 647521
smartmontools: 'smartctl -V' output insufficient for gsmartcontrol
Last modified: 2011-02-07 07:11:32 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-3.4 Firefox/3.6.10 Output of 'smartctl -V' does not contain smartctl version. This causes gsmartcontrol to fail. smartmontools: 5.39.1_git201009281647-1.1 An own build of smartmontools-5.40 solved the problem for me. 'smartctl -V' output contains the version (again) in the first line: smartctl 5.40 2010-10-16 r3189 [x86_64-unknown-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net smartctl comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under the terms of the GNU General Public License Version 2. See http://www.gnu.org for further details. smartmontools release 5.40 dated 2010-10-16 at 16:34:38 UTC smartmontools SVN rev 3189 dated 2010-10-16 at 16:35:49 smartmontools build host: x86_64-unknown-linux-gnu smartmontools build configured: 2010-10-17 21:47:39 UTC smartctl compile dated Oct 17 2010 at 23:48:14 smartmontools configure arguments: [no arguments given] Reproducible: Always Steps to Reproduce: 1. Install gsmartcontrol. 2. Invoke gsmartcontrol from Konsole, and leave it immediately. 3. The error output is: <error> [app] bool SmartctlParser::parse_version(): No smartctl version information found in supplied string. Actual Results: gsmartcontrol can not detect drive(s). Expected Results: gsmartcontrol detects drive(s) and provides SMART information.
(In reply to comment #0) > An own build of smartmontools-5.40 solved the problem for me. 'smartctl -V' ^^^^^^^^^ This is because our version contains smartmontools-nobuild-date.patch. Reason for this patch: - Do not include build enviroment infon in the binaries including date and time of compilation, makes build-compare happier. I will try to fix that.
Could you please test smartmontools from Base:System?
Please tell me more detailed where to download the actualized smartmontools.
Found Base:System and the package now. Will test it this evening and give you feedback then.
gsmartcontrol can invoke smartctl correctly again. Version information appears in output of 'smartctl -V' again, Problem solved.
Submit request #60188. Closing as fixed. Thanks for reporting!