IBM Support

IZ67935: SYSTEM CRASH IN VNOP_HOLD WHEN USING CACHEFS APPLIES TO AIX 6100-06

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • System crash when using cachefs with the following stack
    trace:
    
    (2)> f
    pvthread+80F200 STACK:
    [004E6620]bad_vnode_bad_caller+000000 (F10001102D8B3080
    [??])
    [004ED57C]vnop_hold+00011C (??)
    [050DAAB8]dnlc_lookup+0002B8 (??, ??, ??)
    [050C2068]cachefs_lookup+0001C8 (??, ??, ??, ??, ??, ??,
    ??)
    [0509DAA0]aix2onc_lookup+000080 (??, ??, ??, ??, ??, ??)
    [004ECA08]vnop_lookup+000188 (??, ??, ??, ??, ??, ??)
    [00498FA0]lookuppn+0008E0 (??, ??, ??, ??, ??, ??, ??,
    ??)
    [0053E298]openpnp+0008B8 (??, ??, ??, ??, ??, ??)
    [0053E420]openpath+000100 (??, ??, ??, ??, ??, ??, ??)
    [0053E89C]copen+00023C (??, ??, ??, ??, ??)
    [0053D95C]kopen+00001C (??, ??, ??)
    [00003844].svc_instr+000144 ()
    
    The problem happens only when applications use the mmap()
    and munmap()
    routines for files on over cachefs.
    

Local fix

  • Mount filesystems directly using NFS instead of cachefs
    

Problem summary

  • System crash when using cachefs with the following stack
    trace:
    
    (2)> f
    pvthread+80F200 STACK:
     004E6620 bad_vnode_bad_caller+000000 (F10001102D8B3080
     ?? )
     004ED57C vnop_hold+00011C (??)
     050DAAB8 dnlc_lookup+0002B8 (??, ??, ??)
     050C2068 cachefs_lookup+0001C8 (??, ??, ??, ??, ??, ??,
    ??)
     0509DAA0 aix2onc_lookup+000080 (??, ??, ??, ??, ??, ??)
     004ECA08 vnop_lookup+000188 (??, ??, ??, ??, ??, ??)
     00498FA0 lookuppn+0008E0 (??, ??, ??, ??, ??, ??, ??,
    ??)
     0053E298 openpnp+0008B8 (??, ??, ??, ??, ??, ??)
     0053E420 openpath+000100 (??, ??, ??, ??, ??, ??, ??)
     0053E89C copen+00023C (??, ??, ??, ??, ??)
     0053D95C kopen+00001C (??, ??, ??)
     00003844 .svc_instr+000144 ()
    
    The problem happens only when applications use the mmap()
    and munmap() routines for files on over cachefs.
    

Problem conclusion

  • Modified cachefs code to return proper error number.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ67935

  • Reported component name

    AIX 610

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2010-01-12

  • Closed date

    2010-01-12

  • Last modified date

    2013-03-28

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

    IZ59271

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

Fix information

  • Fixed component name

    AIX 610

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U838864

       UP10/09/03 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure 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":"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":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure 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":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure 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":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 December 2021