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

Reply via email to