IBM Support

IV54120: DEADLOCK IN LMSYNC 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

  • Customer reported that the system is hung, unable
    to login to console or to ssh.
    
    The dump shows a deadlock:
    (0)> dla
    Deadlock from tid 10003. This tid waits for the first
    line lock, owned by Owner-Id that waits for the next
    line lock, and so on ...
    NAME|       ADDRESS      |  OWNER-ID  | LCK STATUS | FUNC
     ???| 0xF1000A01513D0280 | Tid 320285 | 0x20000000 |
    slock
     ???| 0xF1000A01513D02A8 | Tid 6A00D5 | 0x20000000 |
    slock
     ???| 0xF1000A01513D0280 | Tid 320285 | 0x20000000 |
    slock
    
    (0)> th * | grep 320285
    pvthread+103200 4146 sendmail SLEEP 320285 030    0
           257  F1000A01513D02A8 slist_table+000BF0
    (0)> th * | grep 6A00D5
    pvthread+006A00  106*syncd    SLEEP 6A00D5 03C    0
           257  F1000A01513D0280 slist_table+000970
    
    (0)> f 4146
    pvthread+103200 STACK:
    [00579FDC]slock+00051C (00000000000E47F8,
     8000000000001032 [??])
    [00009558].simple_lock+000058 ()
    [002DCB1C]lmSync+00001C (??)
    [002D1FA4]txEnd+0001E4 (??)
    [002FBCDC]iSynchronize+00017C (??, ??, ??, ??, ??)
    [00320CE4]j2_fsync+0000E4 (??, ??, ??, ??, ??, ??)
    [005C51DC]vnop_fsync_range+00009C (??, ??, ??, ??, ??,
    ??)
    [0058C9C0]fsync_common+000100 (??, ??, ??, ??, ??)
    [00003888]mfspurr_sc_flih01+0000E4 ()
    
    (0)> f 106
    pvthread+006A00 STACK:
    [00579FDC]slock+00051C (00000000000093E8,
     8000000000001032 [??])
    [00009558].simple_lock+000058 ()
    [00241D2C].simple_lock_hot+00000C ()
    [002DE63C]lmLogSync@AF71_45+0000FC (??, ??, ??)
    [002DD748]lmLogSync+000028 (??, ??)
    [002DE7F0]lmLogSyncWithLock@AF72_2+000030 (??)
    [002D9C54]lmLogSyncWithLock+000014 (??)
    [002DD6E4]lmLogSyncAll+0000A4 ()
    [0028CEF8]iSyncdAll+0000B8 ()
    [002D9BB4]j2_syncvfs@AF50_13+0001B4 (??, ??, ??, ??, ??)
    [005CF0A4]vfs_syncvfs+000044 (??, ??, ??, ??)
    [0069E604]syncvfs+000244 (??, ??)
    [00003888]mfspurr_sc_flih01+0000E4 ()
    

Local fix

  • N/A
    

Problem summary

  • the system hang due to deadlock in the j2 FS code.
    

Problem conclusion

  • corrected the code to aviod deadlock.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58203
    6100-08 - use AIX APAR IV54120
    6100-09 - use AIX APAR IV54780
    6100-09 - use AIX APAR IV54780
    6100-09 - use AIX APAR IV54780
    7100-01 - use AIX APAR IV57486
    7100-02 - use AIX APAR IV56929
    7100-03 - use AIX APAR IV54781
    7100-04 - use AIX APAR IV54817
    

APAR Information

  • APAR number

    IV54120

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-01-16

  • Closed date

    2014-01-28

  • Last modified date

    2016-05-10

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