public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
@ 2005-12-24 23:32 Justin Piszcz
  2005-12-24 23:43 ` Mark Lord
  0 siblings, 1 reply; 9+ messages in thread
From: Justin Piszcz @ 2005-12-24 23:32 UTC (permalink / raw)
  To: linux-kernel

A very nice addition / release to the kernel, S.M.A.R.T. working through 
the ATA passthru.

smartmontools is going to have to be updated, but I can finally see the 
temperature of my SATA drives!!  Nice work Jeff!

Dec 24 18:29:20 p34 smartd[2707]: Opened configuration file 
/etc/smartd.conf
Dec 24 18:29:20 p34 smartd[2707]: Configuration file /etc/smartd.conf 
parsed.
Dec 24 18:29:20 p34 smartd[2707]: Device: /dev/sda, opened
Dec 24 18:29:20 p34 smartd[2707]: Device /dev/sda: SATA disks accessed via 
libata are not currently supported by smartmontools. By the time you read 
this, support may have been added in recent kernels. Try a '-d ata' device 
typeargument.
Dec 24 18:29:20 p34 smartd[2707]: Unable to register SCSI device /dev/sda 
at line 101 of file /etc/smartd.conf
Dec 24 18:29:20 p34 smartd[2707]: Unable to register device /dev/sda (no 
Directive -d removable). Exiting.

p34:/var/log# hddtemp /dev/sda 
/dev/sda: WDC WD740GD-00FLC0: 38C

p34:/var/log# hddtemp /dev/sdb
/dev/sdb: Maxtor 6B250S0: 40C

Justin.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-24 23:32 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T Justin Piszcz
@ 2005-12-24 23:43 ` Mark Lord
  2005-12-25  0:18   ` Justin Piszcz
  2005-12-25 14:37   ` Ed Tomlinson
  0 siblings, 2 replies; 9+ messages in thread
From: Mark Lord @ 2005-12-24 23:43 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: linux-kernel

 >smartmontools is going to have to be updated

What for?

Use "smartctl -d ata /dev/sda"

-ml

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-24 23:43 ` Mark Lord
@ 2005-12-25  0:18   ` Justin Piszcz
  2005-12-25 14:37   ` Ed Tomlinson
  1 sibling, 0 replies; 9+ messages in thread
From: Justin Piszcz @ 2005-12-25  0:18 UTC (permalink / raw)
  To: Mark Lord; +Cc: linux-kernel

My mistake,

Was adding the option in the wrong place.

In the smartd.conf file, add the -d ata option here:

/dev/sda -d ata -H -l error -l selftest -t -I 194 -s (S/../.././02)
/dev/sdb -d ata -H -l error -l selftest -t -I 194 -s (S/../.././02)
/dev/hde -H -l error -l selftest -t -I 194 -s (S/../.././02)

Works now.

Thanks,

Justin.

On Sat, 24 Dec 2005, Mark Lord wrote:

>> smartmontools is going to have to be updated
>
> What for?
>
> Use "smartctl -d ata /dev/sda"
>
> -ml
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-24 23:43 ` Mark Lord
  2005-12-25  0:18   ` Justin Piszcz
@ 2005-12-25 14:37   ` Ed Tomlinson
  2005-12-25 14:46     ` Jeff Garzik
  1 sibling, 1 reply; 9+ messages in thread
From: Ed Tomlinson @ 2005-12-25 14:37 UTC (permalink / raw)
  To: Mark Lord; +Cc: Justin Piszcz, linux-kernel

On Saturday 24 December 2005 18:43, Mark Lord wrote:
>  >smartmontools is going to have to be updated
> 
> What for?
> 
> Use "smartctl -d ata /dev/sda"

Its not perfect:

grover:/poola/home/ed# smartctl -d ata /dev/sda
smartctl version 5.34 [x86_64-unknown-linux-gnu] Copyright (C) 2002-5 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

smartctl has problems but hddtemp works

grover:/poola/home/ed# hddtemp /dev/hda
/dev/hda: Maxtor 6Y160P0: 25°C
grover:/poola/home/ed# hddtemp /dev/sda
/dev/sda: Maxtor 6L250S0: 29°C

Ed Tomlinson



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-25 14:37   ` Ed Tomlinson
@ 2005-12-25 14:46     ` Jeff Garzik
  2005-12-25 15:44       ` Grant Coady
  0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2005-12-25 14:46 UTC (permalink / raw)
  To: Ed Tomlinson; +Cc: Mark Lord, Justin Piszcz, linux-kernel

Ed Tomlinson wrote:
> On Saturday 24 December 2005 18:43, Mark Lord wrote:
> 
>> >smartmontools is going to have to be updated
>>
>>What for?
>>
>>Use "smartctl -d ata /dev/sda"
> 
> 
> Its not perfect:
> 
> grover:/poola/home/ed# smartctl -d ata /dev/sda
> smartctl version 5.34 [x86_64-unknown-linux-gnu] Copyright (C) 2002-5 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
> 
> smartctl has problems but hddtemp works

What are the problems?  Your output gives us no clue...

	Jeff




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-25 14:46     ` Jeff Garzik
@ 2005-12-25 15:44       ` Grant Coady
  2005-12-25 15:56         ` Jeff Garzik
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Coady @ 2005-12-25 15:44 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Ed Tomlinson, Mark Lord, Justin Piszcz, linux-kernel

On Sun, 25 Dec 2005 09:46:35 -0500, Jeff Garzik <jgarzik@pobox.com> wrote:

>Ed Tomlinson wrote:
>> On Saturday 24 December 2005 18:43, Mark Lord wrote:
>> 
>>> >smartmontools is going to have to be updated
>>>
>>>What for?
>>>
>>>Use "smartctl -d ata /dev/sda"
>> 
>> 
>> Its not perfect:
>> 
>> grover:/poola/home/ed# smartctl -d ata /dev/sda
>> smartctl version 5.34 [x86_64-unknown-linux-gnu] Copyright (C) 2002-5 Bruce Allen
>> Home page is http://smartmontools.sourceforge.net/
>> 
>> smartctl has problems but hddtemp works
>
>What are the problems?  Your output gives us no clue...

That _is_ the clue, no output ;)  

Grant.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-25 15:44       ` Grant Coady
@ 2005-12-25 15:56         ` Jeff Garzik
  2005-12-25 15:58           ` Justin Piszcz
  2005-12-26 12:43           ` Ed Tomlinson
  0 siblings, 2 replies; 9+ messages in thread
From: Jeff Garzik @ 2005-12-25 15:56 UTC (permalink / raw)
  To: gcoady; +Cc: Ed Tomlinson, Mark Lord, Justin Piszcz, linux-kernel

Grant Coady wrote:
> On Sun, 25 Dec 2005 09:46:35 -0500, Jeff Garzik <jgarzik@pobox.com> wrote:
> 
> 
>>Ed Tomlinson wrote:
>>
>>>On Saturday 24 December 2005 18:43, Mark Lord wrote:
>>>
>>>
>>>>>smartmontools is going to have to be updated
>>>>
>>>>What for?
>>>>
>>>>Use "smartctl -d ata /dev/sda"
>>>
>>>
>>>Its not perfect:
>>>
>>>grover:/poola/home/ed# smartctl -d ata /dev/sda
>>>smartctl version 5.34 [x86_64-unknown-linux-gnu] Copyright (C) 2002-5 Bruce Allen
>>>Home page is http://smartmontools.sourceforge.net/
>>>
>>>smartctl has problems but hddtemp works
>>
>>What are the problems?  Your output gives us no clue...
> 
> 
> That _is_ the clue, no output ;)  

Perhaps if the poster provided a useful command line to smartctl, it 
would do useful work.

If you don't provide a command to smartctl, it won't do much of anything:

> [jgarzik@sata ~]$ sudo smartctl  /dev/hda1
> smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/

> [jgarzik@sata ~]$ sudo smartctl -d ata /dev/sda1
> smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/

Regards,

	Jeff



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-25 15:56         ` Jeff Garzik
@ 2005-12-25 15:58           ` Justin Piszcz
  2005-12-26 12:43           ` Ed Tomlinson
  1 sibling, 0 replies; 9+ messages in thread
From: Justin Piszcz @ 2005-12-25 15:58 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: gcoady, Ed Tomlinson, Mark Lord, linux-kernel

Yes, it was my error..


On Sun, 25 Dec 2005, Jeff Garzik wrote:

> Grant Coady wrote:
>> On Sun, 25 Dec 2005 09:46:35 -0500, Jeff Garzik <jgarzik@pobox.com> wrote:
>> 
>> 
>>> Ed Tomlinson wrote:
>>> 
>>>> On Saturday 24 December 2005 18:43, Mark Lord wrote:
>>>> 
>>>> 
>>>>>> smartmontools is going to have to be updated
>>>>> 
>>>>> What for?
>>>>> 
>>>>> Use "smartctl -d ata /dev/sda"
>>>> 
>>>> 
>>>> Its not perfect:
>>>> 
>>>> grover:/poola/home/ed# smartctl -d ata /dev/sda
>>>> smartctl version 5.34 [x86_64-unknown-linux-gnu] Copyright (C) 2002-5 
>>>> Bruce Allen
>>>> Home page is http://smartmontools.sourceforge.net/
>>>> 
>>>> smartctl has problems but hddtemp works
>>> 
>>> What are the problems?  Your output gives us no clue...
>> 
>> 
>> That _is_ the clue, no output ;) 
>
> Perhaps if the poster provided a useful command line to smartctl, it would do 
> useful work.
>
> If you don't provide a command to smartctl, it won't do much of anything:
>
>> [jgarzik@sata ~]$ sudo smartctl  /dev/hda1
>> smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce 
>> Allen
>> Home page is http://smartmontools.sourceforge.net/
>
>> [jgarzik@sata ~]$ sudo smartctl -d ata /dev/sda1
>> smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce 
>> Allen
>> Home page is http://smartmontools.sourceforge.net/
>
> Regards,
>
> 	Jeff
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T.
  2005-12-25 15:56         ` Jeff Garzik
  2005-12-25 15:58           ` Justin Piszcz
@ 2005-12-26 12:43           ` Ed Tomlinson
  1 sibling, 0 replies; 9+ messages in thread
From: Ed Tomlinson @ 2005-12-26 12:43 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: gcoady, Mark Lord, Justin Piszcz, linux-kernel

On Sunday 25 December 2005 10:56, Jeff Garzik wrote:
> Grant Coady wrote:
> > On Sun, 25 Dec 2005 09:46:35 -0500, Jeff Garzik <jgarzik@pobox.com> wrote:
> > 
> > 
> >>Ed Tomlinson wrote:
> >>
> >>>On Saturday 24 December 2005 18:43, Mark Lord wrote:
> >>>
> >>>
> >>>>>smartmontools is going to have to be updated
> >>>>
> >>>>What for?
> >>>>
> >>>>Use "smartctl -d ata /dev/sda"
> >>>
> >>>
> >>>Its not perfect:
> >>>
> >>>grover:/poola/home/ed# smartctl -d ata /dev/sda
> >>>smartctl version 5.34 [x86_64-unknown-linux-gnu] Copyright (C) 2002-5 Bruce Allen
> >>>Home page is http://smartmontools.sourceforge.net/
> >>>
> >>>smartctl has problems but hddtemp works
> >>
> >>What are the problems?  Your output gives us no clue...
> > 
> > 
> > That _is_ the clue, no output ;)  
> 
> Perhaps if the poster provided a useful command line to smartctl, it 
> would do useful work.
> 
> If you don't provide a command to smartctl, it won't do much of anything:
> 
> > [jgarzik@sata ~]$ sudo smartctl  /dev/hda1
> > smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
> > Home page is http://smartmontools.sourceforge.net/
> 
> > [jgarzik@sata ~]$ sudo smartctl -d ata /dev/sda1
> > smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
> > Home page is http://smartmontools.sourceforge.net/

Jeff,

You are quite right.  I rather blindly followed the example from Grant which just specified
the device type.  Adding a -a gets lots of info.

Thanks,
Ed Tomlinson



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-12-26 12:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-24 23:32 2.6.15-rc6 - Success with ICH5/SATA + S.M.A.R.T Justin Piszcz
2005-12-24 23:43 ` Mark Lord
2005-12-25  0:18   ` Justin Piszcz
2005-12-25 14:37   ` Ed Tomlinson
2005-12-25 14:46     ` Jeff Garzik
2005-12-25 15:44       ` Grant Coady
2005-12-25 15:56         ` Jeff Garzik
2005-12-25 15:58           ` Justin Piszcz
2005-12-26 12:43           ` Ed Tomlinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox