Hdparm Security Input Output Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have hdparm input/output error Meta Discuss the workings and policies of this site About Us Learn
Security Unlock Input/output Error
more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us hdparm unlock drive Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only hdparm frozen takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top HDPARM Keeps giving Input/Output Error up vote 4 down vote favorite 3 I've been trying to set the password on my Seagate drive: sudo hdparm --user-master m --security-set-pass pwd /dev/sda
Hdparm Secure Erase
I get Issuing SECURITY_SET_Pass command, password="pwd", user=master, mode=high SECURITY_SET_PASS: Input/output error Why do I keep getting that error? linux security hdparm share|improve this question edited Mar 23 at 8:36 Hennes 51.1k776121 asked Aug 9 '13 at 17:53 Glad 2113 For some BIOS you need first convert "pwd" to a scancode sequence. See:thaeial.blogspot.de/2013/01/… –student Oct 26 '13 at 19:44 I get the same error on a Samsung SSD 840 Pro in a Dell Latitude 6400 ATG laptop (Bios Version: A34), german keyboard; even if I try to translate the ascii code to scan codes: sudo hdparm --user-master m --security-set-pass "$( printf 'testmasterpassword' | tr '1234567890qwertzuiopasdfghjklyxcvbnm' '\2-\11\20\21\26\27\30\31\40-\45\60-\70\104-\107\110\111\120')" /dev/sda security_password=" 1 P01 %011$2" /dev/sda: Issuing SECURITY_SET_PASS command, password=" 1 P01 %011$2", user=master, mode=high SECURITY_SET_PASS: Input/output error –student Oct 27 '13 at 10:25 why can't you do this from within the BIOS? –MariusMatutiae Oct 28 '13 at 9:30 I didn't find an option to do this in the BIOS, there you can only set the user
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might hdparm enhanced security erase have Meta Discuss the workings and policies of this site About secure erase linux Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads
Ata Enhanced Secure Erase
with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it http://superuser.com/questions/630053/hdparm-keeps-giving-input-output-error only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top secure erase returns input/output error up vote 0 down vote favorite I've already given a detailed description of my predicament in my previous question. Now I've got this: http://askubuntu.com/questions/785337/secure-erase-returns-input-output-error/785408 sudo hdparm --user-master u --security-erase my_password /dev/sda returns: security_password: "my_password" /dev/sda: Issuing SECURITY_ERASE command, password="my_password", user=user SECURITY_ERASE: Input/output error What's going on? password secure-erase hdparm share|improve this question edited Jun 13 at 19:45 muru 69.1k12125176 asked Jun 10 at 15:37 m.a.a. 5310 Please don't add "solved" to the title. When you can, just mark the correct answer as accepted. –muru Jun 13 at 19:45 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote accepted FYI: unlocking a Kingston SSD by use of hdparm, after setting a user password appears to be impossible. NOTE: The drive will appear as locked next time you reboot after setting your password. Until then, security will only appear as enabled. Whether trying the very user-password you just set, or other variants, such as "", "NULL", NULL or a row of 32 spaces, either as a user-password or as a master-password, will not unlock your drive, but instead give you an Input/output error. sudo hdparm --user-master m --se
Posts: 3 SSD Secure Erase Fails Hi,After several years of use I thought the SSD in my Asus EeePC 1000 could benefit from a cell reset as https://bbs.archlinux.org/viewtopic.php?id=169974 described below:https://wiki.archlinux.org/index.php/SS … l_Clearinghttps://ata.wiki.kernel.org/index.php/ATA_Secure_EraseI ran the following commands using a recent copy of Arch off a USB stick. # hdparm -V hdparm v9.43 # hdparm -iI /dev/sda /dev/sda: Model=ASUS-PHISON http://technicaltony.blogspot.com/2011/10/quick-fix-for-secure-erase-of-used-ssd.html SSD, FwRev=TST2.04U, SerialNo=SOQ1881040 Config={ HardSect NotMFM Fixed DTR>10Mbs } RawCHS=15636/16/63, TrkSize=32256, SectSize=512, ECCbytes=4 BuffType=DualPort, BuffSize=1kB, MaxMultSect=1, MultSect=off CurCHS=15636/16/63, CurSects=15761088, LBA=yes, LBAsects=15761088 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 output error pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 *udma4 AdvancedPM=no Drive conforms to: Unspecified: ATA/ATAPI-4,5 * signifies the current active mode CompactFlash ATA device Model Number: ASUS-PHISON SSD Serial Number: SOQ1881040 Firmware Revision: TST2.04U Standards: Supported: 5 4 Likely used: 6 Configuration: Logical max current cylinders 15636 15636 heads 16 16 sectors/track 63 63 hdparm security input -- CHS current addressable sectors: 15761088 LBA user addressable sectors: 15761088 Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 7695 MBytes device size with M = 1000*1000: 8069 MBytes (8 GB) cache/buffer size = 1 KBytes (type=DualPort) Capabilities: LBA, IORDY(cannot be disabled) Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 1 Current = 0 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 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: * Power Management feature set * WRITE_BUFFER command * READ_BUFFER command * NOP cmd * CFA feature set * Mandatory FLUSH_CACHE * CFA advanced modes: pio5 pio6 mdma3 mdma4 Integrity word not set (found 0x0000, expected 0x15a5) No 'Security' information is displayed, only an 'Integrity word not set' error. When I proceed to set a password and erase as per the instructions, the commands fail with an input/output error:# hdparm --user-master u --security-set-pass pw /dev/sda security_password="pw" /dev/sda: Issuing SECURITY_SET_PASS
a mail-in rebate and the drive had been returned by someone else -- so it was discounted another $15. These particular drives use the new 'SandForce' SSD controller which have lots of reliability problems so they probably need to offer the rebates to move them off the shelves... Now, why did I bother buying one?? CHECKING THE FIRMWARE The first thing I checked was the firmware on the drive. 'Fortunately' it was not running the current v1.3.2 which tells me any problems the original purchaser had might have been fixed by this firmware upgrade. I proceeded to install the new firmware and had no problems. Now all that remained was to do a secure-erase, to ensure I got the correct 'New Drive' performance. (The write-speed on SSDs gradually drops as they get full and the 'free space' becomes fragmented. Since the physical memory 'sectors' are remapped 'logical sectors' you can't use a traditional OS or application defragger.) TRYING TO PERFORM A SECURE ERASE Most of the online instructions said to download the Parted Magic ISO, boot from it, then select the 'Erase this drive' option in the GUI. You also need to select the 'Internal' mode (which tells the drive to do it's built-in erase command) rather than 'External' mode (which manually rewrites the entire drive and just adds wear to an SSD). I knew that Parted Magic just relies on the same Gparted and 'hdparm' commands on my beloved Ubuntu, so I decided to just use an Ubuntu boot-drive I already had setup. Here's where the problem came in, and the fix: INPUT/OUTPUT ERROR For whatever reason the Ubuntu flash-boot and/or the BIOS locked the drive. I was able to run the basic-query hdparm command successfully, > sudo hdparm -i /dev/sda But when I tried to run the advanced query, > sudo hdparm -I /dev/sda or when I tried to trigger the internal secure-erase command, > sudo hdparm --security-erase NULL /dev/sda