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?

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


Q* g@    oqqqÀÏPwr Unit StatusQ( 
g@#oÀÍIPMI WatchdogQ) g@oÀÎPhysical 
ScrtyQ* g@oÀÏFP NMI Diag IntQ& 
gAóÀËSMI TimeoutQ+ g@oÀÐSystem 
Event LogQ' g@oÀÌSystem EventQ!       
g@oÀÆButton  Q 
(ÌBMC Watchdog
Q& gÀËVR WatchdogQ) 
gÀÎSSB Therm TripQ* ,gÀÏIO Mod 
Presence
Q+ ,gÀÐSAS Mod PresenceQ( 
g@(oÀÍBMC FW HealthQ9 
cZ´ÿÎSystem AirflowQ +pÐFW 
Update StatusQ7  h…2…2€:i
€snÌBB EDGE TempQ; !@h…2…2€-
€72'ÐFront Panel TempQ3 "h…2…2€4]
€gbÈSSB TempQ6 #{h…2…2€:i
€snËBB BMC TempQ8 ${h…2…2€:i
€snÍBB P2 VR TempQ9 %{h…2…2€:i
€snÎBB MEM VR TempQ8 .{h€(F
€UPGÍExit Air TempQ7 /h…2…2€<n
€xs'ÌLAN NIC TempQ7 
0(0—ÿ0ÿ&EÌSystem Fan 1Q7 
1(0ÿ!ÿEÌSystem Fan 2Q: 6(0
˜ÿ1ÿ'EÏProcessor 1 FanQ: 7 (0
˜ÿ1ÿ'EÏProcessor 2 FanQ% P
g@oOOOÀÊPS1 StatusQ7 T
{h€€2^¼ÿúÛÌPS1 Power InQ9 X
{耀22dÿ…dÎPS1 Curr Out % Q: \
{耀2€2€<7'ÏPS1 Temperature!Q$ 
pgo‚‚‚ÀÉP1 Status"Q$ qgo‚‚‚ÀÉP2 
Status#Q: th€ñº€%ÏP1 Therm Margin$Q: 
uh€ñº€%ÏP2 Therm Margin%Q: 
xh€€2d2ÏP1 Therm Ctrl %&Q: 
yh€€2d2ÏP2 Therm Ctrl %'Q" 
|gAÀÇP1 ERR2(Q" }gAÀÇP2 ERR2)Q! 
€gÀÆCATERR*Q+ gÀÐP1 MSID 
Mismatch+Q& ‚gÀËCPU Missing,Q; 
ƒh€ñº€
%ÐP1 DTS Therm Mgn-Q; „h€ñº€
%ÐP2 DTS Therm Mgn.Q+ ‡gÀÐP2 MSID Mismatch/Q% 
g@ÀÊP1 VRD Hot0Q% ‘g@ÀÊP2 VRD 
Hot1Q+ ”g@ÀÐP1 MEM01 VRD Hot2Q+ 
•g@ÀÐP1 MEM23 VRD Hot3Q+ –g@ÀÐP2 
MEM01 VRD Hot4Q+ —g@ÀÐP2 MEM23 VRD Hot5Q*  
gÀÏPS1 1a Fan Fail6Q* ¡gÀÏPS1 1b 
Fan Fail7Q; °h€€2€ìº€
'ÐDIMM Thrm Mrgn 18Q; ±h€€2€ìº€
'ÐDIMM Thrm Mrgn 29Q; ²h€€2€ìº€
'ÐDIMM Thrm Mrgn 3:Q; ³h€€2€ìº€
'ÐDIMM Thrm Mrgn 4;Q+ ÀgoÀÐMem P1 Thrm Trip<Q+ 
ÁgoÀÐMem P2 Thrm Trip=Q9 
Èh€ìº€'ÎAgg Thrm Mgn 1>Q9 
Éh€ìº€'ÎAgg Thrm Mgn 2?Q4 Ðh…2…
24@ÐàìÕÿüõÇÍÉBB +12.0V@Q3 Ñh…2…
2ÙbÁáíÖÿüõÉÏÈBB +5.0VAQ3 Òh…2…
2ö@Àâî×ÿüõËÑÈBB +3.3VBQ8 Óh…2…
2ÙbÁáíÖÿüõÉÏÍBB +5.0V STBYCQ7 Ô{h…2…
2ö@Àâî×ÿüõËÑ%ÌBB +3.3V AUXDQ; Ö{h…2…
2<ÁÀÀ±ïbÿüõ\_ÐBB +1.05V P1VccpEQ; ×{h…2…
2<ÁÀÀ±ïbÿüõ\_ÐBB +1.05V P2VccpFQ; Ø>h…2…
2DÉÀÁäïÙÿüõÍÔÐBB +1.5 P1DDR ABGQ; Ù>h…2…
2DÉÀÁäïÙÿüõÍÔÐBB +1.5 P1DDR CDHQ; Ú>h…2…
2DÉÀÁäïÙÿüõÍÔÐBB +1.5 P2DDR ABIQ; Û>h…2…
2DÉÀÁäïÙÿüõÍÔÐBB +1.5 P2DDR CDJQ7 Üh…2…
2S|ÀÁéïâÿüõÖÝ%ÌBB +1.8V AUXKQ8 Ýh…2…
2ÿ@†À±ÚïÄÿüõº¿%ÍBB +1.1V STBYLQ2 
Þh0€ß@ÀçóÄÿ©Ã%ÇBB VBATMQ; ä>h…2…
2=€ÀäïÙÿüõÍÔÐBB +1.35 P1LV ABNQ; å>h…2…
2=€ÀäïÙÿüõÍÔÐBB +1.35 P1LV CDOQ; æ>h…2…
2=€ÀäïÙÿüõÍÔÐBB +1.35 P2LV ABPQ; ç>h…2…
2=€ÀäïÙÿüõÍÔÐBB +1.35 P2LV CDQQ,`.ÜuÍSPS FW 
HealthRQ,`.ÜrÌNM ExceptionSQ,`.ÜsÉNM 
HealthTQ*,`.AÃÜtÏNM CapabilitiesUQ,`.ÜrÌNM 
ThresholdVQÀW
,`WQ1,`4c¸??ðÆP1 MTTXQ1,`5c¸
??ðÆP2 MTTYQ3+ÏMem Rdnc 
SensorZQ   ÏMem Conf Sensor[Q3 oÏMmry ECC 
Sensor\Q30oÏPCI Lgcy Sensor]Q31pÏPCIe Fat 
Sensor^Q31qÏPCIe Cor Sensor_Q+oÏPOST Err 
Sensor`Q3+rÏQPI Corr SensoraQ3+sÏQPI Fatl 
SensorbQ31uÎChipset SensorcQ      +wÎQPI Link 
WidthdQ3 ÎMem err SensoreQ3+ÌSparing RdncfQ+  
ÏRdnc Mod SensorgQ3 oÏMmry Parity ErrhQ31vÏPCIe Fat 
SensoriQ3+tÏQPI Fatl SensorjQƒ+   oÏBIOS Evt 
SensorkQ3ƒ+
oÏBIOS Evt SensorlQ €ÉBaseboardmQ €ËFront PanelnQ 
¿ÐBasbrd Mgmt CtlroQ
,$!.ÂMEpQÀ/W   и
ѝ
Ҙ
ӝ
Ԙ
ÖרÙÚÛÜQÝÛÞÊ      qQÀW        äåæçrQÀW
t´(
(
sQÀWttddd(ûtQÀWuuddd(ûuQÀW°°d(@üvQÀW
±±d(@üwQÀW²²d(@üxQÀW³³d(@üyQÀW  
ddd(€(zQÀW$$ddd(€X{QÀW##ddd(€X|QÀW
%%ddd(€d}QÀW//dd(€d~QÀW""ddd(@SQÀW
ƒƒddd(€ú€QÀW„„ddd(€úQÀW“ƒddd(àü‚QÀW
”„ddd(àüƒQÀW..ddd+€B„QÀWdtddd*àü…QÀW
euddd*àü†QÀW!dddP‡QÀWˆQÀ.W
#$%.#'%0#)%1 #,%4‰QÀ.W
#%#%#%#%ŠQÀ.W##%#        ##%#
##%###%#‹QÀ.W"#1%:
#*#6%>#%#%ŒQÀW[<2\ <9]3<L^<KQÀW_ 
<R`3<da<db <dŽQÀWc3<dQÀW

PAddQÀW„cc#c%c‘QÀWd‚d<d’QÀW01a6q7Q “QÀW
dddd.”QÀWdddd.•QÀW
dddd.–QÀW@dddd.—QÀW
dddd.˜QÀW dddd.
™QÀWÿ±²#%/"&-.šQÀWdddd.›QÀW
dddd.œQÀWdddd.QÀW
@dddd.žQÀW
dddd.ŸQÀW dddd. QÀWÿde°±²³$%.¡QÀ
WÉì¢QÀ
WúÉì£QÀW@dddd.¤QÀW@ðdddd.       ¥QÀ
W@ÿt.¦QÀ
W@ÿÈì§QÀW€dddd.
¨QÀW€ðdddd.©QÀW€ÿu$.ªQÀ
W€ÿÉì«QÀW ÿ
dddd.¬QÀ
W ÿ.­QÀW0,1-6273®QÀW 
°‚¢²¯QÀ(WCd–CdÜ@Cd(€Cd(°QÀWȱö²û"D#N%Z/Z&P!2±QÀWÉtçuç°ö.B²û³û$N!2²QÀ
Wʃç!2³QÀWËuç$N!2´QÀ(W°<d±Fd
²Fd
³<dµQÀWSDR File 1.09¶QÀWSDR Package 1.09
------------------------------------------------------------------------------
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