Subject: Re: FYI: ENVSYS 2 ready
To: None <juan@xtrarom.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/28/2007 11:12:35
--NextPart-20070628105233-1731201
Content-Type: Text/Plain; charset=us-ascii
> On Wed, 27 Jun 2007 21:01:59 +0900 (JST)
> yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
>
> > > http://www.netbsd.org/~xtraeme/envsys2_api5.diff
> > > http://www.netbsd.org/~xtraeme/envsys2_drivers2.diff
> >
> > - on my machine, without your patch, it takes a while after a system boot
> > for sensors to appear in "envstat -r". (i don't know why.)
>
> Which patch are you talking about?
the above two patches. (api5 and drivers2)
> > with your patch, envstat (the same old binary) shows these sensors with
> > weird values.
> > (eg. " Planar Temp: -273.150 degC", " FAN 1 RPM: 0 RPM")
> > and it takes a while for them to show sane values.
> >
> > is it an intended change?
>
> Can you try enabling debug? (with ENVSYS_DEBUG). I would like to know
> why the events were not registered with sme_event_drvadd().
i will.
> Can you show full 'envstat -r' output?
attached.
> > - the following is a diff of dmesgs, with and without your patches.
> > is it expected?
>
> The messages "Callback scheduled before sysmon task queue thread present"
> comes from sysmon_taskq.c and it's very annoying... perhaps we can
> remove it.
did you intentionally schedule them earlier?
> The other messages are expected, if a sensor changes its state (for
> example from ENVSYS_SVALID to ENVSYS_SCRITOVER) you'll see those
> messages.
if it's due to the behaviour of ipmi driver which bouyer explained
(i guess so), they are very confusing.
YAMAMOTO Takashi
--NextPart-20070628105233-1731201
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="x1.txt"
Temp: -273.150 degC
Temp: -273.150 degC
Riser Temp: -273.150 degC
Planar Temp: -273.150 degC
Ambient Temp: -273.150 degC
Temp: -273.150 degC
Temp: -273.150 degC
Temp: -273.150 degC
Temp: -273.150 degC
Riser Temp: -273.150 degC
Planar Temp: -273.150 degC
Ambient Temp: -273.150 degC
Temp: -273.150 degC
Temp: -273.150 degC
FAN 8 RPM: 1800 RPM
FAN 7 RPM: 1800 RPM
FAN 6 RPM: 1800 RPM
FAN 5 RPM: 1800 RPM
FAN 4 RPM: 1800 RPM
FAN 3 RPM: 1800 RPM
FAN 2 RPM: 1800 RPM
FAN 1 RPM: 1800 RPM
FAN 6 RPM: 4875 RPM
FAN 5 RPM: 4875 RPM
FAN 4 RPM: 0 RPM
FAN 3 RPM: 0 RPM
FAN 2 RPM: 0 RPM
FAN 1 RPM: 0 RPM
CMOS Battery: 0.000 V
CMOS Battery: 0.000 V
--NextPart-20070628105233-1731201--