Hi,
 
We are facing one issue in openHPI-2.12.0 version with ipmidirect, the details are given
below,
 
In my HW environment  one of the HW unit is not detected as removed.
When we analyze the openHPI point of view, its discarding the sensor event and throwing the
error message as
"WARNING: sensor NOT resource hot swap sensor, discard event"
 
This message is showing from cIpmiMcThread::HandleHotswapEvent function in
plugins/ipmidirect/ipmi_discover.cpp.
 
For these I have done the following modifications,
 
Original code:
--------------
  if (sensor->Resource()->GetHotswapSensor() != sensor)
   {
        stdlog << "WARNING: sensor NOT resource hot swap sensor, discard event\n";
        return;
  }
 
Modified code:
---------------
  if (sensor->Resource()->GetHotswapSensor()->Num() != sensor->Num())
  {
        stdlog << "WARNING: sensor NOT resource hot swap sensor, discard event\n";
        return;
  }
Here I have compared sensor number , instead of sensor objects.
 
Due to these changes HW unit is able to detected as removed and inserted. But this code is
randomly leading to crash dump.
 
Please find the dump info,
 
hread 1 (process 16575):
#0  0x0000005555d85b48 in cIpmiMcThread::HandleHotswapEvent () from /usr/lib64/openhpi/libipmidirect.so
#1  0x0000005555d87160 in cIpmiMcThread::HandleEvents () from /usr/lib64/openhpi/libipmidirect.so
#2  0x0000005555d8738c in cIpmiMcThread::Run () from /usr/lib64/openhpi/libipmidirect.so
#3  0x0000005555da9f44 in cThread::Thread () from /usr/lib64/openhpi/libipmidirect.so
#4  0x00000055558b7438 in start_thread () from /lib64/libpthread.so.0
#5  0x0000005555aead6c in __thread_start () from /lib64/libc.so.6
Backtrace stopped: frame did not save the PC
 
Can you please help me, in identifying the issue.
 
Thanks and Regards,
Santhosh Kumar Kanchanapally
 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to