,----[ "James Laros" <[EMAIL PROTECTED]> ] | I have a question about the usage of ipmi_lan_open_session. First | off I don't see it used in any of the utilities that come with the | distro? Any reason? `---- libfreeipmi driver APIs will completely change in the next release. Thats one reason "fish" and tools waited for long time for network support. Newer APIs are very easy to use and driver independent. Same tools will work for inband and out-of-band drivers transparently. Refer to freeipmi/doc/example/udm-test.c in the CVS.
,----[ "James Laros" <[EMAIL PROTECTED]> ] | More specific question if I use the call as follows the Activate | Session Application Response returns a completion code of 0xcc | (Invalid data field in request) `---- This means your input field(s) is wrong. You should compare your values with one of freeipmi's tools (like ipmipower). Bala wrote a simple UDP server to dump the values for debugging. It will be included in the next release. First make sure ipmipower, ipmiping tools work, before you start with your own tool. ,----[ "James Laros" <[EMAIL PROTECTED]> ] | Wasn't sure if I need to pass in something for session_seq_num or | session_id??? In the request message the session_id seems be set | properly to a temp session id, session_seq is 0 which should be ok | yes? `---- With the newer APIs, session_seq, session_id crap all handled internally by the driver. ,----[ "James Laros" <[EMAIL PROTECTED]> ] | By the way it seems to return < 0 but set errno to Success?? `---- Thanks for reporting, this is a bug. lan_open_session returns without setting errno properly when ipmi_comp_test fails. I have fixed it in the CVS now. -- Anand Babu GPG Key ID: 0x62E15A31 Blog [http://ab.freeshell.org] The GNU Operating System [http://www.gnu.org] _______________________________________________ Freeipmi-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-devel
