S.M.A.R.T. not avaiable for SATA drives

Bug #88045 reported by hexion
16
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: hddtemp

$ sudo /usr/sbin/hddtemp /dev/hda
/dev/hda: ST3250823A: 41°C

$ sudo /usr/sbin/hddtemp /dev/sda
/dev/sda: ATA Maxtor 6L250S0: S.M.A.R.T. not available

System upgraded from Edgy to Feisty (dist-upgrade method). In Edgy, it worked well.

ProblemType: Bug
Date: Mon Feb 26 16:13:28 2007
DistroRelease: Ubuntu 7.04
Uname: Linux patatilla 2.6.20-8-lowlatency #2 SMP PREEMPT Tue Feb 13 05:21:37 UTC 2007 i686 GNU/Linux

Revision history for this message
hexion (hexium) wrote :

Same problem with 2.6.20-9-lowlatency and 2.6.20-9-generic kernels

Revision history for this message
Gabriel Ambuehl (gabriel-ambuehl) wrote :

This is clearly a regression from Edgy.

Also happens for smartmontools:

sudo smartctl -a /dev/sda
Password:
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: ATA SAMSUNG HD300LJ Version: ZT10
Serial number: S0D7J1KLA03948
Device type: disk
Local Time is: Sat Mar 3 12:07:13 2007 CET
Device does not support SMART

Error Counter logging not supported

[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
Device does not support Self Test logging

Revision history for this message
hexion (hexium) wrote :

The bug is still there with 2.6.20-10 kernel image

Revision history for this message
Gabriel Ambuehl (gabriel-ambuehl) wrote :

Bug still happens with 2.6.20-11 kernel

Revision history for this message
mic.1.2.3 (launchpad-0123) wrote :

hddtemp doesn't work here ("S.M.A.R.T. not available") with my sata-disk, too.

# hddtemp /dev/hda /dev/sda
/dev/hda: ST380011A: 29°C
/dev/sda: ATA ST3250820AS: S.M.A.R.T. not available

But S.M.A.R.T actually is available, "sudo smartctl -a -d ata /dev/sda" gives me the full output including temperature.

2.6.20-11-generic #2 SMP Thu Mar 15 03:43:56 UTC 2007 x86_64 GNU/Linux

Revision history for this message
Gabriel Ambuehl (gabriel-ambuehl) wrote :

Fixed in 2.6.20-12

Changed in linux-source-2.6.20:
status: Unconfirmed → Fix Released
Revision history for this message
hexion (hexium) wrote :

Almost totally fixed... there's a little layout problem:

$ sudo /usr/sbin/hddtemp /dev/hda
/dev/hda: SAMSUNG HD400LD: 41°C

 sudo /usr/sbin/hddtemp /dev/sda
/dev/sda: Maxtor 6L250S0 �: 36°C

But it's just a minor issue :)

Revision history for this message
mic.1.2.3 (launchpad-0123) wrote :

I got a similar "problem": thirty space characters between the sata-disk's name and the colon before the temperature:

$ hddtemp /dev/hda /dev/sda
/dev/hda: ST380011A: 27°C
/dev/sda: ST3250820AS : 27°C

I supposed a faulty entry in my /etc/hddtemp.db, but everything is fine there...

Revision history for this message
mic.1.2.3 (launchpad-0123) wrote :

upps, the 30 space characters have been discarded

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.