Skip to content

Instantly share code, notes, and snippets.

@sshilko
Created August 9, 2019 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save sshilko/3c88b5c0564e1db7f88daf33c23b9f17 to your computer and use it in GitHub Desktop.
Save sshilko/3c88b5c0564e1db7f88daf33c23b9f17 to your computer and use it in GitHub Desktop.
Intel SSD 8mb bug Fix

Intel SSD 8mb bug Fix

How To Fix Intel SSD 8MB bug Using Linux Terminal

Persian Article is Available On Academia.edu

Also You Can Read This Article In My Blog sirvan.me

Requirements:

  • Linux Terminal or Mini Linux in Hiren’s Boot CD / USB Tools
  • Physical access to your SSD

Get started:

1- Open Terminal and Enter the following command to get a list of all available harddrives in your computer:

 fdisk –l

Locate your Intel SSD in the list and take a note of the device name, for example /dev/sda

 

2- For get Drives Information Type the command:

 sudo hdparm -I /dev/sda

where sda is your SSD device. If you see the following in the output: Serial Number: BAD_CTX that confirms that you are hit by this bug.

If at the Security section it reads frozen you CANNOT continue, you have to use a workaround to eliminate the freeze before you can continue:

So Unplug and then replug the SATA data cable of your Intel SSD while the system is still powered on. So, leave your computer powered on, open up your case, locate the SATA data cable of your Intel SSD, unplug it and then replug it. This should unfreeze your SSD.

3- Check Again Drives Information using This command:

 sudo hdparm -I /dev/sda

4- For Set a Password Type the command:

  sudo hdparm --user-master u --security-set-pass Password /dev/sda


Again /dev/sda is your SSD drive, and Password is a password you want to set for the SSD.We will need that SOMEPASS later on, so remember it/write it down.

  1. Check the drive again:
 sudo hdparm -I /dev/sda

Now it should say enabled and not frozen at the security section:Security: Master password revision code = 65534 supported enabled not locked not frozen not expired: security count supported: enhanced erase

6- For secure erase Type The command:

 sudo hdparm --user-master u --security-erase Password /dev/sda

This issues the secure erase command. Again /dev/sda is your SSD, Password is the password set before. The completion of this operation can take a few minutes. After this your SSD should be functional, if not, try again with this command:

 sudo hdparm –user-master u –security-erase-enhanced Password /dev/sda


This latter command takes much more time (30-40 minutes).

7- After this check the drive again:

 sudo hdparm -I /dev/sda

The BAD_CTX thing should be gone and your drive should be functional

You can now reinstall your O/S. After all this don’t forget to update the firmware of the SSD using Intel SSD Toolbox to prevent the bug from happening again in the future.

OK, Done. Good Luck :)

Website : Visit
Twitter : @S1rv4n
Bitcoin address for donations: : 1NjTdkh6zB3iGG9REAakXxB71cjzRhkNAq
@SD-Dude
Copy link

SD-Dude commented Dec 20, 2020

Do you have a method for this fix from windows 10?

@sshilko
Copy link
Author

sshilko commented Dec 21, 2020

Yeah, buying new SSD helped

@SD-Dude
Copy link

SD-Dude commented Dec 21, 2020 via email

@picajoso
Copy link

picajoso commented Jan 30, 2021

I've just suffered this on my Intel SSD (160 GB) and your instructions didn't seem to work. I finally wiped the drive (fortunately I had nothing really important there) with the new Intel utility but it is still unusable.

In an Intel document, though, it mentions that what you have to do to disable the FREEZE LOCK is to disconnect and quickly reconnect the power cable of the SSD, not the SATA cable. When I tested that with the Intel app under windows it didn't work, but doing it in Linux with your instructions worked: the ssd was at last "not frozen" and I was able to set the password and erase the disk.

After that, it still showed 8 MB as its capacity with the fdisk command, but after rebooting in Windows it finally shows the drive as available with 160 GB (well, 149,05) available. Thanks for your help!

BTW: in the text, the normal hypens ("-" symbols) are shown as em-dashes, I think (example, "–security-erase-enhanced", if you try to use that it gives an error, there's obviously a mistake there ;) ).

@unique1403
Copy link

If in the Security section it reads frozen you CANNOT continue, you have to use a workaround to eliminate the freeze before you can continue:
I unplugged and replugged but it still says Freeze, and I have 3 identical SSD and the same issue none of that work the unfreeze. Please help any other way I can do it.

@unique1403
Copy link

Hi
my drive unfreeze by removing the power cable and not the data cable, I had 3 hard drivers 120gb SSD intel 9intel ssd 320 series 8mb fix)
done
thank you very much

@lkddan25
Copy link

man, I really appreciate you for posting this to us. just fixed my intel using this method works great just make sure you get the commands right or just copy and paste them it'll be easier.

Big Thanks To You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment