From owner-freebsd-scsi@freebsd.org Thu Mar 3 13:03:02 2016 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C99EA932CC for ; Thu, 3 Mar 2016 13:03:02 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23DCDC26 for ; Thu, 3 Mar 2016 13:03:02 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x232.google.com with SMTP id l68so130237752wml.0 for ; Thu, 03 Mar 2016 05:03:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=2ZtvMVquqssoiwuaRZr/x7Qwgle9S30O1YjI4qhB3fE=; b=IV+aH+H1L4VcND8BtTWlLbgC3FoltTPl5G2O2EQy6M3Cf1/x+FXsMSQhOnFaH9MZuI shIS/OD44MWPtaxsgeK3m8mfLKC8o1orjoHVEdAue51Bs4LPwRSFNIZ3u0CfgZa2OU6V Xqe3cvIEaMDF4aRxkpvNpM1RztT0KMUeii+dVYU8uHwlwD8tsG7x5vzJL8Uz/cWkkj+l kWDjeCZ1egyPAeUtg3kCMLiZUCVipTs9ErsmbVyjLnOp38vnna/8OBNfo76PE44mHu7q p4jg44r06u4ciXKyRLte2IlMHGbrzG0NjPtlacLbvO412sm+7cl4ofll8aRkMHXDjHdG JGoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=2ZtvMVquqssoiwuaRZr/x7Qwgle9S30O1YjI4qhB3fE=; b=IZQSRWD8NisGJOBXf129InyEQRDydQKQupYOmCudd82hfLHZvUo3JHEWXbaHptbbMK IJreRMWUVygU1YSR93azXQr1h5tiWs/Fl2G+b7wf0JVB8C+BLsvi/85cALK/e+374G9A AMqBtHLp/Q3ywNwzHX6ZWfm+YuxCw/wCmQuiLOj1xaH9ctS7qEDkiUAiYF7LMmISKNKg Lku64O3TuZ3zhz9HhR8fwrw01wJSAapM2e7maO6z3u28NeCK0hg7T+BaKhFqT4dlJ5KP 0Qyv38ZUotJyEau5aJ1H3CnH0+cu1/1GTHfnbRHXyACrQZWMqeLcLv7bf6bnEV9byfiR kq0w== X-Gm-Message-State: AD7BkJLvdlojSFPKRmEAdd32E60F78gAG53QvjKkhrJh/BdlT36BQZShkSfSBqm66MZY0k8E X-Received: by 10.28.86.10 with SMTP id k10mr5924705wmb.28.1457010179470; Thu, 03 Mar 2016 05:02:59 -0800 (PST) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id v2sm8863676wmd.24.2016.03.03.05.02.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Mar 2016 05:02:57 -0800 (PST) Subject: Re: mpr(4) SAS3008 Repeated Crashing To: Borja Marcos References: <56D5FDB8.8040402@freebsd.org> <56D612FA.6090909@multiplay.co.uk> <56D805FD.50500@multiplay.co.uk> Cc: Scott Long , FreeBSD-scsi From: Steven Hartland Message-ID: <56D83600.6090400@multiplay.co.uk> Date: Thu, 3 Mar 2016 13:02:56 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2016 13:03:02 -0000 On 03/03/2016 10:26, Borja Marcos wrote: >> On 03 Mar 2016, at 10:38, Steven Hartland wrote: >> >> We've seen HW issues before where the first thing to start triggering the problem was TRIM requests, it seems like its an afterthought in most FW's unfortunately, so one of the first things to go bad. I'm not saying this is you issue, but its something to keep in mind. > Thanks :) > > Not trim related, it seems. I’ve ran the tests with kern.cam.X.delete_method set to DISABLE and I still see errors: > > In paranormal cases like this it would be awesome to have access to a logic analyzer… I keep dreaming of course :) > > > > Mar 3 11:12:53 clientes-ssd8 kernel: (noperiph:mpr0:0:4294967295:0): SMID 2 Aborting command 0xfffffe0000c7cab0 > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): READ(10). CDB: 28 00 26 d7 d0 98 00 00 20 00 length 16384 SMID 322 terminated ioc 804b scsi 0 state c xfer 0 > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): READ(10). CDB: 28 00 26 d7 d0 b8 00 00 18 00 length 12288 SMID 217 terminated ioc 804b scsi 0 state c xfer 0 > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 length 0 SMID 205 terminated ioc 804b scsi 0 sta(da2:mpr0:0:26:0): READ(10). CDB: 28 00 26 d7 d0 18 00 00 78 00 > Mar 3 11:12:54 clientes-ssd8 kernel: te c xfer 0 > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): CAM status: Command timeout > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): Retrying command > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): CAM status: SCSI Status Error > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): SCSI status: Check Condition > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) > Mar 3 11:12:54 clientes-ssd8 kernel: (da2:mpr0:0:26:0): Retrying command (per sense data) > Have you tried mrsas instead of mpr? You can do so by adding the following to /boot/loader.conf: hw.mfi.mrsas_enable="1" Regards Steve