From: Kristof V. D. <kva...@as...> - 2009-12-03 16:23:56
|
Hey Vladislav, below is the full log I get in kern.log at start time (started both scst & iscsi-scst) I hope this is the log you requested, if not please let me know exactly which logs I should send root@cpunode1:~# less /root//kern.log Dec 3 17:19:59 cpunode1 kernel: [ 5803.068433] scst: ***WARNING*** There is no patch io_context for your kernel version. For performance reasons it is strongly recommended to upgrade your kernel to version >= 2.6.27.x. Dec 3 17:19:59 cpunode1 kernel: [ 5803.069732] scst: Attached SCSI target mid-level at scsi0, channel 0, id 0, lun 0, type 5 Dec 3 17:19:59 cpunode1 kernel: [ 5803.069739] scst: Attached SCSI target mid-level at scsi2, channel 0, id 0, lun 0, type 0 Dec 3 17:19:59 cpunode1 kernel: [ 5803.069745] scst: Attached SCSI target mid-level at scsi3, channel 0, id 0, lun 0, type 0 Dec 3 17:19:59 cpunode1 kernel: [ 5803.069750] scst: Attached SCSI target mid-level at scsi4, channel 0, id 0, lun 0, type 0 Dec 3 17:19:59 cpunode1 kernel: [ 5803.069755] scst: Attached SCSI target mid-level at scsi5, channel 0, id 0, lun 0, type 0 Dec 3 17:19:59 cpunode1 kernel: [ 5803.069761] scst: Attached SCSI target mid-level at scsi6, channel 0, id 0, lun 0, type 0 Dec 3 17:19:59 cpunode1 kernel: [ 5803.069766] scst: Attached SCSI target mid-level at scsi7, channel 0, id 0, lun 0, type 0 Dec 3 17:19:59 cpunode1 kernel: [ 5803.070499] scst: Processing thread started, PID 6977 Dec 3 17:19:59 cpunode1 kernel: [ 5803.071002] scst: Processing thread started, PID 6979 Dec 3 17:19:59 cpunode1 kernel: [ 5803.071497] scst: Init thread started, PID 6981 Dec 3 17:19:59 cpunode1 kernel: [ 5803.071981] scst: Task management thread started, PID 6983 Dec 3 17:19:59 cpunode1 kernel: [ 5803.072479] scst: SCST version 1.0.1.1 loaded successfully (max mem for commands 2016MB, per device 806MB) Dec 3 17:19:59 cpunode1 kernel: [ 5803.072484] scst: Enabled features: TRACING Dec 3 17:19:59 cpunode1 kernel: [ 5803.072838] scst: Management thread started, PID 6985 Dec 3 17:19:59 cpunode1 kernel: [ 5803.081659] scst: Virtual device handler vdisk for type 0 registered successfully Dec 3 17:19:59 cpunode1 kernel: [ 5803.081665] scst: Virtual device handler vdisk_blk for type 0 registered successfully Dec 3 17:19:59 cpunode1 kernel: [ 5803.081667] scst: Virtual device handler vdisk_null for type 0 registered successfully Dec 3 17:19:59 cpunode1 kernel: [ 5803.081670] scst: Virtual device handler vcdrom for type 5 registered successfully Dec 3 17:19:59 cpunode1 kernel: [ 5803.133047] dev_vdisk: Registering virtual FILEIO device bb56e9937b3745bd (NV_CACHE) Dec 3 17:19:59 cpunode1 kernel: [ 5803.133087] scst: Processing thread started, PID 7001 Dec 3 17:19:59 cpunode1 kernel: [ 5803.133100] scst: Processing thread started, PID 7002 Dec 3 17:19:59 cpunode1 kernel: [ 5803.133110] scst: Processing thread started, PID 7003 Dec 3 17:19:59 cpunode1 kernel: [ 5803.133122] scst: Processing thread started, PID 7004 Dec 3 17:19:59 cpunode1 kernel: [ 5803.133137] dev_vdisk: ***ERROR*** filp_open(/dev/bb56e9937b3745bd) returned error -2 Dec 3 17:19:59 cpunode1 kernel: [ 5803.133190] scst: ***ERROR*** New device handler's vdisk attach() failed: -2 Dec 3 17:19:59 cpunode1 kernel: [ 5803.133225] scst: Processing thread PID 7001 finished Dec 3 17:19:59 cpunode1 kernel: [ 5803.133238] scst: Processing thread PID 7002 finished Dec 3 17:19:59 cpunode1 kernel: [ 5803.133244] scst: Processing thread PID 7003 finished Dec 3 17:19:59 cpunode1 kernel: [ 5803.133250] scst: Processing thread PID 7004 finished Dec 3 17:19:59 cpunode1 kernel: [ 5803.133260] scst: Failed to attach SCSI target mid-level to virtual device bb56e9937b3745bd Dec 3 17:19:59 cpunode1 kernel: [ 5803.133683] dev_vdisk: Registering virtual FILEIO device myfiledisk Dec 3 17:19:59 cpunode1 kernel: [ 5803.134001] scst: Processing thread started, PID 7006 Dec 3 17:19:59 cpunode1 kernel: [ 5803.134014] scst: Processing thread started, PID 7007 Dec 3 17:19:59 cpunode1 kernel: [ 5803.134037] scst: Processing thread started, PID 7008 Dec 3 17:19:59 cpunode1 kernel: [ 5803.134047] scst: Processing thread started, PID 7009 Dec 3 17:19:59 cpunode1 kernel: [ 5803.134065] dev_vdisk: Attached SCSI target virtual disk myfiledisk (file="/dev/loop0", fs=0MB, bs=512, nblocks=0, cyln=0 !WARNING! cyln less than 1) Dec 3 17:19:59 cpunode1 kernel: [ 5803.134071] scst: Attached SCSI target mid-level to virtual device myfiledisk (id 2) Dec 3 17:19:59 cpunode1 kernel: [ 5803.135889] scst: Processing thread started, PID 7010 Dec 3 17:20:04 cpunode1 kernel: [ 5807.772412] iscsi-scst: iSCSI SCST Target - version 1.0.1.1/0.4.17r213 Dec 3 17:20:04 cpunode1 kernel: [ 5807.772525] iscsi-scst: ***WARNING*** CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION not enabled in your kernel. ISCSI-SCST will be working with not the best performance. Refer README file for details. Dec 3 17:20:04 cpunode1 kernel: [ 5807.772714] scst: Target template iscsi registered successfully Dec 3 17:20:04 cpunode1 kernel: [ 5807.772795] iscsi-scst: Read thread started, PID 7026 Dec 3 17:20:04 cpunode1 kernel: [ 5807.772571] iscsi-scst: Read thread started, PID 7025 Dec 3 17:20:04 cpunode1 kernel: [ 5807.772905] iscsi-scst: Write thread started, PID 7027 Dec 3 17:20:04 cpunode1 kernel: [ 5807.775755] scst: Target iqn.2009-11.com.aserver:dc8da56a-5c10-4a4f-9532-edffb4f5381f (ffff8101e0d13c00) for template iscsi registered successfully Dec 3 17:20:04 cpunode1 kernel: [ 5807.775954] iscsi-scst: Target parameter changed: QueuedCommands 32 Dec 3 17:20:04 cpunode1 kernel: [ 5807.776046] scst: Target iqn.2009-11.com.aserver:bb56e993-7b37-45bd-9e9d-dcc3bf6a87f4 (ffff8101e0d13a00) for template iscsi registered successfully Dec 3 17:20:04 cpunode1 kernel: [ 5807.776165] iscsi-scst: Target parameter changed: QueuedCommands 32 Dec 3 17:20:04 cpunode1 kernel: [ 5807.776243] scst: Target iqn.2009-11.com.aserver:9d405c85-4cc4-442f-9193-a7a66d748fdb (ffff8101e0d13f00) for template iscsi registered successfully Dec 3 17:20:04 cpunode1 kernel: [ 5807.776363] iscsi-scst: Target parameter changed: QueuedCommands 32 Dec 3 17:20:04 cpunode1 kernel: [ 5807.776597] iscsi-scst: Write thread started, PID 7028 Kristof Van Doorsselaere On 03 Dec 2009, at 17:11, Vladislav Bolkhovitin wrote: > Hi > > Kristof Van Doorsselaere, on 12/03/2009 01:24 PM wrote: >> Hi, >> Today I tried latest SCST (-> svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk) >> First I was having issues setting up new targets: >> The problem start when I try to assign a device to a security group: >> root@cpunode1:~# scstadmin -assigndev testdisk -group Default_iqn.2007-05.com.example:testtarget >> Collecting current configuration: done. >> -> Device 'testdisk': Using next available LUN of 0 for group 'Default_iqn.2007-05.com.example:testtarget'. >> WARNING: Unable to assign non-existant device 'testdisk' to group 'Default_iqn.2007-05.com.example:testtarget'. >> All done. >> *This while the disk is listed in:* >> root@cpunode1:~# grep testdisk /proc/scsi_tgt/vdisk/vdisk testdisk 24414 512 /dev/53e16fb8001b4ce4 testdisk 165858fe >> root@cpunode1:~# root@cpunode1:~# fdisk -l /dev/53e16fb8001b4ce4 >> Disk /dev/53e16fb8001b4ce4: 25.6 GB, 25600000000 bytes >> 255 heads, 63 sectors/track, 3112 cylinders >> Units = cylinders of 16065 * 512 = 8225280 bytes >> Disk identifier: 0x00000000 >> Disk /dev/53e16fb8001b4ce4 doesn't contain a valid partition table > > Most likely, it is known and Mark has a pending patch for it, which he for some reason has not applied yet. > >> Since my previous iscsi target was still working I did another test to do the direct install, this still crashed SCST, below are the logs >> In the logs I see: > > Can you send the full logs from the SCST start, not a filtered version? > > Thanks, > Vlad > |