I use the ipmiuitl lib to build test application. But for the call ipmi_getdeviceid with debug mode, get the first error is ipmilan_open_session error, rv = -15. But when I use ipmiutil health it is working. Did I missing any parse_lan_options settings? The target machine it is HP.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good question. The return code -15 means that the BMC only supports LAN
V2, which is technically a bug in the HP firmware, since the IPMI spec says
that it is required to support LAN V1.5 connections also. However, HP
apparently did this on purpose, so it won't be changing.
You can decode the meaning of the return codes with the "decode_rv" routine
char * decode_rv(int rv);
What ipmiutil health is doing is getting this return code, and then
automatically retrying with LAN 2.
By default it tries driver type "lan" (LAN V1.5), but if it gets error
-15, it does
ret = set_driver_type("lan2");
and tries again.
I use the ipmiuitl lib to build test application. But for the call
ipmi_getdeviceid with debug mode, get the first error is
ipmilan_open_session error, rv = -15. But when I use ipmiutil health it is
working. Did I missing any parse_lan_options settings? The target machine
it is HP.
I use the ipmiuitl lib to build test application. But for the call ipmi_getdeviceid with debug mode, get the first error is ipmilan_open_session error, rv = -15. But when I use ipmiutil health it is working. Did I missing any parse_lan_options settings? The target machine it is HP.
Good question. The return code -15 means that the BMC only supports LAN
V2, which is technically a bug in the HP firmware, since the IPMI spec says
that it is required to support LAN V1.5 connections also. However, HP
apparently did this on purpose, so it won't be changing.
You can decode the meaning of the return codes with the "decode_rv" routine
char * decode_rv(int rv);
What ipmiutil health is doing is getting this return code, and then
automatically retrying with LAN 2.
By default it tries driver type "lan" (LAN V1.5), but if it gets error
-15, it does
ret = set_driver_type("lan2");
and tries again.
Andy
On Fri, Oct 4, 2013 at 3:39 PM, kony.kong konykong@users.sf.net wrote: