OBSOLETE Patch-ID# 108418-01 Keywords: f/w v85 upgrade DLT7000 Desktop drives ONLY (Flexipacks) Synopsis: OBSOLETED by 108408 Date: Nov/11/99 Solaris Release: SunOS Release: Unbundled Product: Hardware/Tape Unbundled Release: DLT7000 desktop units ONLY Relevant Architectures: BugId's fixed with this patch: Changes incorporated in this version: Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: 108408 on Dec/21/99 Files included with this patch: D7sun-1.v85, tload_1.3, README.108418-01, Tape-Handl_Proc_2.pdf Problem Description: 1- Improved detection of motor A runaway error. 2- Buckle feeding tension is reduced. Tension reduction causes less force to be applied to the cartridge leader ears, resulting in further reduced likelihood of sucked cartridge leaders. 3- Detached tape leaders have been observed during power cycle testing. The dropped leaders occur when the tape is rewound to the unload position, the power is turned off, and the power is then turned back on. While pulling tape out of the cartridge the leaders become detached. The implemented solution is to pull on the supply motor and monitor hall switch and tachometer counts during Initialization. Modified code to break from Initialization and proceed to Load when a unit is powered with a cartridge loaded, handle closed, and tape fully retracted or close to fully retracted. 4- Resolved issue when drive goes bus free unexpectedly when writing in compressed DLT2000 format from a 20Mb/Sec SCSI bus. 5- Added more f/w Enhancements (Please read all instructions completely before starting.) Contents: A.0 F/W file Names & Utilities Explanation B.0 Procedure for f/w download B.1 How to create a FUP tape B.2 How to download f/w to the drive using a FUP tape (Easy & quick method) B.3 Drive f/w download via the scsi bus C.0 How to recognize the drive's f/w when you run inquiry command D.0 Recommendations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A.0 F/W file Names & Utilities Explanation A.1 D7sun-1.v85 --> This file contains the binary, V85 f/w for the dlt7000 drive or xx'55' hex = 85 dec. (663,552 bytes) A.2 tload_1.3 --> This is the f/w download utility, executable file, rev 1.3, required to download the drive f/w only via scsi bus. (35,948 bytes) A.3 README.108418-01, this file.. (11,926 bytes) A.4 Tape-Handl_Proc_2.pdf --> This is tape handling procedure. Make copies and give to your customers. (248,269 bytes) B.0 Procedure for f/w download Downloads f/w V85 (xx55 hex) to the DLT7000 drives. Note: It is NOT necessary to change the EEROM bits for this f/w. The EEROM bits are set correctly when the f/w is downloaded. B.1 How to create a FUP tape Once a FUP tape is created it can be used over and over again until all of the DLT drives receive the v85 f/w. Note: The combination of some systems and drives may fail to produce a good FUP tape. In such a case use the scsi bus download scheme. We are still evaluating the best way to make a good FUP tapes. CREATING A DLT FUP TAPE ON A SUN PLATFORMS The following describes how to create a DLT firmware upgrade (FUP) tapes on SUN platforms. Once created, the FUP tape can be used to upgrade f/w for the DLT tape drives very easily. The hardware configuration requirements are, a good DLT7000 or DLT4000 desktop tape drive attached and functioning with a Sun system. The DLT firmware image file must be accessible from the Sun system. It is important that the firmware image file remain intact before, during and after transportation to the target system. The DLT firmware update will fail if the image file has been altered. After the image file has been transferred, verify that the source and destination byte counts are the same. Prior to creating the FUP tape, make sure that the DLT tape cartridge is compatible with both the source and target DLT drive. Create the FUP tape as follows: Load a known, good tape cartridge (source) into the DLT drive. Make sure the cartridge is not write protected and manually override data compression as uncompressed using the density select buttons on the drive. Note: The FUP tape when created should not be in compressed mode. B.1.1 Use the dd command to copy the DLT firmware image file onto the tape. Generally, the dd command for this operation has the following construct: dd if= of= bs=8192 (For dlt7000 drive) Where: is the DLT firmware image file path & file name. is the DLT device path. Warning --- Warning Before you hit return to do the dd, make sure once again that the compression LED is not 'ON' for the drive. Example Using Type IV media in a dlt7000 drive: SUN: dd if=/path/D7sun-1.v85 of=/dev/rmt/3h bs=8192 (If dlt7000 drive is used, bs=8192, block size) Assumes firmware named D7sun-1.v85 located in /path/ and device name /dev/rmt/3h. The h in 3h sets compression off for the 7000 write mode. This matches with the block size recommended above. B.1.2 Upon successful completion, you have created a firmware upgrade tape for use in the dlt7000 drive. You can unload and remove the tape from the drive using the unload button on the drive. B.2 How to download f/w to the drive using a FUP tape (Easy & quick method) Note: If you have a large dlt7000 drives base and you are unable to make a FUP tape, engineering can create a good FUP tape for you if you send a dlt CompacTape IV tape to: Sun Microsystems MS: NWK04-104 8100 Central Ave, Newark, CA, 94560-3450 USA Att: Baios Thomas Please provide your name, tel No. and return address. This method can be used without interrupting the customer routines, by only taking the drive off-line. B.2.1 Take drive off-line B.2.2 Get dlt7000 drive 'ON', do not load tape now. B.2.3 Press and Hold the Unload button until the write protect LED flashes. B.2.4 Release the Unload button and press it again momentarily and release it B.2.5 At this time the 'Tape in Use' LED comes ON. B.2.6 At this time load the FUP tape and close door. Wait the download to complete. Two beeps will sound to let you know loading is done. B.2.7 At this time the tape will rewind and will unload tape and the 'open handle' LED will come ON. One beep will sound. Wait 8 sec, then open the lever and gently remove the FUP tape. If done abruptly may drop leader, be careful. B.2.8 Drive now has new f/w, re-cycle power and check f/w using inquiry command. Note: If the tape did not unload after more than 5-8 minutes, the downloading has failed perhaps for the following reasons: o The FUP tape may not be good. You may need to go back to sec B.1 and re-do the FUP. However if the tape already was used successfully to download another drive then the FUP tape is considered to be good. Try the FUP tape again on this same drive or another drive. o The drive may need head cleaning and if so do B.2.2 to B.2.8 again, after cleaning the head. o If all fail, you may need to do the download using the scsi bus, see sec B.3 B.3 Drive f/w download via the scsi bus Insure at least 20MBytes of free disk space on the Sun workstation to be used for the download operation WARNING:****WARNING:****WARNING:****WARNING: The system MUST BE IDLE during the download process! No other programs should be running while using this utility. Failure to do so may cause the devices being upgraded to fail or the system to crash. Volume managers such as Veritas, SDS, or Vold must be idle. Any other computers sharing the same I/O bus as the host system must be either disconnected or off-line. Run the tload_1.3 utility command as a super-user. tload_1.3 - Firmware Download utility for tape drives. SYNOPSIS tload_1.3 [ firmware_file ] DESCRIPTION tload_1.3 is an firmware downloader for tape drives. If the firmware_file is specified, then it would display the list of tape devices present on the system and asks the user to select the tape drive to which firmware has to be upgraded. Only One Tape drive can be upgraded at a time. If firmware_file is not specified, then it would display all the list of tape drives present on the system along with their FIRMWARE revision levels. Note: Eject tape from drive, if one is loaded already. Caution: When doing f/w download, allow at least 2-3 minutes after completion of download for the f/w to be properly loaded and be stable in the drive. EXAMPLES 1 shows how to determine available drives and their revs # tload_1.3 . AVAILABLE SCSI TAPE DEVICES: Vendor Product Rev Serial Number 0:/dev/rmt/3ln QUANTUM DLT7000 1E48 qH'+ 1:/dev/rmt/3ln EXABYTE EXB-89008E030203 V37f Example 2 shows how to download the firmware rev V85. This assumes that the f/w file D7sun-1.v85 is in the same directory as the tload_1.3 utility. # tload_1.3 D7sun-1.v85 -v (The -v is optional for verbose) AVAILABLE SCSI TAPE DEVICES: Vendor Product Rev Serial Number 0:/dev/rmt/3ln QUANTUM DLT7000 1E48 qH'+ 1:/dev/rmt/3ln EXABYTE EXB-89008E030203 V37f Select Tape Device[ 0 - 1 (-1 to quit)]: select 0 for Quantum drive Do You Want to Download Firmware to this tape device (Y/N) :Y to perform the download. NOTES Each Tape Drive has different modes for download tape drives. In the current tool, there is support for EXABYTE,TANDBERG,HP,ARCHIVE and Quantum DLT tape drives. For other tape drives, a default single WRITE BUFFER Command with mode (5) can be used to download the firmware. It is the responsibility of the administrator to download the correct firmware to the correct tape drive. If tape is present on the system, then it would be ejected before firmware download takes place. But it is recommended to eject tape manually first. Download of firmware can happen in multiple WRITE BUFFER Commands and it is advised that the downloading not be interrupted during this time else the tape drive can become totally unusable. C.0 How to recognize the drive's f/w when you run inquiry command If you run inquiry command the drive will respond as follows in hex. E.g. '1E48', if it has v72 f/w The 1E is the drive's electronic f/w rev, we can not change this. The 48 is the scsi set f/w and it is given in hex. If you convert to dec this then is designated as v'72'. 48 hex = 72 dec After the v85 f/w is downloaded, the drive will respond as xx55 for an inquiry command. 55 hex = 85 dec. Use your solaris/desktop calculator to convert from hex to dec or vise versa. D.0 Recommendations After all procedures have been completed, do the following: It is a good practice to run 'fsck -y' at the system level to insure that you have good system hard drives. If you see any errors or corrections, re-run the 'fsck -y' again until all is clean from the system's side. Then run backup utilities to test library. Also ensure your st.conf file is set correctly. Make sure you give a copy of the tape handling procedure to the customer. END