Andy Cress wrote:
>
> How they are stored is implementation-specific.  Generally, it is not 
> circular, but the records are a linked-list.
>
> They are stored in the firmware’s NVRAM, and are intended as a 
> persistent records for a history, if problems occur.
>
> Once the SEL fills up, no more records are stored there, until it is 
> cleared.  This is by design, so that a flurry of repeated errors do 
> not obscure the original cause. 
>
> The last thing you did was to issue a delete command so the results 
> you show are not surprising. 
>
>  
>
> Again, save off the SEL records by issuing ‘ipmitool sel >sel.log’ so 
> that they are saved somewhere, then clear the SEL.
>
Well, I should probably speak up here.  It is possible to lose events 
with this method if the event comes in between the time the SEL was read 
and it is cleared.  The probability is low, of course, but it is there.  
I'm not sure how important this is to you.

IPMI does have a mechanism to safely clear the SEL without losing 
events, but it requires a sort of interlock, and it doesn't appear that 
ipmitool has this.  It would be possible to implement with a "save and 
clear" operation, or by printing the sequence number as part of the list 
and then giving the sequence number as part of the clear (and the clear 
will fail if the sequence number has changed).

-corey

>  
>
> Andy
>
>  
>
> *From:* Gnanasekar Loganathan [mailto:l.gnanase...@gmail.com]
> *Sent:* Monday, March 01, 2010 11:49 PM
> *To:* Andy Cress
> *Cc:* Ipmitool-devel@lists.sourceforge.net
> *Subject:* Re: [Ipmitool-devel] "ipmitool sel delete 0x40" Unable to 
> delete entry64: Invalid command
>
>  
>
> Hi Andy,
>
> Thanks for you info..
> May i know how the the SEL records are recorded in the memory...
>
> Please look the below logs....
>
> *# ipmitool sel info*
> SEL Information
> Version          : 1.5 (v1.5, v2 compliant)
> Entries          : 3008
> Free Space       : 0 bytes
> Percent Used     : 100%
> *Last Add Time    : 05/15/2009 02:06:03
> Last Del Time    : 06/23/2009 03:34:08
> *Overflow         : true
> Supported Cmds   : 'Reserve'
>
> * # ipmitool sel list first 10*
>    1 | 06/23/2009 | 03:34:11 | Processor #0x69 | Limit Exceeded
>    2 | 06/23/2009 | 03:34:11 | Processor #0x69 | Limit Not Exceeded
>    3 | 06/23/2009 | 03:35:11 | Processor #0x69 | Limit Not Exceeded
>    4 | 06/23/2009 | 03:35:11 | Processor #0x69 | Limit Exceeded
>    5 | 06/23/2009 | 03:35:27 | Processor #0x69 | Limit Exceeded
>    6 | 06/23/2009 | 03:35:27 | Processor #0x69 | Limit Not Exceeded
>    7 | 06/23/2009 | 03:35:29 | Processor #0x69 | Limit Not Exceeded
>    8 | 06/23/2009 | 03:35:29 | Processor #0x69 | Limit Exceeded
>    9 | 06/23/2009 | 03:35:32 | Processor #0x69 | Limit Exceeded
>    a | 06/23/2009 | 03:35:32 | Processor #0x69 | Limit Not Exceeded
>
> *# ipmitool sel list last 10*
>  bb7 | 05/15/2009 | 02:05:58 | Processor #0x69 | Limit Not Exceeded
>  bb8 | 05/15/2009 | 02:05:59 | Processor #0x69 | Limit Not Exceeded
>  bb9 | 05/15/2009 | 02:05:59 | Processor #0x69 | Limit Exceeded
>  bba | 05/15/2009 | 02:06:00 | Processor #0x69 | Limit Exceeded
>  bbb | 05/15/2009 | 02:06:00 | Processor #0x69 | Limit Not Exceeded
>  bbc | 05/15/2009 | 02:06:02 | Processor #0x69 | Limit Not Exceeded
>  bbd | 05/15/2009 | 02:06:02 | Processor #0x69 | Limit Exceeded
>  bbe | 05/15/2009 | 02:06:02 | Processor #0x69 | Limit Exceeded
>  bbf | 05/15/2009 | 02:06:02 | Processor #0x69 | Limit Not Exceeded
>  bc0 | 05/15/2009 | 02:06:03 | Processor #0x69 | Limit Not Exceeded
>
> *Last Add Time    : 05/15/2009 02:06:03 --> Here the Last add date is 
> lesser than the delete date
> Last Del Time    : 06/23/2009 03:34:08
> *
> But the sel entries in  "ipmitool sel list first 10" shows greater 
> than last Add/Del time....
>
> How the SEL records are stored?
> Is it record like circular ?
>
>
> Thanks,
> Gnana
>
> On Fri, Feb 26, 2010 at 7:56 PM, Andy Cress <andy.cr...@us.kontron.com 
> <mailto:andy.cr...@us.kontron.com>> wrote:
>
> It is very poor policy to only delete some of the SEL records.   And 
> perhaps your MC firmware does not support deleting individual SEL 
> records.  You should clear the entire SEL.
>
> First, save the IPMI SEL contents by saving the ipmitool sel output to 
> a file, then clear the entire SEL.
>
>  
>
> Andy
>
>  
>
> *From:* Gnanasekar Loganathan [mailto:l.gnanase...@gmail.com 
> <mailto:l.gnanase...@gmail.com>]
> *Sent:* Friday, February 26, 2010 6:04 AM
> *To:* Ipmitool-devel@lists.sourceforge.net 
> <mailto:Ipmitool-devel@lists.sourceforge.net>
> *Subject:* [SPAM] - [Ipmitool-devel] "ipmitool sel delete 0x40" Unable 
> to delete entry64: Invalid command - Email found in subject
>
>  
>
> Hi
>
> I'm very new ipmitool....
>
> I have to delete some of the entries in the SEL log. While attempting 
> to delete, i got
> "Unable to delete entry 64: Invalid command". What is the procedure to 
> delete some of the entries in SEL logs.
>
> the command that i issued was* "ipmitool sel delete 0x40" *
> ipmitool version: 
> *ipmitool -V
> ipmitool version 1.8.10
> *Operating system: *SUSE Linux Enterprise Server 11 (x86_64) - Kernel *
>
> Please provide some info to proceed further....
>
> -Gnana
>
> The information contained in this document is CONFIDENTIAL and 
> property of Kontron. Any unauthorized review, use, disclosure or 
> distribution is prohibited without express written consent of Kontron. 
> If you are not the intended recipient, please contact the sender and 
> destroy all copies of the original message and enclosed attachments.
>
>  
>
> The information contained in this document is CONFIDENTIAL and 
> property of Kontron. Any unauthorized review, use, disclosure or 
> distribution is prohibited without express written consent of Kontron. 
> If you are not the intended recipient, please contact the sender and 
> destroy all copies of the original message and enclosed attachments.
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ipmitool-devel mailing list
> Ipmitool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
>   



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to