ANNOUNCE: Release 1.4-10 / mhvtl-2013-10-20

classic Classic list List threaded Threaded
Locked 1 message Options
Reply | Threaded
Open this post in threaded view
|

ANNOUNCE: Release 1.4-10 / mhvtl-2013-10-20

Mark Harvey
Administrator

After almost 2 months in the making... A new release

Available on the mhVTL home page - https://sites.google.com/site/linuxvtl2/home#mhvtl-download
(or at bottom of this announcement)

Main bullet points:
    - Various cleanups/bug fixes as a result of the static code check 'smatch'
    - Fix TapeAlert bit offsets
    - Return bit/byte offset for sense INVALID FIELD IN CDB/PARAMS
    - Fix returned data size when 0 data is requested (kernel module fix)
    - SMC - Ability to keep library media change persistent across restarts
    - SSC - Fix op code 0Fh (read reverse) incorrectly set to 'reserve'
    - SSC - Implement 'read media serial number' op code
    - Fix 'make_vtl_media' script to understand IBM 03592 media type

Change log
Mark Harvey (82):
      Silence compile warning on 32bit platform
      vtllibrary: Unconditionally log OOM condition
      smatch: hp_ultrium -> return on NULL check
      smatch: smc: non-ANSI function declaration of function 'check_tape_load'
      smatch: smc: Prevent segfault on unlikely event
      smatch: smc: buffer overflow on barcode copy
      smatch: ssc: Fix bad test in 'ALLOW OVERWRITE'
      smatch: vtlcart: Removed unneeded if()
      smatch: vtlcart: Correct bitwise test in print_raw_header()
      smatch: No need to NULL check before free()
      smatch: vtltape: Possible memory leak in writeBlock_lzo()
      micro-optimization - add likely() and unlikely() macros
      vtlcart: include stddef.h not needed
      Code style cleanup in mktape.c
      dump_messageQ: Used a 'long int' to count cmd line args
      TapeAlert: Merge two log entries into one
      rc script: Simplify awk statement looking for valid libraries
      SSC: Move common code for READ/WRITE into a function
      Makefile: TAGS & vim has an issue with 'long' entries.
      TapeAlert: Correct bit offset for TapeAlert definitions
      Whitespace cleanup
      Log SCSI OP code description in UPPER CASE
      Implement basic RECEIVE DIAGNOSTIC RESULTS
      kernel module: Fix issue with return data size when 'returned data sz is == 0'
      kernel module: Bump version to 0.18.14
      SENSE: Update to allow Sense key specific sense data
      Invalid op code: Update sense data to reflect incorrect byte
      LOG SELECT: Invalid field in CDB - update sense specific data
      MODE SENSE: Invalid field in CDB - update sense specific data
      Extended sense field count - too agressive with byte swaps.
      SSC: set_device_configuration_extention mode page
      SSC: Update Security Protocol Out with enhanced sense info
      SSC: Update write attribute with enhanced sense info
      SSC: Update SPACE with enhanced sense info
      SSC: Update Security Protocol Out with enhanced sense info
      SSC: Prevent segfault if buffer size defined too large for SPIN
      SSC: Update READ ATTRIBUTE with enhanced sense info
      SSC: Update MODE SELECT with enhanced sense info
      SSC: Update READ POSITION with enhanced sense info
      SSC: Update REPORT DENSITY with enhanced sense info
      SSC: Update ERASE with enhanced sense info
      SSC: Update SPACE with enhanced sense info
      SSC: Update LOAD/UNLOAD with enhanced sense info
      SSC: Update ALLOW OVERWRITE with enhanced sense info
      SSC: Update READ 6 with enhanced sense info
      SSC: Update LOG SENSE with enhanced sense info
      SMC: Update READ ELEMENT STATUS with enhanced sense info
      SMC: Update MOVE MEDIUM with enhanced sense info
      SMC: Update OPEN/CLOSE IMPORT/EXPORT ELEMENT with enhanced sense info
      SMC: Update LOG SENSE with enhanced sense info
      Rename mkSenseBufExtended() to return_sense()
      SSC: Test for overflow before init memory
      SSC: Implement READ MEDIA SERIAL NUMBER
      smatch: define usage() functions as static
      kernel module: Report of build failure with 2.6.9
      kernel module: Bump version strings 20130926 / 0.18.15
      Call return_sense() directly instead of mkSenseBufExtended wrapper
      Replace mkSenseBuf() with macro to wrap return_sense()
      mkSenseBuf(UNIT_ATTENTION...) into a wrapper sam_unit_attention()
      mkSenseBuf(NOT_READY, ) into a wrapper sam_not_ready()
      mkSenseBuf(ILLEGAL_REQUEST, ) into a wrapper sam_illegal_request()
      mkSenseBuf(MEDIUM_ERROR, ) into a wrapper sam_medium_error()
      mkSenseBuf(BLANK_CHECK, ) into a wrapper sam_blank_check()
      mkSenseBuf(DATA_PROTECT, ) into a wrapper sam_data_protect()
      mkSenseBuf(HARDWARE_ERROR, ) into a wrapper sam_hardware_error()
      mkSenseBuf(NO_SENSE, ) into a wrapper sam_no_sense()
      Remove mkSenseBuf() as it is no longer used.
      return_sense() can now be static
      vtllibrary: call cleanup_lu() on exit.
      vtltape: call cleanup_lu() on exit.
      make_vtl_media: Add missing IBM 03592 media type
      SSC: Log 'REPORTED SUPPORTED OP CODES' attempts.
      vtllibrary: Update 'slot_type_str' into a wrapper function
      vtllibrary: Always log fatal error
      Add 'PERSIST: False' entry to default device.conf
      SMC: Persist library configuration across restart
      man: Update man page for PERSIST: setting in device.conf
      Fix typo in comment PRId64 not PDId64
      vtllibrary: Leave offline if reconfig can't fit into alloc memory
      Cleanup compile warnings on 32bit machines.
      Check latest kernel module at startup
      mhvtl.spec: Update for 1.4-10_release

Sebastian Herbszt (3):
      spc: fix comment in spc_mode_sense()
      ssc: rename ssc_format_media to ssc_format_medium
      vtltape: op code 0Fh is not supported


mhvtl-2013-10-20.tgz
mhvtl-utils-1.4-10.i586.rpm
mhvtl-utils-1.4-10.src.rpm
mhvtl-utils-1.4-10.x86_64.rpm

As always - feedback most welcome - both good and bad..
Regards from Australia
Mark Harvey