From owner-freebsd-current Wed Mar 22 0:25:40 2000 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 52CAB37C0CE for ; Wed, 22 Mar 2000 00:25:37 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id JAA57801; Wed, 22 Mar 2000 09:25:07 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200003220825.JAA57801@freebsd.dk> Subject: Re: Reading from bad disk ? In-Reply-To: <200003220735.AAA29564@harmony.village.org> from Warner Losh at "Mar 22, 2000 00:35:19 am" To: imp@village.org (Warner Losh) Date: Wed, 22 Mar 2000 09:25:07 +0100 (CET) Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), luigi@info.iet.unipi.it (Luigi Rizzo), current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Warner Losh wrote: > In message <200003220726.IAA44014@freebsd.dk> Soren Schmidt writes: > : > TEMPC=`camcontrol cmd -v -n da -u 0 -c "4D 0 76 0 0 0 0 0 20 0" -i 32 "s9 i1"` > .... > : Hmm, wonder if one can get that info from their ATA disks as well... > > Don't know. You'd have to ask IBM. All the above camcontrol is doing > is reading a special mode page (I'm sure ken will correct me if I'm > wrong)... Do ata drives have this concept? Yup, they have "SMART" for this, just brovsed my docs and found that the newer DPTA series has temperature as one of the things in there, it doesn't seem that the older ones has it though... Guess I have to finish that SMART handeling code I have lying here, now that I got some motivation for it :) -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message