diff --git a/qla2x00t/doc/qla2x00t-howto.html b/qla2x00t/doc/qla2x00t-howto.html index c1b00e10d..540f21f11 100644 --- a/qla2x00t/doc/qla2x00t-howto.html +++ b/qla2x00t/doc/qla2x00t-howto.html @@ -12,9 +12,13 @@ body > ol > li {padding-bottom:1ex;} -
How to Configure the FC QLogic Target Driver for 22xx/23xx/24xx/25xx/26xx Adapters

+
+ How to Configure the FC QLogic Target Driver for + 22xx/23xx/24xx/25xx/26xx Adapters
+

-
TARGET SYSTEM


+
TARGET SYSTEM
+

  1. @@ -82,11 +86,11 @@ qla2xxx 0000:13:00.0: Failed to initialize adapter
  2. Install the necessary kernel development packages. On a Debian system these packages can be installed as follows: -
    [root@proj ]# apt-get install gcc libncurses5-dev linux-headers-`uname -r` lsscsi patch subversion
    +
    [root@proj ]# apt-get install gcc linux-headers-`uname -r` lsscsi patch subversion
    On RHEL/CentOS/SL systems these packages can be installed as follows: -
    [root@proj ]# yum install gcc ncurses-devel kernel-devel lsscsi patch subversion
    +
    [root@proj ]# yum install gcc kernel-devel lsscsi patch subversion
    And on SUSE systems these packages can be installed by running the following command: -
    [root@proj ]# zypper install gcc ncurses-devel kernel-devel lsscsi patch subversion
    +
    [root@proj ]# zypper install gcc kernel-devel lsscsi patch subversion
  3. @@ -115,44 +119,6 @@ And on SUSE systems these packages can be installed by running the following com Note, this driver is not stable at the moment, therefore use of the driver from the SCST tree is recommended.
  4. -
  5. -Find out whether you will need iSCSI zero-copy optimization. Since it is valuable only with scst_user user space dev handlers, most likely, you don't need this feature. If you don't, skip the kernel download, patch, rebuild -and reboot steps and continue with the SCST build step. -
  6. - -
  7. Decide whether you want to start from a vanilla Linux kernel source tree -or from the kernel source tree specific to your Linux distribution. Vanilla kernel sources can be downloaded from http://www.kernel.org/pub/linux/kernel/. Unzip the downloaded archive under /usr/src: -
    [root@proj ]# cd /usr/src
    -[root@proj src ]# tar -xjf /usr/src/linux-3.11.8.tar.bz2
    -Instructions for obtaining a distribution-specific kernel source tree vary. An example for Debian: -
    [root@proj src ]# apt-get install linux-source-`uname -r`
    -[root@proj src ]# tar xjf linux-source-`uname -r`.tar.bz2
    -
  8. - -
  9. The next step is to configure the kernel: -
    [root@proj linux ]# pwd
    -/usr/src/linux
    -[root@proj linux ]# make menuconfig
    - - If you have built a 32-bit kernel make sure to disable HIGHMEM4G and - HIGHMEM64G, i.e. -
    [root@proj linux ]# grep -i highmem .config
    -CONFIG_NOHIGHMEM=y
    -# CONFIG_HIGHMEM4G is not set
    -# CONFIG_HIGHMEM64G is not set
    - - If you have built a 32-bit kernel on a system with more than 1GB of memory, - consider to change CONFIG_VMSPLIT option to an appropriate value. -
  10. -
  11. Next, build and install the kernel: -
    [root@proj linux ]# make -j$(ls -1d /sys/devices/system/cpu/cpu[0-9]* | wc -l) bzImage modules
    -[root@proj linux ]# make modules_install install
    -
  12. - -
  13. - Reboot the system and during boot select the freshly built kernel to boot from. -
  14. -
  15. Unload the qla2xxx kernel module provided by your Linux distribution and blacklist it:
    [root@proj ]# echo blacklist qla2xxx >/etc/modprobe.d/blacklist-qla2xxx.conf