Skip to content
Commits on Sep 11, 2011
  1. mhvtl.spec: Update for the 1.0.1 release

    - Added mode page 25h (vendor specific) for IBM LTO3/4/5
      This allows the Windows IBM Tape Driver to load correctly (connected via
      iSCSI)
    - Attempt to correct file permission/ownership when media is created manually
    - A HUP signal to the vtllibrary daemon will cause it to re-read its config
      from the /etc/mhvtl/library_contents.XX file. (So you can change the slot
      config without having to re-start the daemon).
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 11, 2011
  2. MODE PAGE: Add IBM Ultrium mode page 25h for LTO3/4/5

    The IBM Windows LTO drivers don't seem to load unless
    it can find this mode page.
    I can't find it referenced in the IBM Ultrium doco :(
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 11, 2011
  3. Attempt to set correct ownership of media files on creation.

    Attempt to chown() / chmod() of virtual media files at time
    of creation. Helps prevent silly mistakes when usr manually
    runs mktape as root and forgets to re-set file permission/ownership.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 11, 2011
Commits on Sep 9, 2011
  1. vtllibrary: Re-reading config file on SIGHUP

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 8, 2011
  2. Remove execute bits on make_vtl_media.in

    Source files shouldn't be executable.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 8, 2011
Commits on Sep 7, 2011
  1. Update man pages for 1.0

    Note: The man pages are still bare-bones and could do with some love.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mark Harvey Sep 7, 2011
  2. remove 'media load' rules from device.conf(5)

    Remove 'media load' rules from device.conf(5).
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mark Harvey Sep 7, 2011
  3. kernel module: remove not used num_tgts module parameter and sysfs at…

    …tribute
    
    Remove not used num_tgts module parameter and sysfs attribute. Also remove no
    longer needed vtl_max_tgts_luns().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mark Harvey Sep 7, 2011
  4. kernel module: remove not used max_luns module parameter and sysfs at…

    …tribute
    
    Remove not used max_luns module parameter and sysfs attribute.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mark Harvey Sep 7, 2011
Commits on Sep 4, 2011
  1. mhvtl.spec: Update for the 1.0.0 release

    - Re-worked MODE SENSE/SELECT data structures into a linked list.
    - Re-worked LOG SENSE/SELECT data structures into a linked list.
    - Added support for sub-page MODE information.
    - Added STK 9x40 drive emulations.
    - Removed dead code from kernel driver.
    - Add working REPORT DENSITY support to the SSC.
      This change required the personality modules to define the list of supported
      densities. The media density is defined at 'mktape' time.
      Hence, the optional 'media load' rules in device.conf are now redundent
      and not used.
      BUT: The option to load any media into any drive is also gone.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 2, 2011
  2. SSC: Rework report density op code

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 24, 2011
  3. Fix WRITE_6 / READ_6 logging at level 1

    Level 1 logging should only log every 50th sequential read/write.
    
    Incorrectly using two different variables and hence logic was faulty.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 3, 2011
  4. vtlcart: Update coding style in rewrite_meta_file().

    Added a little extra info to a couple of the error messages.
    No functional change. Still a lot of style differences in this file.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 2, 2011
Commits on Aug 28, 2011
  1. vtltape: change 'early write' to 'early warning'

    Change 'early write' to 'early warning'.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh@l-034246.(none)>
    Sebastian Herbszt committed with Mark Harvey Aug 29, 2011
  2. Fix 'programmable early warning detected' ASC/ASCQ

    The 'programmable early warning detected' ASC/ASCQ is 00 07.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh@l-034246.(none)>
    Sebastian Herbszt committed with Mark Harvey Aug 29, 2011
Commits on Aug 24, 2011
  1. dump_tape: report remaining capacity

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 24, 2011
  2. Default 'programable early warning' to 'early warning' size

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 24, 2011
  3. Add STK 9x40 drive personality module.

    Stumbled across the T9x40 interface reference manual
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 24, 2011
  4. Add Early Warning to tape emlation.

    Return correct sense code at Early Warning / End of Media
    
    Still needs lots of work.
     - Ability to set/change programable early warning.
     - Perhaps move early warning / programable early warning into MAM
       so it can be set per tape.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 3, 2011
  5. Add MODE page: Device Configuration Extension.

    Used by at least IBM Ultrium LTO 3/4/5
    Need to check other drive types.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 23, 2011
  6. MODE PAGE : Power Condition

    Extend length of POWER CONDITION MODE PAGE to 0x26
    Reference : IBM Ultrium SCSI Reference (11th edition)
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 23, 2011
  7. Add ENCRYPTION MODE PAGE / subpage

    Found this page well documented in IBM Ultrium SCSI Reference guide
    11th edition.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 23, 2011
  8. Makefile: libvtlscsi.so does not depend on ssc.c

    Remove ssc.c as dependency for libvtlscsi.so build rules
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 19, 2011
  9. Restructure LOG SENSE/SELECT data into linked list

    Need to perform sanity check on which drives support which log page(s)
    and implement per personality module.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 17, 2011
Commits on Aug 23, 2011
  1. use defines instead of magic numbers

    Use defines instead of magic numbers.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 24, 2011
  2. spc: check if subpage code is valid for page code 0x3f in spc_mode_se…

    …nse()
    
    Check if subpage code is valid for page code 0x3f in spc_mode_sense().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 24, 2011
  3. Fix core dump due to incorrect use of get/put_aligned_be64()

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 23, 2011
Commits on Aug 18, 2011
  1. vtllibrary: call add_mode_transport_geometry() and add_mode_device_ca…

    …pabilities()
    
    Call add_mode_transport_geometry() and add_mode_device_capabilities() in
    init_smc_mode_pages().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 19, 2011
Commits on Aug 17, 2011
  1. Replace byte-order swap routines with 'safe' vers.

    The 'get_unaligned_beXX()' do not need CPU word alignment.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mark Harvey Aug 9, 2011
  2. Update IBM Ultrium mode page initialisation

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mark Harvey Aug 17, 2011
  3. Support MODE sub-pagecodes

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mark Harvey Aug 16, 2011
  4. Restructure mode page handling

    Moving mode pages from an array into a linked-list
    
    Main driving factor: To support MODE sub-pagecodes in a
    more efficient fashion.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mark Harvey Aug 13, 2011
Commits on Aug 11, 2011
  1. Rename REPORT_LUN to REPORT_LUNS

    Rename REPORT_LUN to REPORT_LUNS.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 12, 2011
Commits on Aug 9, 2011
  1. Default PRODUCT REV with MHVTL_VERSION

    Can still be overridden in device.conf.
    Setting no longer set in device.conf for new users however.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 10, 2011
Something went wrong with that request. Please try again.