
+-----------------------------------------------+
|  Hitachi Fibre Channel Adapter (hfcldd)       |
+-----------------------------------------------+

1. Driver Information

  Refer the followiing file for more detail.

   - Driver information, and supported linux distributions and kernel versions :
       version.txt

   - Driver installation, parameter settings function and tools : 
       HITACHI Gigabit Fibre Channel Board User's Guide


2. Installing the hfcldd driver and utilities.

 * Before installation, be sure to the supported kernel version with version.txt.
 You may not be able to install the hfcldd driver to your system.

   You can check your linux kernel version by typing;
   # uname -r

 * You can get the hfcldd driver rpm package from the attached CD-ROM. 


 2-1 Get driver install package from CD-ROM.

 (RPM Package Name)

      SUSE Linux Enterprise Server 11 SP3
        htc-hfcldd-kmp-default-<driver version>-<release version>.sles11sp3.x86_64.rpm
        htc-hfcldd-kmp-trace-<driver version>-<release version>.sles11sp3.x86_64.rpm
        htc-hfcldd-tools-<driver version>-<release version>.sles11sp3.x86_64.rpm

 (CD-ROM)

   # mount /media/cdrom

   * For example, cd to the directory which you want to copy the rpm file.
   # cd /tmp

   * For example, copying htc-hfcldd-kmp-default-4.11.17.2162_3.0.76_0.11-1.sles11sp3.x86_64.rpm and
   htc-hfcldd-tools-4.11.17.2162-1.sles11sp3.x86_64.rpm

   # cp /media/cdrom/linux/x86_64/sles11sp3/htc-hfcldd-kmp-default-4.11.17.2162_3.0.76_0.11-1.sles11sp3.x86_64.rpm .
   # cp /media/cdrom/linux/x86_64/sles11sp3/htc-hfcldd-tools-4.11.17.2162-1.sles11sp3.x86_64.rpm .


 2-2 Installing driver package

  2-2-1 SUSE Linux Enterprise Server 11 SP3 driver

  1) Install SUSE Linux Enterprise Server 11 SP3 driver package

   * Type 'su' to root before installing.
   * Installing rpm packages updates kernel image file and make a backup copy of the original kernel image. 
     Modify ramdisk image name if needed. 

   # rpm -ivh htc-hfcldd-kmp-default-4.11.17.2162_3.0.76_0.11-1.sles11sp3.x86_64.rpm htc-hfcldd-tools-4.11.17.2162-1.sles11sp3.x86_64.rpm

   * When the package of the same version has already been installed,
     the message of "package htc-hfcldd-tools-4.11.17.2162-t1.sles11sp3.x86_64 is already installed" is displayed.
     In this case, please install the package with --force option.

   # rpm -ivh --force htc-hfcldd-kmp-default-4.11.17.2162_3.0.76_0.11-1.sles11sp3.x86_64.rpm

   * "---- Install Success" message will store in /tmp/hfcldd_install.log when install completes successfully.

   * In case the hcldd driver has already installed to the system,
   "A module name hfcldd already exists" message will be stored in /tmp/hfcldd_install.log.
   In this case, the installation completes successfully but the hfcldd driver has not been loaded yet.
   Reboot will allow the system to load the latest hfcldd driver.

  2) Confirm Install log stored in /tmp/hfcldd_install.log. 

     Please confirm whether the message of "Install Success" is logged.
     For example,

   # less hfcldd_install.log
      Boot directory      : boot
      Configulation file  : hfcldd_param.conf
      Kernel version      : 3.0.76-0.11-default
      Host Type           : x86_64
      ---- Install  @Hitachi Fibre Channel Adapter Driver - Fri Dec 27 01:05:54 JST 2013
      ---- Install Success


 3) Execute reboot

    # reboot

  2-3 Confirm that tools and utility files are installed in /opt/hitachi/drivers/hba.

3. Uninstalling the hfcldd driver and utilities.

    * Type 'su' to root before uninstalling.

 1) Uninstall rpm package

    # rpm -e htc-hfcldd-kmp-default-4.11.17.2162_3.0.76_0.11-1.sles11sp3.x86_64.rpm

 2) Confirm uninstall log stored in /tmp/hfcldd_uninstall.log. 

     Please confirm whether the message of "Uninstall Success" is output.
     For example,

     #  less /tmp/hfcldd_uninstall.log
     ....
     ---- Uninstall  @Hitachi Fibre Channel Adapter Driver
     ....
     ....
     ---- Uninstall Success


