Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crucial M550 odd behavior #300

Open
otaking71 opened this issue Sep 17, 2019 · 5 comments
Open

Crucial M550 odd behavior #300

otaking71 opened this issue Sep 17, 2019 · 5 comments

Comments

@otaking71
Copy link

otaking71 commented Sep 17, 2019

I have a m550 that was cloned and started behaving quite oddly. I can't seem to reset the drive no matter what i've tried.

I've attached a log.
root@PartedMagic:~# sedutil-cli -vvvvv --yesIreallywanttoERASEALLmydatausingthePSID 54BA1B2458575F70E100000089C981F0 /dev/sda

  • 22:36:01.577 DBG : Log level set to DBG4
  • 22:36:01.577 DBG : sedutil version : 1.12
  • 22:36:01.577 DBG1: Creating DtaResponse()
  • 22:36:01.577 DBG1: Creating DtaResponse()
  • 22:36:01.577 DBG1: DtaDevOS::init /dev/sda
  • 22:36:01.577 DBG1: Creating DtaDevLinuxSata::DtaDev() /dev/sda
  • 22:36:01.578 DBG4: Entering DtaDevLinuxSata::identify()
  • 22:36:01.578 DBG1: Entering DtaDev::discovery0()
  • 22:36:01.578 DBG1: Entering DtaDevLinuxSata::sendCmd
  • 22:36:01.578 DBG3: Dumping D0Response
  • 22:36:01.578 DBG1: Entering hexDump
    0000 000000a0 00000001 00000000 00000000 ................
    0010 00000000 00000000 00000000 00000000 ................
    0020 00000000 00000000 00000000 00000000 ................
    0030 0001100c 11000000 00000000 00000000 ................
    0040 0002100c 0f000000 00000000 00000000 ................
    0050 0003101c 01000000 00000000 00000200 ................
    0060 00000000 00000008 00000000 00000000 ................
    0070 0201100c 00000009 02000000 00000000 ................
    0080 0202100c 00000009 05a00000 00000001 ................
    0090 02031010 10000001 00000400 09000000 ................
  • 22:36:01.579 DBG1: Entering DtaDev::isPresent() 1
  • 22:36:01.579 DBG1: Entering DtaDev::isAnySSC 1
  • 22:36:01.579 DBG1: Entering DtaDev::isOpal2 1
  • 22:36:01.579 DBG1: Creating DtaResponse()
  • 22:36:01.579 DBG1: Creating DtaResponse()
  • 22:36:01.579 DBG1: DtaDevOS::init /dev/sda
  • 22:36:01.579 DBG1: Creating DtaDevLinuxSata::DtaDev() /dev/sda
  • 22:36:01.579 DBG4: Entering DtaDevLinuxSata::identify()
  • 22:36:01.579 DBG1: Entering DtaDev::discovery0()
  • 22:36:01.579 DBG1: Entering DtaDevLinuxSata::sendCmd
  • 22:36:01.579 DBG3: Dumping D0Response
  • 22:36:01.579 DBG1: Entering hexDump
    0000 000000a0 00000001 00000000 00000000 ................
    0010 00000000 00000000 00000000 00000000 ................
    0020 00000000 00000000 00000000 00000000 ................
    0030 0001100c 11000000 00000000 00000000 ................
    0040 0002100c 0f000000 00000000 00000000 ................
    0050 0003101c 01000000 00000000 00000200 ................
    0060 00000000 00000008 00000000 00000000 ................
    0070 0201100c 00000009 02000000 00000000 ................
    0080 0202100c 00000009 05a00000 00000001 ................
    0090 02031010 10000001 00000400 09000000 ................
  • 22:36:01.580 DBG1: Entering DtaDevOpal::properties()
  • 22:36:01.580 DBG1: Creating DtaSsession()
  • 22:36:01.580 DBG1: Creating DtaCommand(ID, InvokingUid, method)
  • 22:36:01.580 DBG1: Entering DtaCommand::reset(OPAL_UID, OPAL_METHOD)
  • 22:36:01.581 DBG1: Entering DtaCommand::reset()
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_UID)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(const char * )
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(uint64_t)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(const char * )
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(uint64_t)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(const char * )
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(uint64_t)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(const char * )
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(uint64_t)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(const char * )
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(uint64_t)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(const char * )
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(uint64_t)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.581 DBG1: Entering DtaCommand::complete(uint8_t EOD)
  • 22:36:01.581 DBG1: Entering DtaSession::sendCommand()
  • 22:36:01.581 DBG1: Entering DtaCommand::setHSN()
  • 22:36:01.581 DBG1: Entering DtaCommand::setTSN()
  • 22:36:01.581 DBG1: Entering DtaCommand::setcomID()
  • 22:36:01.581 DBG3:
    Dumping command buffer
  • 22:36:01.581 DBG1: Entering hexDump
    0000 00000000 10000000 00000000 00000000 ................
    0010 000000b0 00000000 00000000 00000000 ................
    0020 00000000 00000000 00000098 00000000 ................
    0030 00000000 0000008c f8a80000 00000000 ................
    0040 00ffa800 00000000 00ff01f0 f200f0f2 ................
    0050 d0104d61 78436f6d 5061636b 65745369 ..MaxComPacketSi
    0060 7a658208 00f3f2ad 4d617850 61636b65 ze......MaxPacke
    0070 7453697a 658207ec f3f2af4d 6178496e tSize......MaxIn
    0080 64546f6b 656e5369 7a658207 c8f3f2aa dTokenSize......
    0090 4d617850 61636b65 747301f3 f2ad4d61 MaxPackets....Ma
    00a0 78537562 7061636b 65747301 f3f2aa4d xSubpackets....M
    00b0 61784d65 74686f64 7301f3f1 f3f1f9f0 axMethods.......
    00c0 000000f1 ....
  • 22:36:01.583 DBG1: Entering DtaDevLinuxSata::sendCmd
  • 22:36:01.609 DBG1: Entering DtaDevLinuxSata::sendCmd
  • 22:36:01.609 DBG3:
    Dumping reply buffer
  • 22:36:01.609 DBG1: Entering hexDump
    0000 00000000 10000000 00000000 00000000 ................
    0010 000001e8 00000000 00000000 00000000 ................
    0020 00000000 00000000 000001d0 00000000 ................
    0030 00000000 000001c4 f8a80000 00000000 ................
    0040 00ffa800 00000000 00ff01f0 f0f2d010 ................
    0050 4d617843 6f6d5061 636b6574 53697a65 MaxComPacketSize
    0060 84000200 00f3f2d0 184d6178 52657370 .........MaxResp
    0070 6f6e7365 436f6d50 61636b65 7453697a onseComPacketSiz
    0080 65840002 0000f3f2 ad4d6178 5061636b e........MaxPack
    0090 65745369 7a658400 01f600f3 f2af4d61 etSize........Ma
    00a0 78496e64 546f6b65 6e53697a 65840001 xIndTokenSize...
    00b0 e400f3f2 aa4d6178 5061636b 65747384 .....MaxPackets.
    00c0 00000001 f3f2ad4d 61785375 62706163 .......MaxSubpac
    00d0 6b657473 84000000 01f3f2aa 4d61784d kets........MaxM
    00e0 6574686f 64738400 000001f3 f2ab4d61 ethods........Ma
    00f0 78536573 73696f6e 73840000 0001f3f2 xSessions.......
    0100 d0124d61 78417574 68656e74 69636174 ..MaxAuthenticat
    0110 696f6e73 84000000 0ef3f2d0 134d6178 ions.........Max
    0120 5472616e 73616374 696f6e4c 696d6974 TransactionLimit
    0130 84000000 01f3f2d0 11446566 53657373 .........DefSess
    0140 696f6e54 696d656f 757484ff fffffff3 ionTimeout......
    0150 f1f200f0 f2d0104d 6178436f 6d506163 .......MaxComPac
    0160 6b657453 697a6584 00000800 f3f2d018 ketSize.........
    0170 4d617852 6573706f 6e736543 6f6d5061 MaxResponseComPa
    0180 636b6574 53697a65 84000008 00f3f2ad cketSize........
    0190 4d617850 61636b65 7453697a 65840000 MaxPacketSize...
    01a0 07ecf3f2 af4d6178 496e6454 6f6b656e .....MaxIndToken
    01b0 53697a65 84000007 c8f3f2aa 4d617850 Size........MaxP
    01c0 61636b65 74738400 000001f3 f2ad4d61 ackets........Ma
    01d0 78537562 7061636b 65747384 00000001 xSubpackets.....
    01e0 f3f2aa4d 61784d65 74686f64 73840000 ...MaxMethods...
    01f0 0001f3f1 f3f1f9f0 000000f1 ............
  • 22:36:01.613 DBG1: Entering DtaResponse::init
  • 22:36:01.613 DBG1: Entering DtaResponse::tokenIs
  • 22:36:01.613 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.613 DBG1: Entering DtaResponse::tokenIs
  • 22:36:01.613 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.613 DBG1: Entering DtaResponse::tokenIs
  • 22:36:01.613 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.613 DBG1: Entering DtaResponse::getUint8
  • 22:36:01.613 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.613 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.613 DBG1: Entering DtaResponse::getUint8
  • 22:36:01.613 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.613 DBG1: Destroying DtaCommand
  • 22:36:01.613 DBG1: Leaving DtaDevOpal::properties()
  • 22:36:01.613 DBG1: Entering DtaDev::isOpal2 1
  • 22:36:01.613 DBG1: Destroying DtaDevOS
  • 22:36:01.613 DBG1: Destroying DtaDevLinuxSata
  • 22:36:01.613 DBG1: Destroying DtaResponse
  • 22:36:01.613 DBG1: Destroying DtaResponse
  • 22:36:01.613 DBG : Performing a PSID Revert on /dev/sda with password 54BA1B2458575F70E100000089C981F0
  • 22:36:01.613 DBG1: Entering DtaDevOpal::revertTPer()
  • 22:36:01.613 DBG1: Creating DtaCommand()
  • 22:36:01.613 DBG1: Creating DtaSsession()
  • 22:36:01.613 DBG1: Entering DtaSession::setProtocol
  • 22:36:01.613 DBG1: Entering DtaSession::startSession
  • 22:36:01.613 DBG1: Entering DtaSession::startSession
  • 22:36:01.613 DBG1: Creating DtaCommand()
  • 22:36:01.613 DBG1: Creating DtaResponse()
  • 22:36:01.613 DBG1: Entering DtaCommand::reset(OPAL_UID, OPAL_METHOD)
  • 22:36:01.613 DBG1: Entering DtaCommand::reset()
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_UID)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(uint64_t)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_UID)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TINY_ATOM)
  • 22:36:01.613 DBG1: Entering DtaDev::isEprise 0
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TINY_ATOM)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(const char * )
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TINY_ATOM)
  • 22:36:01.613 DBG1: Entering addToken(vector<uint8_t>)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.613 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.613 DBG1: Entering DtaCommand::complete(uint8_t EOD)
  • 22:36:01.613 DBG1: Entering DtaSession::sendCommand()
  • 22:36:01.613 DBG1: Entering DtaCommand::setHSN()
  • 22:36:01.613 DBG1: Entering DtaCommand::setTSN()
  • 22:36:01.614 DBG1: Entering DtaCommand::setcomID()
  • 22:36:01.614 DBG3:
    Dumping command buffer
  • 22:36:01.614 DBG1: Entering hexDump
    0000 00000000 10000000 00000000 00000000 ................
    0010 0000007c 00000000 00000000 00000000 ...|............
    0020 00000000 00000000 00000064 00000000 ...........d....
    0030 00000000 00000058 f8a80000 00000000 .......X........
    0040 00ffa800 00000000 00ff02f0 8169a800 .............i..
    0050 00020500 00000101 f200d020 35344241 ........... 54BA
    0060 31423234 35383537 35463730 45313030 1B2458575F70E100
    0070 30303030 38394339 38314630 f3f203a8 000089C981F0....
    0080 00000009 0001ff01 f3f1f9f0 000000f1 ................
  • 22:36:01.614 DBG1: Entering DtaDevLinuxSata::sendCmd
  • 22:36:01.640 DBG1: Entering DtaDevLinuxSata::sendCmd
  • 22:36:01.641 DBG3:
    Dumping reply buffer
  • 22:36:01.641 DBG1: Entering hexDump
    0000 00000000 10000000 00000000 00000000 ................
    0010 00000049 00000000 00000000 00000000 ...I............
    0020 00000000 00000000 00000031 00000000 ...........1....
    0030 00000000 00000025 f8a80000 00000000 .......%........
    0040 00ffa800 00000000 00ff03f0 84000000 ................
    0050 69840000 1000f1f9 f0000000 f1 i............
  • 22:36:01.642 DBG1: Entering DtaResponse::init
  • 22:36:01.642 DBG1: Entering DtaResponse::tokenIs
  • 22:36:01.642 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.642 DBG1: Entering DtaResponse::tokenIs
  • 22:36:01.642 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.642 DBG1: Entering DtaResponse::tokenIs
  • 22:36:01.642 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint8
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getTokenCount()
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint8
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint32
  • 22:36:01.642 DBG1: Entering DtaResponse::getUint64
  • 22:36:01.642 DBG1: Destroying DtaCommand
  • 22:36:01.642 DBG1: Entering DtaDev::isEprise 0
  • 22:36:01.642 DBG1: Destroying DtaResponse
  • 22:36:01.642 DBG1: Entering DtaCommand::reset(OPAL_UID, OPAL_METHOD)
  • 22:36:01.642 DBG1: Entering DtaCommand::reset()
  • 22:36:01.642 DBG1: Entering DtaCommand::addToken(OPAL_UID)
  • 22:36:01.642 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.642 DBG1: Entering DtaCommand::addToken(OPAL_TOKEN)
  • 22:36:01.642 DBG1: Entering DtaCommand::complete(uint8_t EOD)
  • 22:36:01.642 DBG1: Entering DtaSession::methodStatus()
  • 22:36:01.642 DBG1: Entering DtaSession::sendCommand()
  • 22:36:01.642 DBG1: Entering DtaCommand::setHSN()
  • 22:36:01.642 DBG1: Entering DtaCommand::setTSN()
  • 22:36:01.642 DBG1: Entering DtaCommand::setcomID()
  • 22:36:01.642 DBG3:
    Dumping command buffer
  • 22:36:01.642 DBG1: Entering hexDump
    0000 00000000 10000000 00000000 00000000 ................
    0010 00000040 00001000 00000069 00000000 ...@.......i....
    0020 00000000 00000000 00000028 00000000 ...........(....
    0030 00000000 0000001b f8a80000 02050000 ................
    0040 0001a800 00000600 000202f0 f1f9f000 ................
    0050 0000f100 ....
  • 22:36:01.642 DBG1: Entering DtaDevLinuxSata::sendCmd
  • 22:36:56.858 ERR : Command failed on send 255
  • 22:36:56.858 ERR : Command failed on exec 255
  • 22:36:56.858 DBG1: Destroying DtaCommand
  • 22:36:56.858 DBG1: Destroying DtaSession
  • 22:36:56.858 DBG1: Creating DtaResponse()
  • 22:36:56.858 DBG1: Destroying DtaResponse
@otaking71
Copy link
Author

root@PartedMagic:~# sedutil-cli --query /dev/sda

/dev/sda ATA Crucial_CT512M550SSD3 MU02 15030E6B70E6
TPer function (0x0001)
ACKNAK = N, ASYNC = N. BufferManagement = N, comIDManagement = N, Streaming = Y, SYNC = Y
Locking function (0x0002)
Locked = Y, LockingEnabled = Y, LockingSupported = Y, MBRDone = N, MBREnabled = N, MediaEncrypt = Y
Geometry function (0x0003)
Align = Y, Alignment Granularity = 8 (4096), Logical Block size = 512, Lowest Aligned LBA = 0
SingleUser function (0x0201)
ALL = Y, ANY = N, Policy = N, Locking Objects = 9
DataStore function (0x0202)
Max Tables = 9, Max Size Tables = 94371840, Table size alignment = 1
OPAL 2.0 function (0x0203)
Base comID = 0x1000, Initial PIN = 0x0, Reverted PIN = 0x0, comIDs = 1
Locking Admins = 4, Locking Users = 9, Range Crossing = N

TPer Properties:
MaxComPacketSize = 131072 MaxResponseComPacketSize = 131072
MaxPacketSize = 128512 MaxIndTokenSize = 123904 MaxPackets = 1
MaxSubpackets = 1 MaxMethods = 1 MaxSessions = 1
MaxAuthentications = 14 MaxTransactionLimit = 1 DefSessionTimeout = 4294967295

Host Properties:
MaxComPacketSize = 2048 MaxResponseComPacketSize = 2048
MaxPacketSize = 2028 MaxIndTokenSize = 1992 MaxPackets = 1
MaxSubpackets = 1 MaxMethods = 1

@ChubbyAnt
Copy link

That's an old version of SEDutil 1.12. Have you tried an updated rescue image 1.15?

@otaking71
Copy link
Author

i've tried 1.15.1 from windows to the same results.

@ChubbyAnt
Copy link

Is it possible that this drive was ATA locked, rather than TCG OPAL locked?

@otaking71
Copy link
Author

Afaik..no..this is my laptop and ssd i installed together a few years ago. I decided to upgrade to a 1tb samsung 860 evo and gave samsungs utility a whirl. Upon completion..neither copy booted and have been trying to deal with it since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants