[Bug 1095361] Re: hdparm is 2 years old and uses old depricated IDE API for ATA Security commands

Eduardo Aquiles Radanovitsck eduardoaquiles.ar at gmail.com
Sat Jul 22 23:39:16 UTC 2017


Just tried to run
hdparm --security-erase
on ubuntu 16.04 lts and got the same message:

Issuing SECURITY_ERASE command, password="...", user=user
The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
SECURITY_ERASE: Invalid argument
Command exited with non-zero status 22

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/1095361

Title:
  hdparm is 2 years old and uses old depricated IDE API for ATA Security
  commands

Status in hdparm package in Ubuntu:
  Fix Released

Bug description:
  Hello,

  hdparm is 2 years old on Ubuntu 12.10: 9.37-0ubuntu4
  It uses old depricated IDE API for ATA Security security which is not evailable anymore in latest Ubuntu kernels.

  Following commands does not work:

  hdparm --security-set-pass
  hdparm --security-unlock
  hdparm --security-disable

  For example:
  hdparm --security-disable xxx /dev/sdb
  ----------
  security_password="xxx"

  /dev/sdb:
   Issuing SECURITY_DISABLE command, password="xxx", user=user

  
  The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
  SECURITY_UNLOCK: Invalid argument
  ---------------

  Please update the package from latest source
  https://sourceforge.net/projects/hdparm/files/hdparm/

  - Dmitry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1095361/+subscriptions



More information about the foundations-bugs mailing list