Hi Corey, I am seeing following in the log output continuously. Appreciate your quick help why Setup_done is not invoked by OpenIPMI framework. Nay troubleshooting tips are highly appreciated.
Regards, Rishi <snip> f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 outgoing msgid=00000000 addr = f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 msg = netfn= cmd=(null) data_len=6324501. incoming msgid=00000000 addr = f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 msg = netfn= cmd=(null) data_len=6324501. cc=GetDevId:01 data = f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 outgoing msgid=00000000 addr = f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 msg = netfn= cmd=(null) data_len=6324501. incoming msgid=00000000 addr = f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 msg = netfn= cmd=(null) data_len=6324501. cc=GetDevId:01 data = f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 outgoing msgid=00000000 addr = f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 msg = netfn= cmd=(null) data_len=6324501. incoming msgid=00000000 addr = f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 msg = netfn= cmd=(null) data_len=6324501. cc=GetDevId:01 data = f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 outgoing msgid=00000000 addr = f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 f34db038 msg = netfn= cmd=(null) data_len=6324501. incoming msgid=00000000 addr = f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 f34daf38 msg = netfn= cmd=(null) data_len=6324501. cc=GetDevId:01 data = <snip> -----Original Message----- From: Corey Minyard [mailto:[email protected]] Sent: Tuesday, September 10, 2013 7:24 PM To: Rishi Kaundinya Mutnuru Cc: [email protected] Subject: Re: [Openipmi-developer] Issue with ipmi_open_domain function It goes the the standard log output, as debug logs. -corey On 09/10/2013 06:12 PM, Rishi Kaundinya Mutnuru wrote: > Hi Corey, > Where does the messages go after I keep DEBUG_MSG_ENABLE in my daemon? > > Thanks, > Rishi > > -----Original Message----- > From: Corey Minyard [mailto:[email protected]] > Sent: Tuesday, September 10, 2013 2:19 PM > To: Rishi Kaundinya Mutnuru > Cc: [email protected] > Subject: Re: [Openipmi-developer] Issue with ipmi_open_domain function > > On 09/10/2013 04:09 PM, Rishi Kaundinya Mutnuru wrote: >> Hi Corey, >> Can you tell me how do I get the message trace. > Include ipmi_debug.h and add: > > DEBUG_MSG_ENABLE(); > > to your code before you init. > > -corey >> 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
