Re: Using tgtd to pass through a SCSI tape drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 29 Jul 2010 16:30:27 +0100
Tim Small <tim@xxxxxxxxxxx> wrote:

> At the same time, I get this from the kernel:
> 
> [3034458.454685] mptscsih: ioc0: attempting task abort! 
> (sc=ffff810107150d40)
> [3034458.466570] st 1:0:3:0: CDB: Write Filemarks: 10 00 00 00 01 00 00 
> 00 00 00 00 00 00 00 00 00
> [3034458.476705] mptscsih: ioc0: task abort: SUCCESS (sc=ffff810107150d40)
> [3034462.137144] mptscsih: ioc0: attempting task abort! 
> (sc=ffff81012bcf6d00)

We need to figure out why the adapter tries to abort the task.

Maybe the timeout is too short. Can you try the latest git code with
the following patch?

Thanks,

diff --git a/usr/bs_sg.c b/usr/bs_sg.c
index bee6df5..017ee02 100644
--- a/usr/bs_sg.c
+++ b/usr/bs_sg.c
@@ -46,7 +46,7 @@
 #include "tgtadm_error.h"
 
 #define BS_SG_RESVD_SZ  (512 * 1024)
-#define BS_SG_TIMEOUT	2000
+#define BS_SG_TIMEOUT	60000
 #define BS_SG_SHIFT	9
 
 static int graceful_read(int fd, void *p_read, int to_read)
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux