Hello, It seems there's a little bug in the "Get FRU Activation Policy" result: the response data contains the completion code and only two bytes (PICMG 3.0 spec). In the patch is what I think is correct, and i also print the deactivation locked bit value.
--- ipmitool-1.8.8/lib/ipmi_picmg.c 2006-03-19 22:15:05.000000000 +0100 +++ ../ipmitool-1.8.8/lib/ipmi_picmg.c 2007-02-08 13:27:39.000000000 +0100 @@ -192,8 +192,9 @@ } printf("Activation Policy for FRU %x: ", atoi(argv[0]) ); - printf(" %s\n",(((*(rsp->data+3))&0x01) == 0x01)?"is locked":"is not lo ked"); - + printf("%s, ", (rsp->data[1] & 0x01) ? "is locked" : "is not locked"); + printf("%s\n", (rsp->data[1] & 0x02) ? "deactivation locked" + : "deactivation not locked"); return 0; } BTW, do you plan to implement the set policy command? If not I'll try to do something and send it back to the list. Regards, -- BenoƮt Guillon [EMAIL PROTECTED] TCT/3S tel. : 33 (0)4 98 16 33 90 THALES COMPUTERS ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel