Skip to content

Instantly share code, notes, and snippets.

@sshilko
Created August 9, 2019 14:06
Show Gist options
  • Save sshilko/3c88b5c0564e1db7f88daf33c23b9f17 to your computer and use it in GitHub Desktop.
Save sshilko/3c88b5c0564e1db7f88daf33c23b9f17 to your computer and use it in GitHub Desktop.

Revisions

  1. @5ir3 5ir3 revised this gist May 18, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions intel-ssd-8mb-bug.md
    Original file line number Diff line number Diff line change
    @@ -135,8 +135,8 @@ You can now reinstall your O/S. After all this don’t forget to update the firm
    OK, Done. Good Luck :)


    ###### Website : <a href="https://twitter.com/s1rv4n"> @S1rv4n </a>
    ###### Website : <a href="http://sirvan.me"> Visit </a>

    ###### Twitter : <a href="http://sirvan.me"> Visit </a>
    ###### Twitter : <a href="https://twitter.com/s1rv4n"> @S1rv4n </a>

    ###### Bitcoin address for donations: : 1NjTdkh6zB3iGG9REAakXxB71cjzRhkNAq
  2. @5ir3 5ir3 revised this gist May 18, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion intel-ssd-8mb-bug.md
    Original file line number Diff line number Diff line change
    @@ -137,6 +137,6 @@ OK, Done. Good Luck :)

    ###### Website : <a href="https://twitter.com/s1rv4n"> @S1rv4n </a>

    ###### Twitter : <a href="https://twitter.com/s1rv4n"> @S1rv4n </a>
    ###### Twitter : <a href="http://sirvan.me"> Visit </a>

    ###### Bitcoin address for donations: : 1NjTdkh6zB3iGG9REAakXxB71cjzRhkNAq
  3. @5ir3 5ir3 revised this gist May 18, 2019. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions intel-ssd-8mb-bug.md
    Original file line number Diff line number Diff line change
    @@ -135,5 +135,8 @@ You can now reinstall your O/S. After all this don’t forget to update the firm
    OK, Done. Good Luck :)


    ###### Website : <a href="https://twitter.com/s1rv4n"> @S1rv4n </a>

    ###### Twitter : <a href="https://twitter.com/s1rv4n"> @S1rv4n </a>

    ###### Bitcoin address for donations: : 1NjTdkh6zB3iGG9REAakXxB71cjzRhkNAq
  4. @5ir3 5ir3 revised this gist May 18, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion intel-ssd-8mb-bug.md
    Original file line number Diff line number Diff line change
    @@ -5,9 +5,10 @@ How To Fix Intel SSD 8MB bug Using Linux Terminal
    <img src="https://i.imgur.com/AleExIp.jpg" />
    </p>

    # Persian Article is Available On [Academia.edu](https://www.academia.edu/38684530/Intel_SSD_8MB_bug_Fix_unbootable_)

    Also You Can Read This Article In My Blog [sirvan.me](http://sirvan.me/computer_hardware/fix-intel-ssd-8mb-bug-using-linux-terminal/)

    # Persian Article is Available On [Academia.edu](https://www.academia.edu/38684530/Intel_SSD_8MB_bug_Fix_unbootable_)

    ## Requirements:

  5. @5ir3 5ir3 revised this gist May 18, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion intel-ssd-8mb-bug.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ How To Fix Intel SSD 8MB bug Using Linux Terminal
    <img src="https://i.imgur.com/AleExIp.jpg" />
    </p>

    # Also You Can Read This Article In My Blog [sirvan.me](http://sirvan.me/computer_hardware/fix-intel-ssd-8mb-bug-using-linux-terminal/)
    Also You Can Read This Article In My Blog [sirvan.me](http://sirvan.me/computer_hardware/fix-intel-ssd-8mb-bug-using-linux-terminal/)

    # Persian Article is Available On [Academia.edu](https://www.academia.edu/38684530/Intel_SSD_8MB_bug_Fix_unbootable_)

  6. @5ir3 5ir3 revised this gist May 18, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions intel-ssd-8mb-bug.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@ How To Fix Intel SSD 8MB bug Using Linux Terminal
    <img src="https://i.imgur.com/AleExIp.jpg" />
    </p>

    # Also You Can Read This Article In My Blog [sirvan.me](http://sirvan.me/computer_hardware/fix-intel-ssd-8mb-bug-using-linux-terminal/)

    # Persian Article is Available On [Academia.edu](https://www.academia.edu/38684530/Intel_SSD_8MB_bug_Fix_unbootable_)

  7. @5ir3 5ir3 created this gist Apr 1, 2019.
    137 changes: 137 additions & 0 deletions intel-ssd-8mb-bug.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,137 @@
    # Intel SSD 8mb bug Fix
    How To Fix Intel SSD 8MB bug Using Linux Terminal

    <p align="center">
    <img src="https://i.imgur.com/AleExIp.jpg" />
    </p>


    # Persian Article is Available On [Academia.edu](https://www.academia.edu/38684530/Intel_SSD_8MB_bug_Fix_unbootable_)

    ## 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:
    ```console
    fdisk –l

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

    <p align="center">
    <img src="https://i.imgur.com/GSzMCNy.png" width="600"/>
    </p>


    2- For get Drives Information Type the command:
    ```console

    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.

    <p align="center">
    <img src="https://i.imgur.com/UrwWcx9.png" width="600"/>
    </p>

    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:

    <p align="center">
    <img src="https://i.imgur.com/2EAaUXR.png" width="600"/>
    </p>


    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:
    ```console

    sudo hdparm -I /dev/sda


    ```
    <p align="center">
    <img src="https://i.imgur.com/1b8QY4d.png" width="600"/>
    </p>

    4- For Set a Password Type the command:

    ```console

    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.

    5. Check the drive again:

    ```console

    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:
    ```console

    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:
    ```console

    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:

    ```console

    sudo hdparm -I /dev/sda


    ```

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

    <p align="center">
    <img src="https://i.imgur.com/I86jg3J.png" width="600"/>
    </p>


    You can now reinstall your O/S. After all this don’t forget to update the firmware of the SSD using [Intel SSD Toolbox](https://downloadcenter.intel.com/download/26574/Intel-Solid-State-Drive-Toolbox) to prevent the bug from happening again in the future.


    OK, Done. Good Luck :)


    ###### Twitter : <a href="https://twitter.com/s1rv4n"> @S1rv4n </a>
    ###### Bitcoin address for donations: : 1NjTdkh6zB3iGG9REAakXxB71cjzRhkNAq