Thomas Tornblom wrote:
> Jorgen Moquist <> writes:
>
>> Andrew Lutov wrote:
>>> Hello, Jorgen!
>>> JM> # /usr/platform/`uname -i`/sbin/prtdiag -v | grep -i crit
>>> JM> MB CRITICAL on red
>>> JM> I can switch it off from alom sc> setalarm critical off
>>> JM> If i reboot it led comes on again.
>>> JM> Found out that VTS has /opt/SUNWvts/bin/nalmtest -l
>>> JM> and if i execute it the led goes off.
>>> JM> # /usr/platform/`uname -i`/sbin/prtdiag -v | grep -i crit
>>> JM> MB CRITICAL off red
>>> JM> Wrote a rc3.d script for this, but is there better way ?
>>> Update OBP ?
>>> ---
>>>
>> Many thanks Andrew & Cydrome.
>> prtconf -V , OBP 4.22.33 2007/06/18 12:45
>> Solaris 10 does not lit critical, seems like 5.9 is the cause.
>> /Jorgen
>
> Isn't this handled by picld? Perhaps you had disabled it on 5.9?
Thanks, dont know how to disable it, installation is a preconfigured
jumpstart.
Found a utility from doc. 819-2749-10.pdf
"alarm.c" compiled it and im happy.
just changed a line #include "lom_io.h" to
#include "/usr/platform/sun4u/include/sys/lom_io.h"
and cc alarm.c
# ./alarm
usage: alarm [get|set] [crit|major|minor|user] [on|off]
ALARM.crit = on
ALARM.major = off
ALARM.minor = off
ALARM.user = off
# ./alarm set crit off
Setting ALARM.crit successfully set to off
/Jorgen
|