From owner-freebsd-scsi@freebsd.org Sun Aug 6 08:48:01 2017 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 9CB2DDCC317 for ; Sun, 6 Aug 2017 08:48:01 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 06ADF7D663 for ; Sun, 6 Aug 2017 08:48:00 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from [IPv6:2a02:2698:26:9b0e:d7a:6d28:b07e:5ba6] (dynamic-2a02-2698-26-0-0.perm.ertelecom.ru [IPv6:2a02:2698:26:9b0e:d7a:6d28:b07e:5ba6] (may be forged)) (authenticated bits=0) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPSA id v768lsbN035507 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 6 Aug 2017 13:47:54 +0500 (YEKT) (envelope-from emz@norma.perm.ru) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=norma.perm.ru; s=key; t=1502009274; bh=13yyWfGKbkVJlk7l+8nQolBKYwy15eGiLCEVfJCUCvM=; h=Subject:Cc:References:From:Date:In-Reply-To; b=aJcI1k7lh3ztkBtwLgZztAzKRp7RA82dyM7l+7jEXniaEyAPXpuoYtJYyQVk5W8Ww htf6JpQNoYGne4Sd1o19nqdV207Mwy+KoeFYLvf7W0FC5KsK4gw3c+8SoC+oX6DNwu MdQcMiuYx3t223ixItyNzId/gnfWoBzbIgxt/mjU= Subject: Re: camcontrol sanitize Cc: "freebsd-scsi@freebsd.org" References: <22536136-e8c0-17c9-5c8d-e8fed11022b7@norma.perm.ru> <20170727152207.GA91629@mithlond.kdm.org> From: "Eugene M. Zheganin" Message-ID: Date: Sun, 6 Aug 2017 13:47:54 +0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170727152207.GA91629@mithlond.kdm.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2017 08:48:01 -0000 Hi, On 27.07.2017 20:22, Kenneth D. Merry wrote: > > CAM status 0xe is a bus reset. Do you see anything in dmesg that might > shed more light on it? If you use the -v switch, camcontrol will print out > more verbose error information, and should provide text for the error > number. > > What kind of controller are you using? I'm guessing you are using a 12Gb > SAS controller given what I see above. What firmware revision is on the > controller? > > The drive is a SATA drive, and SANITIZE is a SCSI command. There are > translations defined in the SAT spec to translate SANITIZE to an ATA > command. I don't know whether your controller supports those translations > or whether the drive supports the underlying ATA BLOCK ERASE EXT command. > It's an LSI3008-based HBA (SAS9300-4i4e): # mprutil show adapter mpr0 Adapter: Board Name: SAS9300-4i4e Board Assembly: H3-25515-00G Chip Name: LSISAS3008 Chip Revision: ALL BIOS Revision: 8.11.00.00 Firmware Revision: 14.00.00.00 Integrated RAID: no PhyNum CtlrHandle DevHandle Disabled Speed Min Max Device 0 0001 0009 N 12 3.0 12 SAS Initiator 1 0001 0009 N 12 3.0 12 SAS Initiator 2 0001 0009 N 12 3.0 12 SAS Initiator 3 0001 0009 N 12 3.0 12 SAS Initiator 4 N 3.0 12 SAS Initiator 5 N 3.0 12 SAS Initiator 6 N 3.0 12 SAS Initiator 7 N 3.0 12 SAS Initiator Don't remember seeing anything erroneous in dmesg. Unfortunately, right now I cannot pepeat this sequence, because I've already dd'ed disks with zeroes and put them back into the production. Thanks. Eugene.