12-09-2011 01:16 AM
As many of other guys who have experienced that, I woke up one morning with "Operating system not found" and BAD_CTX as serial number.
I was thousands miles from home and I only had the laptop itself and Ubuntu Live CD.
I immediately started reading this forum and found the following:
- the contents of the drive is not restorable in any case;
- latest firmware 0362 (for my intel 320 series) does not resolve the issues;
- the best way is to begin an RMA procedure to stimulate Intel fix their shit.
Unfortunately it's not so easy to RMA the drive in a country where I was especially when you don't have a printed purchase confirmation.
The support also INSISTED on using a SSD Toolbox tool which is Windows-only, requires:
- Java
- .NET 3.5
- Windows Media Player 11 redistributable
Pretty odd requirements for an SSD diagnostic tool which is Windows-only, ergh?
So I spent the whole day trying to work around space limitation issues when running from flash, installing Wine, installing DLLs to prove to WMP11 my "Windows" machine is "Authentic". I've tried several different Wines, several DLLs. All with no luck. My hot kisses to this tool's developers.
So I've started to dig deeper on my own.
Install the tools from:
$ sudo apt-get install hdpam partx smartmontoolsEnsure there's no partition table:
$ sudo partx -s /dev/sda
partx: /dev/sda: failed to read partition table $ sudo smartctl -s on -d ata -A /dev/sda -T verypermissive smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-12-generic] (local build) Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net/ smartmontools.sourceforge.net SMART support is: Unavailable — device lacks SMART capability. === START OF ENABLE/DISABLE COMMANDS SECTION === Error SMART Enable failed: Input/output errorEnsure we have serial number corrupt and 16 cylinders only:$ sudo hdparm -I /dev/sda/dev/sda:ATA device, with non-removable media Model Number: INTEL SSDSA2CW080G3 Serial Number: BAD_CTX 00000150Firmware Revision: 4PC10302 …Configuration: Logical max current cylinders 16383 16 Okay, after all all we need is to restore the correct cylinder number (so that current = maximum). There's a very dangerous command in hdparm, called --dco-restore which is intended to reset device configuration to factory defaults. Unfortunately it was also failing with IO error! So I had to take the known road and perform Secure Erase. There are several different methods to perform it and there are methods that didn't work for me. In any case we need to:- cheat on ATA controller to allow unsafe operations- perform unsecure operations to bring device to a working state The unsafe operations are blocked on OS load to prevent malicious activity, but if you unplug your drive and plug it it again in OR just put your machine to sleep and wake it up. If your Live CD doesn't come with suspend functionality baked in, you can install pm-utils and issue "sudo pm-suspend" command. So I've closed my lid. Set a master user and password: $ sudo hdparm –user-master user –security-set-pass abc /dev/sda Run ONE of the following commands:$ sudo hdparm –user-master user –security-erase abc /dev/sda$ sudo hdparm –user-master u –security-erase-enhanced abc /dev/sdaNo idea which one will work for your device. I've ran both. Before running each one you should cheat on ATA controller and set master user/password. This should restore the drive to be able to perform operations, but I'm not sure if it restores the cylinder number, so I also did the following:$ sudo hdparm --dco-restore /dev/sdaThere's a special key you should add so that the command succeeds, I'm intentionnaly not writing it here so it's on your own risk, as this command is described in docs as "EXTREMELY DANGEROUS, DON'T RUN". This is it. Reboot and install your OS from scratch. Most of the times this works, but the drive may ramain slow, buggy and fail again (sometimes same day).Firmware updates doesn't help.So the best solution is get money from Intel and buy another drive (X25M-G2 and Crucial M4 seem to be the most robust on the market according to this http://darkstone.tweakblogs.net/blog/6956/ssd-betrouwbaarheidsonderzoek-de-resultaten.html http://darkstone.tweakblogs.net/blog/6956/ssd-betrouwbaarheidsonderzoek-de-resultaten.html). Intel, you're the most known software/hardware giant. Please fix your: - support, so they can provide useful technical information; - tools, so they can run in any environment with no tricks with Parallels, external drives and need to install Windows; - firmware for cutting edge technology so that it doesn't ruin the drive contents Thanks everyone for attention, hope this topic is helpful for Intel SSD owners.12-09-2011 01:18 AM
Self-fixed. Maybe kernel.org guide may help anyone also https://ata.wiki.kernel.org/articles/a/t/a/ATA_Secure_Erase_936d.html
12-09-2011 01:20 AM
One more point. I've fixed my drive on 26th Nov and since then I was trying to log in to communities, and only today got a message that i was very wrong to set "use my email address as user name". So it's been two weeks to resolve login issue.
12-09-2011 01:23 AM
PS Russian guide to fix that http://habrahabr.ru/blogs/hardware/133915 http://habrahabr.ru/blogs/hardware/133915
12-28-2011 09:05 PM
Thank you for posting this. I have yet to connect my Intel 320 160GB SSD. I wonder if there is a way to do similar to what you described and get the data back. It's a shame Intel doesn't have someone here more in contact with customers (us) about this issue. Is it true that the security erase just changes the encryption key, and would it be possible to get that encryption key , run a secure erase, and restore the encryption key to what it was before? Or does a secure erase overwrite data? If there were some way to reset the drive without overwriting the data so that we could restore it that would be great.