Hello Ayman,

We tried to make the IPMI plug-ins as general purpose as possible, but
sometimes a bit of modification is  required to make them play well with
specific hardware.

To check if the daemon is receiving and processing the IMPI events for
hot swap as Lars suggested, you can add the following parameters to
the libipmidirect handler stanza in your openhpi.conf file:

    logflags = "file"    # "" means logging off; also use "file stdout"
    logfile = "ipmidirect"  # log file name prefix; ${logfile}.log
    logfile_max = "10000" # maximum log file size in kilobytes

This will create a ipmidirect.log file that could be used to see what is
really going on.

On Tue, 2010-01-26 at 14:35 +0000, Ayman Daoud wrote:
> Dear openHPI representative,
> 
> I have been working on a project to monitor the uTCA hardware using
> openHPI. I am using openhpi-2.14.1 with the ipmidirect plugin. During
> my work (using hpi_shell) I experienced the following questionable
> behaviours which might be bugs:
> 
> 1. if FRU is added to the chassis after the daemon has started,
> openHPI do not detect that FRU; No RPT entry added in the RPT table
> for the newly added FRU nor an event is generated to indicate the
> addition of the FRU. (this is different from extracting FRU and
> reinstalling it which is fine except for what is stated in #2 and 3)
> 
> 2. SAHPI_HS_STATE_NOT_PRESENT event is not generated when the FRU is
> removed from the chassis.
> 
> 3. when FRU is removed from the chassis, the corresponding RPT entry
> is not deleted from the RPT table.
> 
> 4. if the daemon start with a FRU plugged into the chassis but the
> latch is not pushed in; we see a RPT entry for the resource modelling
> the FRU, but when the latch is pushed in, no event is generated to
> indicate the transition from INACTIVE (or INSERTION PENDING) state to
> ACTIVE state.
> 
> 5. saHpiHotSwapStateGet() return an error when it is called for
> resources that have the FRU capability but not the HS capability. the
> HPI specs states that this function should be enabled for resources
> with the FRU capability.

This (your #5) appears to be a defect in the daemon. It is checking the
resource's ResourceCapabilities flag, and if
SAHPI_CAPABILITY_MANAGED_HOTSWAP is not set, it will always return
SA_ERR_HPI_CAPABILITY. According to the B.03.01 Specification, it should
instead be checking that SAHPI_CAPABILITY_FRU is set. Looks like this
was a change in behavior between the B.02.01 and B.03.01 HPI
Specifications.

I have submitted bug #2948127 for this.

Best Regards,
Ric White

> 
> Any help with these issues will be greatly appreciated.
> 
> Best Regards,
> 
> Ayman Doaud 
> Software Engineer
> 
> Tecore Networks 
> 
> Phone: +1 410.872.6286 
> Fax: +1 410.872.6010 
> e-mail: [email protected] 
> 
> 
> THIS E-MAIL MAY CONTAIN PRIVILEGED, CONFIDENTIAL, COPYRIGHTED OR OTHER
> LEGALLY PROTECTED INFORMATION, AND IS INTENDED EXCLUSIVELY FOR THE
> INTENDED RECIPIENT. IF YOU ARE NOT THE INTENDED RECIPIENT (EVEN IF THE
> E-MAIL ADDRESS ABOVE IS YOURS), YOU MAY NOT REVIEW, STORE, USE, COPY,
> DISCLOSE OR RETRANSMIT IT IN ANY FORM. IF YOU ARE NOT THE INTENDED
> RECIPIENT OR OTHERWISE HAVE RECEIVED THIS BY MISTAKE, OR IF YOU WISH
> TO BE REMOVED FROM A MAILING LIST, PLEASE IMMEDIATELY NOTIFY THE
> SENDER BY RETURN E-MAIL (AND TECORE AT [email protected]), THEN
> DELETE THE MESSAGE IN ITS ENTIRETY. THANK YOU.
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term
> contracts
> Personal 24x7 support from experience hosting pros just a phone call
> away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to