Tapetool 1.08.21 June 25, 2004 Tapetool is an IBM standalone tape drive, autoloader, and library firmware update and diagnostic tool. It contains a fully automated firmware update program for use in DOS, Windows, and Linux for both 32 and 64 bit systems. Also included are the latest available device drivers, users and operators guides, hardware maintenance manuals, and errata. Customized error log gathering routines are also bundled. History ------- 1.08.21 - VS160 to quantum_dltvs_8k - Modified 3607-26X to v15 - Modified listing of device names to IBM part numbers - Modified IBM Ultrium 2 to 3AY4 - Add statement for new tool 1.08.20 - Update Autoexec file - Incorporate Adaptec 320 ASPI - Modified 3581 algorythm - Modified to decrease runtime 1.08.19 - Move to improved version numbering system. - Include 64-bit Linux modules - Add interactive device selection during autoupddate. - Add autock, list, listsim commands, and -t, and -s options. - Add " to repaint screen" on Linux. - Fix 4-bus SCSI adapter enumeration. 1.8L - Re-enable NT/W2K/XP/2003 workaround that prevents TAPEDRV8570 error: OS error 1117 on final WriteBuffer (broken beginning in 1.7). - Treat "Check Condition - No Sense" as "Good" status, rather than error. - Recompiled for glibc-2.2.4 (rather than glibc-2.3) 1.8k - Add exabyte_vxa algorithm 1.8j - Reset hp_ultrium final Write Buffer Offset to 0 Increase hp_ultrium transfer segment size from 4K to 32K Change default hp_ultrium UpdatePrepare to "Unload" only. Add ReferencName parameter 1.8i - Add support for IBM firmware in DDS1,DDS2,DDS3 tape drives 1.8h - Add support for ReplaceVersion parameter 1.8g - Reduce ibm_library transfer segment size from 64K to 32K 1.8f - Add ibm_library algorithm 1.8e - Add support for .ini WriteBufferID parameter 1.8d - Change Write Buffer ID from 0 to 1 for hp_ultrium 1.8c - Clear data direction flags for all zero length SCSI CDB transfers 1.8b - Fix failure to update TR7 under Windows NT,2000,XP,2003 - Add Linux DDS1/DDS2 with 256K EEPROM, and TR4, TR5, TR7, update support - Add "tapedrv" script to run Linux architecture specific executables 1.8 - Add Linux support - Convert InquiryStd full string be ASCII pattern - Add ASCII pattern capability to InquiryOEM_CFR - Add DOS/Windows recognition of '-' (as well as '/') for options. 1.7 - Add redirection of firmware to LUN 0 via UpdateFlags = "Z" - Add Vendor specific ASCII Inquiry data recognition via InquiryStdAscii - Add VPD recognition via VpdAscii and VpdHex - Add "tapedrv inquiry" command to dump all tape device Inquiry data. - Update pattern matching and SCSI enumeration - Change pattern escape character from caret (^) to grave accent (`) - Enable CDB logging in 32-bit (not 16-bit) mode - Optimize loading of tapedrv.ini (for floppy performance). 1.6 - 1.5 - Revised menu 1.4 - Updated firmware revisions added menu and support tools 1.3 - Fix by disabling non-zero LUN scan when LUN0 returns error 1.2 - Fix failure to update Seagate STT3401A TR7 in DOS mode 1.1 - Add non-zero LUN support (Use new /z option if LUN0 only is needed); - Add "seagate_tr7" UpdateAlgorithm (for STT3401A) - Add "quantum_dlt_8k" UpdateAlgorithm (for DLT4000) - Add UpdateFlags = "" control 1.0 - Debug version (partial non-zero LUN support) 0.9 - Fix 'tapedrv status -o' broken in v0.8; 5K DOS memory reduction 0.8a - Fix 'tapedrv status -r' broken in v0.8 0.8 - Fix for HP half-high and Win9x 3600 Library w/ 126I firmware 0.7 - Add support for device access via NT port driver 0.6 - Fixes for 3502 and 3600 Libraries and the IBM Ultrium-1 0.5 - Fix "Invalid device request reading drive c" errors during DOS mode program initialization. 0.4 - Reduce maximum DOS mode memory requirement an additional 15K. 0.3 - Reduce maximum DOS mode memory requirement by about 12K. 0.2 - Add DOS mode memory usage logging - Hide cursor after status and prompt line update - Fix command line option character case insensitivity 0.1 - Second pass 0.0 - Initial pass Usage ----- The Tapetool18.iso CDROM image that needs to be extracted via a CDROM building utility such as Nero or EZ CD Creator. Once created the image can be booted or will run automatically in Windows. For usage in Linux 32 or 64-bit follow these steps. 1. Put the cd image in the cdrom drive. 2. At a command prompt type: mount /dev/cdrom /mnt/cdrom then press enter 3. At the command prompt type: cd mnt/cdrom then press enter 4. At the command prompt type: ./tapedrv autoupdate then press enter Appendix A: Package Specific Installation Instruction This update is packaged as a self-extracting PackageForTheWeb (PFTW) executable file. To unpack, this update requires that your TEMP environment variable be set to a path with read/write access. You must be logged in as an administrator. The package update log, ux.log, is created on the system drive. To locate the log file go to: %SystemDrive%\uxlog\ux.log The command-line syntax for PackageForTheWeb firmware update package is: Package.exe [-s] [-a [-s] | [-r] | [-c] | [-x directory] | [-xd] | [-w] | [-?] ] [-s] This command installs the Package-For-The-Web software silently and does not prompt if files are to be over-written in the %temp% directory. [-a] This command passes all subsequent commands to the PFTW software to install the update package. [-s] This command runs a silent and unattended update. For firmware updates, the update is scheduled to run on the next reboot. An immediate reboot can be forced with the -r option. [-r] This command schedules the update and reboot immediately. It can be used with or without the -s command. [-c] This command cancels any scheduled firmware update and records results of this operation in the log file. Only one firmware package can be scheduled at a time, if a firmware update needs to be applied instead of the currently scheduled firmware update package, cancel the current (run with the -c option on any firmware package) package. Then, run the applicable firmware package. [-x directory] This command is used with firmware updates to extract the update to the directory named directory. The PackageForTheWeb executable extracts itself to a subdirectory in the %TEMP% directory, a relative directory will be relative to that location. You must specify an absolute directory if you do not want to use the default directory. [-xd] This command is used with firmware updates to extract to a floppy diskette. The floppy diskette can then be used to boot from and apply the update. This option is not available for all firmware updates, such as tape drive and hard-disk drive updates. [-w] PowerQuest Virtual Boot Environment requires that there are 2 free sectors on the first track before it can schedule a firmware update. Use this option only if scheduling an update failed because 2 free sectors were not available on the first track. This option clears the non-boot and the non-partition information sectors on the first track. Typically, these sectors are not used. Before clearing the sectors a copy of the complete first track is saved in the %temp% directory from which the update runs. [-?] This command displays information about the command line switches. The command line switches -s, -r -c and -e are unnattended. Other command line options such as display help (-?) might require that you hit any key to continue. If Windows packages are run without any command line options, a GUI is displayed. This GUI offers all of the options that are available using the command line.