On 11-04-29 04:57 PM, Maciej Grela wrote: > 2011/4/29 Mark Lord <kernel@xxxxxxxxxxxx>: .. >> Then, try this: >> >> hdparm --security-set-pass NULL /dev/sdx >> hdparm --security-erase NULL /dev/sdx .. > I downloaded the newest hdparm but the result is the same - the first > command fails with "Input/output error", verbose shows: > > 8< -------------------------------------------------- > enki@hikari:~/hdparm-9.37$ sudo ./hdparm --verbose --security-set-pass > NULL /dev > /sdb > > security_password="" > > > /dev/sdb: > Issuing SECURITY_SET_PASS command, password="", user=user, mode=high .. > SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8 > > SG_IO: sb[]: 72 0b 00 00 00 00 00 0e 09 0c 00 04 00 00 00 00 00 00 00 > 00 e0 51 00 00 00 00 00 00 00 00 00 00 > > SG_IO: desc[]: 09 0c 00 04 00 00 00 00 00 00 00 00 e0 51 > > ATA_16 stat=51 err=04 nsect=00 lbal=00 lbam=00 lbah=00 dev=e0 > > I/O error, ata_op=0xf4 ata_status=0x51 ata_error=0x04 > > SECURITY_ERASE: Input/output error Okay. Now please do exactly this (and I mean EXACTLY): 1. shut down and completely power off the system. 2. boot up again, and immediately do "hdparm --Istdout /dev/sdb and post the results here. I want to see what the default security state of the drive is, and that sequence above will tell all. Thanks. Oh, and perhaps COPY ME on subsequent emails, or I might miss your followups. IOW, use "reply to all". -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html