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