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)



On Thu, 4 Sep 2008, Paul Goyette wrote:

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.

Changes have been tested and committed. You need rev 1.57 of src/sys/dev/sysmon/sysmon_envsys_events.c

Please advise if there's any further problems in this area.

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index