Hi Carol, Please find hereafter my comments on your unexpected times displayed.
1) #ipmitool sdr info I think that the "Most recent Addition" and "Most recent Erase" timestamps returned by the BMC are fully erroneous. It is not an ipmitool issue but merely an erroneous value stored in the SDR. 2) #ipmitool sel info #ipmitool sel list #ipmitool pef status SEL timestamps are now expected in localtime format (as IPMI spec) whereas they were previously stored in gmtime. Do an "ipmitool sel time set ..." command (that set SEL time in localtime format) and all new events will have correct times. 3) #ipmitool event 1|2 .. Timestamps of SEL records are not part of the Platform Event Message Request Data but are set by the BMC, based on the internal SEL time. The "Pre-Init Time-stamp" value displayed correspond to a timestamp equal to 0, which is not the final timestamp of this event that appears correctly on an "ipmitool sel list" command. Hope this help you Bernard. > -----Message d'origine----- > De : Carol Hebert [mailto:[EMAIL PROTECTED] > Envoyé : 10 July 2008 22:51 > À : Bernard Manjou > Cc : ipmitool-devel@lists.sourceforge.net > Objet : RE: ipmitool 1.8.10 - Fifth/final patch batch > (35)Patch proposal > > On Mon, 2008-06-30 at 17:39 +0200, Bernard Manjou wrote: > > > > > 35) timestamp issue > > The timestamps that are concerned are: > > - the Most recent Addition and Most recent Erase infos > > displayed by the "ipmitool sdr info" command > > - the Last SEL addition info displayed by the "ipmitool > > pef status" command > > - the Timestamps of SEL entries > > > > If our interpretation of the IPMI spec is correct, and then > > considering that all IPMI timestamps should be internally in > > localtime, my patch proposal is as follows: > > > > Hi Bernard, > > I did some testing the new timestamp functionality and I > think there may still be some timestamp issues. I'm > appending some sample data from my testing below. > > Can you please take a look? > > Thank you very much for your help, > > Carol > > -------------------------------------- > > [ipmitoolv1.8.10-beta]# ipmitool sdr info > SDR Version : 0x51 > Record Count : 177 > Free Space : 363 bytes > Most recent Addition : 02/07/2106 06:28:15 > Most recent Erase : 02/07/2106 06:28:15 > SDR overflow : no > SDR Repository Update Support : modal > Delete SDR supported : no > Partial Add SDR supported : no > Reserve SDR repository supported : yes > SDR Repository Alloc info supported : no > > [EMAIL PROTECTED] ipmitoolv1.8.10-beta]# date Wed Jul 9 16:46:28 PDT 2008 > > [ipmitoolv1.8.10-beta]# ipmitool sel info SEL Information > Version : 1.5 (v1.5, v2 compliant) > Entries : 6 > Free Space : 8096 bytes > Percent Used : 1% > Last Add Time : 07/09/2008 21:56:34 > Last Del Time : 07/09/2008 21:55:49 > Overflow : false > Supported Cmds : 'Reserve' > > [ipmitoolv1.8.10-beta]# ipmitool sel list > 1 | 07/09/2008 | 21:55:55 | Unknown #0xb6 | Upper > Non-recoverable going high > 2 | 07/09/2008 | 21:55:56 | Unknown #0xb6 | Upper Critical > going high > 3 | 07/09/2008 | 21:55:56 | Unknown #0xb6 | Upper > Non-critical going high > 4 | 07/09/2008 | 21:56:19 | Temperature #0x30 | Upper > Critical going high > 5 | 07/09/2008 | 21:56:28 | Voltage #0x60 | Lower Critical > going low > 6 | 07/09/2008 | 21:56:34 | Memory #0x53 | Correctable ECC > | Asserted > > [ipmitoolv1.8.10-beta]# date > Wed Jul 9 16:48:03 PDT 2008 > > [ipmitoolv1.8.10-beta]# ipmitool event 1 Sending SAMPLE > event: Temperature - Upper Critical - Going High > 0 | Pre-Init Time-stamp | Temperature #0x30 | Upper > Critical going > high > [EMAIL PROTECTED] ipmitoolv1.8.10-beta]# ipmitool event 2 Sending > SAMPLE event: Voltage Threshold - Lower Critical - Going Low > 0 | Pre-Init Time-stamp | Voltage #0x60 | Lower Critical > going low > [EMAIL PROTECTED] ipmitoolv1.8.10-beta]# ipmitool event 3 Sending > SAMPLE event: Memory - Correctable ECC > 0 | Pre-Init Time-stamp | Memory #0x53 | Correctable ECC > | Asserted > > [ipmitoolv1.8.10-beta]# date > Wed Jul 9 16:48:23 PDT 2008 > > ipmitoolv1.8.10-beta]# ipmitool sel list > 1 | 07/09/2008 | 21:55:55 | Unknown #0xb6 | Upper > Non-recoverable going high > 2 | 07/09/2008 | 21:55:56 | Unknown #0xb6 | Upper Critical > going high > 3 | 07/09/2008 | 21:55:56 | Unknown #0xb6 | Upper > Non-critical going high > 4 | 07/09/2008 | 21:56:19 | Temperature #0x30 | Upper > Critical going high > 5 | 07/09/2008 | 21:56:28 | Voltage #0x60 | Lower Critical > going low > 6 | 07/09/2008 | 21:56:34 | Memory #0x53 | Correctable ECC > | Asserted > 7 | 07/09/2008 | 22:31:00 | Temperature #0x30 | Upper > Critical going high > 8 | 07/09/2008 | 22:31:06 | Voltage #0x60 | Lower Critical > going low > 9 | 07/09/2008 | 22:31:12 | Memory #0x53 | Correctable ECC > | Asserted > > > ipmitoolv1.8.10-beta]# ipmitool pef status > 07/09/2008 22:31:12 | 0x0009 | 0xffff | 0x0009 | PEF | > Alert,Power-off,Reset,Power-cycle > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel