Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Noisy ipmi0 after bootup? (really other kernel noise)



> Yes, I have found the problem here.  The "last reported state" value is 
> not being initialized (well, it is, but not to a reasonable value), so
> every sensor registration ends up triggering a "Changed from <no-such- 
> state> to Normal" event.  Since these happen before powerd has been 
> started, they get reported on the console via printf().
>
> I'm in the process of fixing now, by properly initializing things:
>
>    PENVSYS_TYPE_BATTERY is initialized to ENVSYS_BATTERY_CAPACITY_NORMAL
>    PENVSYS_TYPE_DRIVE                     ENVSYS_DRIVE_EMPTY
>    PENVSYS_TYPE_<other>                   ENVSYS_SVALID
>
> Changes are being compiled and tested now.  Assuming there's no problem 
> I will commit later this evening.

Excellent!

- Håvard


Home | Main Index | Thread Index | Old Index