Date: Wed, 29 Mar 2006 14:36:27 -0700 From: "Kenneth D. Merry" <ken@freebsd.org> To: ticso@cicely.de Cc: freebsd-scsi@freebsd.org Subject: Re: Temperature sensor on SCSI disks (IBM / Hitachi) Message-ID: <20060329213627.GA97376@nargothrond.kdm.org> In-Reply-To: <20060329213015.GI86354@cicely12.cicely.de> References: <200603291349.k2TDnhZ0006001@lurza.secnetix.de> <20060329160129.GA95084@nargothrond.kdm.org> <20060329213015.GI86354@cicely12.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 29, 2006 at 23:30:16 +0200, Bernd Walter wrote: > On Wed, Mar 29, 2006 at 09:01:29AM -0700, Kenneth D. Merry wrote: > > On Wed, Mar 29, 2006 at 15:49:43 +0200, Oliver Fromme wrote: > > > Hi, > > > > > > I have the following SCSI disks in a server: > > > > > > <IBM DDYS-T18350M S96H> at scbus0 target 0 lun 0 (pass0,da0) > > > <IBM DDYS-T18350M S96H> at scbus0 target 1 lun 0 (pass1,da1) > > > > > > Searching the mailing lists revealed that IBM SCSI disks > > > (Hitachi nowadays) have a temperature sensor that can be > > > queried with a special (prioprietary) command like this: > > > > > > camcontrol cmd -n da -u 0 -c "4D 0 76 0 0 0 0 0 20 0" -i 32 "s9 i1" > > > > > > However, I get: "camcontrol: error sending command". > > > > > > Any advice? (I'm using 4-stable, BTW.) > > > > Use the -v flag for camcontrol to print sense information. That should > > tell you what the drive is complaining about. > > So far I'm only aware of DGHS drives to support reading temperatures. # camcontrol devlist <IBM DDYS-T18350N S93E> at scbus0 target 0 lun 0 (pass0,da0) <IBM DDYS-T18350N S93E> at scbus0 target 1 lun 0 (pass1,da1) <SEAGATE ST318406LW 0108> at scbus0 target 2 lun 0 (pass2,da2) <PLEXTOR CD-R PX-W1210S 1.01> at scbus1 target 4 lun 0 (pass3,cd0) <TOSHIBA DVD-ROM SD-M1401 1007> at scbus1 target 5 lun 0 (pass4,cd1) <SONY DVD RW DRU-500A 1.0c> at scbus2 target 0 lun 0 (pass5,cd2) # camcontrol cmd da0 -v -c "4D 0 6F 0 0 0 0 0 20 0" -i 32 "s10 i1" 30 # camcontrol cmd da1 -v -c "4D 0 6F 0 0 0 0 0 20 0" -i 32 "s10 i1" 31 Ken -- Kenneth Merry ken@FreeBSD.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060329213627.GA97376>
