IO-Error when trying to change the master password of a self encrypting ssd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdparm (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I tried to set the master password on my self encrypting Samsung SSD 840 Pro in a Dell Latitude 6400 ATG laptop (Bios Version: A34), german keyboard via
sudo hdparm --user-master m --security-set-pass "$( printf 'testmasterpass
this gives me the following error:
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
Any idea, whats wrong here? Is there a workaround?
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: hdparm 9.43-1ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-31-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Sun Oct 27 20:03:33 2013
InstallationDate: Installed on 2013-10-03 (24 days ago)
InstallationMedia: Lubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
MarkForUpload: True
SourcePackage: hdparm
UpgradeStatus: No upgrade log present (probably fresh install)
information type: | Private Security → Public Security |
I believe the Linux kernel's default configuration is to filter out these commands (so your webserver doesn't set a password for you :) -- see e.g. http:// git.kernel. org/cgit/ linux/kernel/ git/torvalds/ linux.git/ tree/drivers/ ata/libata- scsi.c? id=HEAD# n3043
(Though I'm a bit confused, that's in the libata code, and I don't see libata loaded on my laptop...)
Try adding libata.allow_tpm=1 to the kernel command line via's grub edit-command option, and see if this changes the situation.
Thanks