Eu tenho um antigo SSD protegido por senha conectado via USB ao meu sistema Linux. Estou tentando desbloqueá-lo com hdparm .
O problema é que minha senha era ./perspective
(não importa agora porque eu usei apenas para o SSD e em nenhum outro lugar) e acho que por causa dos caracteres especiais ./
e sua codificação errada eu agora não posso Desbloquear a unidade com
hdparm --user-master u --security-unlock ./perspective /dev/sdc
........................................
security_password: "./perspective"
/dev/sdc:
Issuing SECURITY_UNLOCK command, password="./perspective", user=user
SECURITY_UNLOCK: Input/output error
De acordo com este post eu tenho que usar ' Códigos de Digitalização Hex ' para caracteres especiais. Então eu tentei
hdparm --user-master u --security-unlock $(printf '\x34\x35\x19\x12\x13\x1F\x19\x12\x2E\x14\x17\x2F\x12') /dev/sdc
........................................
security_password: "45./"
/dev/sdc:
Issuing SECURITY_UNLOCK command, password="45./", user=user
SECURITY_UNLOCK: Input/output error
hdparm -I /dev/sdc
me dá
/dev/sdc:
ATA device, with non-removable media
Model Number: ADATA SP900
Serial Number: 2D3020001288
Firmware Revision: 5.0.7a
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0110)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 250069680
LBA48 user addressable sectors: 250069680
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 122104 MBytes
device size with M = 1000*1000: 128035 MBytes (128 GB)
cache/buffer size = unknown
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
* Security Mode feature set
* Power Management feature set
* Write cache
Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
Write-Read-Verify feature set
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* Device automatic Partial to Slumber transitions
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Data Tables (AC5)
* SET MAX SETPASSWORD/UNLOCK DMA commands
* Data Set Management TRIM supported (limit 1 block)
* Deterministic read data after TRIM
Security:
Master password revision code = 22616
supported
enabled
locked
not frozen
not expired: security count
not supported: enhanced erase
Security level high
2min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 0000000000000000
NAA : 0
IEEE OUI : 000000
Unique ID : 000000000
Checksum: correct
PS: Por favor, não marque como duplicado com esta pergunta desde que eu estou principalmente interessado em encontrar a codificação certa para a minha senha e nenhuma senha mestra da resposta não correspondida meu dispositivo.
Tags hardware ssd hard-drive linux hdparm