Josh-Daniel S. Davis (joshdavis) wrote,
Josh-Daniel S. Davis

Strange TSM crashes

First time I've opened a PMR on TSM in years.

ENV: dsmserv, RHEL 5.5
PROBLEM: dsmserv crashes when autolabelling a tape
* Tapes processed with LABEL LIBVOL are fine.
* dsmserv drops core in the instance directory.
* No actlog and no stderr/stdout at crash
* Only a segfault indication in /var/log/messages but no details
* db2diag shows rc -50 from the dsm library and has a minicore
* DB2 stays running.
* Before and after, no more than 450mb of swap used.
* System has 16G of RAM & two 4-core Intel Xeon E5530 2.4GHz procs
* gdb backtrace on the core file shows:
#0 ScsiAutoLabelVolume (driveP=0x2aaab0108908, newLabelP=0x445b4eb0 "000042L3",
readLabelP=0x445b3e80 "", isScratch=True, isBlank=True, createWorm=False)
at mmsscsi.c:19973
#1 0x00000000009aa531 in ScsiMountVolume (volNameP=0x21640c50 "SCRTCH",
poolNameP=, mntDescP=,
callbackArgP=0x1f9d4ae8) at mmsscsi.c:19464
#2 0x000000000095580e in MmsMountVolume (volNameP=0x21640c50 "SCRTCH",
poolNameP=0x21641d10 "TAPEPOOL", mntDescP=0x445b5fa0,
callbackArgP=0x1f9d4ae8) at mms.c:1392
#3 0x0000000000ce33aa in LtoOpen (args=0x21640c48) at pvrlto.c:288
#4 0x000000000091d675 in AgentThread (argP=0x21640bf8) at pvr.c:12986
#5 0x0000000000c807f4 in StartThread (startInfoP=0x1e5c7a08) at pkthread.c:3325
#6 0x00000032bcc0673d in start_thread () from /lib64/
#7 0x00000032bc0d3d1d in clone () from /lib64/
ACTION TAKEN: isolated issue as above
ACTION PLAN: autolabel should not drop core.
TESTCASE: DB2 cores, dsmserv cores, db2diag, actlog
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded