lan,

It looks correct to me.

Why do you believe it does not match the IPMI spec.

The spec states bit 0 is BIOS/POST has handled boot info and
the code look at bit 0 by using a mask of 0x1 == 0x1

-- Jim Mankovich | jm...@hp.com --

On 2/25/2013 2:03 AM, 國剛 曾 wrote:
Dear all,

I confuse one thing.

In function "ipmi_chassis_get_bootparam" of ipmi_chass.c define:
case 4:
      {
         printf(   " Boot Info Acknowledge :\n");
         if((rsp->data[3]&0x1f) != 0)
         {
            if((rsp->data[3]&0x10) == 0x10)
               printf("    - OEM has handled boot info\n");
            if((rsp->data[3]&0x08) == 0x08)
               printf("    - SMS has handled boot info\n");
            if((rsp->data[3]&0x04) == 0x04)
               printf("    - OS // service partition has handled boot info\n");
            if((rsp->data[3]&0x02) == 0x02)
               printf("    - OS Loader has handled boot info\n");
            if((rsp->data[3]&0x01) ==0x01)
               printf("    - BIOS/POST has handled boot info\n");
         }
         else
         {
               printf("     No flag set\n");
         }
      }


But in IPMI spec 2.0 sefine:
[7] -    reserved. Write as 1b. Ignore on read.
[6] -    reserved. Write as 1b. Ignore on read.
[5] -    reserved. Write as 1b. Ignore on read.
[4] - 0b = OEM has handled boot info.
[3] -  0b = SMS has handled boot info.
[2] - 0b = OS / service partition has handled boot info.
[1] - 0b = OS Loader has handled boot info.
[0] - 0b = BIOS/POST has handled boot info.


So, these are not match. So, it's ipmitool bug or my misunderstand.
Could someone help me? Thanks.



Ian



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb


_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to