Hi Corey, Can you tell me how do I get the message trace. Regards, Rishi
-----Original Message----- From: Corey Minyard [mailto:[email protected]] Sent: Tuesday, September 10, 2013 2:07 PM To: Rishi Kaundinya Mutnuru Cc: [email protected] Subject: Re: [Openipmi-developer] Issue with ipmi_open_domain function It won't call done until, well, it's done. That may take a while, and since it can't get the SDRs, it's going to fail and never be done. There is another callback for connection up/down. But there's something going on with your BMC, either something else is getting SDRs all the time, or there's a bug someplace. Can you get a message trace to see what is going on? -corey On 09/10/2013 02:49 PM, Rishi Kaundinya Mutnuru wrote: > > 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.c > lktrk > > > _______________________________________________ > Openipmi-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openipmi-developer ------------------------------------------------------------------------------ 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
