On 02/01/2017 08:47 AM, Korynkevych, RomanX wrote: > Thanks Corey, > > I've dumped raw SDR data to a file using command <ipmitool sdr dump 123.txt>. > Could you please advice how to decode it?
Well, I thought ipmitool had a command to do that, but it doesn't appear to. I have an sdr compiler as part of openipmi, it shouldn't be too hard to do a decompiler. Give me a little time. -corey > Regards, > Roman. > > -----Original Message----- > From: Corey Minyard [mailto:[email protected]] On Behalf Of Corey Minyard > Sent: Tuesday, January 24, 2017 7:41 PM > To: Korynkevych, RomanX <[email protected]>; > [email protected] > Subject: Re: [Openipmi-developer] Doubled events received from SEL > > On 01/24/2017 11:30 AM, Korynkevych, RomanX wrote: >> Hi Guys, >> >> I'm writing application which uses OpenIPMI v2.0.22 library SEL >> mechanism similar to eventd.c sample application. I register threshold >> and discrete event handlers for available sensors for domain called >> mydomain2. When I generate event using ipmitool I'm receive event >> successfully but it comes twice and all the data is the same >> (duplicated). After investigation it looks like event is invoked from >> different MCs. I'm seeing that OpenIPMI lib handler >> (handle_sel_data()) is called for MC names "mydomain2(0.20)" and >> "mydomain2(6.20)". In my event handler I'm calling >> ipmi_sensor_get_mc() and ipmi_mc_get_name() to understand which MC the >> sensor belongs to and it returns "mydomain2(0.20)". Also I added event >> handler for SMI interface and when the event arrives there are no >> doubled events observed. >> >> Does anybody has seen this issue? Is this behavior expected? What is >> the reason I'm receiving events twice? >> > It looks like something in your SDRs hash something for IPMB address 20 > channel 6. OpenIPMI adds that as a new MC, but it's the same one as 0.20. > So it's looking at the same MC as if it was two different MCs, and thus you > get two events. > > I'd have to have the SDRs to be sure. But hopefully you can look at them and > see. You should have some sensor that's on (6.20). > > -corey > >> Regards, >> >> Roman. >> >> -------------------------------------------------------------- >> Intel Research and Development Ireland Limited Registered in Ireland >> Registered Office: Collinstown Industrial Park, Leixlip, County >> Kildare Registered Number: 308263 >> >> This e-mail and any attachments may contain confidential material for >> the sole use of the intended recipient(s). Any review or distribution >> by others is strictly prohibited. If you are not the intended >> recipient, please contact the sender and delete all copies. >> >> >> >> ---------------------------------------------------------------------- >> -------- Check out the vibrant tech community on one of the world's >> most engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> >> _______________________________________________ >> Openipmi-developer mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/openipmi-developer > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > Openipmi-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openipmi-developer ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
