mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
8cf079dbed1b8b3432cd98cf601601e68c179d59
Avoid that running the libiscsi conformance tests triggers the following crash: ================================================================== BUG: KASAN: wild-memory-access in sg_cmp_elem+0x1b6/0x490 [scst] Read of size 8 at addr 0002000100000000 by task disk021_5/1231 CPU: 0 PID: 1231 Comm: disk021_5 Tainted: G O 5.0.0-rc6-dbg+ #2 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 Call Trace: dump_stack+0x86/0xca kasan_report.cold.3+0x5/0x3b __asan_load8+0x54/0x90 sg_cmp_elem+0x1b6/0x490 [scst] sg_cmp.constprop.41+0x185/0x380 [scst] scst_cwr_read_cmd_finished+0x214/0x6d0 [scst] scst_finish_internal_cmd+0x109/0x1d0 [scst] scst_process_active_cmd+0x193/0x570 [scst] scst_process_redirect_cmd+0x214/0x300 [scst] scst_cmd_done_local+0xec/0x1f0 [scst] fileio_async_complete+0x98/0x1b0 [scst_vdisk] fileio_exec_async+0x3ac/0x430 [scst_vdisk] fileio_exec_read+0x34f/0x560 [scst_vdisk] vdev_do_job+0xf5/0x260 [scst_vdisk] fileio_exec+0x66/0x70 [scst_vdisk] scst_do_real_exec+0x11f/0x540 [scst] scst_exec_check_blocking+0x14c/0x270 [scst] scst_exec_check_sn+0x2ef/0x650 [scst] scst_process_active_cmd+0x2d2/0x570 [scst] scst_cmd_thread+0x1e3/0x6b0 [scst] kthread+0x1d2/0x1f0 ret_from_fork+0x3a/0x50 ================================================================== git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7992 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Overview ======== This is the SCST development repository. It contains not a single project SCST as one can think, but a number of them, which are divided as the following: 1. SCST core in scst/ subdirectory 2. Administration utility for SCST core scstadmin in scstadmin/ 3. Target drivers in own subdirectories qla2x00t/, iscsi-scst/, etc. 4. User space programs in usr/ subdirectory, like fileio_tgt. 5. Some various docs in doc/ subdirectory. Those subprojects are in most cases independent from each other, although some of them depend from the SCST core. They put in the single repository only to simplify their development, they are released independently. Thus, use "make all" only if you really need to build everything. Otherwise build only what you need, like for iSCSI-SCST: make scst scst_install iscsi iscsi_install For more information about each subproject see their README files. QLogic target driver ==================== QLogic target driver qla2x00t is the old driver, forked from qla2xxx several years ago. It is very stable, well tested and actively used in many production setups. There is also new driver, maintained by QLogic, which, among other, supports 32G FC, see http://scst.sourceforge.net/target_qla2x00t.html. You can find the latest version of it in git://git.qlogic.com/scst-qla2xxx.git. To integrate it into the SCST build tree you need to clone the QLogic git tree in a subdirectory of this directory (SCST root tree) with name qla2x00t_git (or create a symlink with this name pointing to any other location in your system). Now common and QLA specific root Makefile targets "magically" start working with the new driver. Then follow instructions in the git's README. In presence of qla2x00t_git subdirectory you can still build the qla2x00t using qla_old* root Makefile targets. Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
Description
Languages
C
90.1%
Perl
4.2%
Shell
1.8%
HTML
1.7%
Makefile
1.2%
Other
0.9%