joelones Posted December 20, 2010 Share Posted December 20, 2010 Guys, I'm at my wits end here with a custom install of Slackware and unRAID 4.6. The base system is Slackware -current and I've compiled the drivers from https://scst.svn.sourceforge.net/svnroot/scst/trunk. The following steps have been taken: 1. Compiled kernel 2.6.32.9 without mvsas support but libsas support. In terms of the scsi options, my .config matches the one found in the 4.6 distro. It is as follows: CONFIG_SCSI=y CONFIG_SCSI_DMA=y CONFIG_SCSI_WAIT_SCAN=m CONFIG_SCSI_SAS_ATTRS=m CONFIG_SCSI_SAS_LIBSAS=m CONFIG_SCSI_SAS_ATA=y CONFIG_SCSI_SAS_HOST_SMP=y CONFIG_SCSI_SAS_LIBSAS_DEBUG=y CONFIG_SCSI_LOWLEVEL=y CONFIG_SCSI_3W_9XXX=m CONFIG_SCSI_AACRAID=m CONFIG_SCSI_ARCMSR=m 2. Compiled and installed drivers from scst: svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk patch -p1 <path to scst trunk>/scst/kernel/scst_exec_req_fifo-2.6.32.patch (prior to step 1) make scst make scst_install make mvsas make mvsas_install 3. Boot system and run emhttp. Loaded modules: Module Size Used by md_mod 43389 0 dm_mod 42102 0 xor 12605 1 md_mod usblp 7544 0 i2c_i801 5588 0 i2c_core 11884 1 i2c_i801 mvsas 56833 0 libsas 38993 1 mvsas scst 298321 1 mvsas scsi_transport_sas 15760 2 mvsas,libsas usb_storage 28976 0 usbhid 18299 0 uhci_hcd 15791 0 ehci_hcd 25785 0 sata_sil24 8688 2 ata_piix 17052 0 ext2 34888 1 Drives connected are visible to OS but emhttp does not see them. 4. The mvsas_tgt directory contains a README with info to configure the device, so maybe I'm missing some configuration? > modprobe libsas > insmod mvsas.ko > echo 1 >/sys/class/scsi_host/host4/target_mode > echo "add 4:0:0:0 0" >/proc/scsi_tgt/groups/Default/devices I tried the above but got stumped at the fourth line as the directory /proc/scst_tgt does not exist Finally, I noticed some warnings in the logs that could perhaps be the culprit? [817]: scst: __scst_register_target_template:245:***WARNING***: Target driver mvst_scst doesn't support Persistent Reservations [817]: scst: __scst_register_target_template:262:***WARNING***: Target driver mvst_scst doesn't have enable_target() and/or is_target_enabled() method(s). This is unsafe and can lead that initiators connected on the initialization time can see an unexpected set of devices or no devices at all! My complete dmesg is here http://pastebin.com/Fx6NzVPS Any help is graciously appreciated and welcomed. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.