Skip to contentSkip to conversation

Another stupid logging question...

Linux-ia64 Peter Chubb 2 participants 3 messages Apr 1, 2003

lore
Share & tools
lore
#0 lore raw

Every time I boot my ZX2000, (which as it's a kernel development system is often) I get a little message that says the BMC event log is full. I can read the log --- it's not very interesting --- but how do I clear it (and the forward progress log, too)?

--
Dr Peter Chubb [email protected]
You are lost in a maze of BitKeeper repositories, all almost the same.

#1 lore raw
Quoted 5 lines · Peter Chubb

Every time I boot my ZX2000, (which as it's a kernel development system is often) I get a little message that says the BMC event log is full. I can read the log --- it's not very interesting --- but how do I clear it (and the forward progress log, too)?

You need to use IPMI to do it. I forget which commands do that..

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#2 lore raw
In reply to Peter Chubb
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Matthew" = Matthew Wilcox <[email protected]> writes:

Quoted 4 lines · Peter Chubb
Quoted 4 lines

Every time I boot my ZX2000, (which as it's a kernel development system is often) I get a little message that says the BMC event log is full. I can read the log --- it's not very interesting --- but how do I clear it (and the forward progress log, too)?

Matthew> You need to use IPMI to do it. I forget which commands do Matthew> that..

That's what I was afraid of... The CLI interface to IPMI is not exactly user-friendly. And because it's not easy to see what one is doing (magic numebrs everywhere!), it's possible to screw up badly.

I think that this means I do
cli> ipmi 0A 47 0 0 43 4C 52 AA

is that right ? I *think* this is the code to clear the system event log; whether that also clears the BMC event log and the forward
progress log I don't know. The latter two logs are not mentioned in
the IPMI 1.5 spec.

The syntax is:
ipmi netfnlun cmd data

(BMC cli help)

In this case, the netfn is storage' (appendix G) which translates to 0x0A (table 5.1 of the IPMI 1.5 spec), and the LUN is zero (low two bits of netfnlun). The CMD is CLR SEL' (0x47 appendix G of IPMI spec) and the data is 0 0 43 4C 52 AA (section 25.9)

Peter C