SCST Debian Package Build from Source (Ubuntu 17.04)

Update April 2018

This page has been superceded by this guide which uses the scst-files.tar fully-automated SCST SAN builder.

Summary

This has been tested on Ubuntu 17.04 VirtualBox VMs and works.

While it looks like alot of steps, the steps are straightforward, easy and relatively fast, so the build is readily accomplished in less than 20 minutes.

Description

This build is a true source build using dh-make and deb uild for latest version of SCST Linux SAN on Ubuntu 17.04. The steps below should work on any Ubuntu Linux that has systemd support, which means it SHOULD work also on Ubuntu 15.04, 15.10, 16.04, 16.10 and hypothetically on all versions of Ubuntu Linux going forward higher than 17.04 release.

I have another page here that describes how to build an SCST deb package for Ubuntu Linux using "checkinstall" which is not a true source build per-se (because checkinstall sort of tracks a command line make/make install and records it for packaging).

Still, the checkinstall method is quick and handy, and it's possible that the checkinstall method might be meet your needs so I've referenced it here too.

HOWEVER, work on this method revealed that some systemd services included in this method are also needed on the checkinstall method to ensure SCST SAN comes up automatically across reboots. I haven't had time to update the checkinstall method with these additional steps, but you can use the ones here together with the checkinstall method if the checkinstall method is used instead.

I recommend this method.

Package Installs

Install the following packages. This list may not be complete I might have forgotten to list one. As you go along Ubuntu should tell you if you need additional packages.

sudo apt-get install quilt dh-make dh-systemd build-essential devscripts lintian subversion perl gawk multipath-tools open-iscsi

Basic Steps

Now do the following steps. Again, this is a quick summary as I develop this page, but this should have all the steps.

Note: Do not do any steps as "root" and do not do them as "sudo" unless explicitly shown to do so in the instructions below.

The below steps assume that the work is done as the Ubuntu "install" user which has full "sudo" privs. You can do it as another user (but not as root) as long as that user also has "sudo" privs equivalent to the Ubuntu "install" user, but again, do NOT do these steps as root.

Edit File .bash_aliases

Edit the file .bash_aliases as shown below.

ubuntu@zesty:~$ cat .bash_aliases

export DEBEMAIL="gilstanden@hotmail.com"

export DEBFULLNAME="Gilbert Standen"

ubuntu@zesty:~$

Ensure Variables DEBEMAIL and DEBFULLNAME are Sourced

Ensure the variables are set as shown below.

ubuntu@zesty:~$ . ./.bash_aliases

ubuntu@zesty:~$ env | grep DEB

DEBFULLNAME=Gilbert Standen

DEBEMAIL=gilstanden@hotmail.com

ubuntu@zesty:~$

Change Directory to /home/username/Downloads

Change directory to the Ubuntu install user (user with full sudo privs) or an equivalent user (but not root) that has full sudo privs as shown below. In this case, my directory is "/home/ubuntu/Downloads".

ubuntu@zesty:~$ cd

ubuntu@zesty:~$ cd Downloads

ubuntu@zesty:~/Downloads$

Download SCST Source Code from SVN

Download the SCST svn source code trunk as shown below.

ubuntu@zesty:~/Downloads$ svn co https://svn.code.sf.net/p/scst/svn/trunk scst-3.3.0

A scst-3.3.0/scst

A scst-3.3.0/scst/src

A scst-3.3.0/scst/src/dev_handlers

A scst-3.3.0/scst/include

A scst-3.3.0/scst/src/scst_tg.c

A scst-3.3.0/scst/kernel

A scst-3.3.0/scst/kernel/rhel

A scst-3.3.0/scst/src/dev_handlers/scst_vdisk.c

A scst-3.3.0/scst/src/scst_mem.h

A scst-3.3.0/scst/include/scst_event.h

A scst-3.3.0/scst/src/dev_handlers/scst_user.c

A scst-3.3.0/scst/src/scst_no_dlm.c

A scst-3.3.0/scst/src/dev_handlers/scst_cdrom.c

A scst-3.3.0/scst/src/dev_handlers/scst_disk.c

A scst-3.3.0/scst/src/dev_handlers/scst_modisk.c

A scst-3.3.0/scst/src/scst_proc.c

A scst-3.3.0/scst/src/dev_handlers/Makefile

A scst-3.3.0/scst/src/dev_handlers/scst_changer.c

A scst-3.3.0/scst/src/dev_handlers/scst_processor.c

A scst-3.3.0/scst/src/dev_handlers/scst_raid.c

A scst-3.3.0/scst/src/dev_handlers/scst_tape.c

A scst-3.3.0/scst/src/dev_handlers/scst_dev_handler.h

A scst-3.3.0/scst/include/scst.h

A scst-3.3.0/scst/include/scst_debug.h

A scst-3.3.0/scst/include/scst_user.h

A scst-3.3.0/scst/kernel/nolockdep-4.11.patch

A scst-3.3.0/scst/kernel/in-tree

A scst-3.3.0/scst/kernel/README_nolockdep

A scst-3.3.0/scst/kernel/nolockdep-3.10.patch

A scst-3.3.0/scst/kernel/nolockdep-3.13.patch

A scst-3.3.0/scst/kernel/nolockdep-3.16.patch

A scst-3.3.0/scst/kernel/nolockdep-3.6.patch

A scst-3.3.0/scst/kernel/nolockdep-3.9.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.23

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.26

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.29

A scst-3.3.0/scst/src/scst_lib.c

A scst-3.3.0/scst/src/scst_targ.c

A scst-3.3.0/scst/src/scst_pres.c

A scst-3.3.0/scst/src/scst_mem.c

A scst-3.3.0/scst/src/scst_main.c

A scst-3.3.0/scst/src/scst_copy_mgr.c

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.32

A scst-3.3.0/scst/src/scst_sysfs.c

A scst-3.3.0/scst/README

A scst-3.3.0/scst/kernel/nolockdep-4.10.patch

A scst-3.3.0/scst/kernel/rhel/scst_exec_req_fifo-rhel5.patch

A scst-3.3.0/scst/kernel/nolockdep-3.11.patch

A scst-3.3.0/scst/src/scst_priv.h

A scst-3.3.0/scst/src/scst_event.c

A scst-3.3.0/scst/src/scst_debug.c

A scst-3.3.0/scst/src/Makefile

A scst-3.3.0/scst/src/scst_dlm.c

A scst-3.3.0/scst/src/scst_dlm.h

A scst-3.3.0/scst/src/scst_module.c

A scst-3.3.0/scst/src/scst_pres.h

A scst-3.3.0/scst/kernel/nolockdep-3.14.patch

A scst-3.3.0/scst/kernel/nolockdep-3.17.patch

A scst-3.3.0/scst/kernel/nolockdep-3.7.patch

A scst-3.3.0/scst/kernel/nolockdep-4.6.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.24

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.27

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.30

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-3.6.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-3.3.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-3.0.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.37.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.35.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-3.4.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-3.1.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.38.patch

A scst-3.3.0/scst/include/scst_const.h

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.36.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.34

A scst-3.3.0/scst/include/backport.h

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.35.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.33

A scst-3.3.0/scst/include/scst_sgv.h

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.34.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.33.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.30

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.23

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.26

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.29

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.32

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.25

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.28

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.31.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.32.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.30.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.30.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.23.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.18.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.29.patch

A scst-3.3.0/scst/README_in-tree

A scst-3.3.0/scst/kernel/nolockdep-4.9.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.28.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.18.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.26.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.27.patch

A scst-3.3.0/scst/kernel/rhel/scst_exec_req_fifo-2.6.18.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.26.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.25.patch

A scst-3.3.0/scst/kernel/unsupported

A scst-3.3.0/scst/kernel/nolockdep-3.12.patch

A scst-3.3.0/scst/kernel/nolockdep-3.15.patch

A scst-3.3.0/scst/kernel/nolockdep-3.5.patch

A scst-3.3.0/scst/kernel/nolockdep-3.8.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.25.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.24.patch

A scst-3.3.0/scst/kernel/old_unsupported

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.24.patch

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.26.patch

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.29.patch

A scst-3.3.0/scst/kernel/readahead-2.6.32.below11.patch

A scst-3.3.0/scst/kernel/readahead-context-2.6.30.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.28.patch

A scst-3.3.0/scst/kernel/readahead-2.6.25.patch

A scst-3.3.0/scst/kernel/readahead-2.6.28.patch

A scst-3.3.0/scst/kernel/readahead-context-2.6.29.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.25

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.28

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.25.patch

A scst-3.3.0/qla2x00t

A scst-3.3.0/scst/kernel/in-tree/Makefile.scst-2.6.31

A scst-3.3.0/scst/kernel/unsupported/readahead-ubuntu-8.04-2.6.24.patch

A scst-3.3.0/scst/kernel/readahead-2.6.27.patch

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.22.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-3.5.patch

A scst-3.3.0/scst/kernel/old_unsupported/26_scst-2.6.14-.patch

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.18.patch

A scst-3.3.0/scst/README.drbd

A scst-3.3.0/qla2x00t/qla2x00-target

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.23.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-3.2.patch

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.16.patch

A scst-3.3.0/scst/Makefile

A scst-3.3.0/scst/COPYING

A scst-3.3.0/scst/T10-PI

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.39.patch

A scst-3.3.0/scst/ToDo

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.36.patch

A scst-3.3.0/scst/SysfsRules

A scst-3.3.0/scst/README_RHEL

A scst-3.3.0/scst/sysfs-scst

A scst-3.3.0/qla2x00t/qla2x00-target/qla2x00t.h

A scst-3.3.0/scst/kernel/in-tree/Kconfig.scst

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile

A scst-3.3.0/qla2x00t/qla2x00-target/ChangeLog

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.34

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.34.patch

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.31

A scst-3.3.0/qla2x00t/qla2x00-target/README

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.24

A scst-3.3.0/qla2x00t/doc

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.27

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.33.patch

A scst-3.3.0/qla2x00t/qla2x00-target/AskingQuestions

A scst-3.3.0/qla2x00t/qla2x00-target/Kconfig

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.31

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.30

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.24

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.32

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.26

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.29

A scst-3.3.0/scst/kernel/in-tree/Makefile.dev_handlers-2.6.27

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.32.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.31.patch

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.23.patch

A scst-3.3.0/qla2x00t/qla_isr.c

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.29.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.27.patch

A scst-3.3.0/qla2x00t/qla_iocb.c

A scst-3.3.0/qla2x00t/qla2x_tgt.h

A scst-3.3.0/qla2x00t/qla_gs.c

A scst-3.3.0/qla2x00t/qla_def.h

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.28.patch

A scst-3.3.0/qla2x00t/kernel-patches

A scst-3.3.0/qla2x00t/qla_bsg.h

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.15.patch

A scst-3.3.0/scst/kernel/in-tree/Makefile.drivers.Linux-2.6.7.patch

A scst-3.3.0/qla2x00t/qla_dbg.c

A scst-3.3.0/scst/kernel/in-tree/Kconfig.drivers.Linux-2.6.7.patch

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.27.patch

A scst-3.3.0/scst/kernel/readahead-2.6.31.patch

A scst-3.3.0/usr

A scst-3.3.0/usr/fileio

A scst-3.3.0/qla2x00t/qla_devtbl.h

A scst-3.3.0/qla2x00t/qla_inline.h

A scst-3.3.0/qla2x00t/qla_settings.h

A scst-3.3.0/qla2x00t/kernel-patches/scst_fc_vport_create.patch

A scst-3.3.0/qla2x00t/qla_init.c

A scst-3.3.0/usr/stpgd

A scst-3.3.0/qla2x00t/qla2x_tgt_def.h

A scst-3.3.0/scst/kernel/readahead-2.6.30.patch

A scst-3.3.0/scst/kernel/readahead-2.6.26.patch

A scst-3.3.0/scst/kernel/readahead-2.6.29.patch

A scst-3.3.0/qla2x00t/qla_attr.c

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.24.patch

A scst-3.3.0/usr/include

A scst-3.3.0/usr/events

A scst-3.3.0/usr/fileio/common.c

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.15.patch

A scst-3.3.0/scst/kernel/scst_exec_req_fifo-2.6.21.patch

A scst-3.3.0/usr/fileio/common.h

A scst-3.3.0/scst/README.dlm

A scst-3.3.0/usr/fileio/ChangeLog

A scst-3.3.0/scst/ChangeLog

A scst-3.3.0/iscsi-scst

A scst-3.3.0/iscsi-scst/kernel

A scst-3.3.0/usr/stpgd/Makefile

A scst-3.3.0/qla2x00t/qla_mbx.c

A scst-3.3.0/usr/stpgd/scst_on_stpg

A scst-3.3.0/qla2x00t/Makefile

A scst-3.3.0/qla2x00t/qla_dfs.c

A scst-3.3.0/iscsi-scst/kernel/isert-scst

A scst-3.3.0/qla2x00t/qla_mid.c

A scst-3.3.0/qla2x00t/qla_version.h

A scst-3.3.0/scst/AskingQuestions

A scst-3.3.0/usr/include/debug.h

A scst-3.3.0/usr/events/README

A scst-3.3.0/qla2x00t/generate-in-tree-patches

A scst-3.3.0/iscsi-scst/kernel/session.c

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_global.c

A scst-3.3.0/usr/fileio/fileio.c

A scst-3.3.0/qla2x00t/qla2x00-target/qla2x00t.c

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree

A scst-3.3.0/iscsi-scst/kernel/isert-scst/isert_login.c

A scst-3.3.0/iscsi-scst/kernel/isert-scst/isert.h

A scst-3.3.0/usr/fileio/README

A scst-3.3.0/usr/fileio/crc32.c

A scst-3.3.0/qla2x00t/qla2x00-target/ToDo

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.33

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.23

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.25

A scst-3.3.0/qla2x00t/qla2x00-target/Makefile_in-tree-2.6.28

A scst-3.3.0/usr/stpgd/README

A scst-3.3.0/usr/Makefile

A scst-3.3.0/usr/include/version.h

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_hdr.h

A scst-3.3.0/usr/events/debug.c

A scst-3.3.0/qla2x00t/qla_bsg.c

A scst-3.3.0/qla2x00t/qla_gbl.h

A scst-3.3.0/iscsi-scst/kernel/isert-scst/TODO

A scst-3.3.0/qla2x00t/doc/qla2x00t-howto.html

A scst-3.3.0/iscsi-scst/kernel/target.c

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser.h

A scst-3.3.0/iscsi-scst/kernel/patches

A scst-3.3.0/iscsi-scst/kernel/patches/rhel

A scst-3.3.0/iscsi-scst/kernel/isert-scst/Makefile.in-kernel

A scst-3.3.0/qla2x00t/qla_os.c

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_datamover.c

A scst-3.3.0/iscsi-scst/kernel/iscsi.h

A scst-3.3.0/iscsi-scst/kernel/isert-scst/isert_dbg.h

A scst-3.3.0/iscsi-scst/kernel/config.c

A scst-3.3.0/iscsi-scst/kernel/event.c

A scst-3.3.0/iscsi-scst/kernel/param.c

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_pdu.c

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-3.10.0-229.patch

A scst-3.3.0/iscsi-scst/kernel/isert-scst/Kconfig

A scst-3.3.0/qla2x00t/qla_nx.c

A scst-3.3.0/qla2x00t/qla_sup.c

A scst-3.3.0/qla2x00t/qla_dbg.h

A scst-3.3.0/qla2x00t/qla_fw.h

A scst-3.3.0/qla2x00t/qla_nx.h

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-431.patch

A scst-3.3.0/qla2x00t/Kconfig

A scst-3.3.0/qla2x00t/extract-qla2xxx-orig

A scst-3.3.0/usr/fileio/Makefile

A scst-3.3.0/usr/fileio/debug.c

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-220.patch

A scst-3.3.0/iscsi-scst/kernel/conn.c

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-71.patch

A scst-3.3.0/iscsi-scst/kernel/iscsi_hdr.h

A scst-3.3.0/iscsi-scst/kernel/digest.c

A scst-3.3.0/iscsi-scst/kernel/iscsi_dbg.h

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.17.patch

A scst-3.3.0/usr/stpgd/stpgd_main.c

A scst-3.3.0/usr/stpgd/debug.c

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-rhel5.patch

A scst-3.3.0/usr/include/debug.c

A scst-3.3.0/usr/events/Makefile

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.2.57.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.12.11.patch

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-504.patch

A scst-3.3.0/usr/events/events.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.12.patch

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-358.patch

A scst-3.3.0/iscsi-scst/kernel/nthread.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.9.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.7.patch

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-131.patch

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_rdma.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.19.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.4.patch

A scst-3.3.0/iscsi-scst/kernel/patches/unsupported

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_datamover.h

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.1.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.16.patch

A scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_buf.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.37.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.14.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.35.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.13.3.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.32.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.29.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.28.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.11.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.16.29.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.7.10.patch

A scst-3.3.0/iscsi-scst/usr

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.6.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.3.patch

A scst-3.3.0/iscsi-scst/kernel/isert-scst/isert.c

A scst-3.3.0/iscsi-scst/kernel/isert-scst/Makefile

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.0.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.38.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.34.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.23.patch

A scst-3.3.0/iscsi-scst/kernel/iscsi.c

A scst-3.3.0/iscsi-scst/kernel/Makefile

A scst-3.3.0/iscsi-scst/kernel/digest.h

A scst-3.3.0/iscsi-scst/kernel/iscsi_trace_flag.h

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.31.patch

A scst-3.3.0/iscsi-scst/kernel/Makefile.in-kernel

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-rhel61.patch

A scst-3.3.0/iscsi-scst/kernel/patches/unsupported/put_page_callback-SuSE11-1.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.25.patch

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-3.10.0-123.patch

A scst-3.3.0/iscsi-scst/usr/chap.c

A scst-3.3.0/iscsi-scst/usr/iscsi_scstd.c

A scst-3.3.0/iscsi-scst/usr/log.c

A scst-3.3.0/iscsi-scst/usr/types.h

A scst-3.3.0/iscsi-scst/include

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.21.1.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.24.patch

A scst-3.3.0/iscsi-scst/usr/ctldev.c

A scst-3.3.0/iscsi-scst/usr/iscsi_adm.h

A scst-3.3.0/iscsi-scst/usr/message.c

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-279.patch

A scst-3.3.0/iscsi-scst/kernel/iscsit_transport.c

A scst-3.3.0/iscsi-scst/conftest

A scst-3.3.0/iscsi-scst/conftest/ib_client_remove

A scst-3.3.0/iscsi-scst/usr/conn.c

A scst-3.3.0/iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.18.patch

A scst-3.3.0/iscsi-scst/usr/param.c

A scst-3.3.0/iscsi-scst/usr/iscsid.c

A scst-3.3.0/iscsi-scst/usr/sha1.c

A scst-3.3.0/iscsi-scst/conftest/ib_dma_map_ops

A scst-3.3.0/iscsi-scst/conftest/cm_listen

A scst-3.3.0/iscsi-scst/conftest/create_send_mad_ah

A scst-3.3.0/iscsi-scst/include/iscsi_scst.h

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.18.patch

A scst-3.3.0/iscsi-scst/include/isert_scst.h

A scst-3.3.0/iscsi-scst/conftest/ib_client_remove/Makefile

A scst-3.3.0/iscsi-scst/conftest/cm_listen/Makefile

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.15.patch

A scst-3.3.0/iscsi-scst/conftest/create_send_mad_base

A scst-3.3.0/iscsi-scst/conftest/gid_change

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.10.30.patch

A scst-3.3.0/iscsi-scst/conftest/create_send_mad_ah/create_send_mad_ah.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.13.patch

A scst-3.3.0/iscsi-scst/conftest/gid_change/Makefile

A scst-3.3.0/iscsi-scst/conftest/ib_set_cpi_resp_time

A scst-3.3.0/iscsi-scst/conftest/mad_handler_takes_send_buf

A scst-3.3.0/iscsi-scst/conftest/pd_has_local_dma_lkey

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.10.patch

A scst-3.3.0/iscsi-scst/conftest/ib_set_cpi_resp_time/ib_set_cpi_resp_time.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.8.patch

A scst-3.3.0/iscsi-scst/usr/session.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.5.patch

A scst-3.3.0/iscsi-scst/conftest/query_device

A scst-3.3.0/iscsi-scst/conftest/query_device_attr_arg

A scst-3.3.0/iscsi-scst/usr/Makefile

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-3.2.patch

A scst-3.3.0/iscsi-scst/conftest/pd_has_local_dma_lkey/Makefile

A scst-3.3.0/iscsi-scst/usr/event.c

A scst-3.3.0/iscsi-scst/conftest/query_device/query_device.c

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.39.patch

A scst-3.3.0/iscsi-scst/conftest/query_gid

A scst-3.3.0/iscsi-scst/conftest/rdma_create_id_net

A scst-3.3.0/iscsi-scst/conftest/register_mad_agent

A scst-3.3.0/iscsi-scst/usr/isns.c

A scst-3.3.0/iscsi-scst/usr/misc.c

A scst-3.3.0/iscsi-scst/usr/param.h

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.36.patch

A scst-3.3.0/iscsi-scst/conftest/use_pre_440_wr_structure

A scst-3.3.0/iscsi-scst/conftest/create_cq

A scst-3.3.0/iscsi-scst/conftest/query_gid/Makefile

A scst-3.3.0/iscsi-scst/usr/sha1.h

A scst-3.3.0/iscsi-scst/include/iscsi_scst_ver.h

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.33.patch

A scst-3.3.0/iscsi-scst/conftest/rdma_create_id_net/rdma_create_id_net.c

A scst-3.3.0/iscsi-scst/doc

A scst-3.3.0/iscsi-scst/doc/manpages

A scst-3.3.0/iscsi-scst/conftest/use_pre_440_wr_structure/Makefile

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.30.patch

A scst-3.3.0/iscsi-scst/Makefile

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.27.patch

A scst-3.3.0/iscsi-scst/conftest/create_cq/create_cq.c

A scst-3.3.0/iscsi-scst/resource_agents

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.26.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.22.patch

A scst-3.3.0/iscsi-scst/kernel/patches/put_page_callback-2.6.18.1.patch

A scst-3.3.0/iscsi-scst/kernel/Kconfig

A scst-3.3.0/iscsi-scst/conftest/ib_dma_map_ops/ib_dma_map_ops.c

A scst-3.3.0/iscsi-scst/conftest/cm_listen/cm_listen.c

A scst-3.3.0/iscsi-scst/conftest/create_send_mad_base/Makefile

A scst-3.3.0/iscsi-scst/etc

A scst-3.3.0/iscsi-scst/etc/obsolete

A scst-3.3.0/iscsi-scst/doc/iscsi-scst-howto.txt

A scst-3.3.0/iscsi-scst/doc/manpages/iscsi-scstd.conf.5

A scst-3.3.0/iscsi-scst/README.iser_ofed

A scst-3.3.0/iscsi-scst/usr/iscsi_hdr.h

A scst-3.3.0/iscsi-scst/usr/iscsid.h

A scst-3.3.0/iscsi-scst/usr/target.c

A scst-3.3.0/scst_local

A scst-3.3.0/iscsi-scst/conftest/gid_change/gid_change.c

A scst-3.3.0/iscsi-scst/conftest/mad_handler_takes_send_buf/Makefile

A scst-3.3.0/iscsi-scst/conftest/pd_has_local_dma_lkey/pd_has_local_dma_lkey.c

A scst-3.3.0/iscsi-scst/usr/config.c

A scst-3.3.0/iscsi-scst/conftest/query_device_attr_arg/Makefile

A scst-3.3.0/iscsi-scst/usr/iscsi_adm.c

A scst-3.3.0/scst_local/in-tree

A scst-3.3.0/iscsi-scst/conftest/query_gid/query_gid.c

A scst-3.3.0/iscsi-scst/usr/isns_proto.h

A scst-3.3.0/iscsi-scst/usr/misc.h

A scst-3.3.0/iscsi-scst/resource_agents/SCSTLun

A scst-3.3.0/iscsi-scst/conftest/register_mad_agent/Makefile

A scst-3.3.0/iscsi-scst/conftest/use_pre_440_wr_structure/use_pre_440_wr_structure.c

A scst-3.3.0/iscsi-scst/usr/md5.c

A scst-3.3.0/iscsi-scst/usr/md5.h

A scst-3.3.0/iscsi-scst/ChangeLog

A scst-3.3.0/iscsi-scst/etc/obsolete/initiators.allow

A scst-3.3.0/iscsi-scst/include/iscsit_transport.h

A scst-3.3.0/iscsi-scst/conftest/ib_client_remove/ib_client_remove.c

A scst-3.3.0/iscsi-scst/README

A scst-3.3.0/iscsi-scst/doc/manpages/iscsi-scstd.8

A scst-3.3.0/srpt

A scst-3.3.0/srpt/src

A scst-3.3.0/iscsi-scst/conftest/ib_dma_map_ops/Makefile

A scst-3.3.0/iscsi-scst/AskingQuestions

A scst-3.3.0/scst_local/in-tree/Makefile

A scst-3.3.0/iscsi-scst/conftest/create_send_mad_ah/Makefile

A scst-3.3.0/iscsi-scst/doc/SCST_Gentoo_HOWTO.txt

A scst-3.3.0/iscsi-scst/conftest/create_send_mad_base/create_send_mad_base.c

A scst-3.3.0/iscsi-scst/conftest/ib_set_cpi_resp_time/Makefile

A scst-3.3.0/iscsi-scst/conftest/mad_handler_takes_send_buf/mad_handler_takes_send_buf.c

A scst-3.3.0/iscsi-scst/conftest/query_device/Makefile

A scst-3.3.0/srpt/conftest

A scst-3.3.0/srpt/conftest/ib_client_remove

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.33

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.32

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.25

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.28

A scst-3.3.0/srpt/conftest/ib_dma_map_ops

A scst-3.3.0/srpt/conftest/pd_has_local_dma_lkey

A scst-3.3.0/srpt/conftest/cm_listen

A scst-3.3.0/iscsi-scst/Makefile_user_space_only

A scst-3.3.0/iscsi-scst/conftest/query_device_attr_arg/query_device_attr_arg.c

A scst-3.3.0/iscsi-scst/conftest/rdma_create_id_net/Makefile

A scst-3.3.0/iscsi-scst/conftest/register_mad_agent/register_mad_agent.c

A scst-3.3.0/srpt/conftest/ib_set_cpi_resp_time

A scst-3.3.0/srpt/conftest/mad_handler_takes_send_buf

A scst-3.3.0/iscsi-scst/resource_agents/SCSTTarget

A scst-3.3.0/iscsi-scst/conftest/create_cq/Makefile

A scst-3.3.0/scst_local/README

A scst-3.3.0/srpt/src/Makefile

A scst-3.3.0/iscsi-scst/etc/scst.conf

A scst-3.3.0/srpt/conftest/query_device

A scst-3.3.0/srpt/conftest/query_device_attr_arg

A scst-3.3.0/srpt/conftest/rdma_create_id_net

A scst-3.3.0/srpt/src/ib_dm_mad.h

A scst-3.3.0/iscsi-scst/README_in-tree

A scst-3.3.0/iscsi-scst/etc/obsolete/initiators.deny

A scst-3.3.0/iscsi-scst/ToDo

A scst-3.3.0/srpt/conftest/ib_client_remove/ib_client_remove.c

A scst-3.3.0/srpt/conftest/ib_dma_map_ops/Makefile

A scst-3.3.0/iscsi-scst/doc/manpages/iscsi-scst-adm.8

A scst-3.3.0/iscsi-scst/README.iser

A scst-3.3.0/srpt/conftest/use_pre_440_wr_structure

A scst-3.3.0/srpt/conftest/register_mad_agent

A scst-3.3.0/srpt/conftest/cm_listen/Makefile

A scst-3.3.0/srpt/conftest/query_gid

A scst-3.3.0/srpt/conftest/create_cq

A scst-3.3.0/srpt/conftest/create_send_mad_ah

A scst-3.3.0/scst_local/in-tree/Kconfig

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.30

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.23

A scst-3.3.0/srpt/conftest/ib_set_cpi_resp_time/ib_set_cpi_resp_time.c

A scst-3.3.0/srpt/conftest/query_device/Makefile

A scst-3.3.0/srpt/conftest/query_device_attr_arg/query_device_attr_arg.c

A scst-3.3.0/srpt/conftest/create_send_mad_base

A scst-3.3.0/srpt/conftest/gid_change

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.26

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.29

A scst-3.3.0/iscsi-scst/COPYING

A scst-3.3.0/iscsi-scst/resource_agents/README

A scst-3.3.0/iscsi-scst/etc/obsolete/scst.conf

A scst-3.3.0/srpt/conftest/use_pre_440_wr_structure/Makefile

A scst-3.3.0/srpt/conftest/register_mad_agent/Makefile

A scst-3.3.0/srpt/conftest/create_cq/Makefile

A scst-3.3.0/srpt/conftest/create_send_mad_ah/create_send_mad_ah.c

A scst-3.3.0/srpt/conftest/gid_change/Makefile

A scst-3.3.0/iscsi-scst/etc/obsolete/iscsi-scstd.conf

A scst-3.3.0/scst_local/scst_local.c

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.34

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.31

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.24

A scst-3.3.0/scst_local/in-tree/Makefile-2.6.27

A scst-3.3.0/fcst

A scst-3.3.0/srpt/README

A scst-3.3.0/srpt/LICENSE

A scst-3.3.0/scst_local/Makefile

A scst-3.3.0/fcst/linux-patches

A scst-3.3.0/srpt/src/ib_srpt.c

A scst-3.3.0/srpt/src/srp-ext.h

A scst-3.3.0/srpt/src/Kconfig

A scst-3.3.0/srpt/src/ib_srpt.h

A scst-3.3.0/srpt/src/Makefile.in_kernel

A scst-3.3.0/srpt/README_in-tree

A scst-3.3.0/srpt/conftest/ib_client_remove/Makefile

A scst-3.3.0/srpt/conftest/pd_has_local_dma_lkey/Makefile

A scst-3.3.0/srpt/conftest/cm_listen/cm_listen.c

A scst-3.3.0/fcst/ft_cmd.c

A scst-3.3.0/srpt/Makefile

A scst-3.3.0/srpt/conftest/mad_handler_takes_send_buf/Makefile

A scst-3.3.0/srpt/conftest/query_device/query_device.c

A scst-3.3.0/srpt/conftest/rdma_create_id_net/Makefile

A scst-3.3.0/srpt/conftest/use_pre_440_wr_structure/use_pre_440_wr_structure.c

A scst-3.3.0/fcst/ft_scst.c

A scst-3.3.0/fcst/linux-patches/26-exch-alloc2

A scst-3.3.0/srpt/conftest/ib_dma_map_ops/ib_dma_map_ops.c

A scst-3.3.0/srpt/conftest/pd_has_local_dma_lkey/pd_has_local_dma_lkey.c

A scst-3.3.0/srpt/conftest/ib_set_cpi_resp_time/Makefile

A scst-3.3.0/srpt/conftest/mad_handler_takes_send_buf/mad_handler_takes_send_buf.c

A scst-3.3.0/srpt/conftest/query_gid/Makefile

A scst-3.3.0/srpt/conftest/create_cq/create_cq.c

A scst-3.3.0/fcst/linux-patches/19-fc4-v2

A scst-3.3.0/fcst/linux-patches/21-lport-hook

A scst-3.3.0/fcst/linux-patches/17-lport-hook

A scst-3.3.0/srpt/conftest/query_device_attr_arg/Makefile

A scst-3.3.0/srpt/conftest/rdma_create_id_net/rdma_create_id_net.c

A scst-3.3.0/srpt/conftest/register_mad_agent/register_mad_agent.c

A scst-3.3.0/fcst/linux-patches/16-seq-set-resp

A scst-3.3.0/scstadmin

A scst-3.3.0/scstadmin/scstadmin.sysfs

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t

A scst-3.3.0/srpt/conftest/create_send_mad_base/Makefile

A scst-3.3.0/srpt/conftest/query_gid/query_gid.c

A scst-3.3.0/srpt/conftest/gid_change/gid_change.c

A scst-3.3.0/fcst/linux-patches/series-2.6.33-rc8

A scst-3.3.0/srpt/conftest/create_send_mad_ah/Makefile

A scst-3.3.0/srpt/conftest/create_send_mad_base/create_send_mad_base.c

A scst-3.3.0/fcst/linux-patches/07-pta-mask

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/lib

A scst-3.3.0/fcst/linux-patches/10-non-fip

A scst-3.3.0/srpt/Testing.txt

A scst-3.3.0/fcst/linux-patches/04-seq-set-resp

A scst-3.3.0/fcst/linux-patches/12-ptp-npiv

A scst-3.3.0/fcst/Kconfig

A scst-3.3.0/srpt/ChangeLog

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/07-scstadmin-args.t

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/lib/SCST

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/06-cont-on-err.t

A scst-3.3.0/fcst/ft_sess.c

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/04-alua.t

A scst-3.3.0/fcst/ft_io.c

A scst-3.3.0/fcst/README

A scst-3.3.0/fcst/linux-patches/22-lport-notify

A scst-3.3.0/fcst/linux-patches/20-seq-set-resp

A scst-3.3.0/scstadmin/scstadmin.sysfs/man5

A scst-3.3.0/scstadmin/scstadmin.sysfs/man1

A scst-3.3.0/scstadmin/init.d

A scst-3.3.0/fcst/linux-patches/series-2.6.35

A scst-3.3.0/srpt/session-management.txt

A scst-3.3.0/srpt/README.ofed

A scst-3.3.0/srpt/Measurement-Results.txt

A scst-3.3.0/fcst/Makefile

A scst-3.3.0/fcst/fcst.h

A scst-3.3.0/fcst/linux-patches/series-2.6.36

A scst-3.3.0/fcst/linux-patches/25-fip-union

A scst-3.3.0/fcst/linux-patches/24-softirq

A scst-3.3.0/fcst/linux-patches/23-softirq

A scst-3.3.0/scstadmin/scstadmin.procfs

A scst-3.3.0/scstadmin/scstadmin.procfs/scst-0.8.22

A scst-3.3.0/scstadmin/scstadmin.procfs/scst-0.8.22/lib

A scst-3.3.0/scstadmin/scstadmin.procfs/scst-0.8.22/lib/SCST

A scst-3.3.0/scstadmin/default

A scst-3.3.0/fcst/linux-patches/18-lport-notify

A scst-3.3.0/fcst/linux-patches/15-fc4

A scst-3.3.0/fcst/linux-patches/14-fc-frame-sparse-workaround

A scst-3.3.0/fcst/linux-patches/05-lport-hook

A scst-3.3.0/scstadmin/examples

A scst-3.3.0/fcst/linux-patches/01-prli-clean

A scst-3.3.0/fcst/linux-patches/13-ptp-acc

A scst-3.3.0/fcst/linux-patches/06-lport-notify

A scst-3.3.0/fcst/linux-patches/series-2.6.34

A scst-3.3.0/fcst/Makefile_in-tree

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/07-result.conf

A scst-3.3.0/scripts

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/lib/SCST/SCST.pm

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/MANIFEST

A scst-3.3.0/scstadmin/scstadmin.sysfs/man5/scst.conf.5

A scst-3.3.0/scstadmin/init.d/scst

A scst-3.3.0/scstadmin/scstadmin.procfs/scst-0.8.22/README

A scst-3.3.0/scstadmin/scstadmin.procfs/Makefile

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/06-after-restore.conf

A scst-3.3.0/fcst/linux-patches/02-fc4

A scst-3.3.0/fcst/linux-patches/08-ptp-ref

A scst-3.3.0/fcst/linux-patches/09-ptp-type

A scst-3.3.0/fcst/linux-patches/03-seq-init

A scst-3.3.0/fcst/linux-patches/11-ptp-flogi-recv

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/01-start-scst.t

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/99-stop-scst.t

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/06-to-be-restored.conf

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/05-dynattr.t

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/Makefile.PL

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/03-targets.t

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/t/02-scst-attr.t

A scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0/README

A scst-3.3.0/scstadmin/scstadmin.sysfs/Makefile

A scst-3.3.0/www

A scst-3.3.0/scstadmin/scstadmin.sysfs/man1/scstadmin.1

A scst-3.3.0/scstadmin/scstadmin.procfs/scst-0.8.22/Makefile.PL

A scst-3.3.0/scstadmin/LICENSE

A scst-3.3.0/scstadmin/examples/scst.conf.procfs

A scst-3.3.0/scstadmin/ChangeLog

A scst-3.3.0/scripts/kernel-functions

A scst-3.3.0/scripts/generate-patched-kernel

A scst-3.3.0/scstadmin/scstadmin.procfs/scstadmin

A scst-3.3.0/scstadmin/scstadmin.spec.in

A scst-3.3.0/scstadmin/examples/scst.conf.sysfs

A scst-3.3.0/scripts/generate-release-archive

A scst-3.3.0/scripts/rhel-rpm-functions

A scst-3.3.0/scripts/generate-scst-patch

A scst-3.3.0/scripts/list-double-blank-lines

A scst-3.3.0/www/target_emulex.html

A scst-3.3.0/www/target_qla2x00t.html

A scst-3.3.0/www/contributing.html

A scst-3.3.0/scstadmin/scstadmin.sysfs/scstadmin

A scst-3.3.0/scstadmin/scstadmin.sysfs/man5/scst.5

A scst-3.3.0/www/mc_s.html

A scst-3.3.0/www/scstvsstgt.html

A scst-3.3.0/www/target_iscsi.html

A scst-3.3.0/www/target_mvsas.html

A scst-3.3.0/www/images

A scst-3.3.0/www/targets.html

A scst-3.3.0/scstadmin/scstadmin.procfs/scst-0.8.22/lib/SCST/SCST.pm

A scst-3.3.0/scstadmin/scstadmin.procfs/scst-0.8.22/MANIFEST

A scst-3.3.0/scstadmin/Makefile

A scst-3.3.0/scstadmin/default/scst

A scst-3.3.0/scstadmin/README.procfs

A scst-3.3.0/www/images/avago.jpg

A scst-3.3.0/scstadmin/scstadmin

A scst-3.3.0/www/images/LPe16002.jpg

A scst-3.3.0/www/images/Orange.css

A scst-3.3.0/www/images/t_unsupported.gif

A scst-3.3.0/www/images/menubg_current.gif

A scst-3.3.0/www/images/t_sas.gif

A scst-3.3.0/scstadmin/README

A scst-3.3.0/www/images/clock.gif

A scst-3.3.0/scripts/run-regression-tests

A scst-3.3.0/www/images/menubg.gif

A scst-3.3.0/scripts/list-source-files

A scst-3.3.0/scripts/update-version

A scst-3.3.0/www/images/scst_mgmt_cmd_thread.png

A scst-3.3.0/www/images/t_fcoe.gif

A scst-3.3.0/www/images/headerbg.gif

A scst-3.3.0/www/iscsi-scst

A scst-3.3.0/scripts/generate-kernel-patch

A scst-3.3.0/scripts/blockdev-perftest

A scst-3.3.0/scripts/specialize-patch

A scst-3.3.0/scripts/filter-trace-entry-exit

A scst-3.3.0/scripts/monitor-interrupt-rate

A scst-3.3.0/scripts/rebuild-rhel-kernel-rpm

A scst-3.3.0/www/images/fig2.png

A scst-3.3.0/www/images/footerbg.gif

A scst-3.3.0/www/images/headerbg-orange.gif

A scst-3.3.0/scripts/spread-mlx4-ib-interrupts

A scst-3.3.0/www/images/scst_cmd_thread.png

A scst-3.3.0/www/images/t_rdma.gif

A scst-3.3.0/www/images/t_lsi.gif

A scst-3.3.0/www/downloads.html

A scst-3.3.0/www/handler_fileio_tgt.html

A scst-3.3.0/www/scst_admin.html

A scst-3.3.0/nightly

A scst-3.3.0/nightly/conf

A scst-3.3.0/scripts/test-persistent-reservation

A scst-3.3.0/scripts/monitor-memory-usage

A scst-3.3.0/www/vl_res.txt

A scst-3.3.0/nightly/bin

A scst-3.3.0/mpt

A scst-3.3.0/scripts/list-conditional-defines

A scst-3.3.0/www/target_fcoe.html

A scst-3.3.0/www/target_local.html

A scst-3.3.0/www/comparison.html

A scst-3.3.0/www/sgv_big_order_alloc.diff

A scst-3.3.0/mpt/in-tree

A scst-3.3.0/www/target_old.html

A scst-3.3.0/www/index.html

A scst-3.3.0/www/scstvslio.html

A scst-3.3.0/www/target_ibmvscsi.html

A scst-3.3.0/www/target_lsi.html

A scst-3.3.0/www/target_srp.html

A scst-3.3.0/ibmvstgt

A scst-3.3.0/ibmvstgt/src

A scst-3.3.0/ibmvstgt/src/orig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35

A scst-3.3.0/www/images/iss.jpg

A scst-3.3.0/www/images/t_emulex.gif

A scst-3.3.0/nightly/conf/nightly.conf

A scst-3.3.0/www/images/page.gif

A scst-3.3.0/www/images/menudivide.gif

A scst-3.3.0/www/images/quote.gif

A scst-3.3.0/www/images/comment.gif

A scst-3.3.0/www/users.html

A scst-3.3.0/www/images/tooltips.js

A scst-3.3.0/www/images/t_qlogic.gif

A scst-3.3.0/www/images/init_scst.png

A scst-3.3.0/www/images/arrow.gif

A scst-3.3.0/www/images/logo.gif

A scst-3.3.0/www/images/scst_mgmt_thread.png

A scst-3.3.0/www/images/fig4.png

A scst-3.3.0/www/images/fig1.png

A scst-3.3.0/mpt/mpt_scst.c

A scst-3.3.0/mpt/in-tree/Kconfig

A scst-3.3.0/mpt/README

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/hosts.c

A scst-3.3.0/www/images/fig3.png

A scst-3.3.0/www/images/square_arrow.gif

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/c2k_defconfig

A scst-3.3.0/www/sgv_big_order_alloc-sfw5-rc3.diff

A scst-3.3.0/www/tomasz_res.txt

A scst-3.3.0/scst.spec.in

A scst-3.3.0/nightly/README.txt

A scst-3.3.0/mpt/in-tree/Makefile

A scst-3.3.0/mpt/in-tree/Kconfig.diff

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/rm200_defconfig

A scst-3.3.0/www/iscsi-scst/index.html

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/pnx8335-stb225_defconfig

A scst-3.3.0/www/Gentoo-HOWTO.pdf

A scst-3.3.0/www/bart_res.txt

A scst-3.3.0/www/max_outstanding_r2t.txt

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ip22_defconfig

A scst-3.3.0/Makefile

A scst-3.3.0/nightly/conf/nightly.sendmail

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/socrates_defconfig

A scst-3.3.0/mpt/mpt_scst.h

A scst-3.3.0/mpt/in-tree/Kconfig-2.6.24.diff

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/se7343_defconfig

A scst-3.3.0/mpt/scsi3.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/maple_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/generic_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/apollo_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/a500_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/amiga_defconfig

A scst-3.3.0/SVN_TAGS

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/Kconfig

A scst-3.3.0/nightly/bin/nightly

A scst-3.3.0/mpt/Makefile

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/xen_domu_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc832x_mds_defconfig

A scst-3.3.0/mpt/in-tree/Makefile.diff

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/c3000_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/lboxre2_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/landisk_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/gef_ppc9a_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/se7722_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/x86_64_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/cm5200_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sparc64_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/holly_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/BF548-EZKIT_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/amigaone_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/bigsur_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc832x_rdb_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/m32104ut_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/msp71xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/malta_defconfig

A scst-3.3.0/ibmvstgt/src/Kconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sbc834x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/hp6xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sdk7786_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ap325rxa_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc85xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc7448_hpc2_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/eiger_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/prpmc2800_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/zx1_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/tb0287_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mappi2.vdec2_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/rb532_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/pcm030_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/fuloong2e_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc83xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ip27_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mvme16x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/pnx8550-stb810_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/default_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/BF561-ACVILON_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/g5_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/espt_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc5200_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/migor_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ppc64_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/cell_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/shx3_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ecovec24-romimage_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ip32_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc834x_itxgp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc834x_itx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ppc44x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/opsput_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mvme147_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/bvme6000_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/merisc_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/powertv_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/pmac32_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc8313_rdb_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc836x_mds_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/rts7751r2d1_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/atstk1006_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ppc6xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/i386_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ul2_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/wii_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc837x_rdb_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc85xx_smp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/m32700ut.smp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/markeins_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sh7763rdp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/linkstation_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/multi_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/titan_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/r7785rp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/warp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ecovec24_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/redwood_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/BF526-EZBRD_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/gef_sbc610_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/cayman_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/se7724_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/r7780mp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/lemote2f_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/iseries_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/motionpro_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/m32700ut.up_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/jazz_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc8610_hpcd_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc8641_hpcn_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/se7712_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/rts7751r2dplus_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/tb0226_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/atstk1003_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/xes_mpc85xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc837x_mds_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sun3x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/atari_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/stx_gp3_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/lite5200b_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/atstk1002_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/chrp32_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/BF527-EZKIT_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/BF527-EZKIT-V2_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/cobalt_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mtx1_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sh03_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ps3_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/cam60_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sh7785lcr_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/tiger_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ip28_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/CM-BF548_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sparc32_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/se7721_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_sysfs.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/urquell_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/decstation_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_tgt_priv.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/celleb_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_tgt_if.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sdk7780_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/bcm47xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/s3c2410_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_transport_srp.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_tgt_if.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/hammerhead_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/pasemi_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/Kconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_transport_srp.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_tgt_if.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_tgt_lib.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/libsrp.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/storcenter_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/ibmvstgt.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/jazz_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/apollo_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ppc64e_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sam440ep_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/atari_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_host.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/pseries_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/pnx8550-jbs_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mappi2.opsp_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/s3c2410_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/rm200_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/pnx8550-jbs_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/IP0X_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sh7785lcr_32bit_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/libsrp.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/se7750_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc86xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_transport_fc.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/hosts.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_sysfs.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/markeins_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mac_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc8315_rdb_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/tb0226_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/tb0287_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/mpc5200_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/icon_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/hp300_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/q40_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/mpc512x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/tqm5200_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/at572d940hfek_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/bcm47xx_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/malta_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_tgt.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/mvme16x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_tgt_if.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/gef_sbc310_defconfig

A scst-3.3.0/ibmvstgt/src/libsrp.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_transport_fc.c

A scst-3.3.0/ibmvstgt/src/dummy_powerpc_defs.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/CM-BF527_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_host.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_transport_fc_internal.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/libsrp.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/ip32_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_transport_srp_internal.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_tgt_lib.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/sun3_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/bvme6000_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/at572d940hfek_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/q40_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/Makefile

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/libsrp.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/motionpro_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/mpc8610_hpcd_defconfig

A scst-3.3.0/ibmvstgt/src/ip32_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/hp300_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/mvme147_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/cam60_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/712_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/Makefile

A scst-3.3.0/ibmvstgt/src/srpnew.h

A scst-3.3.0/ibmvstgt/src/apollo_defconfig

A scst-3.3.0/ibmvstgt/src/mac_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_transport_srp_internal.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/scsi_tgt.h

A scst-3.3.0/ibmvstgt/src/Makefile

A scst-3.3.0/ibmvstgt/src/scsi_sysfs.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.35/ibmvstgt.c

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/srp.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/amiga_defconfig

A scst-3.3.0/ibmvstgt/src/ip27_defconfig

A scst-3.3.0/ibmvstgt/src/sun3x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/sun3x_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/multi_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/mac_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_transport_fc_internal.h

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/pnx8550-stb810_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/ip22_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/ip27_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/sun3_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/decstation_defconfig

A scst-3.3.0/ibmvstgt/src/orig/2.6.36/scsi_tgt_priv.h

A scst-3.3.0/ibmvstgt/src/hp300_defconfig

A scst-3.3.0/ibmvstgt/src/mvme147_defconfig

A scst-3.3.0/ibmvstgt/src/rm200_defconfig

A scst-3.3.0/ibmvstgt/src/scsi_transport_srp.c

A scst-3.3.0/ibmvstgt/src/q40_defconfig

A scst-3.3.0/ibmvstgt/src/hosts.c

A scst-3.3.0/ibmvstgt/src/ibmvstgt.c

A scst-3.3.0/ibmvstgt/src/libsrpnew.h

A scst-3.3.0/doc

A scst-3.3.0/ibmvstgt/src/pnx8550-jbs_defconfig

A scst-3.3.0/ibmvstgt/src/cam60_defconfig

A scst-3.3.0/ibmvstgt/src/sun3_defconfig

A scst-3.3.0/ibmvstgt/src/SLES-10-SP3-ibmvscsis.c

A scst-3.3.0/ibmvstgt/src/jazz_defconfig

A scst-3.3.0/ibmvstgt/src/amiga_defconfig

A scst-3.3.0/ibmvstgt/src/multi_defconfig

A scst-3.3.0/ibmvstgt/src/atari_defconfig

A scst-3.3.0/mvsas_tgt

A scst-3.3.0/ibmvstgt/src/scsi_tgt_lib.c

A scst-3.3.0/ibmvstgt/src/malta_defconfig

A scst-3.3.0/ibmvstgt/src/bvme6000_defconfig

A scst-3.3.0/ibmvstgt/src/markeins_defconfig

A scst-3.3.0/ibmvstgt/src/ibmvscsi.h

A scst-3.3.0/ibmvstgt/src/motionpro_defconfig

A scst-3.3.0/ibmvstgt/src/scsi_host.h

A scst-3.3.0/ibmvstgt/src/mpc8610_hpcd_defconfig

A scst-3.3.0/ibmvstgt/src/mvme16x_defconfig

A scst-3.3.0/ibmvstgt/generate-in-tree-patches

A scst-3.3.0/ibmvstgt/src/decstation_defconfig

A scst-3.3.0/ibmvstgt/src/at572d940hfek_defconfig

A scst-3.3.0/ibmvstgt/src/scsi_tgt_if.h

A scst-3.3.0/ibmvstgt/src/scsi_tgt_if.c

A scst-3.3.0/qla_isp

A scst-3.3.0/qla_isp/linux-2.6

A scst-3.3.0/qla_isp/linux-2.6/build

A scst-3.3.0/ibmvstgt/src/pnx8550-stb810_defconfig

A scst-3.3.0/ibmvstgt/src/tb0226_defconfig

A scst-3.3.0/ibmvstgt/src/scsi_transport_srp_internal.h

A scst-3.3.0/ibmvstgt/src/scsi_tgt.h

A scst-3.3.0/ibmvstgt/src/viosrp.h

A scst-3.3.0/ibmvstgt/README.procfs

A scst-3.3.0/qla_isp/common

A scst-3.3.0/ibmvstgt/README.sysfs

A scst-3.3.0/ibmvstgt/src/scsi_transport_fc.c

A scst-3.3.0/qla_isp/firmware

A scst-3.3.0/doc/Makefile

A scst-3.3.0/ibmvstgt/src/ip22_defconfig

A scst-3.3.0/ibmvstgt/src/mpc5200_defconfig

A scst-3.3.0/ibmvstgt/src/bcm47xx_defconfig

A scst-3.3.0/ibmvstgt/src/scsi-Makefile

A scst-3.3.0/ibmvstgt/src/tb0287_defconfig

A scst-3.3.0/ibmvstgt/src/s3c2410_defconfig

A scst-3.3.0/ibmvstgt/src/scsi_transport_fc_internal.h

A scst-3.3.0/ibmvstgt/src/scsi_tgt_priv.h

A scst-3.3.0/ibmvstgt/Makefile

A scst-3.3.0/doc/scst_pg.sgml

A scst-3.3.0/doc/scst_user_spec.sgml

A scst-3.3.0/scst-dkms.spec.in

A scst-3.3.0/mvsas_tgt/Makefile

A scst-3.3.0/doc/Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf

A scst-3.3.0/README

A scst-3.3.0/mvsas_tgt/mv_94xx.h

A scst-3.3.0/mvsas_tgt/mv_sas.h

A scst-3.3.0/mvsas_tgt/ChangeLog

A scst-3.3.0/qla_isp/linux

A scst-3.3.0/doc/fig1.png

A scst-3.3.0/mvsas_tgt/mv_tgt.h

A scst-3.3.0/mvsas_tgt/mv_64xx.h

A scst-3.3.0/mvsas_tgt/mv_defs.h

A scst-3.3.0/mvsas_tgt/mv_init.c

A scst-3.3.0/doc/fig2.png

A scst-3.3.0/mvsas_tgt/mv_94xx.c

A scst-3.3.0/mvsas_tgt/mv_spi.h

A scst-3.3.0/qla_isp/linux-2.6/build/Makefile

A scst-3.3.0/qla_isp/common/isp_library.h

A scst-3.3.0/qla_isp/common/isp_tpublic.h

A scst-3.3.0/qla_isp/firmware/fwbin

A scst-3.3.0/mvsas_tgt/mv_sas.c

A scst-3.3.0/mvsas_tgt/README

A scst-3.3.0/qla_isp/LICENSE

A scst-3.3.0/qla_isp/common/isp_stds.h

A scst-3.3.0/mvsas_tgt/mv_tgt.c

A scst-3.3.0/qla_isp/common/ispmbox.h

A scst-3.3.0/qla_isp/common/isp.c

A scst-3.3.0/qla_isp/common/isp_target.c

A scst-3.3.0/qla_isp/firmware/asm_2200.h

A scst-3.3.0/mvsas_tgt/mv_64xx.c

A scst-3.3.0/mvsas_tgt/mv_chips.h

A scst-3.3.0/mvsas_tgt/mv_spi.c

A scst-3.3.0/qla_isp/linux-2.6/Makefile

A scst-3.3.0/qla_isp/firmware/asm_12160.h

A scst-3.3.0/qla_isp/common/isp_library.c

A scst-3.3.0/qla_isp/common/isp_target.h

A scst-3.3.0/qla_isp/common/ispvar.h

A scst-3.3.0/qla_isp/firmware/asm_1040.h

A scst-3.3.0/qla_isp/common/ispreg.h

A scst-3.3.0/qla_isp/firmware/asm_2100.h

A scst-3.3.0/qla_isp/firmware/asm_1000.h

A scst-3.3.0/qla_isp/firmware/asm_1080.h

A scst-3.3.0/qla_isp/firmware/asm_2400.h

A scst-3.3.0/qla_isp/linux/isp_cb_ops.c

A scst-3.3.0/qla_isp/linux/isp_pci.c

A scst-3.3.0/qla_isp/TAGS

A scst-3.3.0/AskingQuestions

A scst-3.3.0/qla_isp/linux/isp_linux.c

A scst-3.3.0/qla_isp/README.scst

A scst-3.3.0/qla_isp/README

A scst-3.3.0/qla_isp/firmware/asm_2300.h

A scst-3.3.0/qla_isp/firmware/asm_2322.h

A scst-3.3.0/qla_isp/linux/isp_linux.h

A scst-3.3.0/qla_isp/ChangeLog

A scst-3.3.0/qla_isp/Makefile

A scst-3.3.0/qla_isp/firmware/asm_2500.h

A scst-3.3.0/qla_isp/linux/isp_ioctl.h

A scst-3.3.0/qla_isp/linux/isp_scst.c

A scst-3.3.0/qla_isp/FIRMWARE.readme

A scst-3.3.0/qla_isp-release.patch

U scst-3.3.0

Checked out revision 7211.

ubuntu@zesty:~/Downloads$

Check if SCST Already Installed

Check if there is an SCST package already installed as shown below. In this case, there is no SCST installed.

ubuntu@zesty:~/Downloads$ sudo dpkg -l | grep scst

ubuntu@zesty:~/Downloads$

Check if SCST Processes Running

It is possible that a non-package SCST install could have been done. This test verifies that there are no SCST processes running currently. The output shown below indicates there are NO scst processes running.

ubuntu@zesty:~/Downloads$ ps -ef | grep scst

ubuntu 7416 1876 0 17:58 pts/0 00:00:00 grep --color=auto scst

ubuntu@zesty:~/Downloads$

Change Directory into the SCST Source Code

Change directory into the SCST svn source code directory as shown below.

ubuntu@zesty:~/Downloads$ cd scst-3.3.0

ubuntu@zesty:~/Downloads/scst-3.3.0$ pwd

/home/ubuntu/Downloads/scst-3.3.0

Create the "debian" subdirectory with "dh-make"

Create the "debian" directory and the source tarball as shown below with dh-make command.

Note: The "Email-Address" and "Maintainer Name" are auto-populated by the values set in .bash_aliases file.

Note: When prompted type "s" and "y" but NOT enter. The values are immediately accepted without <enter>.

Note: The "License" field is populated by the "--copyright gpl2" switch on dh-make as shown below.

ubuntu@zesty:~/Downloads/scst-3.3.0$ dh_make --createorig --copyright gpl2

Type of package: (single, indep, library, python)

[s/i/l/p]?

Email-Address : gilstanden@hotmail.com

License : gpl2

Package Name : scst

Maintainer Name : Gilbert Standen

Version : 3.3.0

Package Type : single

Date : Tue, 18 Jul 2017 18:06:24 -0500

Are the details correct? [Y/n/q]

Done. Please edit the files in the debian/ subdirectory now.

ubuntu@zesty:~/Downloads/scst-3.3.0$

Note: The command creates the "debian" sudirectory in the SCST source directory as shown below.

ubuntu@zesty:~/Downloads/scst-3.3.0$ ls -l

total 140

-rw-r--r-- 1 ubuntu ubuntu 16625 Jul 18 17:52 AskingQuestions

drwxr-xr-x 3 ubuntu ubuntu 4096 Jul 18 18:06 debian

drwxr-xr-x 2 ubuntu ubuntu 4096 Jul 18 17:52 doc

drwxr-xr-x 3 ubuntu ubuntu 4096 Jul 18 17:52 fcst

drwxr-xr-x 3 ubuntu ubuntu 4096 Jul 18 17:52 ibmvstgt

drwxr-xr-x 9 ubuntu ubuntu 4096 Jul 18 17:52 iscsi-scst

-rw-r--r-- 1 ubuntu ubuntu 19069 Jul 18 17:52 Makefile

drwxr-xr-x 3 ubuntu ubuntu 4096 Jul 18 17:52 mpt

drwxr-xr-x 2 ubuntu ubuntu 4096 Jul 18 17:52 mvsas_tgt

drwxr-xr-x 4 ubuntu ubuntu 4096 Jul 18 17:52 nightly

drwxr-xr-x 5 ubuntu ubuntu 4096 Jul 18 17:52 qla2x00t

drwxr-xr-x 6 ubuntu ubuntu 4096 Jul 18 17:52 qla_isp

-rw-r--r-- 1 ubuntu ubuntu 1026 Jul 18 17:52 qla_isp-release.patch

-rw-r--r-- 1 ubuntu ubuntu 2464 Jul 18 17:52 README

drwxr-xr-x 2 ubuntu ubuntu 4096 Jul 18 17:52 scripts

drwxr-xr-x 5 ubuntu ubuntu 4096 Jul 18 17:52 scst

drwxr-xr-x 7 ubuntu ubuntu 4096 Jul 18 17:52 scstadmin

-rw-r--r-- 1 ubuntu ubuntu 9355 Jul 18 17:52 scst-dkms.spec.in

drwxr-xr-x 3 ubuntu ubuntu 4096 Jul 18 17:52 scst_local

-rw-r--r-- 1 ubuntu ubuntu 7841 Jul 18 17:52 scst.spec.in

drwxr-xr-x 4 ubuntu ubuntu 4096 Jul 18 17:52 srpt

-rw-r--r-- 1 ubuntu ubuntu 1013 Jul 18 17:52 SVN_TAGS

drwxr-xr-x 6 ubuntu ubuntu 4096 Jul 18 17:52 usr

drwxr-xr-x 4 ubuntu ubuntu 4096 Jul 18 17:52 www

ubuntu@zesty:~/Downloads/scst-3.3.0$

Note: The command also creates the source code tarball one directory above as shown below.

ubuntu@zesty:~/Downloads/scst-3.3.0$ ls -l ../

total 9048

drwxr-xr-x 20 ubuntu ubuntu 4096 Jul 18 18:06 scst-3.3.0

-rw-r--r-- 1 ubuntu ubuntu 9259900 Jul 18 18:06 scst_3.3.0.orig.tar.xz

ubuntu@zesty:~/Downloads/scst-3.3.0$

Download Files: "Makefile", "rules", "control" and "copyright"

Download these four files from this blog (see bottom of this blog page) to the ~/Downloads directory as shown.

Note: ALL of the required files shown below in red, as well as also modprobe.sh and scst-san.service are in the scst-build.tar archive, so just download the scst-build.tar archive to ~/Downloads, and untar it to get all the required files.

ubuntu@zesty:~/Downloads$ ls -lrt

total 9080

-rw-r--r-- 1 ubuntu ubuntu 9259900 Jul 18 18:06 scst_3.3.0.orig.tar.xz

drwxr-xr-x 20 ubuntu ubuntu 4096 Jul 18 18:29 scst-3.3.0

-rw-r--r-- 1 ubuntu ubuntu 19072 Jul 18 18:29 Makefile

-rw-r--r-- 1 ubuntu ubuntu 460 Jul 18 18:29 control

-rw-r--r-- 1 ubuntu ubuntu 1145 Jul 18 18:29 copyright

-rw-r--r-- 1 ubuntu ubuntu 529 Jul 18 18:30 rules

ubuntu@zesty:~/Downloads$ pwd

/home/ubuntu/Downloads

ubuntu@zesty:~/Downloads$

Install File: "Makefile"

Install the downloaded Makefile to the ~/Downloads/scst-3.3.0 directory as shown below.

ubuntu@zesty:~/Downloads$ mv Makefile ./scst-3.3.0/.

ubuntu@zesty:~/Downloads$ ls -l ./scst-3.3.0/Makefile

-rw-r--r-- 1 ubuntu ubuntu 19072 Jul 18 18:29 ./scst-3.3.0/Makefile

ubuntu@zesty:~/Downloads$

Note: The edits to the generic Makefile that are included in the downloaded Makefile are shown below. As shown, lines 151, 162 and 175 are commented out. These are the "qla" lines that are commented out. Otherwise, this file is identical to the generic Makefile that was in the "debian" directory.

148 all:

149 cd $(SCST_DIR) && $(MAKE) $@

150 # @if [ -d $(DOC_DIR) ]; then cd $(DOC_DIR) && $(MAKE) $@; fi

151 # @if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; else if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi fi

152 # @if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi

153 # @if [ -d $(LSI_DIR) ]; then cd $(LSI_DIR) && $(MAKE) $@; fi

154 # @if [ -d $(SRP_DIR) ]; then cd $(SRP_DIR) && $(MAKE) $@; fi

155 @if [ -d $(ISCSI_DIR) ]; then cd $(ISCSI_DIR) && $(MAKE) $@; fi

156 @if [ -d $(USR_DIR) ]; then cd $(USR_DIR) && $(MAKE) $@; fi

157 @if [ -d $(SCST_LOCAL_DIR) ]; then cd $(SCST_LOCAL_DIR) && $(MAKE) $@; fi

158 @if [ -d $(EMULEX_DIR) ]; then cd $(EMULEX_DIR) && $(MAKE) $@; fi

159

160 install:

161 cd $(SCST_DIR) && $(MAKE) $@

162 # @if [ -d $(DOC_DIR) ]; then cd $(DOC_DIR) && $(MAKE) $@; fi

163 # @if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; else if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi fi

164 # @if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi

165 # @if [ -d $(LSI_DIR) ]; then cd $(LSI_DIR) && $(MAKE) $@; fi

166 # @if [ -d $(SRP_DIR) ]; then cd $(SRP_DIR) && $(MAKE) $@; fi

167 @if [ -d $(ISCSI_DIR) ]; then cd $(ISCSI_DIR) && $(MAKE) $@; fi

168 @if [ -d $(USR_DIR) ]; then cd $(USR_DIR) && $(MAKE) $@; fi

169 @if [ -d $(SCST_LOCAL_DIR) ]; then cd $(SCST_LOCAL_DIR) && $(MAKE) $@; fi

170 @if [ -d $(EMULEX_DIR) ]; then cd $(EMULEX_DIR) && $(MAKE) $@; fi

171

172 uninstall:

173 cd $(SCST_DIR) && $(MAKE) $@

174 # @if [ -d $(DOC_DIR) ]; then cd $(DOC_DIR) && $(MAKE) $@; fi

175 # @if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; else if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi fi

176 # @if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi

177 # @if [ -d $(LSI_DIR) ]; then cd $(LSI_DIR) && $(MAKE) $@; fi

178 @if [ -d $(SRP_DIR) ]; then cd $(SRP_DIR) && $(MAKE) $@; fi

179 @if [ -d $(ISCSI_DIR) ]; then cd $(ISCSI_DIR) && $(MAKE) $@; fi

180 @if [ -d $(USR_DIR) ]; then cd $(USR_DIR) && $(MAKE) $@; fi

181 @if [ -d $(SCST_LOCAL_DIR) ]; then cd $(SCST_LOCAL_DIR) && $(MAKE) $@; fi

182 @if [ -d $(EMULEX_DIR) ]; then cd $(EMULEX_DIR) && $(MAKE) $@; fi

Install File: "debian/rules"

Install the downloaded "rules" file to "debian/rules" as shown below.

ubuntu@zesty:~/Downloads$ mv rules ./scst-3.3.0/debian/.

ubuntu@zesty:~/Downloads$ ls -l ./scst-3.3.0/debian/rules

-rw-r--r-- 1 ubuntu ubuntu 529 Jul 18 18:30 ./scst-3.3.0/debian/rules

ubuntu@zesty:~/Downloads$

Note: The edits to the generic debian/rules file are shown in bold below.

ubuntu@zesty:~/Downloads/scst-3.3.0/debian$ cat rules

#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable)

# output every command that modifies files on the build system.

#export DH_VERBOSE = 1

export PREFIX=/usr

# see FEATURE AREAS in dpkg-buildflags(1)

#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)

# package maintainers to append CFLAGS

#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic

# package maintainers to append LDFLAGS

#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:

dh $@ --with systemd

override_dh_usrlocal:

ubuntu@zesty:~/Downloads/scst-3.3.0/debian$

Install File: "debian/control"

Install the downloaded "control" file to "debian/control" as shown below.

ubuntu@zesty:~/Downloads$ mv control ./scst-3.3.0/debian/.

ubuntu@zesty:~/Downloads$ ls -l ./scst-3.3.0/debian/control

-rw-r--r-- 1 ubuntu ubuntu 460 Jul 18 18:29 ./scst-3.3.0/debian/control

ubuntu@zesty:~/Downloads$

Note: The edits to the generic debian/control file are shown in bold below.

ubuntu@zesty:~/Downloads$ cat ./scst-3.3.0/debian/control

Source: scst

Section: database

Priority: optional

Maintainer: Gilbert Standen <gilstanden@hotmail.com>

Build-Depends: debhelper (>= 9), dh-systemd

Standards-Version: 3.9.8

Homepage: http://scst.sourceforge.net

Package: scst

Architecture: any

Depends: ${shlibs:Depends}, ${misc:Depends}

Description:Generic SCSI target subsystem for Linux

The generic SCSI target subsystem for Linux (SCST) allows creation of sophisticated storage devices from any Linux box.

ubuntu@zesty:~/Downloads$

Install File: "debian/copyright"

Install the downloaded "control" file to "debian/control" as shown below.

ubuntu@zesty:~/Downloads$ mv copyright ./scst-3.3.0/debian/.

ubuntu@zesty:~/Downloads$ ls -l ./scst-3.3.0/debian/copyright

-rw-r--r-- 1 ubuntu ubuntu 1145 Jul 18 18:29 ./scst-3.3.0/debian/copyright

ubuntu@zesty:~/Downloads$

Note: The edits to the generic debian/copyright file are shown in bold below.

ubuntu@zesty:~/Downloads$ cat ./scst-3.3.0/debian/copyright

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Upstream-Name: scst

Source: https://svn.code.sf.net/p/scst/svn/trunk

Files: *

Copyright: 2015-2017 Vladislav Bolkhovitin <vst@vlnb.net>

Copyright: 2007-2017 SanDisk Corporation

License: GPL-2.0+

Files: debian/*

Copyright: 2017 Gilbert Standen <gilstanden@hotmail.com>

License: GPL-2.0+

License: GPL-2.0+

This package is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation; either version 2 of the License, or

(at your option) any later version.

.

This package is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

.

You should have received a copy of the GNU General Public License

along with this program. If not, see <https://www.gnu.org/licenses/>

.

On Debian systems, the complete text of the GNU General

Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

ubuntu@zesty:~/Downloads$

Edit File: "debian/changelog"

The changelog file is edited using the "dch" utility as shown below.

Note: The dch utility will prompt on first use to set preferred default editor. I chose "3" and hit "enter" which opens up the changelog in the vi editor. Choose your favorite editor at this step.

ubuntu@zesty:~/Downloads/scst-3.3.0$ dch

Select an editor. To change later, run 'select-editor'.

1. /bin/ed

2. /bin/nano <---- easiest

3. /usr/bin/vim.tiny

Choose 1-3 [2]: 3

The dch utility displays the change log as shown below. It should look similar to this as shown below (but with your name and email address instead).

scst (3.3.0-1) zesty; urgency=medium

* Initial release (Closes: #0000)

-- Gilbert Standen <gilstanden@hotmail.com> Tue, 18 Jul 2017 18:06:24 -0500

Run Program: "debuild -uc -us"

Build the Debian SCST package as shown below using "debuild". The "debuild" program detects the changes to source code and requires that a patch be created as shown below. Run exactly as shown - do NOT run with "sudo" or as "root" user.

ubuntu@zesty:~/Downloads/scst-3.3.0$ debuild -uc -us

dpkg-buildpackage -rfakeroot -D -us -uc

dpkg-buildpackage: info: source package scst

dpkg-buildpackage: info: source version 3.3.0-1

dpkg-buildpackage: info: source distribution zesty

dpkg-buildpackage: info: source changed by Gilbert Standen <gilstanden@hotmail.com>

dpkg-source --before-build scst-3.3.0

dpkg-buildpackage: info: host architecture amd64

fakeroot debian/rules clean

dh clean --with systemd

dh_testdir

dh_auto_clean

make -j1 clean

make[1]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0'

cd scst && make clean

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst'

cd src && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

cd dev_handlers && make clean

make[4]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

make[4]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers'

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/doc'

mv "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf" "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf_"

rm -f *.txt *.html *.tex *.dvi *.ps *.pdf *.info *.lyx *.rtf

mv "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf_" "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf"

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/doc'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend *~ Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t/qla2x00-target'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend *~ Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t/qla2x00-target'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/srpt'

rm -rf conftest/pre_cflags conftest/kcflags

for d in conftest/* src; do \

[ -d "$d" ] && make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/srpt/$d clean; \

rm -f $d/result*.txt; \

done

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

rm -f src/Module.symvers src/Module.markers src/modules.order

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/srpt'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst'

make -C usr clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/usr'

rm -f *.o iscsi-scstd iscsi-scst-adm .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/usr'

make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel clean

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst clean

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

rm -f kernel/Modules.symvers kernel/Module.symvers \

kernel/Module.markers kernel/modules.order \

kernel/isert-scst/Modules.symvers kernel/isert-scst/Module.symvers \

kernel/isert-scst/Module.markers kernel/isert-scst/modules.order \

include/iscsi_scst_itf_ver.h

rm -rf conftest/*/*.ko conftest/*/*.mod.c conftest/*/Module.symvers conftest/*/*.o \

conftest/*/*.o.cmd conftest/*/*.ko.cmd conftest/*/.*.o.cmd conftest/*/.*.ko.cmd \

conftest/*/*.order conftest/*/.*.o.d conftest/*/.tmp_versions/ \

conftest/*/result*.txt

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr'

cd fileio && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/fileio'

rm -f *.o fileio_tgt .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/fileio'

cd stpgd && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd'

rm -f *.o stpgd .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd'

cd events && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/events'

rm -f *.o events .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/events'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst_local'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst_local'

make[1]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0'

dh_clean

dpkg-source -b scst-3.3.0

dpkg-source: info: using source format '3.0 (quilt)'

dpkg-source: info: building scst using existing ./scst_3.3.0.orig.tar.xz

dpkg-source: warning: ignoring deletion of file qla_isp/TAGS, use --include-removal to override

dpkg-source: info: local changes detected, the modified files are:

scst-3.3.0/Makefile

dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/scst_3.3.0-1.diff.0PD9rp

dpkg-source: info: you can integrate the local changes with dpkg-source --commit

dpkg-buildpackage: error: dpkg-source -b scst-3.3.0 gave error exit status 2

debuild: fatal error at line 1376:

dpkg-buildpackage -rfakeroot -D -us -uc failed

ubuntu@zesty:~/Downloads/scst-3.3.0$

Create Required Source Code Patch

Create the required source code patch using "dpkg-source --commit" as shown below. The patch name is arbitrary but cannot be the same as any other previously created patch. Here the arbitrary name "scst-debuild-p1" is used. Type in the patch name and press <enter>. This is needed because the rules, copyright, control and Makefile were changed int he source code tree.

ubuntu@zesty:~/Downloads/scst-3.3.0$ dpkg-source --commit

dpkg-source: warning: ignoring deletion of file qla_isp/TAGS, use --include-removal to override

dpkg-source: info: local changes detected, the modified files are:

scst-3.3.0/Makefile

Enter the desired patch name: scst-debuild-p1

The editor displays the patch for any additional editing. Do not edit the file. Simply save it as shown below.

Description: <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph

with a longer explanation of this change. Complete the meta-information

with other relevant fields (see below for details). To make it easier, the

information below has been extracted from the changelog. Adjust it or drop

it.

.

scst (3.3.0-1) zesty; urgency=medium

.

* Initial release (Closes: #0000)

Author: Gilbert Standen <gilstanden@hotmail.com>

Bug-Debian: https://bugs.debian.org/0000

---

The information above should follow the Patch Tagging Guidelines, please

checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here

are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>

Bug: <url in upstream bugtracker>

Bug-Debian: https://bugs.debian.org/<bugnumber>

Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>

Forwarded: <no|not-needed|url proving that it has been forwarded>

Reviewed-By: <name and email of someone who approved the patch>

Last-Update: 2017-07-18

--- scst-3.3.0.orig/Makefile

+++ scst-3.3.0/Makefile

@@ -148,7 +148,7 @@ help:

all:

cd $(SCST_DIR) && $(MAKE) $@

# @if [ -d $(DOC_DIR) ]; then cd $(DOC_DIR) && $(MAKE) $@; fi

- @if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; else if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi fi

+# @if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; else if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi fi

# @if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi

# @if [ -d $(LSI_DIR) ]; then cd $(LSI_DIR) && $(MAKE) $@; fi

# @if [ -d $(SRP_DIR) ]; then cd $(SRP_DIR) && $(MAKE) $@; fi

@@ -160,7 +160,7 @@ all:

install:

cd $(SCST_DIR) && $(MAKE) $@

# @if [ -d $(DOC_DIR) ]; then cd $(DOC_DIR) && $(MAKE) $@; fi

- @if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; else if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi fi

+# @if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; else if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi fi

# @if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi

The final output from the patching program is shown below after file has been saved with "wq".

ubuntu@zesty:~/Downloads/scst-3.3.0$ dpkg-source --commit

dpkg-source: warning: ignoring deletion of file qla_isp/TAGS, use --include-removal to override

dpkg-source: info: local changes detected, the modified files are:

scst-3.3.0/Makefile

Enter the desired patch name: scst-debuild-p1

dpkg-source: info: local changes have been recorded in a new patch: scst-3.3.0/debian/patches/scst-debuild-p1

ubuntu@zesty:~/Downloads/scst-3.3.0$

Re-Run Program: "debuild -uc -us"

Run the debuild program again but this time the patch has been applied with the changes to control, copyright, rules and Makefile. Run exactly as shown - do NOT run with "sudo" or as "root" user.

ubuntu@zesty:~/Downloads/scst-3.3.0$ debuild -uc -us

dpkg-buildpackage -rfakeroot -D -us -uc

dpkg-buildpackage: info: source package scst

dpkg-buildpackage: info: source version 3.3.0-1

dpkg-buildpackage: info: source distribution zesty

dpkg-buildpackage: info: source changed by Gilbert Standen <gilstanden@hotmail.com>

dpkg-source --before-build scst-3.3.0

dpkg-buildpackage: info: host architecture amd64

fakeroot debian/rules clean

dh clean --with systemd

dh_testdir

dh_auto_clean

make -j1 clean

make[1]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0'

cd scst && make clean

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst'

cd src && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

cd dev_handlers && make clean

make[4]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

make[4]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers'

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/doc'

mv "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf" "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf_"

rm -f *.txt *.html *.tex *.dvi *.ps *.pdf *.info *.lyx *.rtf

mv "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf_" "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf"

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/doc'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend *~ Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t/qla2x00-target'

rm -f *.o *.ko .*.cmd *.mod.c .*.d .depend *~ Modules.symvers \

Module.symvers Module.markers modules.order

rm -rf .tmp_versions

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/qla2x00t/qla2x00-target'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/srpt'

rm -rf conftest/pre_cflags conftest/kcflags

for d in conftest/* src; do \

[ -d "$d" ] && make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/srpt/$d clean; \

rm -f $d/result*.txt; \

done

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

rm -f src/Module.symvers src/Module.markers src/modules.order

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/srpt'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst'

make -C usr clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/usr'

rm -f *.o iscsi-scstd iscsi-scst-adm .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/usr'

make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel clean

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst clean

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

rm -f kernel/Modules.symvers kernel/Module.symvers \

kernel/Module.markers kernel/modules.order \

kernel/isert-scst/Modules.symvers kernel/isert-scst/Module.symvers \

kernel/isert-scst/Module.markers kernel/isert-scst/modules.order \

include/iscsi_scst_itf_ver.h

rm -rf conftest/*/*.ko conftest/*/*.mod.c conftest/*/Module.symvers conftest/*/*.o \

conftest/*/*.o.cmd conftest/*/*.ko.cmd conftest/*/.*.o.cmd conftest/*/.*.ko.cmd \

conftest/*/*.order conftest/*/.*.o.d conftest/*/.tmp_versions/ \

conftest/*/result*.txt

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr'

cd fileio && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/fileio'

rm -f *.o fileio_tgt .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/fileio'

cd stpgd && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd'

rm -f *.o stpgd .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd'

cd events && make clean

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/events'

rm -f *.o events .depend*

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/events'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst_local'

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst_local'

make[1]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0'

dh_clean

dpkg-source -b scst-3.3.0

dpkg-source: info: using source format '3.0 (quilt)'

dpkg-source: info: building scst using existing ./scst_3.3.0.orig.tar.xz

dpkg-source: warning: ignoring deletion of file qla_isp/TAGS, use --include-removal to override

dpkg-source: info: building scst in scst_3.3.0-1.debian.tar.xz

dpkg-source: info: building scst in scst_3.3.0-1.dsc

debian/rules build

dh build --with systemd

dh_testdir

dh_update_autotools_config

dh_auto_configure

dh_auto_build

make -j1

make[1]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0'

all : make all

clean : clean files

extraclean : clean + clean dependencies

install : install

uninstall : uninstall

scst : make scst only

scst_clean : scst: clean

scst_extraclean : scst: clean + clean dependencies

scst_install : scst: install

scst_uninstall : scst: uninstall

scstadm_install : scstadmin: install

scstadm_uninstall : scstadmin: uninstall

qla : make QLA target driver

qla_pull : pull the latest version of the QLA target driver from the QLogic's git

qla_clean : qla target: clean

qla_extraclean : qla target: clean + clean dependencies

qla_install : qla target: install

qla_uninstall : qla target: uninstall

qla_old : make old Qlogic chipsets target driver

qla_old_clean : qla old target: clean

qla_old_extraclean: qla old target: clean + clean dependencies

qla_old_install : qla old target: install

qla_old_uninstall : qla old target: uninstall

iscsi : make iSCSI target

iscsi_clean : ISCSI target: clean

iscsi_extraclean : ISCSI target: clean + clean dependencies

iscsi_install : ISCSI target: install

iscsi_uninstall : ISCSI target: uninstall

emulex : make Emulex target

emulex_clean : Emulex target: clean

emulex_extraclean : Emulex target: clean + clean dependencies

emulex_install : Emulex target: install

emulex_uninstall : Emulex target: uninstall

lsi : make LSI MPT target

lsi_clean : lsi target: clean

lsi_extraclean : lsi target: clean + clean dependencies

lsi_install : lsi target: install

lsi_uninstall : lsi target: uninstall

srpt : make SRP target

srpt_clean : srp target: clean

srpt_extraclean : srp target: clean + clean dependencies

srpt_install : srp target: install

srpt_uninstall : srp target: uninstall

mvsas : make MVSAS target

mvsas_clean : mvsas target: clean

mvsas_extraclean : mvsas target: clean + clean dependencies

mvsas_install : mvsas target: install

mvsas_uninstall : mvsas target: uninstall

fcst : make FCoE target

fcst_clean : FCoE target: clean

fcst_extraclean : FCoE target: clean + clean dependencies

fcst_install : FCoE target: install

fcst_uninstall : FCoE target: uninstall

scst_local : make scst_local target

scst_local_install : scst_local target: install

scst_local_uninstall : scst_local target: uninstall

usr : make user space targets

usr_clean : usr target: clean

usr_extraclean : usr target: clean + clean dependencies

usr_install : usr target: install

usr_uninstall : usr target: uninstall

enable_proc : switch to procfs interface

disable_proc : switch to sysfs interface (default)

2perf : changes debug state to full performance

2release : changes debug state to release

2debug : changes debug state to full debug

Note:

- install and uninstall may need root privileges

make[1]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0'

dh_auto_test

fakeroot debian/rules binary

dh binary --with systemd

dh_testroot

dh_prep

dh_auto_install

make -j1 install DESTDIR=/home/ubuntu/Downloads/scst-3.3.0/debian/scst AM_UPDATE_INFO_DIR=no

make[1]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0'

cd scst && make install

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst'

cd src && make install

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src'

echo "/* Autogenerated, don't edit */" >../include/scst_itf_ver.h

echo "" >>../include/scst_itf_ver.h

echo -n "#define SCST_INTF_VER " >>../include/scst_itf_ver.h

echo "\"`sha1sum ../include/scst.h|awk '{printf $1}'`\"" >>../include/scst_itf_ver.h

echo -n "#define SCST_CONST_INTF_VER " >>../include/scst_itf_ver.h

echo "\"`sha1sum ../include/scst_const.h|awk '{printf $1}'`\"" >>../include/scst_itf_ver.h

echo -n "#define DEV_USER_INTF_VER " >>../include/scst_itf_ver.h

echo "\"`sha1sum ../include/scst_user.h|awk '{printf $1}'`\"" >>../include/scst_itf_ver.h

make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/scst/src BUILD_DEV=m

make[4]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

LD /home/ubuntu/Downloads/scst-3.3.0/scst/src/built-in.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_main.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_targ.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_lib.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_sysfs.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_mem.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_debug.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_pres.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_no_dlm.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_dlm.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_tg.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_event.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst_copy_mgr.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst.o

LD /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/built-in.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_cdrom.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_changer.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_disk.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_modisk.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_tape.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_vdisk.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_raid.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_processor.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_user.o

Building modules, stage 2.

MODPOST 10 modules

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_cdrom.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_cdrom.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_changer.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_changer.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_disk.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_disk.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_modisk.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_modisk.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_processor.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_processor.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_raid.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_raid.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_tape.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_tape.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_user.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_user.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_vdisk.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/dev_handlers/scst_vdisk.ko

CC /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst/src/scst.ko

make[4]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

rm -f /home/ubuntu/Downloads/scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/scsi_tgt.ko

install -d /home/ubuntu/Downloads/scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra

install -d /home/ubuntu/Downloads/scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers

install -m 644 dev_handlers/*.ko /home/ubuntu/Downloads/scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers

install -m 644 scst.ko /home/ubuntu/Downloads/scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra

install -d /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/include/scst

header_files="backport.h scst.h scst_const.h scst_debug.h \

scst_itf_ver.h scst_sgv.h scst_user.h"; \

for h in ${header_files}; do \

install -m 644 ../include/$h /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/include/scst; \

done

rm -f /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/include/scst/Module.symvers

install -m 644 Module.symvers /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/include/scst

/sbin/depmod -b /home/ubuntu/Downloads/scst-3.3.0/debian/scst/ -a 4.10.0-26-generic

depmod: WARNING: could not open /home/ubuntu/Downloads/scst-3.3.0/debian/scst//lib/modules/4.10.0-26-generic/modules.order: No such file or directory

depmod: WARNING: could not open /home/ubuntu/Downloads/scst-3.3.0/debian/scst//lib/modules/4.10.0-26-generic/modules.builtin: No such file or directory

mkdir -p /home/ubuntu/Downloads/scst-3.3.0/debian/scst/var/lib/scst/pr

mkdir -p /home/ubuntu/Downloads/scst-3.3.0/debian/scst/var/lib/scst/dif_tags

mkdir -p /home/ubuntu/Downloads/scst-3.3.0/debian/scst/var/lib/scst/vdev_mode_pages

****************************************************************

*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*

*!! !!*

*!! Now don't forget to rebuild and reinstall all your !!*

*!! target drivers, custom dev handlers and necessary user !!*

*!! space applications. Otherwise, because of the versions !!*

*!! mismatch, you could have many problems and crashes. !!*

*!! See IMPORTANT note in the "Installation" section of !!*

*!! SCST's README file for more info. !!*

*!! !!*

*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*

****************************************************************

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst/src'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst'

echo "/* Autogenerated, don't edit */" >include/iscsi_scst_itf_ver.h

echo "" >>include/iscsi_scst_itf_ver.h

echo -n "#define ISCSI_SCST_INTERFACE_VERSION " >>include/iscsi_scst_itf_ver.h

echo -n "ISCSI_VERSION_STRING \"_" >>include/iscsi_scst_itf_ver.h

echo "`sha1sum include/iscsi_scst.h|awk '{printf $1}'`\"" >>include/iscsi_scst_itf_ver.h

make -C usr SCST_INC_DIR=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/usr'

cc -M -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE iscsid.c iscsi_scstd.c conn.c session.c target.c message.c ctldev.c log.c chap.c event.c param.c config.c isns.c md5.c sha1.c misc.c >.depend_d

cc -c -o iscsid.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE iscsid.c

cc -c -o iscsi_scstd.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE iscsi_scstd.c

cc -c -o conn.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE conn.c

cc -c -o session.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE session.c

cc -c -o target.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE target.c

cc -c -o message.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE message.c

cc -c -o ctldev.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE ctldev.c

cc -c -o log.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE log.c

cc -c -o chap.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE chap.c

cc -c -o event.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE event.c

cc -c -o param.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE param.c

cc -c -o config.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE config.c

cc -c -o isns.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE isns.c

cc -c -o md5.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE md5.c

cc -c -o sha1.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE sha1.c

cc -c -o misc.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE misc.c

cc iscsid.o iscsi_scstd.o conn.o session.o target.o message.o ctldev.o log.o chap.o event.o param.o config.o isns.o md5.o sha1.o misc.o -o iscsi-scstd

cc -M -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE iscsi_adm.c param.c >.depend_adm

cc -c -o iscsi_adm.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare -Wimplicit-function-declaration -Wno-unused-parameter -Wno-missing-field-initializers -g -I../include -I/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include -D_GNU_SOURCE iscsi_adm.c

cc iscsi_adm.o param.o -o iscsi-scst-adm

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/usr'

cp /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/src/Module.symvers kernel/

if true; then \

cp /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/src/Module.symvers kernel/isert-scst; \

fi

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/cm_listen/cm_listen.o

scripts/Makefile.build:301: recipe for target '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/cm_listen/cm_listen.o' failed

Makefile:1524: recipe for target '_module_/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/cm_listen' failed

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "" >"conftest/cm_listen/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DIB_CREATE_CQ_HAS_INIT_ATTR" >"conftest/create_cq/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/create_send_mad_ah/create_send_mad_ah.o

scripts/Makefile.build:301: recipe for target '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/create_send_mad_ah/create_send_mad_ah.o' failed

Makefile:1524: recipe for target '_module_/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/create_send_mad_ah' failed

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "" >"conftest/create_send_mad_ah/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DCREATE_SEND_MAD_HAS_BASE_ARG" >"conftest/create_send_mad_base/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DHAVE_IB_EVENT_GID_CHANGE" >"conftest/gid_change/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DIB_CLIENT_REMOVE_TAKES_TWO_ARGS" >"conftest/ib_client_remove/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DHAVE_IB_DMA_MAP_OPS" >"conftest/ib_dma_map_ops/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DHAVE_IB_SET_CPI_RESP_TIME" >"conftest/ib_set_cpi_resp_time/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DMAD_HANDLER_TAKES_SEND_BUF" >"conftest/mad_handler_takes_send_buf/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DIB_PD_HAS_LOCAL_DMA_LKEY" >"conftest/pd_has_local_dma_lkey/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/query_device/query_device.o

scripts/Makefile.build:301: recipe for target '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/query_device/query_device.o' failed

Makefile:1524: recipe for target '_module_/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/query_device' failed

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "" >"conftest/query_device/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/query_device_attr_arg/query_device_attr_arg.o

scripts/Makefile.build:301: recipe for target '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/query_device_attr_arg/query_device_attr_arg.o' failed

Makefile:1524: recipe for target '_module_/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/query_device_attr_arg' failed

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "" >"conftest/query_device_attr_arg/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DIB_QUERY_GID_HAS_ATTR_ARG" >"conftest/query_gid/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DRDMA_CREATE_ID_TAKES_NET_ARG=1" >"conftest/rdma_create_id_net/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "-DREGISTER_MAD_AGENT_HAS_FLAGS_ARG" >"conftest/register_mad_agent/result-4.10.0-26-generic.txt"

make[2]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/use_pre_440_wr_structure/use_pre_440_wr_structure.o

scripts/Makefile.build:301: recipe for target '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/use_pre_440_wr_structure/use_pre_440_wr_structure.o' failed

Makefile:1524: recipe for target '_module_/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/conftest/use_pre_440_wr_structure' failed

make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "" >"conftest/use_pre_440_wr_structure/result-4.10.0-26-generic.txt"

make -C /lib/modules/4.10.0-26-generic/build SCST_INC_DIR=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel modules

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/iscsi.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/nthread.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/config.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/digest.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/conn.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/session.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/target.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/event.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/param.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/iscsit_transport.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/iscsi-scst.o

Building modules, stage 2.

MODPOST 1 modules

CC /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/iscsi-scst.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/iscsi-scst.ko

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "mods: INFINIBAND_ENABLED = true"

mods: INFINIBAND_ENABLED = true

if true; then \

echo " Building against in-tree InfiniBand kernel headers."; \

make -C /lib/modules/4.10.0-26-generic/build SCST_INC_DIR=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst \

PRE_CFLAGS=" -DOFED_FLAVOR=in-tree -DIB_CREATE_CQ_HAS_INIT_ATTR -DCREATE_SEND_MAD_HAS_BASE_ARG -DHAVE_IB_EVENT_GID_CHANGE -DIB_CLIENT_REMOVE_TAKES_TWO_ARGS -DHAVE_IB_DMA_MAP_OPS -DHAVE_IB_SET_CPI_RESP_TIME -DMAD_HANDLER_TAKES_SEND_BUF -DIB_PD_HAS_LOCAL_DMA_LKEY -DIB_QUERY_GID_HAS_ATTR_ARG -DRDMA_CREATE_ID_TAKES_NET_ARG=1 -DREGISTER_MAD_AGENT_HAS_FLAGS_ARG" \

KBUILD_EXTRA_SYMBOLS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/Module.symvers modules; \

fi

Building against in-tree InfiniBand kernel headers.

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/isert.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/isert_login.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_datamover.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_rdma.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_buf.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_pdu.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/iser_global.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/isert-scst.o

Building modules, stage 2.

MODPOST 1 modules

CC /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/isert-scst.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/isert-scst.ko

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

install: creating directory '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/sbin'

'usr/iscsi-scstd' -> '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/sbin/iscsi-scstd'

install: creating directory '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/man'

install: creating directory '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/man/man5'

'doc/manpages/iscsi-scstd.conf.5' -> '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/man/man5/iscsi-scstd.conf.5'

install: creating directory '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/man/man8'

'doc/manpages/iscsi-scstd.8' -> '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/man/man8/iscsi-scstd.8'

'usr/iscsi-scst-adm' -> '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/sbin/iscsi-scst-adm'

'doc/manpages/iscsi-scst-adm.8' -> '/home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/man/man8/iscsi-scst-adm.8'

make -C /lib/modules/4.10.0-26-generic/build SCST_INC_DIR=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel \

$([ -n "/home/ubuntu/Downloads/scst-3.3.0/debian/scst/home/ubuntu/Downloads/scst-3.3.0/debian/scst" ] && echo DEPMOD=true) \

modules_install

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

INSTALL /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/iscsi-scst.ko

At main.c:158:

- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175

- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178

sign-file: certs/signing_key.pem: No such file or directory

DEPMOD 4.10.0-26-generic

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

echo "install: INFINIBAND_ENABLED = true"

install: INFINIBAND_ENABLED = true

if true; then \

make -C /lib/modules/4.10.0-26-generic/build SCST_INC_DIR=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/../scst/include SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst \

$([ -n "/home/ubuntu/Downloads/scst-3.3.0/debian/scst/home/ubuntu/Downloads/scst-3.3.0/debian/scst" ] && echo DEPMOD=true) \

modules_install; \

fi

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

INSTALL /home/ubuntu/Downloads/scst-3.3.0/iscsi-scst/kernel/isert-scst/isert-scst.ko

At main.c:158:

- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175

- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178

sign-file: certs/signing_key.pem: No such file or directory

DEPMOD 4.10.0-26-generic

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/iscsi-scst'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr'

cd fileio && make install

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/fileio'

cc -M -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/fileio/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter -DDEBUG_EXT_COPY_REMAP fileio.c common.c debug.c crc32.c >.depend_f

cc -c -o fileio.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/fileio/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter -DDEBUG_EXT_COPY_REMAP fileio.c

cc -c -o common.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/fileio/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter -DDEBUG_EXT_COPY_REMAP common.c

cc -c -o debug.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/fileio/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter -DDEBUG_EXT_COPY_REMAP debug.c

cc -c -o crc32.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/fileio/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter -DDEBUG_EXT_COPY_REMAP crc32.c

cc fileio.o common.o debug.o crc32.o -lpthread -o fileio_tgt

install -d /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/bin/scst

install -m 755 fileio_tgt /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/bin/scst

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/fileio'

cd stpgd && make install

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd'

cc -M -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter stpgd_main.c debug.c >.depend_f

cc -c -o stpgd_main.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter stpgd_main.c

cc -c -o debug.o -g -O2 -fdebug-prefix-map=/home/ubuntu/Downloads/scst-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -I/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd/../../scst/include -I../include -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DEXTRACHECKS -DDEBUG -g -fno-inline -fno-inline-functions -W -Wno-unused-parameter debug.c

cc stpgd_main.o debug.o -lpthread -o stpgd

install -d /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/sbin

install -m 700 stpgd /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/sbin

install -m 700 scst_on_stpg /home/ubuntu/Downloads/scst-3.3.0/debian/scst/usr/bin/scst/scst_on_stpg

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr/stpgd'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/usr'

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scst_local'

cp /home/ubuntu/Downloads/scst-3.3.0/scst_local/../scst/src/Module.symvers .

make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/scst_local BUILD_INI=m \

SCST_INC_DIR=/home/ubuntu/Downloads/scst-3.3.0/scst_local/../scst/include

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

LD /home/ubuntu/Downloads/scst-3.3.0/scst_local/built-in.o

CC [M] /home/ubuntu/Downloads/scst-3.3.0/scst_local/scst_local.o

Building modules, stage 2.

MODPOST 1 modules

CC /home/ubuntu/Downloads/scst-3.3.0/scst_local/scst_local.mod.o

LD [M] /home/ubuntu/Downloads/scst-3.3.0/scst_local/scst_local.ko

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make -C /lib/modules/4.10.0-26-generic/build SUBDIRS=/home/ubuntu/Downloads/scst-3.3.0/scst_local BUILD_INI=m \

$([ -n "/home/ubuntu/Downloads/scst-3.3.0/debian/scst/home/ubuntu/Downloads/scst-3.3.0/debian/scst" ] && echo DEPMOD=true) \

SCST_INC_DIR=/home/ubuntu/Downloads/scst-3.3.0/scst_local/../scst/include modules_install

make[3]: Entering directory '/usr/src/linux-headers-4.10.0-26-generic'

INSTALL /home/ubuntu/Downloads/scst-3.3.0/scst_local/scst_local.ko

At main.c:158:

- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175

- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178

sign-file: certs/signing_key.pem: No such file or directory

DEPMOD 4.10.0-26-generic

make[3]: Leaving directory '/usr/src/linux-headers-4.10.0-26-generic'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scst_local'

make[1]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0'

dh_installdocs

dh_installchangelogs

dh_installmodules

dh_perl

dh_link

dh_strip_nondeterminism

dh_compress

dh_fixperms

dh_strip

dh_makeshlibs

dh_shlibdeps

dh_installdeb

dh_gencontrol

dh_md5sums

dh_builddeb

dpkg-deb: building package 'scst' in '../scst_3.3.0-1_amd64.deb'.

dpkg-genchanges >../scst_3.3.0-1_amd64.changes

dpkg-genchanges: info: including full source code in upload

dpkg-source --after-build scst-3.3.0

dpkg-buildpackage: info: full upload (original source is included)

Now running lintian...

W: scst source: dh-make-template-in-source debian/manpage.1.ex

W: scst source: dh-make-template-in-source debian/manpage.sgml.ex

W: scst source: dh-make-template-in-source debian/manpage.xml.ex

W: scst source: dh-make-template-in-source debian/menu.ex

W: scst source: dh-make-template-in-source debian/postinst.ex

W: scst source: dh-make-template-in-source debian/postrm.ex

W: scst source: dh-make-template-in-source debian/preinst.ex

W: scst source: dh-make-template-in-source debian/prerm.ex

W: scst source: dh-make-template-in-source debian/scst.cron.d.ex

W: scst source: dh-make-template-in-source debian/scst.default.ex

W: scst source: dh-make-template-in-source debian/scst.doc-base.EX

W: scst source: dh-make-template-in-source debian/watch.ex

W: scst source: syntax-error-in-dep5-copyright line 7: Duplicate field copyright.

W: scst: improbable-bug-number-in-closes 0000

W: scst: readme-debian-contains-debmake-template

W: scst: extended-description-line-too-long

E: scst: subdir-in-usr-bin usr/bin/scst/

E: scst: FSSTND-dir-in-usr usr/man/

E: scst: manpage-not-compressed usr/man/man5/iscsi-scstd.conf.5

E: scst: manpage-not-compressed usr/man/man8/iscsi-scst-adm.8

E: scst: manpage-not-compressed usr/man/man8/iscsi-scstd.8

W: scst: binary-without-manpage usr/sbin/stpgd

Finished running lintian.

ubuntu@zesty:~/Downloads/scst-3.3.0$

Verify SCST Modules Created

Verify the SCST modules are created as shown below.

ubuntu@zesty:~/Downloads/scst-3.3.0$ cd ..

ubuntu@zesty:~/Downloads$ find . -name *.ko | grep scst | grep modules

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/isert-scst.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/scst_local.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/scst.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_processor.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_tape.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_modisk.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_cdrom.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_changer.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_disk.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_raid.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_user.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/dev_handlers/scst_vdisk.ko

./scst-3.3.0/debian/scst/lib/modules/4.10.0-26-generic/extra/iscsi-scst.ko

ubuntu@zesty:~/Downloads$

Install the SCST Debian Package

Install the SCST Debian package as shown below.

ubuntu@zesty:~/Downloads$ ls -lrt

total 13400

-rw-r--r-- 1 ubuntu ubuntu 9259900 Jul 18 18:06 scst_3.3.0.orig.tar.xz

drwxr-xr-x 21 ubuntu ubuntu 4096 Jul 18 18:59 scst-3.3.0

-rw-r--r-- 1 ubuntu ubuntu 8188 Jul 18 19:03 scst_3.3.0-1.debian.tar.xz

-rw-r--r-- 1 ubuntu ubuntu 806 Jul 18 19:03 scst_3.3.0-1.dsc

-rw-r--r-- 1 ubuntu ubuntu 4384646 Jul 18 19:06 scst_3.3.0-1_amd64.deb

-rw-r--r-- 1 ubuntu ubuntu 1455 Jul 18 19:06 scst_3.3.0-1_amd64.changes

-rw-r--r-- 1 ubuntu ubuntu 47331 Jul 18 19:06 scst_3.3.0-1_amd64.build

ubuntu@zesty:~/Downloads$

ubuntu@zesty:~/Downloads$ sudo dpkg -i scst_3.3.0-1_amd64.deb

[sudo] password for ubuntu:

Selecting previously unselected package scst.

(Reading database ... 239677 files and directories currently installed.)

Preparing to unpack scst_3.3.0-1_amd64.deb ...

Unpacking scst (3.3.0-1) ...

Setting up scst (3.3.0-1) ...

Processing triggers for man-db (2.7.6.1-2) ...

ubuntu@zesty:~/Downloads$

Display the Installed SCST Package Information

List the SCST installed package as shown below.

ubuntu@zesty:~/Downloads$ sudo dpkg -l | grep scst | sed 's/ */ /g'

ii scst 3.3.0-1 amd64 Generic SCSI target subsystem for Linux

ubuntu@zesty:~/Downloads$

Create SCST Userspace Tools (scstadmin)

Create the SCST userspace tools as shown below.

ubuntu@zesty:~/Downloads$ cd scst-3.3.0

ubuntu@zesty:~/Downloads/scst-3.3.0$ sudo make scstadm scstadm_install

cd scstadmin && make all

make[1]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin'

cd scstadmin && make all

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs'

Checking if your kit is complete...

Looks good

Generating a Unix-style Makefile

Writing Makefile for SCST_SCST

Writing MYMETA.yml and MYMETA.json

make -C scst-1.0.0

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0'

cp lib/SCST/SCST.pm blib/lib/SCST/SCST.pm

Manifying 1 pod document

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0'

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs'

make[1]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin'

cd scstadmin && make install

make[1]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin'

cd scstadmin && make install

make[2]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs'

Generating a Unix-style Makefile

Writing Makefile for SCST_SCST

Writing MYMETA.yml and MYMETA.json

make -C scst-1.0.0

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0'

Skip blib/lib/SCST/SCST.pm (unchanged)

Manifying 1 pod document

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0'

make -C scst-1.0.0 install DESTDIR=

make[3]: Entering directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0'

Manifying 1 pod document

Installing /usr/local/share/perl/5.24.1/SCST/SCST.pm

Installing /usr/local/man/man3/SCST::SCST.3pm

Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/perllocal.pod

make[3]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs/scst-1.0.0'

install -d /usr/local/sbin

install -m 755 scstadmin /usr/local/sbin

regex="s|%INSTALLSITELIB%|$(make -sC scst-1.0.0 print-INSTALLSITELIB | grep -v ^make)|"; echo "${regex}"; sed -i "${regex}" /usr/local/sbin/scstadmin

s|%INSTALLSITELIB%|/usr/local/share/perl/5.24.1|

make[2]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin/scstadmin.sysfs'

for m in scstadmin/man*/*.[1-9]; do \

if [ -e $m ]; then \

d=/usr/local/man/$(basename $(dirname $m)); \

if install -d $d; then \

install -m 644 $m $d; \

fi \

fi \

done

# Remove the files that are obsolete since SCST-SCST has been

# renamed into SCST_SCST.

rm -rf "$(/usr/bin/perl -V:sitearch | sed "s|.*='||;s|'.*||")/auto/SCST-SCST"

# Install the files that have just been built.

install -d /etc/init.d

tmp=/tmp/scst-initd-$$ && init.d/scst >$tmp && \

install -m 755 $tmp /etc/init.d/scst && \

rm -f $tmp

if [ ! -e /etc/default/scst ]; then \

mkdir -p /etc/default; \

install -m 755 default/scst /etc/default; \

fi

for s in iscsi-scst qla2x00t; do \

{ if [ -n "" ]; then chr="chroot "; else chr=""; fi; if type systemctl >/dev/null 2>&1; then $chr systemctl disable "$s.service"; elif type chkconfig >/dev/null 2>&1; then $chr chkconfig --del "$s"; elif type update-rc.d >/dev/null 2>&1; then $chr update-rc.d -f "$s" remove; elif type rc-update >/dev/null 2>&1; then $chr rc-update del "$s"; elif type /usr/lib/lsb/remove_initd >/dev/null 2>&1; then $chr /usr/lib/lsb/remove_initd "$s"; fi; rm -f /etc/init.d/$s; } >/dev/null 2>&1; \

done

If you want SCST to start automatically at boot time, run the following command:

systemctl enable scst.service

make[1]: Leaving directory '/home/ubuntu/Downloads/scst-3.3.0/scstadmin'

ubuntu@zesty:~/Downloads/scst-3.3.0$

Enable SCST in systemd

Enable SCST in systemd as shown below.

ubuntu@skynet5:~/Downloads/scst-3.3.0$ sudo systemctl enable scst.service

scst.service is not a native service, redirecting to systemd-sysv-install.

Executing: /lib/systemd/systemd-sysv-install enable scst

ubuntu@skynet5:~/Downloads/scst-3.3.0$

Edit File: /etc/default/grub (optional - recommended)

Edit /etc/default/grub file as shown below so that "quiet splash" are NOT used (so that detailed boot and shutdown messages are displayed to console).

Note: Edit this file CAREFULLY mistakes could cause boot problems. If you're not sure about your editing skills or have doubts, don't edit it, this step is NOT necessary.

ubuntu@zesty:~/Downloads/scst-3.3.0$ sudo vi /etc/default/grub

ubuntu@zesty:~/Downloads/scst-3.3.0$ cat /etc/default/grub

# If you change this file, run 'update-grub' afterwards to update

# /boot/grub/grub.cfg.

# For full documentation of the options in this file, see:

# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0

GRUB_HIDDEN_TIMEOUT=0

GRUB_HIDDEN_TIMEOUT_QUIET=true

GRUB_TIMEOUT=0

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

GRUB_CMDLINE_LINUX_DEFAULT=""

GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs

# This works with Linux (no patch required) and with any kernel that obtains

# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)

#GRUB_TERMINAL=console

# The resolution used on graphical terminal

# note that you can use only modes which your graphic card supports via VBE

# you can see them in real GRUB with the command `vbeinfo'

#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries

#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start

#GRUB_INIT_TUNE="480 440 1"

ubuntu@zesty:~/Downloads/scst-3.3.0$ sudo update-grub

Generating grub configuration file ...

Found linux image: /boot/vmlinuz-4.10.0-26-generic

Found initrd image: /boot/initrd.img-4.10.0-26-generic

Found linux image: /boot/vmlinuz-4.10.0-19-generic

Found initrd image: /boot/initrd.img-4.10.0-19-generic

Found memtest86+ image: /boot/memtest86+.elf

Found memtest86+ image: /boot/memtest86+.bin

done

ubuntu@zesty:~/Downloads/scst-3.3.0$

Reboot SCST Host (OPTIONAL- RECOMMENDED)

My most recent testing indicates this reboot step is NOT necessary (but I used to think this step was necessary). I'm leaving the step in as optional at this point. After additonal testing I may remove this step. However, if you want to it won't hurt to reboot at this point. I have it listed here as "recommended" because I know for sure the procedure works with a reboot at this point.

Check SCST Process and Modules After Reboot

Check the SCST processes running and modules loaded after reboot as shown below.

ubuntu@zesty:~$ ps -ef | grep scst

root 1053 2 0 17:08 ? 00:00:00 [scst_release_ac]

root 1061 2 0 17:08 ? 00:00:00 [scst_uid]

root 1062 2 0 17:08 ? 00:00:00 [scstd0]

root 1067 2 0 17:08 ? 00:00:00 [scst_initd]

root 1069 2 0 17:08 ? 00:00:00 [scst_mgmtd]

ubuntu 2163 2096 0 17:09 pts/0 00:00:00 grep --color=auto scst

ubuntu@zesty:~$ lsmod | grep scst

scst 3608576 0

dlm 167936 1 scst

ubuntu@zesty:~$

Create File: /etc/scst.conf

Create the /etc/scst.conf file using the scstadmin utility as shown below.

ubuntu@zesty:~/Downloads$ sudo scstadmin -write_config /etc/scst.conf

Collecting current configuration: done.

Writing current configuration to file '/etc/scst.conf'..

All done.

ubuntu@zesty:~/Downloads$

Verify SCST Service Status

Verify SCST service status as shown below. Note that at this point scst service may report "/etc/scst.conf missing" which is ok at this point.

ubuntu@zesty:~/Downloads$ sudo service scst status

[sudo] password for ubuntu:

● scst.service - LSB: SCST - A Generic SCSI Target Subsystem

Loaded: loaded (/etc/init.d/scst; generated; vendor preset: enabled)

Active: active (exited) since Thu 2017-07-20 17:08:15 CDT; 5min ago

Docs: man:systemd-sysv-generator(8)

Tasks: 0 (limit: 4915)

CGroup: /system.slice/scst.service

Jul 20 17:08:15 zesty systemd[1]: Starting LSB: SCST - A Generic SCSI Target Subsystem...

Jul 20 17:08:15 zesty scst[1028]: Loading and configuring SCSTSCST configuration file /etc/scst.conf missing

Jul 20 17:08:15 zesty scst[1028]: *

Jul 20 17:08:15 zesty systemd[1]: Started LSB: SCST - A Generic SCSI Target Subsystem.

ubuntu@zesty:~/Downloads$

Run Script: ~/Downloads/modprobe.sh

Download the modprobe.sh script attached to the bottom of this blog and run it as shown below. If you already downloaded and un-tar'd scst-build.sh then you don't need to download modprobe.sh it's already on disk in ~/Downloads directory.

Note that this script also starts the iscsi-scstd process.

ubuntu@skynet5:~/Downloads$ cat modprobe.sh

sudo modprobe scst

sudo modprobe scst_vdisk

sudo modprobe scst_disk

sudo modprobe scst_user

sudo modprobe scst_modisk

sudo modprobe scst_processor

sudo modprobe scst_raid

sudo modprobe scst_tape

sudo modprobe scst_cdrom

sudo modprobe scst_changer

sudo modprobe iscsi-scst

sudo iscsi-scstd

ubuntu@skynet5:~/Downloads$ ls -l modprobe.sh

-rw-r--r-- 1 ubuntu ubuntu 290 Jul 18 22:01 modprobe.sh

ubuntu@skynet5:~/Downloads$ chmod 755 modprobe.sh

ubuntu@skynet5:~/Downloads$ ./modprobe.sh

ubuntu@skynet5:~/Downloads$

Run Command: "lsmod | grep scst"

Run the command "lsmod | grep scsct" to verify that the SCST modules were loaded by modprobe.sh script run as shown below.

ubuntu@zesty:~/Downloads$ lsmod | grep scst

iscsi_scst 196608 3

scst_changer 16384 0

scst_cdrom 16384 0

scst_tape 16384 0

scst_raid 16384 0

scst_processor 16384 0

scst_modisk 16384 0

scst_user 81920 0

scst_disk 20480 0

scst_vdisk 155648 0

libcrc32c 16384 3 scst_vdisk,iscsi_scst,xfs

scst 3608576 10 scst_changer,scst_processor,scst_modisk,scst_cdrom,scst_vdisk,scst_disk,iscsi_scst,scst_raid,scst_tape,scst_user

dlm 167936 1 scst

ubuntu@zesty:~/Downloads$

Run Command "ps -ef | grep scst"

Run the command "ps -ef | grep scst" as shown below to verify SCST processes running.

Note: the modprobe.sh script also starts the iscsi-scstd daemon. Be sure to verify it is running as shown below.

ubuntu@zesty:~/Downloads$ ps -ef | grep scst

root 1036 2 0 18:33 ? 00:00:00 [scst_release_ac]

root 1044 2 0 18:33 ? 00:00:00 [scst_uid]

root 1046 2 0 18:33 ? 00:00:00 [scstd0]

root 1050 2 0 18:33 ? 00:00:00 [scst_initd]

root 1054 2 0 18:33 ? 00:00:00 [scst_mgmtd]

root 3448 2 0 18:44 ? 00:00:00 [scst_usr_cleanu]

root 3479 1301 0 18:44 ? 00:00:00 iscsi-scstd

ubuntu 3515 1993 0 18:53 pts/0 00:00:00 grep --color=auto scst

ubuntu@zesty:~/Downloads$

Edit File: /etc/modules

Edit the file /etc/modules as shown below to add the SCST modules. Add them in the order shown below. Note it's not necessary to add module "scst" itself to this file, so don't.

This is needed so that the SCST modules will load on boot.

ubuntu@zesty:~/Downloads$ cat /etc/modules

# /etc/modules: kernel modules to load at boot time.

#

# This file contains the names of kernel modules that should be loaded

# at boot time, one per line. Lines beginning with "#" are ignored.

sudo modprobe scst_vdisk

sudo modprobe scst_disk

sudo modprobe iscsi-scst

sudo modprobe scst_user

sudo modprobe scst_modisk

sudo modprobe scst_processor

sudo modprobe scst_raid

sudo modprobe scst_tape

sudo modprobe scst_cdrom

sudo modprobe scst_changer

ubuntu@zesty:~/Downloads$

Create Service: scst-san

Create the scst-san service as shown below.

Note: Make sure that the full path for iscsi-scstd matches in the scst-san.service the actual path as indicated below. Your system could possible have a different path, so be sure they match and edit scst-san.service if necessary to have the correct full path for iscsi-scstd.

ubuntu@zesty:~/Downloads$ sudo cp -p scst-san.service /etc/systemd/system/scst-san.service

ubuntu@zesty:~/Downloads$ which iscsi-scstd

/usr/sbin/iscsi-scstd

ubuntu@zesty:~/Downloads$ grep iscsi-scstd /etc/systemd/system/scst-san.service

ExecStart=/usr/bin/sudo /usr/sbin/iscsi-scstd

ExecStop=/usr/bin/sudo /bin/kill -9 /usr/local/sbin/iscsi-scstd

ubuntu@zesty:~/Downloads$

Inspect the scst-san.service file as shown below.

ubuntu@zesty:~$ cat /etc/systemd/system/scst-san.service

[Unit]

Description=SCST SAN Service

After=scst.service

[Service]

Type=oneshot

ExecStart=/usr/bin/sudo /usr/sbin/iscsi-scstd

ExecStart=/usr/bin/sudo /usr/local/sbin/scstadmin -config /etc/scst.conf

RemainAfterExit=true

ExecStop=/usr/bin/sudo /bin/kill -9 /usr/sbin/iscsi-scstd

StandardOutput=journal

[Install]

WantedBy=multi-user.target

ubuntu@zesty:~$

Enable Service: scst-san

Enable the scst-san systemd service as shown below.

ubuntu@zesty:~$ sudo systemctl enable scst-san.service

Created symlink /etc/systemd/system/multi-user.target.wants/scst-san.service → /etc/systemd/system/scst-san.service.

ubuntu@zesty:~$

Run Command: sudo depmod

Run the depmod command as shown below.

ubuntu@zesty:~/Downloads$ sudo depmod

ubuntu@zesty:~/Downloads$

Reboot SCST Host (MANDATORY - REQUIRED)

Reboot the SCST host. This reboot step, afaik, is required. The SCST service will behave strangely when stopping or starting iit at this point until a reboot is done, after which it is fine, and they all lived happily ever after.

Test the SCST Installation

Start the SCST service and run a couple of tests on SCST as shown below.

ubuntu@skynet5:~/Downloads$ sudo service scst status

[sudo] password for ubuntu:

● scst.service - LSB: SCST - A Generic SCSI Target Subsystem

Loaded: loaded (/etc/init.d/scst; generated; vendor preset: enabled)

Active: active (exited) since Tue 2017-07-18 21:55:11 CDT; 9s ago

Docs: man:systemd-sysv-generator(8)

CGroup: /system.slice/scst.service

Jul 18 21:55:11 skynet5 systemd[1]: Starting LSB: SCST - A Generic SCSI Target Subsystem...

Jul 18 21:55:11 skynet5 scst[1042]: Loading and configuring SCSTSCST configuration file /etc/scst.conf missing

Jul 18 21:55:11 skynet5 scst[1042]: *

Jul 18 21:55:11 skynet5 systemd[1]: Started LSB: SCST - A Generic SCSI Target Subsystem.

ubuntu@skynet5:~$ sudo scstadmin -list_group

Collecting current configuration: done.

Driver: copy_manager

Target: copy_manager_tgt

Driver/target 'copy_manager/copy_manager_tgt' has no associated LUNs.

All done.

ubuntu@skynet5:~$

Check SCST Process and Modules After Reboot

Check the SCST processes running and modules loaded after reboot as shown below.

ubuntu@zesty:~$ ps -ef | grep scst

root 279 2 0 17:37 ? 00:00:00 [scst_release_ac]

root 280 2 0 17:37 ? 00:00:00 [scst_uid]

root 281 2 0 17:37 ? 00:00:00 [scstd0]

root 282 2 0 17:37 ? 00:00:00 [scst_initd]

root 284 2 0 17:37 ? 00:00:00 [scst_mgmtd]

root 314 2 0 17:37 ? 00:00:00 [scst_usr_cleanu]

root 1089 1 0 17:37 ? 00:00:00 /usr/sbin/iscsi-scstd <-- Make sure running!

ubuntu 4689 2078 0 17:54 pts/0 00:00:00 grep --color=auto scst

ubuntu@zesty:~$

ubuntu@zesty:~$ lsmod | grep scst

scst_changer 16384 0

scst_cdrom 16384 0

scst_tape 16384 0

scst_raid 16384 0

scst_processor 16384 0

scst_modisk 16384 0

scst_user 81920 0

iscsi_scst 196608 4

scst_disk 20480 0

scst_vdisk 155648 0

scst 3608576 10 scst_changer,scst_processor,scst_modisk,scst_cdrom,scst_vdisk,scst_disk,iscsi_scst,scst_raid,scst_tape,scst_user

dlm 167936 1 scst

libcrc32c 16384 2 scst_vdisk,iscsi_scst

ubuntu@zesty:~$

Download and Untar File: scst-files.tar

Download from the bottom of this blog page the file scst-files.tar and untar the tar archive scst-files.tar in the ~/Downloads directory as shown below.

ubuntu@skynet5:~/Downloads$ tar -xvf scst-files.tar

scst-files/

scst-files/create-scst-oracle.sh

scst-files/README

scst-files/vercomp

scst-files/create-scst-uninstall.sh

scst-files/create-scst.sh

scst-files/create-scst-install.sh

scst-files/create-scst-multipath.sh

ubuntu@skynet5:~/Downloads$ cd scst-files

ubuntu@skynet5:~/Downloads/scst-files$

Ensure that the "create-scst-install.sh" command is commented out in create-scst.sh as shown below.

303 # echo ''

304 # echo "======================================================="

305 # echo "Next script: create-scst-install.sh "

306 # echo "======================================================="

307

308 # sleep 5

309

310 # clear

311

312 # ./create-scst-install.sh

313

Run File: create-scst.sh

Run the create-scst.sh file as shown below.

ubuntu@skynet5:~/Downloads/scst-files$ ./create-scst.sh

These scripts will create the SAN, automatically create a suitable /etc/multipath.conf file, create /etc/udev/rules.d/99-oracle.rules file and fully configure multipath, all automatically.

Note: The scripts are fully automated. Just start ./create-scst.sh and the scripts do all the rest of the SCST SAN configuration.

Note: You can inspect the create-scst-oracle.sh file and customize for your specific need, which might not be for an Oracle database at all. The scripts can be totally customized to your specific needs.

Note: You should NOT normally need to make any changes at all to "create-scst-multipath.sh" file unless you are an expert.

Note: There are some customizable parameters that can be set and are passed to the scripts. This output from the scripts suggests some of the settable parameters for the SCST Linux SAN:

======================================================

Display SCST Install settings...

======================================================

AsmRedundancy = external

Initiatorname = iqn.1993-08.org.debian:01:62c53998c9a4

ScstGroup = lxc1

DATEYR = 2017

DATEMO = 07

Domain = com.urdomain1 <-- Set domain as desired

HostName = zesty

Sysd1SizeGb = 1G <-- Set LUN sizes as desired

Data1SizeGb = 1G

Reco1SizeGb = 1G

LogicalBlkSiz = (defaults to 512) <-- Can also use 4096 (4K)

======================================================

SCST Install settings displayed.

======================================================

The last display output of the scst-files.tar scripts is shown below.

Note: This last output also points out there is an uninstall/deconfiguration script if needed. You might need to updated the name of the debian scst package in the script to match your package name.

=====================================================

To uninstall this software run this script:

create-scst-uninstall.sh

=====================================================

After the scripts have finished, run some tests to verify SAN setup correctly.

ubuntu@zesty:~/Downloads/scst-files$ sudo scstadmin -list_group

Collecting current configuration: done.

Driver: copy_manager

Target: copy_manager_tgt

Assigned LUNs:

LUN Device

-----------------

0 asm_sysd1_00

1 asm_data1_00

2 asm_reco1_00

Driver: scst_local

Target: scst_local_tgt

Driver/target 'scst_local/scst_local_tgt' has no associated LUNs.

Driver: iscsi

Target: iqn.2017-07.com.urdomain1:zesty.san.asm.oracle

Driver/target 'iscsi/iqn.2017-07.com.urdomain1:zesty.san.asm.oracle' has no associated LUNs.

Group: lxc1

Assigned LUNs:

LUN Device

-----------------

0 asm_sysd1_00

1 asm_data1_00

2 asm_reco1_00

Assigned Initiators:

Initiator

--------------------------------------

iqn.1993-08.org.debian:01:62c53998c9a4

All done.

ubuntu@zesty:~/Downloads/scst-files$ ls -l /dev/mapper

total 0

lrwxrwxrwx 1 root root 7 Jul 18 20:05 asm_data1_00 -> ../dm-3

lrwxrwxrwx 1 root root 7 Jul 18 20:05 asm_reco1_00 -> ../dm-4

lrwxrwxrwx 1 root root 7 Jul 18 20:05 asm_sysd1_00 -> ../dm-2

crw------- 1 root root 10, 236 Jul 3 14:35 control

lrwxrwxrwx 1 root root 7 Jul 3 14:35 ubuntu--vg-root -> ../dm-0

lrwxrwxrwx 1 root root 7 Jul 3 14:35 ubuntu--vg-swap_1 -> ../dm-1

ubuntu@zesty:~/Downloads/scst-files$ ls -l /dev/dm*

brw-rw---- 1 root disk 253, 0 Jul 3 14:35 /dev/dm-0

brw-rw---- 1 root disk 253, 1 Jul 3 14:35 /dev/dm-1

brw-rw---- 1 grid asmadmin 253, 2 Jul 18 20:05 /dev/dm-2

brw-rw---- 1 grid asmadmin 253, 3 Jul 18 20:05 /dev/dm-3

brw-rw---- 1 grid asmadmin 253, 4 Jul 18 20:05 /dev/dm-4

ubuntu@zesty:~/Downloads/scst-files$ sudo multipath -ll -v2

asm_data1_00 (23766326664353333) dm-3 SCST_FIO,asm_data1_00

size=1.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw

|-+- policy='service-time 0' prio=1 status=active

| `- 4:0:0:1 sdf 8:80 active ready running

`-+- policy='service-time 0' prio=1 status=enabled

`- 5:0:0:1 sdc 8:32 active ready running

asm_sysd1_00 (23462323936393766) dm-2 SCST_FIO,asm_sysd1_00

size=1.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw

|-+- policy='service-time 0' prio=1 status=active

| `- 4:0:0:0 sdd 8:48 active ready running

`-+- policy='service-time 0' prio=1 status=enabled

`- 5:0:0:0 sdb 8:16 active ready running

asm_reco1_00 (23930613631393537) dm-4 SCST_FIO,asm_reco1_00

size=1.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw

|-+- policy='service-time 0' prio=1 status=active

| `- 4:0:0:2 sdg 8:96 active ready running

`-+- policy='service-time 0' prio=1 status=enabled

`- 5:0:0:2 sde 8:64 active ready running

ubuntu@zesty:~/Downloads/scst-files$

Check SCST Status

Display the status of the scst service as shown below.

ubuntu@zesty:~/Downloads$ sudo service scst status

● scst.service - LSB: SCST - A Generic SCSI Target Subsystem

Loaded: loaded (/etc/init.d/scst; generated; vendor preset: enabled)

Active: active (exited) since Wed 2017-07-19 20:36:09 CDT; 19min ago

Docs: man:systemd-sysv-generator(8)

Tasks: 0 (limit: 4915)

CGroup: /system.slice/scst.service

Jul 19 20:36:09 zesty systemd[1]: Starting LSB: SCST - A Generic SCSI Target Subsystem...

Jul 19 20:36:09 zesty scst[1045]: Loading and configuring SCSTAlready started

Jul 19 20:36:09 zesty scst[1045]: *

Jul 19 20:36:09 zesty systemd[1]: Started LSB: SCST - A Generic SCSI Target Subsystem.

ubuntu@zesty:~/Downloads$

Reboot SCST Host

Verify that the SCST fully-configured SAN starts up and loads up the LUNs on reboot.

Note: This step is optional but is strongly recommended to be sure reboot setup is correct for SCST.

Check that All SCST Processes are Running

Verify all SCST processes are running as shown below.

Note: Especially be sure that /usr/sbin/iscsi-scstd is running.

ubuntu@zesty:~/Downloads$ ps -ef | grep scst

root 270 2 0 20:36 ? 00:00:00 [scst_release_ac]

root 271 2 0 20:36 ? 00:00:00 [scst_uid]

root 273 2 0 20:36 ? 00:00:00 [scstd0]

root 274 2 0 20:36 ? 00:00:00 [scst_initd]

root 277 2 0 20:36 ? 00:00:00 [scst_mgmtd]

root 299 2 0 20:36 ? 00:00:00 [scstlclaen]

root 308 2 0 20:36 ? 00:00:00 [scst_usr_cleanu]

root 1072 1 0 20:36 ? 00:00:00 /usr/sbin/iscsi-scstd

ubuntu 2979 2411 0 21:01 pts/0 00:00:00 grep --color=auto scst

ubuntu@zesty:~/Downloads$

Check that All SCST Modules Are Loaded

ubuntu@skynet5:~$ lsmod | grep scst

scst_vdisk 155648 0

isert_scst 86016 4

iscsi_scst 196608 5 isert_scst

scst 3608576 3 isert_scst,scst_vdisk,iscsi_scst

dlm 167936 1 scst

libcrc32c 16384 2 scst_vdisk,iscsi_scst

rdma_cm 53248 2 ib_iser,isert_scst

ib_core 196608 5 ib_iser,ib_cm,rdma_cm,isert_scst,iw_cm

ubuntu@skynet5:~$

Verify LUNs, Multipath, and UDEV Rules

ubuntu@zesty:~/Downloads$ ls -l /dev/mapper

total 0

lrwxrwxrwx 1 root root 7 Jul 19 20:36 asm_data1_00 -> ../dm-3

lrwxrwxrwx 1 root root 7 Jul 19 20:36 asm_reco1_00 -> ../dm-4

lrwxrwxrwx 1 root root 7 Jul 19 20:36 asm_sysd1_00 -> ../dm-2

crw------- 1 root root 10, 236 Jul 19 20:36 control

lrwxrwxrwx 1 root root 7 Jul 19 20:36 ubuntu--vg-root -> ../dm-0

lrwxrwxrwx 1 root root 7 Jul 19 20:36 ubuntu--vg-swap_1 -> ../dm-1

ubuntu@zesty:~/Downloads$ sudo multipath -ll -v2

asm_data1_00 (23766326664353333) dm-3 SCST_FIO,asm_data1_00

size=1.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw

`-+- policy='service-time 0' prio=1 status=active

`- 4:0:0:1 sdc 8:32 active ready running

asm_sysd1_00 (23462323936393766) dm-2 SCST_FIO,asm_sysd1_00

size=1.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw

`-+- policy='service-time 0' prio=1 status=active

`- 4:0:0:0 sdb 8:16 active ready running

asm_reco1_00 (23930613631393537) dm-4 SCST_FIO,asm_reco1_00

size=1.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw

`-+- policy='service-time 0' prio=1 status=active

`- 4:0:0:2 sdd 8:48 active ready running

ubuntu@zesty:~/Downloads$ ls -l /dev/dm-*

brw-rw---- 1 root disk 253, 0 Jul 19 20:36 /dev/dm-0

brw-rw---- 1 root disk 253, 1 Jul 19 20:36 /dev/dm-1

brw-rw---- 1 grid asmadmin 253, 2 Jul 19 20:36 /dev/dm-2

brw-rw---- 1 grid asmadmin 253, 3 Jul 19 20:36 /dev/dm-3

brw-rw---- 1 grid asmadmin 253, 4 Jul 19 20:36 /dev/dm-4

ubuntu@zesty:~/Downloads$

Kernel Upgrades

Note: Because this is not a DKMS build the SCST modules will have to be rebuilt from source whenever the Ubuntu kernel is upgraded. It looks like the best way will be to start from fresh download of kernel source and follow all steps required to rebuild the SCST kernel modules and the modprobe and depmod steps too. I believe the userspace SCST would need to be recompiled from source as well. I will go through this exercise and add the steps for that to this blog soon.

Done!

Have a beer.

If you have any thoughts on getting this packaged up completely including all the post-package install steps and the userspace steps, creating the service files, etc. reach out and let's make it into a proper package!e

The next project will be to do a DKMS SCST Debian package build so that it won't be necessary to recompile SCST after a kernel upgrade.