On Sat, 03 Sep 2022 14:45:20 -0400, Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
Hi all,
I just tried to prepare an external harddisk by setting a password to
make it safe for travelling.
All other harddisks like (older) Samsung, Western Digital, Hitachi etc.
accept locking / unlocking via password through hdparm commands via USB
(kernel 5.10.46 / x64), but Samsung EVO 870 refuses to do so:
$ hdparm --user-master u --security-set-pass 'newpass' /dev/sdb
security_password: "newpass"
/dev/sdb:
Issuing SECURITY_SET_PASS command, password="newpass", user=user,
mode=high The running kernel lacks CONFIG_IDE_TASK_IOCTL support for
this device.
SECURITY_SET_PASS: Invalid argument
B.t.w., I cannot even remove or overwrite the manufacturer's secret
master password. So, this is a severe security risk since someone could
know it and unlock those drives.
Has anyone already managed to lock / unlock such a drive?
Any idea how to proceed?
Are you using a usb connection? https://sourceforge.net/p/hdparm/support-requests/7/
Regards, Dave Hodgins
On Sat, 03 Sep 2022 15:05:39 -0400 David W. Hodgins wrote:
Are you using a usb connection?
https://sourceforge.net/p/hdparm/support-requests/7/
Regards, Dave Hodgins
Hi,
and, sorry if confusing with new "fork" of this thread :-)
@ Dave:
Thanks for that link. It looks to me as if there has to be a special
kernel, capable of executing this "CONFIG_IDE_TASK_IOCTL" command?
Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
On Sat, 03 Sep 2022 15:05:39 -0400 David W. Hodgins wrote:
Are you using a usb connection?
https://sourceforge.net/p/hdparm/support-requests/7/
Regards, Dave Hodgins
Hi,
and, sorry if confusing with new "fork" of this thread :-)
Please don’t do that again, it makes it hard to navigate the thread.
@ Dave:
Thanks for that link. It looks to me as if there has to be a special
kernel, capable of executing this "CONFIG_IDE_TASK_IOCTL" command?
This certainly is a red herring; CONFIG_IDE_TASK_IOCTL has not existed
for years and was only relevant to old-style IDE.
On Sun, 04 Sep 2022 09:10:17 +0100 Richard Kettlewell wrote:
Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
On Sat, 03 Sep 2022 15:05:39 -0400 David W. Hodgins wrote:
Are you using a usb connection?
https://sourceforge.net/p/hdparm/support-requests/7/
Regards, Dave Hodgins
Hi,
and, sorry if confusing with new "fork" of this thread :-)
Please don’t do that again, it makes it hard to navigate the thread.
@ Dave:
Thanks for that link. It looks to me as if there has to be a special
kernel, capable of executing this "CONFIG_IDE_TASK_IOCTL" command?
This certainly is a red herring; CONFIG_IDE_TASK_IOCTL has not existed
for years and was only relevant to old-style IDE.
According to what I've just seen, quite the opposite seems to apply:
This is not only an alert, all hdparm-related security modifications to
the drive are really failing.
Well, meanwhile I found a Samsung EVO 840 in one of my notebooks. I set
the user password to NULL and took it out. The drive could be accessed
via hdparm through USB easily. No error occured.
Only these new Samsung EVO 870 drives throw above quoted error alert and refuse to do the demanded modification.
On Sat, 03 Sep 2022 15:05:39 -0400 David W. Hodgins wrote:
On Sat, 03 Sep 2022 14:45:20 -0400, Markus Robert Kessler
<no_reply@dipl-ing-kessler.de> wrote:
Hi all,
I just tried to prepare an external harddisk by setting a password to
make it safe for travelling.
All other harddisks like (older) Samsung, Western Digital, Hitachi etc.
accept locking / unlocking via password through hdparm commands via USB
(kernel 5.10.46 / x64), but Samsung EVO 870 refuses to do so:
$ hdparm --user-master u --security-set-pass 'newpass' /dev/sdb
security_password: "newpass"
/dev/sdb:
Issuing SECURITY_SET_PASS command, password="newpass", user=user,
mode=high The running kernel lacks CONFIG_IDE_TASK_IOCTL support for
this device.
SECURITY_SET_PASS: Invalid argument
B.t.w., I cannot even remove or overwrite the manufacturer's secret
master password. So, this is a severe security risk since someone could
know it and unlock those drives.
Has anyone already managed to lock / unlock such a drive?
Any idea how to proceed?
Are you using a usb connection?
https://sourceforge.net/p/hdparm/support-requests/7/
Regards, Dave Hodgins
Hi,
and, sorry if confusing with new "fork" of this thread :-)
@ Dave:
Thanks for that link. It looks to me as if there has to be a special
kernel, capable of executing this "CONFIG_IDE_TASK_IOCTL" command?
In the document above, it seems, that no one cares about the request for implementing, or taking this functionality back into the kernel again.
This is somehow puzzling me, because in the past, say, 4-6 years, I had a similar issue with mechanical disks, but with nowadays' kernels most of
the drives can be accessed without any trouble.
Has anyone already tried to activate mentioned method in the kernel
sources?
I'd just be happy if it was possible to deactivate or overwrite the
master password, so that I can, at least, use it as an internal drive in
a different notebook.
Thanks a lot,
best regards,
Markus
Thanks for that link. It looks to me as if there has to be a special
kernel, capable of executing this "CONFIG_IDE_TASK_IOCTL" command?
In the document above, it seems, that no one cares about the request for implementing, or taking this functionality back into the kernel again.
This is somehow puzzling me, because in the past, say, 4-6 years, I had a similar issue with mechanical disks, but with nowadays' kernels most of
the drives can be accessed without any trouble.
Has anyone already tried to activate mentioned method in the kernel
sources?
I'd just be happy if it was possible to deactivate or overwrite the
master password, so that I can, at least, use it as an internal drive in
a different notebook.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 48:25:27 |
Calls: | 6,710 |
Calls today: | 3 |
Files: | 12,243 |
Messages: | 5,354,640 |
Posted today: | 1 |