IBM Support

IV57330: PERFSTAT_PARTITION_CONFIGáFAILSáWITHáERRNO EINVAL APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A?self?developed?applications?uses?the?libperfstat?API?an
    d?one?call?to the?perfstat_partition_config?function:
    
    rc?=?perfstat_partition_config??(NULL,?pConfig,?sizeof(pe
    rfstat_partition_config_t),?1);
    
    The?application?was?build?on?AIX?with?libperfstat?6.1.7.1
    6?and everything?runs?fine.
    
    Starting?with?libperfstat?6.1.9.0?the?function?call?retur
    ns?-1?and
    errno?22?(EINVAL).?The?documentation?didn't?report?a?API?
    change?and
    normally?the?API?is?compatible?with?higher?AIX?versions.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 6100-09 Technology Level with the
    * bos.perf.libperfstat fileset at the 6.1.9.0 level
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * A?self?developed?applications?uses?the?libperfstat?API?an
    * d?one?call?to the?perfstat_partition_config?function:
    * rc?=?perfstat_partition_config??(NULL,?pConfig,?sizeof(pe
    * rfstat_partition_config_t),?1);
    * The?application?was?build?on?AIX?with?libperfstat?6.1.7.1
    * 6?and everything?runs?fine.
    * Starting?with?libperfstat?6.1.9.0?the?function?call?retur
    * ns?-1?and
    * errno?22?(EINVAL).?The?documentation?didn't?report?a?API?
    * change?and
    * normally?the?API?is?compatible?with?higher?AIX?versions.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV57330.
    ****************************************************************
    

Problem conclusion

  • Modified the perfstat_partition_config API to handle this case.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58736
    6100-08 - use AIX APAR IV58671
    6100-09 - use AIX APAR IV57330
    6100-09 - use AIX APAR IV57330
    6100-09 - use AIX APAR IV57330
    7100-01 - use AIX APAR IV58612
    7100-02 - use AIX APAR IV58585
    7100-03 - use AIX APAR IV58471
    7100-04 - use AIX APAR IV58572
    

APAR Information

  • APAR number

    IV57330

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-03-24

  • Closed date

    2014-03-29

  • Last modified date

    2016-05-10

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U856004

       UP14/05/21 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV57330

Modified date: 10 May 2016