From owner-freebsd-current@FreeBSD.ORG Wed Jun 26 12:33:18 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B20F4CD0 for ; Wed, 26 Jun 2013 12:33:18 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1E81309 for ; Wed, 26 Jun 2013 12:33:18 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id fs12so13488955lab.26 for ; Wed, 26 Jun 2013 05:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=JLuwmvhUii5YZu0aBKkUh98l/F8DZgMW7zRUjcR6hUQ=; b=d67IAEXJauNfoK9/T23cPZwh++4WLmRF93NNc8WjvIGWBaeslAozRTQY+0cocy/jXV MK6tZUPqRLBNIQsUETlsk5ilRtl3xZORn/a4vV+bNrY6BbGwGolESanj2PvKE9fefJty B8+mHRCmTfWgOvhfvyHS5S2JJjYqxrPEthEnlmRHnVLcemP+/7VLz2Ok7Ug34hr+2QAW 4opiZDGYfNaT2LHUx82LV3+6b1H0dS4+0jr18mgkhpn1lEfgTiYzs66oqYWlGJ99SGhF Nv9rzC6jJUnVYFWpIWoNYf7iLHQwM4GPsXkis3wo76JKCU3o4zUL6TJ1WgkEoqeg+mwf Qgog== X-Received: by 10.152.120.196 with SMTP id le4mr1862089lab.6.1372249997084; Wed, 26 Jun 2013 05:33:17 -0700 (PDT) Received: from Sevans-MacBook-Air-11.local ([46.250.130.56]) by mx.google.com with ESMTPSA id t15sm10456709lbh.16.2013.06.26.05.33.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Jun 2013 05:33:15 -0700 (PDT) Message-ID: <51CADF82.8000301@gmail.com> Date: Wed, 26 Jun 2013 16:33:06 +0400 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Using camcontrol on a Corsair CSSD-F120GB2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 12:33:18 -0000 Hi, I have a system with a Corsair SSD which I tried to use the secure erase feature on r252161 with not much success (do I specifically need enhanced erase support?). The disk is also running an older version of firmware (1.1) but I'm unable to use fwdownload to update the firmware to 2.0 (the reason is because it's not supported by camcontrol currently according to manpage), is the addition of new brands of disks easy? Happy to test diffs. camcontrol security ada0 camcontrol: sending ATA ATA_IDENTIFY with timeout of 30000 msecs pass0: Raw identify data: 0: 0040 3fff c837 0010 0000 0000 003f 0000 8: 0000 0000 3130 3434 3635 3236 3332 3030 16: 3039 3938 3033 3736 0000 0000 0004 312e 24: 3120 2020 2020 436f 7273 6169 7220 4353 32: 5344 2d46 3132 3047 4232 2020 2020 2020 40: 2020 2020 2020 2020 2020 2020 2020 8010 48: 0000 2f00 4000 0200 0200 0007 3fff 0010 56: 003f fc10 00fb 0110 4bb0 0df9 0000 0007 64: 0003 0078 0078 0078 0078 4000 0000 0000 72: 0000 0000 0000 001f 0706 0000 004c 0044 80: 01fc 0028 746b 7501 6163 7069 b401 6163 88: 407f 0000 0000 00fe 0000 0000 0000 0000 96: 0000 0000 0000 0000 4bb0 0df9 0000 0000 104: 0000 0001 4000 0000 5000 0000 0998 0376 112: 0000 0000 0000 0000 0000 0000 0000 4014 120: 4014 0000 0000 0000 0000 0000 0000 0000 128: 0001 0000 0000 0000 0000 0000 0000 0000 136: 0000 0000 0000 0000 0000 0000 0000 0000 144: 0000 0000 0000 0000 0000 0000 0000 0000 152: 0000 0000 0000 0000 0000 0000 0000 0000 160: 0000 0000 0000 0000 0000 0000 0000 0000 168: 0000 0001 0000 0000 0000 0000 0000 0000 176: 0000 0000 0000 0000 0000 0000 0000 0000 184: 0000 0000 0000 0000 0000 0000 0000 0000 192: 0000 0000 0000 0000 0000 0000 0000 0000 200: 0000 0000 0000 0000 0000 0000 003d 0000 208: 0000 4000 0000 0000 0000 0000 0000 0000 216: 0000 0001 0000 0000 0000 0000 1010 ffff 224: 0000 0000 0000 0000 0000 0000 0000 0000 232: 0000 0000 0000 0000 0000 0000 0000 0000 240: 0000 0000 0000 0000 0000 0000 0000 0000 248: 0000 0000 0000 0000 0000 0000 0000 1aa5 pass0: ATA-8 SATA 2.x device pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) Security Option Value status 0001 supported yes enabled no drive locked no security config frozen no count expired no security level high enhanced erase supported no erase time unspecified enhanced erase time unspecified master password rev 0000 (unsupported) camcontrol security ada0 -u user -e MyPass -v camcontrol: sending ATA ATA_IDENTIFY with timeout of 30000 msecs pass0: Raw identify data: 0: 0040 3fff c837 0010 0000 0000 003f 0000 8: 0000 0000 3130 3434 3635 3236 3332 3030 16: 3039 3938 3033 3736 0000 0000 0004 312e 24: 3120 2020 2020 436f 7273 6169 7220 4353 32: 5344 2d46 3132 3047 4232 2020 2020 2020 40: 2020 2020 2020 2020 2020 2020 2020 8010 48: 0000 2f00 4000 0200 0200 0007 3fff 0010 56: 003f fc10 00fb 0110 4bb0 0df9 0000 0007 64: 0003 0078 0078 0078 0078 4000 0000 0000 72: 0000 0000 0000 001f 0706 0000 004c 0044 80: 01fc 0028 746b 7501 6163 7069 b401 6163 88: 407f 0000 0000 00fe 0000 0000 0000 0000 96: 0000 0000 0000 0000 4bb0 0df9 0000 0000 104: 0000 0001 4000 0000 5000 0000 0998 0376 112: 0000 0000 0000 0000 0000 0000 0000 4014 120: 4014 0000 0000 0000 0000 0000 0000 0000 128: 0001 0000 0000 0000 0000 0000 0000 0000 136: 0000 0000 0000 0000 0000 0000 0000 0000 144: 0000 0000 0000 0000 0000 0000 0000 0000 152: 0000 0000 0000 0000 0000 0000 0000 0000 160: 0000 0000 0000 0000 0000 0000 0000 0000 168: 0000 0001 0000 0000 0000 0000 0000 0000 176: 0000 0000 0000 0000 0000 0000 0000 0000 184: 0000 0000 0000 0000 0000 0000 0000 0000 192: 0000 0000 0000 0000 0000 0000 0000 0000 200: 0000 0000 0000 0000 0000 0000 003d 0000 208: 0000 4000 0000 0000 0000 0000 0000 0000 216: 0000 0001 0000 0000 0000 0000 1010 ffff 224: 0000 0000 0000 0000 0000 0000 0000 0000 232: 0000 0000 0000 0000 0000 0000 0000 0000 240: 0000 0000 0000 0000 0000 0000 0000 0000 248: 0000 0000 0000 0000 0000 0000 0000 1aa5 pass0: ATA-8 SATA 2.x device pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) camcontrol: Can't secure erase (security is disabled) camcontrol fwdownload -f Corsair_Force_SSD_FW_Update_2.0.pkg You are about to download firmware image (Corsair_Force_SSD_FW_Update_2.0.pkg) into the following device: It may damage your drive. Are you SURE you want to do this? (yes/no) yes Corsair_Force_SSD_FW_Update_2.0.pkg 0% | | 0 0.00 KiB/s 00:00 ETAcamcontrol: Error writing image to device (pass0:ahcich0:0:0:0): DOWNLOAD_MICROCODE. ACB: 92 03 00 00 00 40 00 00 00 00 40 00 (pass0:ahcich0:0:0:0): CAM status: ATA Status Error (pass0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (pass0:ahcich0:0:0:0): RES: 51 04 40 00 00 e0 00 00 00 00 00 Corsair_Force_SSD_FW_Update_2.0.pkg 0% | | 0 0.00 KiB/s 00:00 ETA Firmware download failed