Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2012 20:37:26 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Jim Harris <jimharris@freebsd.org>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, delphij@freebsd.org
Subject:   Re: tws bug ? (LSI SAS 9750)
Message-ID:  <505D0846.8050108@sentex.net>
In-Reply-To: <CAJP=Hc-iAixiCUGaR9NPKBxEh-gVv7mGDkQDYg3dpUsqr8iGjA@mail.gmail.com>
References:  <505CC8EC.4030608@sentex.net> <CAJP=Hc9=Rk5EvbmSe=XJJq_r0WO7DW3oUvxxK3ALAbJRUSgX7g@mail.gmail.com> <505CE601.4070106@sentex.net> <CAJP=Hc-iAixiCUGaR9NPKBxEh-gVv7mGDkQDYg3dpUsqr8iGjA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/21/2012 8:03 PM, Jim Harris wrote:
>> .
>> then a lot of
>> .
>> (probe65:tws0:0:65:0): INQUIRY. CDB: 12 0 0 0 24 0
>> (probe65:tws0:0:65:0): CAM status: Invalid Target ID
>> (probe65:tws0:0:65:0): Error 22, Unretryable error
>> (probe1:tws0:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
>> (probe1:tws0:0:1:0): CAM status: Invalid Target ID
>> (probe1:tws0:0:1:0): Error 22, Unretryable error
>> (probe2:tws0:0:2:0): INQUIRY. CDB: 12 0 0 0 24 0
>> (probe2:tws0:0:2:0): CAM status: Invalid Target ID
>> .
>> .
>> .
>> (probe63:tws0:0:63:0): INQUIRY. CDB: 12 0 0 0 24 0
>> (probe63:tws0:0:63:0): CAM status: Invalid Target ID
>> (probe63:tws0:0:63:0): Error 22, Unretryable error
>> (probe64:tws0:0:64:0): INQUIRY. CDB: 12 0 0 0 24 0
>> (probe64:tws0:0:64:0): CAM status: Invalid Target ID
>> (probe64:tws0:0:64:0): Error 22, Unretryable error
> 
> These can be ignored.  CAM is just telling you that there are no
> devices attached at these target IDs.

What about a change similar to what Alexander Motin did in

http://lists.freebsd.org/pipermail/svn-src-head/2012-June/038196.html


0(ich10)# diff -u tws_cam.c.orig tws_cam.c
--- tws_cam.c.orig      2012-09-21 20:10:43.000000000 -0400
+++ tws_cam.c   2012-09-21 20:11:11.000000000 -0400
@@ -532,7 +532,7 @@
             ccb->ccb_h.status |= CAM_LUN_INVALID;
         } else {
             TWS_TRACE_DEBUG(sc, "invalid target error",0,0);
-            ccb->ccb_h.status |= CAM_TID_INVALID;
+            ccb->ccb_h.status |= CAM_SEL_TIMEOUT;
         }

     } else {
1(ich10)#

	---Mike


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?505D0846.8050108>