IBM Support

IJ54392: PROBABLE SYSTEM CRASH AT XM_BAD_FREE APPLIES TO AIX 7300-02

 

APAR status

  • Closed as program error.

Error description

  • Probable system crash with below stack while changing the fc
    adapter ODM attribute io_dma value.
    Example :
    #chdev -l fcs0 -a io_dma=2048 -U
    fcs0 changed
    
    KDB(0)> f
    pvthread+090500 STACK:
    Ý0002CD00¨abend_trap+000000 ()
    Ý00081B2C¨xm_bad_free+00026C (??, ??, ??, ??)
    Ý001126F8¨xmfree_backend+0008F8 (000000000070EEB4,
    F1000B01C0000000, F00000002FF46410, 0000000000000000,
    0000004500000045)
    Ý00111968¨xmfree_frontend+000128 (??, ??, ??)
    ÝF10009D5A020CC0C¨cvfc_scsi_queue_cleanup+00028C (??, ??, ??)
    ÝF10009D5A01D73B0¨cvfc_cfg_updt_io_dma+000250 (??, ??)
    ÝF10009D5A01D7CF0¨cvfc_cfg_update+0002B0 (??, ??, ??)
    ÝF10009D5A01E0FA8¨cvfc_config+0003E8 (??, ??)
    

Local fix

Problem summary

  • Probable system crash with below stack while changing the fc
    adapter ODM attribute io_dma value.
    Example :
    #chdev -l fcs0 -a io_dma=2048 -U
    fcs0 changed
    
    KDB(0)> f
    pvthread+090500 STACK:
     0002CD00 abend_trap+000000 ()
     00081B2C xm_bad_free+00026C (??, ??, ??, ??)
     001126F8 xmfree_backend+0008F8 (000000000070EEB4,
    F1000B01C0000000, F00000002FF46410, 0000000000000000,
    0000004500000045)
     00111968 xmfree_frontend+000128 (??, ??, ??)
     F10009D5A020CC0C cvfc_scsi_queue_cleanup+00028C (??, ??, ??)
     F10009D5A01D73B0 cvfc_cfg_updt_io_dma+000250 (??, ??)
     F10009D5A01D7CF0 cvfc_cfg_update+0002B0 (??, ??, ??)
     F10009D5A01E0FA8 cvfc_config+0003E8 (??, ??)
    

Problem conclusion

  • Fixed the FC driver code to avoid the crash
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ54392

  • Reported component name

    AIX V7.3

  • Reported component ID

    5765CD300

  • Reported release

    730

  • Status

    CLOSED PER

  • HIPER

    NoHIPER

  • Submitted date

    2025-04-16

  • Closed date

    2025-04-16

  • Last modified date

    2025-12-10

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

    IJ53684

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

Fix information

  • Fixed component name

    AIX V7.3

  • Fixed component ID

    5765CD300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11T","label":"AIX 7.3 HIPERS- APARs and Fixes"},"Platform":[{"code":"PF053","label":"Power Systems"}],"Version":"730","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
10 December 2025