[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] sensor output issue
From: |
Albert Chu |
Subject: |
Re: [Freeipmi-devel] sensor output issue |
Date: |
Thu, 25 Mar 2004 11:11:14 -0800 |
> I guess I'm confused. B/c "HSC Drv X Pres" has an event/type code
> of 08h.
Ahhh, nevermind. HSC Drv X Pres has a slave address of 60h. So we
should ignore it.
Al
--
Albert Chu
address@hidden
Lawrence Livermore National Laboratory
----- Original Message -----
From: Albert Chu <address@hidden>
Date: Wednesday, March 24, 2004 4:55 pm
Subject: Re: [Freeipmi-devel] sensor output issue
> > | > Table 36.1, Event/Reading Type Code Ranges classifies "0x6F" as
> > | > "Sensor-specific discrete" type. Such types *should only* refer
> > | > "Table 36-3, Sensor Type Codes".
> > |
> > | So are you saying "HSC Drv X Pres (Drive Slot)" should still
> not be
> > | displayed??
> > `----
> > Yes. "HSC Drv X Pres (Drive Slot)" should also be ignored.
>
> I guess I'm confused. B/c "HSC Drv X Pres" has an event/type code
> of 08h.
>
> Record ID: 112
> Sensor type: HSC Drv 2 Pres (Drive Slot)
> Sensor number: #10
> Event/Reading type code: 08h
> Hysteresis +ve: 0
> Hysteresis -ve: 0
> Sensor status: [OK]
>
> Am I simply not getting something??
>
> Al
>
> --
> Albert Chu
> address@hidden
> Lawrence Livermore National Laboratory
>
> ----- Original Message -----
> From: Anand Babu <address@hidden>
> Date: Wednesday, March 24, 2004 4:46 pm
> Subject: Re: [Freeipmi-devel] sensor output issue
>
> > ,----
> > | > | Do you agree on this??
> > | > `----
> > | > Table 36.1, Event/Reading Type Code Ranges classifies "0x6F" as
> > | > "Sensor-specific discrete" type. Such types *should only* refer
> > | > "Table 36-3, Sensor Type Codes".
> > |
> > | So are you saying "HSC Drv X Pres (Drive Slot)" should still
> not be
> > | displayed??
> > `----
> > Yes. "HSC Drv X Pres (Drive Slot)" should also be ignored.
> >
> > -ab
> >
> > ----- Original Message -----
> > From: Anand Babu <address@hidden>
> > Date: Wednesday, March 24, 2004 3:53 pm
> > Subject: Re: [Freeipmi-devel] sensor output issue
> >
> > > ,----[ Albert Chu <address@hidden> ]
> > > | Hey AB,
> > > |
> > > | The following sensors are not output unless the -vv option is
> > > passed to
> > > | sensors.
> > > |
> > > | HSC Drv X Status (Drive Slot)
> > > | HSC Drv X Pres (Drive Slot)
> > > |
> > > | HSC Drv X Status has an event/read type code of 0x6F. Table
> 36-
> > 3
> > > of the
> > > | IPMI Spec doesn't list any info about Drive Slots. So I believe
> > > | that one can be ignored.
> > > `----
> > > Yes you are correct.
> > >
> > > ,----
> > > | But, HSC Drv X Pres has an event code of 0x08. So this
> sensor
> > > should| be output with either "Device Present" or "Device
> Absent"
> > > (Table| 36-2).
> > > |
> > > | I think the bug lies in the function
> > > ipmi_is_sensor_reading_available().| Currently, the function
> > only
> > > checks if the sensor type is
> > > | IPMI_SENSOR_TYPE_DRIVE_SLOT. Instead, the function should
> > check
> > > if the
> > > | sensor type is IPMI_SENSOR_TYPE_DRIVE_SLOT and that the
> > > event/read type
> > > | is == 0x6Fh.
> > > |
> > > | Do you agree on this??
> > > `----
> > > Table 36.1, Event/Reading Type Code Ranges classifies "0x6F" as
> > > "Sensor-specific discrete" type. Such types *should only* refer
> > > "Table 36-3, Sensor Type Codes".
> > >
> > > Happy Hacking,
> > > --
> > > _.|_
> > > (_||_)
> > > Free as in Freedom <www.gnu.org>
> > >
> >
> >
> >
> > --
> > _.|_
> > (_||_)
> > Free as in Freedom <www.gnu.org>
> >
>
>
>
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/freeipmi-devel
>