And I got one of the errors as follows.

EINF: (f.f)(m,0) sdr.c(handle_sdr_data): Lost reservation too many times trying 
to fetch SDRs
WARN: domain.c(sdr_handler): Could not get main SDRs, error 0xb

Thanks,
Rishi


From: Rishi Kaundinya Mutnuru [mailto:[email protected]]
Sent: Tuesday, September 10, 2013 12:42 PM
To: [email protected]
Subject: [Openipmi-developer] Issue with ipmi_open_domain function

Hi All,
After looking at the sample code, I have written a test code like below and 
found that
My routine "ipmicb_setup_done" is never invoked.

<snip>
      ipmi_init(os);
    rv = ipmi_smi_setup_con(0, os, NULL, &sentbl.st_ipmi_con);
    if (rv) {
        system("echo Inside jabsentbl_init 1>> /tmp/Rishi");
        ipmi_shutdown();
        return -1;
    }
    rv = ipmi_open_domain("", &sentbl.st_ipmi_con, 1,
                ipmicb_setup_done, NULL, NULL, NULL, NULL, 0, NULL);
    if (rv) {
        system("echo Inside jabsentbl_init 2>> /tmp/Rishi");
        ipmi_shutdown();
        return -1;
    }
    sentbl.st_inited = TRUE;
</snip>

Can you please throw some lights why the "ipmicb_setup_done" is not invoked. 
Also, let me know if there is a workaround
On how I can register the event handler.

Thanks,
Rishi


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to