IBM Support

IZ79696: NFS V4 CLNT CRASHED AT ___MEMMOVE64+000014 AFTER FILE REMOVE 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

  • nfsv4 client crash when doing a force unmount
    the stack trace looks like
    KDB(3)> f
    pvthread+053100 STACK:
    ■0000F414___memmove64+000014 ()
    ■0503EF54nfs4_update_state_info+0001F4 (??, ??, ??, ??)
    ■0505D32Cnfs4_open_create+0007CC (??, ??, ??, ??, ??, ??,
    ??, ??)
    ■04FD0EB8nfs4_create_attr+000158 (??, ??, ??, ??, ??, ??,
    ??, ??)
    ■005D38A4vnop_create_attr+000144 (??, ??, ??, ??, ??, ??,
    ??, ??)
    ■00617D78openpnp+000418 (??, ??, ??, ??, ??, ??)
    ■00618500openpath+000100 (??, ??, ??, ??, ??, ??, ??)
    ■006189D4copen+000294 (??, ??, ??, ??, ??)
    ■006178DCkopen+00001C (??, ??, ??)
    ...
    Where nfs4_update_state_info() is copy the data into a freed
    memory. The memory got free right before the copy. One should
    be able to find who freed the memory in the memory trace.
    

Local fix

Problem summary

  • nfsv4 client crash when doing a force unmount
    the stack trace looks like
    KDB(3)> f
    pvthread+053100 STACK:
     0000F414 ___memmove64+000014 ()
     0503EF54 nfs4_update_state_info+0001F4 (??, ??, ??, ??)
     0505D32C nfs4_open_create+0007CC (??, ??, ??, ??, ??, ??,
    ??, ??)
     04FD0EB8 nfs4_create_attr+000158 (??, ??, ??, ??, ??, ??,
    ??, ??)
     005D38A4 vnop_create_attr+000144 (??, ??, ??, ??, ??, ??,
    ??, ??)
     00617D78 openpnp+000418 (??, ??, ??, ??, ??, ??)
     00618500 openpath+000100 (??, ??, ??, ??, ??, ??, ??)
     006189D4 copen+000294 (??, ??, ??, ??, ??)
     006178DC kopen+00001C (??, ??, ??)
    ...
    Where nfs4_update_state_info() is copy the data into a freed
    memory. The memory got free right before the copy. One should
    be able to find who freed the memory in the memory trace.
    

Problem conclusion

  • take rnode's rstate_lock when updating the rs_open_name
    

Temporary fix

Comments

  • 6100-04 - use AIX APAR IZ79091
    6100-05 - use AIX APAR IZ78769
    6100-06 - use AIX APAR IZ78446
    6100-06 - use AIX APAR IZ79696
    7100-00 - use AIX APAR IZ79374
    

APAR Information

  • APAR number

    IZ79696

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2010-07-08

  • Closed date

    2010-07-08

  • Last modified date

    2013-03-28

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

    IZ78446

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

       UP11/05/10 I 1000

PTF to Fileset Mapping

[{"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":""}}]

Document Information

Modified date:
28 March 2013