IBM Support

IV57785: CAT /PROC/SYS/FS/JFS2/MEMORY_USAGE MAY RETURN INVALID ARGUMENT APPLIES TO AIX 6100-08

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • cat /proc/sys/fs/jfs2/memory_usage may return with an
    error
    and if it didn't return with an error, it returned an
    incomplete message.
    
    $ cat /proc/sys/fs/jfs2/memory_usage
    cat: /proc/sys/fs/jfs2/memory_usage: A system call
    received a parameter that is not valid.
    cat: 0652-053 Cannot close the file.
    
    $ cat /proc/sys/fs/jfs2/memory_usage
    total: 220823552
    
    The expected message should look like:
    $ cat /proc/sys/fs/jfs2/memory_usage
    metadata cache: 8163328
    inode cache: 4259840
    total: 12423168
    
    This problem occurs on 61Y.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 6100-08 Technology Level with the
    * bos.mp64 fileset at the 6.1.8.17 level.
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * cat /proc/sys/fs/jfs2/memory_usage may return with an
    * error
    * and if it didn't return with an error, it returned an
    * incomplete message.
    * $ cat /proc/sys/fs/jfs2/memory_usage
    * cat: /proc/sys/fs/jfs2/memory_usage: A system call
    * received a parameter that is not valid.
    * cat: 0652-053 Cannot close the file.
    * $ cat /proc/sys/fs/jfs2/memory_usage
    * total: 220823552
    * The expected message should look like:
    * $ cat /proc/sys/fs/jfs2/memory_usage
    * metadata cache: 8163328
    * inode cache: 4259840
    * total: 12423168
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV57785.
    ****************************************************************
    

Problem conclusion

  • In tuning_file_read(), check buffer size before
    calling uiomove()
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV57785
    6100-09 - use AIX APAR IV54359
    6100-09 - use AIX APAR IV54359
    6100-09 - use AIX APAR IV54359
    6100-09 - use AIX APAR IV54359
    7100-02 - use AIX APAR IV56930
    7100-03 - use AIX APAR IV55030
    7100-04 - use AIX APAR IV54935
    

APAR Information

  • APAR number

    IV57785

  • 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-27

  • Closed date

    2014-03-27

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV54359

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U862133

       UP14/08/08 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2016