mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-28 17:30:18 +00:00
34f9b158e236c63e7748477608d7581554b510a7
This patch avoids that the following is reported: [0]: scst_pre_parse:949:Failed CDB: (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F 0: 8b 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 ................ [0]: dev_vdisk: vdisk_parse_offset:2999:Unknown opcode 0x8b [0]: scst_parse_cmd:1333:Atomic context and non-WRITE data direction, rescheduling (cmd 00000000cd981f2b) [0]: scst: scst_process_active_cmd:5571:***CRITICAL ERROR***: cmd 00000000cd981f2b is in invalid state 10) BUG at /home/bart/software/scst.git/scst/src/scst_targ.c:5572 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(val > preempt_count()) WARNING: CPU: 1 PID: 0 at kernel/sched/core.c:3230 preempt_count_sub+0x7f/0xd0 Modules linked in: qla2x00tgt(O) scst_vdisk(O) isert_scst(O) iscsi_scst(O) scst(O) sd_mod sg brd dlm af_packet crct10dif_pclmul hid_generic aesni_intel aes_x86_64 crypto_simd cryptd usbhid glue_helper hid qla2xxx_scst(O) virtio_balloon l CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W O 5.0.0-rc6-dbg+ #2 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 Call Trace: <IRQ> __local_bh_enable_ip+0x7e/0x140 local_bh_enable+0x15/0x20 [scst] scst_process_active_cmd+0x555/0x570 [scst] scst_do_job_active.constprop.23+0x57/0xe0 [scst] scst_cmd_tasklet+0x42/0x70 [scst] tasklet_action_common.isra.14+0xc3/0x280 tasklet_action+0x3d/0x50 __do_softirq+0x12d/0x5b7 irq_exit+0xdd/0x100 do_IRQ+0xc3/0x160 common_interrupt+0xf/0xf </IRQ> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7922 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%