This page is about installing SCST on Ubuntu 14.04 for use with Oracle ASM running in LXC containers. The guide which will be used is here.
gstanden@vmem1:/usr/src/linux-3.13.0$ pwd
/usr/src/linux-3.13.0
gstanden@vmem1:/usr/src/linux-3.13.0$
gstanden@vmem1:/usr/src/linux-3.13.0$ sudo cp -vi /boot/config-`uname -r` .config
cp: overwrite ‘.config’? y
‘/boot/config-3.13.0-35-generic’ -> ‘.config’
gstanden@vmem1:/usr/src/linux-3.13.0$
root@vmem1:/usr/src/linux-3.13.0# patch -p1 < put_page_callback-3.13.3.patch
patching file drivers/block/drbd/drbd_receiver.c
patching file drivers/net/vmxnet3/vmxnet3_drv.c
patching file drivers/net/xen-netback/netback.c
Hunk #1 succeeded at 1077 (offset -3 lines).
Hunk #2 succeeded at 1757 (offset -3 lines).
patching file include/linux/mm_types.h
patching file include/linux/net.h
Hunk #2 succeeded at 289 (offset -7 lines).
patching file include/linux/skbuff.h
Hunk #1 succeeded at 2026 (offset 52 lines).
Hunk #2 succeeded at 2049 (offset 52 lines).
patching file net/Kconfig
patching file net/ceph/pagevec.c
patching file net/core/skbuff.c
Hunk #1 succeeded at 424 (offset 2 lines).
Hunk #2 succeeded at 482 (offset 2 lines).
Hunk #3 succeeded at 807 (offset 2 lines).
Hunk #4 succeeded at 1650 (offset 2 lines).
Hunk #5 succeeded at 1703 (offset 2 lines).
Hunk #6 succeeded at 2718 (offset 2 lines).
patching file net/core/sock.c
Hunk #1 succeeded at 1913 (offset 51 lines).
Hunk #2 succeeded at 2678 (offset 54 lines).
patching file net/ipv4/Makefile
patching file net/ipv4/ip_output.c
patching file net/ipv4/tcp.c
Hunk #2 succeeded at 1196 (offset 2 lines).
patching file net/ipv4/tcp_zero_copy.c
patching file net/ipv6/ip6_output.c
Hunk #1 succeeded at 1446 (offset 15 lines).
patching file net/netfilter/nfnetlink_queue_core.c
Hunk #1 succeeded at 259 (offset 1 line).
root@vmem1:/usr/src/linux-3.13.0# histort
histort: command not found
root@vmem1:/usr/src/linux-3.13.0# cd /root/scst/scst/kernel/
root@vmem1:~/scst/scst/kernel# ls
in-tree readahead-2.6.32.below11.patch scst_exec_req_fifo-2.6.23.patch scst_exec_req_fifo-2.6.32.patch scst_exec_req_fifo-3.10.patch scst_exec_req_fifo-3.3.patch
old_unsupported readahead-context-2.6.29.patch scst_exec_req_fifo-2.6.24.patch scst_exec_req_fifo-2.6.33.patch scst_exec_req_fifo-3.11.patch scst_exec_req_fifo-3.4.patch
readahead-2.6.25.patch readahead-context-2.6.30.patch scst_exec_req_fifo-2.6.25.patch scst_exec_req_fifo-2.6.34.patch scst_exec_req_fifo-3.12.patch scst_exec_req_fifo-3.5.patch
readahead-2.6.26.patch rhel scst_exec_req_fifo-2.6.26.patch scst_exec_req_fifo-2.6.35.patch scst_exec_req_fifo-3.13.patch scst_exec_req_fifo-3.6.patch
readahead-2.6.27.patch scst_exec_req_fifo-2.6.15.patch scst_exec_req_fifo-2.6.27.patch scst_exec_req_fifo-2.6.36.patch scst_exec_req_fifo-3.14.patch scst_exec_req_fifo-3.7.patch
readahead-2.6.28.patch scst_exec_req_fifo-2.6.16.patch scst_exec_req_fifo-2.6.28.patch scst_exec_req_fifo-2.6.37.patch scst_exec_req_fifo-3.15.patch scst_exec_req_fifo-3.8.patch
readahead-2.6.29.patch scst_exec_req_fifo-2.6.18.patch scst_exec_req_fifo-2.6.29.patch scst_exec_req_fifo-2.6.38.patch scst_exec_req_fifo-3.16.patch scst_exec_req_fifo-3.9.patch
readahead-2.6.30.patch scst_exec_req_fifo-2.6.21.patch scst_exec_req_fifo-2.6.30.patch scst_exec_req_fifo-2.6.39.patch scst_exec_req_fifo-3.1.patch unsupported
readahead-2.6.31.patch scst_exec_req_fifo-2.6.22.patch scst_exec_req_fifo-2.6.31.patch scst_exec_req_fifo-3.0.patch scst_exec_req_fifo-3.2.patch
root@vmem1:~/scst/scst/kernel# cd /usr/src/linux-3.13.0/
root@vmem1:/usr/src/linux-3.13.0# clear
root@vmem1:/usr/src/linux-3.13.0# patch -p1 < scst_exec_req_fifo-3.13.patch
patching file block/blk-map.c
patching file include/linux/blkdev.h
patching file include/linux/scatterlist.h
patching file lib/scatterlist.c
root@vmem1:/usr/src/linux-3.13.0#