Thanks,
G
srinivas_g_go...@dell.com
DELL
diff -Naurp 06-ipmitool_opensel_part2_delloem/lib/ipmi_sel.c 07-ipmitool_opensel_part3_delloem/lib/ipmi_sel.c
--- 06-ipmitool_opensel_part2_delloem/lib/ipmi_sel.c 2012-03-06 19:25:27.000000000 +0530
+++ 07-ipmitool_opensel_part3_delloem/lib/ipmi_sel.c 2012-03-06 19:27:18.000000000 +0530
@@ -621,6 +621,54 @@ char * get_dell_evt_desc(struct ipmi_int
{
if((data1 & 0x0f) == 0x00)
{
+ if(rec->sel_type.standard_type.sensor_num == 0x1C)
+ {
+ if((data1 & 0x80) && (data1 & 0x20 ))
+ {
+ count = 0;
+ snprintf(desc,SIZE_OF_DESC,"CRC Error on:");
+ for(i=0;i<4;i++)
+ {
+ if((BIT(i))&(data2))
+ {
+ if(count)
+ {
+ str = desc+strlen(desc);
+ *str++ = ',';
+ str = '\0';
+ count = 0;
+ }
+ switch(i)
+ {
+ case 0: snprintf(tmpdesc,SIZE_OF_DESC,"South Bound Memory");
+ strcat(desc,tmpdesc);
+ count++;
+ break;
+ case 1: snprintf(tmpdesc,SIZE_OF_DESC,"South Bound Config");
+ strcat(desc,tmpdesc);
+ count++;
+ break;
+ case 2: snprintf(tmpdesc,SIZE_OF_DESC,"North Bound memory");
+ strcat(desc,tmpdesc);
+ count++;
+ break;
+ case 3: snprintf(tmpdesc,SIZE_OF_DESC,"North Bound memory-corr");
+ strcat(desc,tmpdesc);
+ count++;
+ break;
+ default:
+ break;
+ }
+ }
+ }
+ if(data3>=0x00 && data3<0xFF)
+ {
+ snprintf(tmpdesc,SIZE_OF_DESC,"|Failing_Channel:%d",data3);
+ strcat(desc,tmpdesc);
+ }
+ }
+ break;
+ }
snprintf(desc,SIZE_OF_DESC,"Correctable ECC | ");
}
else if((data1 & 0x0f) == 0x01)
@@ -628,7 +676,25 @@ char * get_dell_evt_desc(struct ipmi_int
snprintf(desc,SIZE_OF_DESC,"UnCorrectable ECC | ");
}
}
+ else if(code == 0x10)
+ {
+ if((data1 & 0x0f) == 0x00)
+ snprintf(desc,SIZE_OF_DESC,"Corr Memory Log Dissabled | ");
+ }
}
+ else
+ {
+ if(code == 0x12)
+ {
+ if((data1 & 0x0f) == 0x02)
+ snprintf(desc,SIZE_OF_DESC,"Unknown System Hardware Failure ");
+ }
+ if(code == 0x10)
+ {
+ if((data1 & 0x0f) == 0x03)
+ snprintf(desc,SIZE_OF_DESC,"All Even Logging Dissabled");
+ }
+ }
if(data1 & 0x80 )
{
if(((data2 >> 4) != 0x0f) && ((data2 >> 4) < 0x08))
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel