diff --git a/qla2x00t/qla2x00-target/qla2x00t-howto.html b/qla2x00t/qla2x00-target/qla2x00t-howto.html index f9c212afa..61e2aa4cd 100644 --- a/qla2x00t/qla2x00-target/qla2x00t-howto.html +++ b/qla2x00t/qla2x00-target/qla2x00t-howto.html @@ -10,8 +10,8 @@ How to configure QLogic target driver for 22xx/23xx cards
ON TARGET


1: Get the Linux kernel sources for version >= 2.6.16 from kernel.org
-
I've downloaded kernel version 2.6.24
-
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2


+
I've downloaded kernel version 2.6.26
+
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2


2: Get the appropiate firmware for your QLogic card from ftp://ftp.qlogic.com/outgoing/linux/firmware/ and put it under /lib/firmware. @@ -23,19 +23,19 @@ How to configure QLogic target driver for 22xx/23xx cards qla2xxx 0000:13:00.0: Failed to initialize adapter
< snip >
- In this case I had to download ql2400_fw.bin


+ In this case I had to download ql2300_fw.bin


3: Unzip it under /usr/src/
- [root@proj src ] bunzip2 /usr/src/linux-2.6.24.tar.bz2
- [root@server src ] tar -xvf /usr/src/linux-2.6.24.tar


+ [root@proj src ] bunzip2 /usr/src/linux-2.6.26.tar.bz2
+ [root@server src ] tar -xvf /usr/src/linux-2.6.26.tar


4: Create symlinks
[root@proj src ] pwd
/usr/src
- [root@proj src ] ln -s /usr/src/linux-2.6.24 linux
- [root@proj src ] ln -s /usr/src/linux-2.6.24 kernel


+ [root@proj src ] ln -s /usr/src/linux-2.6.26 linux
+ [root@proj src ] ln -s /usr/src/linux-2.6.26 kernel


-5: Get the SCST code from their SVN code base
+5: Get the SCST code from their SVN code base.
[root@proj ] svn co https://scst.svn.sourceforge.net/svnroot/scst
If the command returns successfully then you'll have 'scst'
directory under your current directory ( here it is /root )

@@ -50,13 +50,15 @@ How to configure QLogic target driver for 22xx/23xx cards [root@proj trunk]# ls
AskingQuestions iscsi-release.patch mpt qla2x00t-release.patch scripts scst-full_perf.patch usr www doc iscsi-scst qla2x00t qla_isp scst scst-release.patch usr-full_perf.patch - iscsi-full_perf.patch Makefile qla2x00t-full_perf.patch README scstadmin srpt usr-release.patch


- + iscsi-full_perf.patch Makefile qla2x00t-full_perf.patch README scstadmin srpt usr-release.patch

+ + For kernels < 2.6.26 you should use ~scst/branches/1.0.0.x/ instead, because qla2x00t driver in trunk/ doesn't support those kernels (see its README).


+ 7: Patch the kernel (the kernel version you've downloaded in step 1)
- [root@proj ] cp /root/scst/trunk/scst/kernel/scst_exec_req_fifo-2.6.24.patch /usr/src

+ [root@proj ] cp /root/scst/trunk/scst/kernel/scst_exec_req_fifo-2.6.26.patch /usr/src

[root@proj ] cd /usr/src
- [root@proj src] patch -p0 < scst_exec_req_fifo-2.6.24.patch


+ [root@proj src] patch -p0 < scst_exec_req_fifo-2.6.26.patch


8: Replace the QLogic FC driver code in the kernel source tree with the modified version of QLogic FC driver code from scst code base.