============================================================================== UPGRADE FROM 2.1.1 OR EARLIER: ============================================================================== These install instructions assume you are using csh. If you are using sh, the steps are the same, but some specific commands may be different. If this is a first time install, begin with step 4. If this is an upgrade, begin with step 1. 1. (Update only) Shutdown any EmPack applications. 2. (Update only, as root) Kill the EmPack watchdog: # ps -A | grep emwatchd # kill -QUIT pid You may need to use ps -ax instead 3. (Update only) Remove 2.11 files: # rm -r $CAC/empack # rm $CAC/include/wintypes.h # rm $CAC/include/em*.h # rm $CAC/lib/libem*.a # rm $CAC/bin/em* # rm /etc/rc2.d/S99empack (as root) 4. Un-tar the distribution. The recommended location is "/usr/cac/". The tar file will create a new directory tree as ./empack/* If you choose a directory other than "/usr/cac", be sure to rebuild the distribution in step 12 below. # mkdir /usr/cac (if needed) # cd /usr/cac # tar xvf /cdrom/solaris/empack_330.tar If upgrading, go to step 6. 5. (New installs) Define the environment variable "CAC" to the root of the installation. # setenv CAC /usr/cac Because this variable is used in most Makefiles (as well as other places), it is recommended that this command be placed in your .login or other startup file. You may also wish to include $CAC/bin and possibly $CAC/empack/diag in your path. Go to step 10. 6. (Upgrades, as root) Remove the old driver: # rem_drv empack 7. (Upgrades, as root) Delete the old /dev entries: # ls /dev/emp* Delete any files that look like: /dev/emp0 /dev/emp0chan /dev/emp0diag /dev/emp0irq /dev/empack0,0 /dev/empack0,1 /dev/empack0,2 /dev/empack0,3 8. (Upgrades, as root) Edit /etc/path_to_inst to remove any entries for "empack". This can be done in vi with: :%g/"empack"$/d :w! :q Of course, it goes without saying that you should have a backup! 9. (Upgrades, as root) Reboot (the system will do a reconfiguration boot because rem_drv has been executed). 10. (Optional) Edit $CAC/empack/soldev/empack.conf to reflect your system configuration. Commenting entries for device IDs which do not have an EmPack will speed booting. Be sure to comment out all four LUNs. If you do not, the driver will not work properly. 11. (As root) Install the new driver: # cd $CAC/empack/soldev # make install 12. (Optional, Required if $CAC != /usr/cac) Build the EmPack distribution: # cd $CAC/empack # make clean; make install This will rebuild the library, the bin tools, and the diagnostic utilities. 13. Update the embedded code in your EmPacks: # emflash all