Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2013 16:33:06 +0400
From:      Sevan / Venture37 <venture37@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Using camcontrol on a Corsair CSSD-F120GB2
Message-ID:  <51CADF82.8000301@gmail.com>

next in thread | raw e-mail | index | archive | help
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: <Corsair CSSD-F120GB2 1.1> 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: <Corsair CSSD-F120GB2 1.1> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51CADF82.8000301>