1. 31 Oct, 2014 2 commits
  2. 30 Oct, 2014 7 commits
  3. 29 Oct, 2014 10 commits
    • Steven Murray's avatar
    • Eric Cano's avatar
    • Steven Murray's avatar
      Added EXTERN_C prefix to rmc C functions · d86843c2
      Steven Murray authored
      d86843c2
    • Steven Murray's avatar
    • Giuseppe Lo Presti's avatar
      Added debug-level log · b6eb7825
      Giuseppe Lo Presti authored
      b6eb7825
    • Giuseppe Lo Presti's avatar
      Better log message · d897ec4e
      Giuseppe Lo Presti authored
      d897ec4e
    • Giuseppe Lo Presti's avatar
    • Giuseppe Lo Presti's avatar
    • Steven Murray's avatar
    • Steven Murray's avatar
      rmc_sendrep() now logs more about netwrite() errors · b4a15a4d
      Steven Murray authored
      The following two log snippets show that after retrying a mount
      several times and finally succeeding, there is still the error
      "rmc_sendrep: RMC02 - send error : No such file or directory".
      This commit adds more logs to try an determine what is happening.
      
      tpsrv001
      ========
      
      10/24 14:16:54  6638 dispatch: Dispatching request handler: req_type=4 req_type_str=RMC_MOUNT attemptNb=1 maxNbAttempts=3
      10/24 14:16:54  6638 rmc_srv_mount: RMC92 - mount request by 14029,1474 from tpsrv001.cern.ch
      10/24 14:16:54  6638 rmc_srv_mount: RMC98 - mount I07700/0 on drive 1
      10/24 14:16:55  6638 lasterror: Function entered: asc=40 ascq=1 save_errno=5 rc=-4 sensekey=6 skvalid=1
      10/24 14:16:55  6638 lasterror: Entry found in scsierr_acttbl: action_str=RBT_FAST_RETRY
      10/24 14:16:55  6638 rmc_sendrep: smc_mount: SR017 - find_cartridge I07700 failed : Import or Export Element Accessed
      10/24 14:16:55  6638 rmc_srv_mount: returns 2205
      10/24 14:16:55  6638 dispatch: Sleeping before fast retry: delayInSec=1 req_type=4 req_type_str=RMC_MOUNT attemptNb=2 maxNbAttempts=3
      10/24 14:16:56  6638 dispatch: Dispatching request handler: req_type=4 req_type_str=RMC_MOUNT attemptNb=2 maxNbAttempts=3
      10/24 14:16:56  6638 rmc_srv_mount: RMC92 - mount request by 14029,1474 from tpsrv001.cern.ch
      10/24 14:16:56  6638 rmc_srv_mount: RMC98 - mount I07700/0 on drive 1
      10/24 14:16:56  6638 lasterror: Function entered: asc=40 ascq=0 save_errno=5 rc=-4 sensekey=6 skvalid=1
      10/24 14:16:56  6638 lasterror: Entry found in scsierr_acttbl: action_str=RBT_FAST_RETRY
      10/24 14:16:56  6638 rmc_sendrep: smc_mount: SR017 - find_cartridge I07700 failed : Not Ready to Ready Transition
      10/24 14:16:56  6638 rmc_srv_mount: returns 2205
      10/24 14:16:56  6638 dispatch: Sleeping before fast retry: delayInSec=1 req_type=4 req_type_str=RMC_MOUNT attemptNb=3 maxNbAttempts=3
      10/24 14:16:57  6638 dispatch: Dispatching request handler: req_type=4 req_type_str=RMC_MOUNT attemptNb=3 maxNbAttempts=3
      10/24 14:16:57  6638 rmc_srv_mount: RMC92 - mount request by 14029,1474 from tpsrv001.cern.ch
      10/24 14:16:57  6638 rmc_srv_mount: RMC98 - mount I07700/0 on drive 1
      10/24 14:17:09  6638 rmc_srv_mount: returns 0
      10/24 14:17:09  6638 rmc_sendrep: RMC02 - send error : No such file or directory
      
      tpsrv007
      ========
      
      10/24 14:17:14  8152 dispatch: Dispatching request handler: req_type=4 req_type_str=RMC_MOUNT attemptNb=1 maxNbAttempts=3
      10/24 14:17:14  8152 rmc_srv_mount: RMC92 - mount request by 14029,1474 from tpsrv007.cern.ch
      10/24 14:17:14  8152 rmc_srv_mount: RMC98 - mount I20497/0 on drive 11
      10/24 14:17:14  8152 lasterror: Function entered: asc=41 ascq=0 save_errno=5 rc=-4 sensekey=6 skvalid=1
      10/24 14:17:14  8152 lasterror: Entry found in scsierr_acttbl: action_str=RBT_FAST_RETRY
      10/24 14:17:14  8152 rmc_sendrep: smc_mount: SR017 - find_cartridge I20497 failed : Power On, Reset, or Bus Device Reset Occurred
      10/24 14:17:14  8152 rmc_srv_mount: returns 2205
      10/24 14:17:14  8152 dispatch: Sleeping before fast retry: delayInSec=1 req_type=4 req_type_str=RMC_MOUNT attemptNb=2 maxNbAttempts=3
      10/24 14:17:15  8152 dispatch: Dispatching request handler: req_type=4 req_type_str=RMC_MOUNT attemptNb=2 maxNbAttempts=3
      10/24 14:17:15  8152 rmc_srv_mount: RMC92 - mount request by 14029,1474 from tpsrv007.cern.ch
      10/24 14:17:15  8152 rmc_srv_mount: RMC98 - mount I20497/0 on drive 11
      10/24 14:17:15  8152 lasterror: Function entered: asc=40 ascq=0 save_errno=5 rc=-4 sensekey=6 skvalid=1
      10/24 14:17:15  8152 lasterror: Entry found in scsierr_acttbl: action_str=RBT_FAST_RETRY
      10/24 14:17:15  8152 rmc_sendrep: smc_mount: SR017 - find_cartridge I20497 failed : Not Ready to Ready Transition
      10/24 14:17:15  8152 rmc_srv_mount: returns 2205
      10/24 14:17:15  8152 dispatch: Sleeping before fast retry: delayInSec=1 req_type=4 req_type_str=RMC_MOUNT attemptNb=3 maxNbAttempts=3
      10/24 14:17:16  8152 dispatch: Dispatching request handler: req_type=4 req_type_str=RMC_MOUNT attemptNb=3 maxNbAttempts=3
      10/24 14:17:16  8152 rmc_srv_mount: RMC92 - mount request by 14029,1474 from tpsrv007.cern.ch
      10/24 14:17:16  8152 rmc_srv_mount: RMC98 - mount I20497/0 on drive 11
      10/24 14:17:25  8152 rmc_srv_mount: returns 0
      10/24 14:17:25  8152 rmc_sendrep: RMC02 - send error : No such file or directory
      b4a15a4d
  4. 28 Oct, 2014 8 commits
  5. 24 Oct, 2014 7 commits
  6. 23 Oct, 2014 6 commits