On Mon, Apr 21, 2014 at 6:23 PM, Pat Donlin <p...@sgi.com> wrote: > A regression was introduced into lanplus.c in the 14-rc1 build. This change
Introduced by what and/or whom? Also, open a ticket for this then. Thanks! Z. > to ipmi_lanplus_open_session() added a check for null response (timeout) and > returns a 1 to the caller. This steps on a change I added a few lines down > to return a 2 to the caller on timeout, signifying a retryable error. The > result of this is an occasional assertion: > > ipmitool: lanplus.c:2211: ipmi_lanplus_send_payload: Assertion > `session->v2_data.session_state == LANPLUS_STATE_OPEN_SESSION_RECEIEVED' > failed. > Aborted (core dumped) > > > Here is a patch to 1.8.14-rc2 to put things back to correct: > > > diff -Naur lanplus.c.orig lanplus.c > --- lanplus.c.orig 2014-04-21 10:43:54.670532051 -0500 > +++ lanplus.c 2014-04-21 11:11:16.280884840 -0500 > @@ -2882,17 +2882,12 @@ > > free(msg); > msg = NULL; > - if (!rsp) { > - lprintf(LOG_WARNING, "Error sending open session message."); > - return -1; > - } > - if (verbose) > - lanplus_dump_open_session_response(rsp); > - > if (rsp == NULL ) { > lprintf(LOG_DEBUG, "Timeout in open session response message."); > return 2; > } > + if (verbose) > + lanplus_dump_open_session_response(rsp); > if (rsp->payload.open_session_response.rakp_return_code != > IPMI_RAKP_STATUS_NO_ERRORS) > { > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Ipmitool-devel mailing list > Ipmitool-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ipmitool-devel > ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel