Subject: Re: SMART and disk temperature
To: None <current-users@NetBSD.org>
From: Love <lha@stacken.kth.se>
List: current-users
Date: 10/10/2003 01:47:53
--=-=-=
Content-Transfer-Encoding: quoted-printable


Eric Haszlakiewicz <erh@nimenees.com> writes:

> On Thu, Oct 09, 2003 at 02:55:13PM -0400, Nathan J. Williams wrote:
>> Martti Kuparinen <martti.kuparinen@iki.fi> writes:
>> > How should I read these values, i.e. what is the current temperature
>> > (preferably in Celcius)?
>>=20
>> There's no standard mapping. The range is 0-255 and higher values are
>
> 	so how does windows know what the actual temperature is then?
> A table with drives and mappings?  If so, that table should be added to
> atactl so it can spit out more meaningful values.

Windows probably read the vendor specific parts of the smart data and uses
that.

A older patch that tries to do this is avaible here:

http://people.su.se/~lha/patches/netbsd/smart-idectl-patch

With this, my "wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23EA-60B>" prin=
ts

194  80    0     no  online  positive    Temperature                    50 =
Lifetime min/max 66/13

Love


--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iQEVAwUAP4XzrHW+NPVfDpmCAQJyjAf+MCIhkD7IG9HU+0Bs8jKg3VqdOd7iShUI
PjVYf2fmqUpWaxfAHJwLRVsTWO0GuZklgT6su/7cehz/EoESdUI6/ouFHmXhOjU0
iENTVH982p9NE9xc6KCyG5HflM4KME/+TFKKpT2f5FUDtp8OTV5+tDlMnNm9XT+L
0MiNYqR3A3ORSie2lPtJXNHrfwfNzwgbCr9zdZU1m59lHvngL/K6lDzsYsOTvXoH
gFvqtVwjn+GdlgGNb6bD8eUIqv5HJbEPJiA8tb+QFrFg9ZBX1wXQK2CT1l6nqmIq
tCgpPC+h3qw/aQ6RIjaOtGw8Pd9zJ7mMmCGfM816rNXW40/wuZC4rQ==
=Ny/w
-----END PGP SIGNATURE-----
--=-=-=--