error with gsmartcontrol

Hi

I have installed gsmartcontrol to do the quicktest on 15 sata drives I stored away over the years. The ones that “pass” I’ll give away. It’s from a private repo Tom Enos:

http://download.opensuse.org/repositories/home:/tom_enos/openSUSE_Tumbleweed/

. Installed OK.

But I get this message:

<warn>  [hz] Warning: exit: Device open failed, or device did not return an IDENTIFY DEVICE structure.
<warn>  [app] execute_smartctl(): Error while executing smartctl binary.
<warn>  [app] StorageDevice::execute_device_smartctl(): Error while executing smartctl binary.
<warn>  [hz] Warning: exit: Command line did not parse.
<warn>  [app] execute_smartctl(): Error while executing smartctl binary.
<warn>  [app] StorageDevice::execute_device_smartctl(): Error while executing smartctl binary.
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Vendor"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Product"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Revision"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Logical block size"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Device type"
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
Aborted

Does anything obvious jump out there? Or maybe I should try another repo?

Thanks

On Sun 28 Sep 2014 01:06:01 AM CDT, swerdna wrote:

Hi

I have installed gsmartcontrol to do the quicktest on 15 sata drives I
stored away over the years. The ones that “pass” I’ll give away. It’s
from a private repo Tom Enos:
Code:

http://download.opensuse.org/repositories/home:/tom_enos/openSUSE_Tumbleweed/

… Installed OK.

But I get this message:

Code:

<warn> [hz] Warning: exit: Device open failed, or device did not
return an IDENTIFY DEVICE structure. <warn> [app] execute_smartctl():
Error while executing smartctl binary. <warn> [app]
StorageDevice::execute_device_smartctl(): Error while executing
smartctl binary. <warn> [hz] Warning: exit: Command line did not
parse. <warn> [app] execute_smartctl(): Error while executing smartctl
binary. <warn> [app] StorageDevice::execute_device_smartctl(): Error
while executing smartctl binary. <warn> [app]
SmartctlParser::parse_section_info_property(): Unknown property
“Vendor” <warn> [app] SmartctlParser::parse_section_info_property():
Unknown property “Product” <warn> [app]
SmartctlParser::parse_section_info_property(): Unknown property
“Revision” <warn> [app] SmartctlParser::parse_section_info_property():
Unknown property “Logical block size” <warn> [app]
SmartctlParser::parse_section_info_property(): Unknown property “Device
type” terminate called after throwing an instance of
‘std::out_of_range’ what(): basic_string::substr Aborted

Does anything obvious jump out there? Or maybe I should try another
repo?

Thanks

Hi
That looks familiar…as in the spec file :wink:

I have enabled the tumbleweed repo, I made some changes a few months
back…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thanks Malcolm. I finished the task of testing the old hdds with a live cd that had gsmamrt gui on it. But this weekend I’ll try your fix so I can have it in the T’weed installation. Cheers.

Same problem with your repo’s version of gsmartcontrol:

john@opensuse131:~> su -c gsmartcontrol
Password: 
<warn>  [hz] Warning: exit: Device open failed, or device did not return an IDENTIFY DEVICE structure.
<warn>  [app] execute_smartctl(): Error while executing smartctl binary.
<warn>  [app] StorageDevice::execute_device_smartctl(): Error while executing smartctl binary.
<warn>  [hz] Warning: exit: Command line did not parse.
<warn>  [app] execute_smartctl(): Error while executing smartctl binary.
<warn>  [app] StorageDevice::execute_device_smartctl(): Error while executing smartctl binary.
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Vendor"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Product"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Revision"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Logical block size"
<warn>  [app] SmartctlParser::parse_section_info_property(): Unknown property "Device type"
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
Aborted (core dumped)
john@opensuse131:~> 

It’s not a pressing problem because I checked the disks with a live CD

On Sat 04 Oct 2014 10:06:02 AM CDT, swerdna wrote:

Same problem with your repo’s version of gsmartcontrol:

Code:

john@opensuse131:~> su -c gsmartcontrol
Password:
<warn> [hz] Warning: exit: Device open failed, or device did not
return an IDENTIFY DEVICE structure. <warn> [app] execute_smartctl():
Error while executing smartctl binary. <warn> [app]
StorageDevice::execute_device_smartctl(): Error while executing
smartctl binary. <warn> [hz] Warning: exit: Command line did not
parse. <warn> [app] execute_smartctl(): Error while executing smartctl
binary. <warn> [app] StorageDevice::execute_device_smartctl(): Error
while executing smartctl binary. <warn> [app]
SmartctlParser::parse_section_info_property(): Unknown property
“Vendor” <warn> [app] SmartctlParser::parse_section_info_property():
Unknown property “Product” <warn> [app]
SmartctlParser::parse_section_info_property(): Unknown property
“Revision” <warn> [app] SmartctlParser::parse_section_info_property():
Unknown property “Logical block size” <warn> [app]
SmartctlParser::parse_section_info_property(): Unknown property “Device
type” terminate called after throwing an instance of
‘std::out_of_range’ what(): basic_string::substr Aborted (core dumped)
john@opensuse131:~> --------------------

Hi
What about running smartctl on your drives?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Drives have been given away after checking with live cd with gsmartcontrol on it