From: Alexander T. <ale...@gm...> - 2019-01-23 08:18:59
|
Hi, Freshly installed Debian 9 running on kernel 4.9.0-8-amd64 (SMP Debian 4.9.130-2). Trying to install SCST (iSCSI) to use with ZFS. I am trying to patch the kernel but can't find put_page_callback-4.9.0-8-amd64, can you pls confirm that it does not exist? Can I use nolockdep-4.9.patch ?? what is the difference between put_page_callback and nolockdep ? I can install without patching but have been reading that it makes a difference in price. Thanks, Alex |
From: Bart V. A. <bva...@ac...> - 2019-01-24 03:08:44
|
On 1/23/19 12:18 AM, Alexander Turner wrote: > Freshly installed Debian 9 running on kernel 4.9.0-8-amd64 (SMP Debian > 4.9.130-2). Trying to install SCST (iSCSI) to use with ZFS. > > I am trying to patch the kernel but can't > find put_page_callback-4.9.0-8-amd64, can you pls confirm that it does > not exist? > > Can I use nolockdep-4.9.patch ?? what is the difference between > put_page_callback and nolockdep ? > > I can install without patching but have been reading that it makes a > difference in price. Hi Alex, The put_page_callback patch is considered obsolete. Some time ago, when most servers only had a single CPU socket, that patch made the SCST iSCSI target driver faster. On systems with multiple CPU sockets that patch slows down operation. So we decided to drop that patch. The nolockdep patch is only useful for SCST developers but not for SCST users. That patch namely suppresses a false positive when PROVE_LOCKING is enabled in the kernel. In other words, it is not necessary to rebuild the Linux kernel in order to build, install and use SCST. Bart. |
From: Alexander T. <ale...@gm...> - 2019-01-24 13:19:29
|
Bart hi, Thanks a lot. That clear's up everything. Installed Debian 9 and ZFS. Everything works fine. I installed SCST but unfortunately get the following error: FATAL: Module scst not found in directory /lib/modules/4.9.0-8-amd64 any ideas? On Thu, Jan 24, 2019 at 5:08 AM Bart Van Assche <bva...@ac...> wrote: > On 1/23/19 12:18 AM, Alexander Turner wrote: > > Freshly installed Debian 9 running on kernel 4.9.0-8-amd64 (SMP Debian > > 4.9.130-2). Trying to install SCST (iSCSI) to use with ZFS. > > > > I am trying to patch the kernel but can't > > find put_page_callback-4.9.0-8-amd64, can you pls confirm that it does > > not exist? > > > > Can I use nolockdep-4.9.patch ?? what is the difference between > > put_page_callback and nolockdep ? > > > > I can install without patching but have been reading that it makes a > > difference in price. > > Hi Alex, > > The put_page_callback patch is considered obsolete. Some time ago, when > most servers only had a single CPU socket, that patch made the SCST > iSCSI target driver faster. On systems with multiple CPU sockets that > patch slows down operation. So we decided to drop that patch. > > The nolockdep patch is only useful for SCST developers but not for SCST > users. That patch namely suppresses a false positive when PROVE_LOCKING > is enabled in the kernel. > > In other words, it is not necessary to rebuild the Linux kernel in order > to build, install and use SCST. > > Bart. > |
From: Alexander T. <ale...@gm...> - 2019-01-25 08:37:33
|
Dear Devels, Below the steps I have followed to install iSCSI-SCST (basically from http://scst.sourceforge.net/iscsi-scst-howto.txt) Fresh Install Debian 9 (add a few sources to /etc/apt/sources.list) apt upgrade apt update apt-get install gcc libncurses5-dev linux-headers-`uname -r` lsscsi patch subversion apt-get install build-essential apt-get linux-source (although not really required I don't think) svn co https://svn.code.sf.net/p/scst/svn/trunk scst Following explanation from Bart, no need to patch the kernel. So proceeded as follows: Within scst directory: make 2release make scst scst_install iscsi iscsi_install scstadm scstadm_install Following this if I try to modprobe scst or I run /etc/init.d/scst status I get the following error: FATAL: Module scst not found in directory /lib/modules/4.9.0-8-amd64 What am i doing wrong? Appreciate the guidance Alex On Thu, Jan 24, 2019 at 3:19 PM Alexander Turner <ale...@gm...> wrote: > Bart hi, > > Thanks a lot. That clear's up everything. > > Installed Debian 9 and ZFS. Everything works fine. > > I installed SCST but unfortunately get the following error: > > FATAL: Module scst not found in directory /lib/modules/4.9.0-8-amd64 > > any ideas? > > > On Thu, Jan 24, 2019 at 5:08 AM Bart Van Assche <bva...@ac...> > wrote: > >> On 1/23/19 12:18 AM, Alexander Turner wrote: >> > Freshly installed Debian 9 running on kernel 4.9.0-8-amd64 (SMP Debian >> > 4.9.130-2). Trying to install SCST (iSCSI) to use with ZFS. >> > >> > I am trying to patch the kernel but can't >> > find put_page_callback-4.9.0-8-amd64, can you pls confirm that it does >> > not exist? >> > >> > Can I use nolockdep-4.9.patch ?? what is the difference between >> > put_page_callback and nolockdep ? >> > >> > I can install without patching but have been reading that it makes a >> > difference in price. >> >> Hi Alex, >> >> The put_page_callback patch is considered obsolete. Some time ago, when >> most servers only had a single CPU socket, that patch made the SCST >> iSCSI target driver faster. On systems with multiple CPU sockets that >> patch slows down operation. So we decided to drop that patch. >> >> The nolockdep patch is only useful for SCST developers but not for SCST >> users. That patch namely suppresses a false positive when PROVE_LOCKING >> is enabled in the kernel. >> >> In other words, it is not necessary to rebuild the Linux kernel in order >> to build, install and use SCST. >> >> Bart. >> > |
From: Bart V. A. <bva...@ac...> - 2019-01-25 15:58:20
|
On Fri, 2019-01-25 at 10:37 +0200, Alexander Turner wrote: > Dear Devels, > > Below the steps I have followed to install iSCSI-SCST (basically from http://scst.sourceforge.net/iscsi-scst-howto.txt) > > Fresh Install Debian 9 (add a few sources to /etc/apt/sources.list) > apt upgrade > apt update > apt-get install gcc libncurses5-dev linux-headers-`uname -r` lsscsi patch subversion > apt-get install build-essential > apt-get linux-source (although not really required I don't think) > svn co https://svn.code.sf.net/p/scst/svn/trunk scst > > Following explanation from Bart, no need to patch the kernel. So proceeded as follows: > > Within scst directory: > make 2release > make scst scst_install iscsi iscsi_install scstadm scstadm_install > > Following this if I try to modprobe scst or I run /etc/init.d/scst status I get the following error: > > FATAL: Module scst not found in directory /lib/modules/4.9.0-8-amd64 > > What am i doing wrong? Please check whether running "depmod" fixes this. I will check whether this needs to be added into an SCST makefile. Thanks, Bart. |
From: Alexander T. <ale...@gm...> - 2019-01-29 07:59:13
|
Bart hi, Indeed depmod fixes everything. I've tried the re-installation 3 times without any problems. many thanks again. kind regards, Alex On Fri, Jan 25, 2019 at 5:58 PM Bart Van Assche <bva...@ac...> wrote: > On Fri, 2019-01-25 at 10:37 +0200, Alexander Turner wrote: > > Dear Devels, > > > > Below the steps I have followed to install iSCSI-SCST (basically from > http://scst.sourceforge.net/iscsi-scst-howto.txt) > > > > Fresh Install Debian 9 (add a few sources to /etc/apt/sources.list) > > apt upgrade > > apt update > > apt-get install gcc libncurses5-dev linux-headers-`uname -r` lsscsi > patch subversion > > apt-get install build-essential > > apt-get linux-source (although not really required I don't think) > > svn co https://svn.code.sf.net/p/scst/svn/trunk scst > > > > Following explanation from Bart, no need to patch the kernel. So > proceeded as follows: > > > > Within scst directory: > > make 2release > > make scst scst_install iscsi iscsi_install scstadm scstadm_install > > > > Following this if I try to modprobe scst or I run /etc/init.d/scst > status I get the following error: > > > > FATAL: Module scst not found in directory /lib/modules/4.9.0-8-amd64 > > > > What am i doing wrong? > > Please check whether running "depmod" fixes this. I will check whether this > needs to be added into an SCST makefile. > > Thanks, > > Bart. > |