IBM Support

IV51885: LOOPMOUNT CAN CRASH THE SYSTEM APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • loopmount can crash the system. The stack trace:
    CRASH INFORMATION:
    CPU 0 CSA F00000002FF47600 at time of crash,
      error code for LEDs: 70000000
    pvthread+02C800 STACK:
    [00022080]abend_trap+000000 ()
    [005982AC]slock+00054C (??, ??)
    [00009558].simple_lock+000058 ()
    [06B81F94]loopdd:loop_read+000054
      (??, ??, ??, ??)
    [005BB7E4]rdevread+0001C4 (??, ??, ??, ??, ??)
    [007AE27C]gno_rw@AF17_5+00005C
      (??, ??, ??, ??, ??)
    [005ADAC8]rwuio+000108 (??, ??, ??, ??, ??, ??)
    [005AE520]fp_rdwr+000180
      (??, ??, ??, ??, ??, ??, ??, ??)
    [005AEED4]fp_read+000034
      (??, ??, ??, ??, ??, ??)
    [00014F50].kernel_add_gate_cstack+000030 ()
    [F1000000C045E524]cfs.ext:cdrbread+0000A4
      (??, ??, ??, ??)
    [F1000000C0462F38]cfs.ext:cdrgetname+000298
      (??, ??, ??, ??, ??, ??)
    [F1000000C0463E10]cfs.ext:cdrlookup_rrg+000290
      (??, ??, ??)
    [F1000000C04613A0]cfs.ext:cdr_lookup+0000E0
      (??, ??, ??, ??, ??, ??)
    [00014D70].hkey_legacy_gate+00004C ()
    [005EA6D4]vnop_lookup+0001D4
      (??, ??, ??, ??, ??, ??)
    [005ABDD8]lookuppn+000918
      (??, ??, ??, ??, ??, ??, ??, ??)
    [006841F8]openpnp+000238
      (??, ??, ??, ??, ??, ??, ??, ??)
    [00684C40]openpath+000140
      (??, ??, ??, ??, ??, ??, ??, ??)
    [0068585C]fp_open+00009C
      (??, ??, ??, ??, ??, ??)
    [00014F50].kernel_add_gate_cstack+000030 ()
    [06B82C60]loopdd:loop_open+000200
      (??, ??, ??, ??)
    [005BAF00]devcopen+000480 (??, ??, ??, ??, ??)
    [005BBE0C]fp_opendev+0001EC (??, ??, ??, ??, ??)
    [00014F50].kernel_add_gate_cstack+000030 ()
    [F1000000C045D740]cfs.ext:cdr_mount+0001C0
      (??, ??)
    [00014D70].hkey_legacy_gate+00004C ()
    [005F0268]vfs_mount+000028 (??, ??)
    [005E10D0]smount+0004F0 (??)
    [005E1D34]vmount+0001F4 (??, ??)
    [000038A4]mfspurr_sc_flih01+0000E4 ()
    [kdb_get_virtual_memory] no real storage @ 2FF201A8
    [10007B24]10007B24 ()
    [kdb_read_mem] no real storage @ FFFFFFFFFFF5FA0
    Abend reason is : ESYSERROR_SL_RECURLOCK
    
    this happens if there is already a loopmounted
    iso image and another loopmount does search for
    the image file in this already loopmounted directory.
    Example: /tmp/iso1 is the already mounted image
    cd /tmp/iso1
    loopmount -i i2.iso "-V cdrfs -o ro" -m /tmp/iso2
    The current work directory is /tmp/iso1 and here
    we try to find i2.iso.
    

Local fix

  • make sure the loopmount will not search for
    the image to mount in an already loopmounted
    directory.
    

Problem summary

  • loopmount can crash the system. this happens if there is
    already a loopmounted iso image and another loopmount does
    search for the image file in this already loopmounted
    directory.
    

Problem conclusion

  • Logic added to avoid the system crash.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58244
    6100-08 - use AIX APAR IV57935
    6100-09 - use AIX APAR IV51885
    6100-09 - use AIX APAR IV51885
    6100-09 - use AIX APAR IV51885
    7100-01 - use AIX APAR IV57552
    7100-02 - use AIX APAR IV47155
    7100-02 - use AIX APAR IV47155
    7100-03 - use AIX APAR IV51480
    ž**** PE15/06/01 PTF IN ERROR. SEE APAR IV68930  FOR DESCRIPTION
    

APAR Information

  • APAR number

    IV51885

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-11-11

  • Closed date

    2013-11-11

  • Last modified date

    2015-06-01

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

    IV47155

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

       UP14/10/28 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV51885

Modified date: 01 June 2015