Permalink
Commits on Mar 16, 2011
  1. mhvtl.spec: Update for 0.18-14 release

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 16, 2011
  2. Makefile: fix parallel build

    Make dump_messageQ depend on libvtlscsi.so.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mar 14, 2011
  3. Makefile: pass $(PREFIX) and $(DESTDIR) to scripts install

    Pass $(PREFIX) and $(DESTDIR) from the top level Makefile to the Makefile in
    the scripts directory.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mar 14, 2011
Commits on Mar 12, 2011
  1. kernel module: add support for 2.6.37

    Replace DECLARE_MUTEX with DEFINE_SEMAPHORE (removed mutex emulation) and cope
    with changes to queuecommand (SCSI host lock push-down).
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mar 10, 2011
  2. Fix test for duplicate media.

    strncmp() ret value is > 11 if the barcodes are different.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mar 11, 2011
Commits on Mar 11, 2011
  1. Add media to a list.

    Easier to keep track of media in a list.
    
    Also fixed a bug where the listed was walked looking for existing media.
    This logic was broken as the list was always empty.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mar 10, 2011
Commits on Mar 9, 2011
  1. Update date string in kernel module

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mar 9, 2011
  2. Remove unused semaphore struct from kernel module

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mar 9, 2011
Commits on Mar 8, 2011
  1. use %attr in spec file

    Use %attr instead of chown and chmod in postinstall script.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mar 7, 2011
  2. replace 'vx' references in comments

    Replace 'vx' references in comments with 'vtl'.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Mar 7, 2011
Commits on Mar 5, 2011
  1. Add STK T10000C drive/media support

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mar 3, 2011
  2. Update all code using syslog() to use MHVTL_LOG macro

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mar 3, 2011
Commits on Mar 1, 2011
  1. Always log any signals caught.

    Update signal handler to use MHVTL_LOG() macro
    
    Signed-off-by: markh794 <markh794@gmail.com>
    committed Mar 1, 2011
  2. Always log critical errors.

    Added a new macro MHVTL_LOG which ignores the 'log level'
    and logs the message.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mar 1, 2011
Commits on Feb 18, 2011
  1. Add signal handler to vtltape & vtllibrary

    Don't do anything but log a warning to use the
    'vtlcmd <index> exit'
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Feb 17, 2011
Commits on Feb 17, 2011
  1. vtllibrary: Seperate media from slot.

    Media are defined within a struct
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 12, 2011
Commits on Jan 10, 2011
  1. mhvtl.spec: Update for 0.18-13

    Contains extra fix for READ ELEMENT STATUS
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 8, 2011
Commits on Jan 6, 2011
  1. mhvtl.spec: Update for 0.18-13beta1

    Got a guinea pig to test the READ ELEMENT STATUS changes..
    BakBone NetVault not working with it.. Hopefully this will resolve the issue.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 6, 2011
  2. smc: Update media type comment in src..

            Ref: smc3r12 - Table 28
            * 0 - empty,
            * 1 - data,
            * 2 cleaning tape,
            * 3 Cleaning,
            * 4 WORM,
            * 5 Microcode image medium
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 5, 2011
  3. SMC: read_element_status - don't return more than alloc_len data

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 5, 2011
  4. READ ELEMENT STATUS: Failing to return correct data

    Returning incorrect number of elements if initiator allocated
    buffer is not large enough to hold complete list.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 15, 2010
  5. LOG pages: byte-swap READ & WRITE byte count

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 4, 2011
  6. vtltape: Return ILLEGAL REQUEST on unsupported OP code

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 21, 2010
  7. Increase SENSE buffer size to 96 bytes

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 16, 2010
  8. Density code update:

    Add IBM 3592 density codes for ENCRYPTION capable media
    Add QIC density 0x11
    Correct DDS density codes
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 21, 2010
  9. Add SDLT320 media density code

    Reference: bptm log
     <2> io_write_media_header: report_density, 0x49 [QUANTUM SDLT320]
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 16, 2010
Commits on Nov 16, 2010
  1. mhvtl.spec: Update for 0.18-12 release

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 5, 2010
  2. vtltape: Remove redundant INQURY log message

    Was logging 'INQUIRY' message twice.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 16, 2010
  3. dump_tape: Correct usage message.

     Using program name from 'argv[0]' instead of hardcoded name
     which was incorrect anyway.
    
    Reported-by: Albert Pauw <albert.pauw@gmail.com>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 13, 2010
Commits on Nov 11, 2010
  1. mktape: Update to understand DDS media types

    Also added/cleaned up AIT range.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 11, 2010
  2. Added more medium density codes.

    Need to find correct values for DDS media
    Added AIT1/2/3
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 11, 2010
Commits on Nov 10, 2010
  1. SPIN/SPOUT: Limit to LTO4/5, 3592E05/6 and T10K

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 10, 2010
Commits on Nov 9, 2010
  1. segfault within smc_read_element_status

    No core file generated.
    Since adding debug printf's, no more segfault ??
    Leaving in just in case.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 9, 2010
  2. request sense: Fix return data size calculation

    request sense was only returning 8 bytes.
    Updated to complete 38 bytes of sense data
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 9, 2010