← Back to team overview

kernel-packages team mailing list archive

[Bug 1182247] Re: check_ide_smart fails with i/o error

 

Looks good.

===
$ uname -r
3.8.0-30-generic

$ apt-cache policy linux-image
linux-image:
  Installed: 3.8.0.30.48
  Candidate: 3.8.0.30.48
  Version table:
 *** 3.8.0.30.48 0
        500 http://archive.ubuntu.com/ubuntu/ raring-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     3.8.0.29.47 0
        500 http://archive.ubuntu.com/ubuntu/ raring-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ raring-security/main amd64 Packages
     3.8.0.19.35 0
        500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages

$ sudo /usr/lib/nagios/plugins/check_ide_smart -n -d /dev/sda
[sudo] password for ubuntu: 
OK - Operational (7/7 tests passed)
===

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1182247

Title:
  check_ide_smart fails with i/o error

Status in “linux” package in Ubuntu:
  Fix Released

Bug description:
  SRU Justification:

  Impact: Smart monitoring tools such as smartd and nagios's
  check_ide_smart fail with i/o error.

  Fix: Fix comes from upstream b7b2ee88b4c8d3326d144a051252d78bded93557.
  I have built and tested this fix and verified that it resolves the
  issue.

  Testcase:
  In the broken case)
  $ sudo /usr/lib/nagios/plugins/check_ide_smart -d /dev/sda -i -n
  CRITICAL - SMART_ENABLE: Input/output error
  CRITICAL - SMART_CMD_ENABLE

  After patch)
  /usr/lib/nagios/plugins/check_ide_smart -n -d /dev/sda
  OK - Operational (15/15 tests passed)

  It would seem that check_ide_smart is defunct on my server, giving the
  following results when run manually:

  sune@jadis:~$ sudo /usr/lib/nagios/plugins/check_ide_smart -d /dev/sda -i -n
  CRITICAL - SMART_ENABLE: Input/output error
  CRITICAL - SMART_CMD_ENABLE

  Normal SMART commands via smartctl show no problems.

  As for the list:

  1) sune@jadis:~$ lsb_release -rd
  Description:	Ubuntu 13.04
  Release:	13.04

  2) sune@jadis:~$ apt-cache policy nagios-plugins
  nagios-plugins:
    Installed: 1.4.16-1ubuntu3
    Candidate: 1.4.16-1ubuntu3
    Version table:
   *** 1.4.16-1ubuntu3 0
          500 http://dk.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
          100 /var/lib/dpkg/status

  3) Correct SMART status output

  4) What I started by writing.

  I shall be happy to answer any and all questions and to try out any
  and all patches.

  Best regards,

  Sune Mølgaard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1182247/+subscriptions