From 2e400cbcdc8d7915f571d93f9759bf0134d29fcb Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 24 Jun 2011 00:46:02 +0000 Subject: [PATCH] Docs updates. Update for qla2x00t-howto-debian.html was sent by Barry Schut git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3609 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/doc/qla2x00t-howto-debian.html | 29 +++++++++++++++---------- www/scstvslio.html | 3 ++- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/qla2x00t/doc/qla2x00t-howto-debian.html b/qla2x00t/doc/qla2x00t-howto-debian.html index b0bb52a4d..8cc5eff61 100644 --- a/qla2x00t/doc/qla2x00t-howto-debian.html +++ b/qla2x00t/doc/qla2x00t-howto-debian.html @@ -1,9 +1,8 @@ - How to build and configure QLogic target driver for 22xx/23xx/24xx/25xx adapters on Ubuntu/Debian - - +
How to build and configure QLogic target driver for 22xx/23xx/24xx/25xx adapters on Ubuntu/Debian. A Step by step guide.


+
+ Author: Barry Schut, Internet Unie BV.
+

+ You can email me with questions regarding this guide, suppliments or corrections. I might answer your email, I might not, on that I will and can not provide any waranty. +

+ Copyrights 2011 SCST Project, released under the GNU GPL. +
+
Prerequisites:
    @@ -46,12 +53,12 @@ Note 1: I know this guide never builds a debian kernel package, i did not care about this, i only wanted to get the Generic SCSI Target Subsystem for Linux to work. I also know its not a good idea to compile anything as root, but again: i did not care about that either: the machine was a clean install, nobody will ever get hurt by me compiling a kernel or anything else as root.
- Note 2: I have to thank the original creator of this guide. I can not find your name but i can say i would not have been able to make it work wihtout it. I have based this document on that HowTo as a template.
+ Note 2: I have to thank the original creator of this guide. I can not find your name but i can say i would not have been able to make it work without it. I have based this document on that HowTo as a template.

ON TARGET
    -
  • Run the following apt command to install everything you might need or find useful:
    +
  • Run the following apt command to install everything you might need or find usefull:
    # apt-get install linux-source subversion patch libcunit1-ncurses libncurses5-dev screen cramfsprogs bootcd-mkinitramfs lsscsi @@ -102,7 +109,7 @@ # 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 )

    + directory under your current directory ( here it is /root )
  • Change directory to ~scst/trunk/
    @@ -130,7 +137,7 @@ www
  • -
  • Patch the kernel (the kernel version you've downloaded in step 1)
    +
  • Patch the kernel (the kernel version you've downloaded in 'Target' step 1)
    # cp /root/scst/trunk/scst/kernel/scst_exec_req_fifo-2.x.xxx.patch /usr/src/linux/
    # cd /usr/src/linux/
    @@ -157,7 +164,7 @@ # CONFIG_HIGHMEM4G is not set
    # CONFIG_HIGHMEM64G is not set
    - If you have system with more than 1GB of memory, consider to change CONFIG_VMSPLIT option to the corresponding value.
    + If you have system with more than 1GB of memory, consider to change CONFIG_VMSPLIT option to the correspinding value.
    # pwd
    /usr/src/linux
    @@ -264,7 +271,7 @@
  • To see the device remotely, we have to add it to at least in the LUNs set for our target.
    - We must have LUN 0 (LUs numeration must not start from, e.g., 1).

    + We must have LUN 0 (LUNs numeration must not start from, e.g., 1).

    The simplest way to do that is to write an scstadmin's config file:

    @@ -331,10 +338,10 @@ < snip from README >

    But as I've already loaded the device handler(scst_vdisk) on the target, - hence I don't need to perform step 17.

    + hence I don't need to perform 'Initiator' step 1.

  • -
  • After enabling the target mode on the target (see step 16), +
  • After enabling the target mode on the target (see 'Target' step 15), to see new targets and devices you need either to rescan initiator(s) manually, for example, by rmmod/modprobe the corresponding FC device module on the initiator, or reboot the initiator itself. diff --git a/www/scstvslio.html b/www/scstvslio.html index 4df7beece..027428245 100644 --- a/www/scstvslio.html +++ b/www/scstvslio.html @@ -44,7 +44,8 @@

    SCST vs LIO/TCM

    -

    LIO, from recently being renamed to TCM, is another independent from SCST implementation +

    LIO, + from recently being renamed to TCM, is another independent from SCST implementation of SCSI target framework for Linux. It's started as PyX iSCSI target and then was accommodated to other transports. But it's still in many kinds iSCSI-oriented. You can find an example when people are not happy with it