Commit Graph

23 Commits

Author SHA1 Message Date
Bart Van Assche
628f3939bc scst: Rework SCSI pass-through support for kernel versions >= 2.6.30
Changes in this patch:
- Rework the SCSI pass-through code such that for kernel versions
  >= 2.6.30 the scst_exec_req_fifo patch is no longer needed.
- Modify the pass-through code such that blk_rq_append_bio() is only
  called for kernel version 2.6.30. For later kernel versions
  blk_make_request() is called instead.
- Rework scst_scsi_exec_async().
- Add debug tracing of SCSI pass-through result status.
- Add a lockdep_assert_held() call in scsi_end_async().



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5979 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-20 15:04:23 +00:00
Bart Van Assche
7d8f7fe5bb scripts/rebuild-rhel-kernel-rpm: Add support for RHEL 6.6
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5905 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:07:31 +00:00
Bart Van Assche
6b8e075a4e scripts/rebuild-rhel-kernel-rpm: Fix an error message
Reported-by: Hiroyuki Sato <hiroysato@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5903 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 11:50:06 +00:00
Bart Van Assche
092eeda59f scripts/rebuild-rhel-kernel-rpm: Enable put_page_callback patch for RHEL 7
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5817 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-28 19:54:04 +00:00
Bart Van Assche
b989c92b9a scripts/rebuild-rhel-kernel-rpm: Fix for invocation from current directory
Reported-by: Hiroyuki Sato <hiroysato@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5744 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-02 06:33:32 +00:00
Bart Van Assche
127582f5f9 scripts/rebuild-rhel-kernel-rpm: Install more prerequisites
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-09 11:02:19 +00:00
Bart Van Assche
aed025d87a scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-07 08:38:19 +00:00
Bart Van Assche
77f6bac7ec scripts/rebuild-rhel-kernel-rpm: Move code for downloading a RHEL (clone) RPM into a separate file
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-10 12:29:59 +00:00
Bart Van Assche
2edd052785 scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 RC support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5545 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-23 08:36:36 +00:00
Bart Van Assche
cd16bfdf42 scripts/rebuild-rhel-kernel-rpm: Embed '.scst' in the generated kernel RPM names
An example for RHEL 6.5:

kernel-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
kernel-debuginfo-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
kernel-debuginfo-common-x86_64-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
kernel-devel-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
kernel-firmware-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
kernel-headers-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
perf-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
perf-debuginfo-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
python-perf-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm
python-perf-debuginfo-2.6.32-431.1.2.0.1.el6.scst.x86_64.rpm



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5173 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-22 10:05:02 +00:00
Bart Van Assche
320d2c42d2 scripts/rebuild-rhel-kernel-rpm: Add RHEL 6.4 and RHEL 6.5 support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5172 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-22 10:03:41 +00:00
Bart Van Assche
d94f6b40e5 scripts/rebuild-rhel-kernel-rpm, log(): Interpret control characters correctly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5170 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-21 20:06:52 +00:00
Bart Van Assche
7c4a91a517 scripts/rebuild-rhel-kernel-rpm: Fix a comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5161 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-18 16:22:24 +00:00
Bart Van Assche
5d9cbdabf6 scripts/rebuild-rhel-kernel-rpm: Add support for Oracle Linux 6
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5160 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-18 14:57:21 +00:00
Bart Van Assche
d424897fed scripts/rebuild-rhel-kernel-rpm: Exclude the RHEL qla2xxx initiator from the rebuilt kernel RPM since it conflicts with the SCST qla2xxx initiator
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-09-26 13:01:59 +00:00
Bart Van Assche
de6308dc2f scripts/rebuild-rhel-kernel-rpm: Correct CentOS download URLs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-09-26 13:00:56 +00:00
Bart Van Assche
fe9902a67a scripts/rebuild-rhel-kernel-rpm: Add RHEL 6.3 support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4443 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-07-29 16:50:00 +00:00
Bart Van Assche
0f4fe4623d rebuild-rhel-kernel-rpm: Add support for the 2.6.32-220.* kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4338 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-08 14:22:49 +00:00
Bart Van Assche
52cc71c5ef scripts/rebuild-rhel-kernel-rpm: Make this script work when started with a relative path
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4206 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-12 12:20:31 +00:00
Bart Van Assche
25ccc656d9 rebuild-rhel-kernel-rpm: Pass %_topdir to all rpm commands, just to be sure.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4115 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-05 20:28:38 +00:00
Bart Van Assche
3f2b4e531c scripts/rebuild-rhel-kernel-rpm: Update CentOS SRPM URLs and use rpmbuild --define instead of modifying $HOME/.rpmmacros.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4114 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-05 19:30:37 +00:00
Bart Van Assche
58a2b2ece8 Set executable property
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3891 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-10-05 17:15:39 +00:00
Bart Van Assche
74264389cd scst: Add script for rebuilding RHEL / CentOS / Scientific Linux kernel RPMs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3890 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-10-05 17:14:23 +00:00