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

Mark 1095361 at bugs.launchpad.net
Fri Feb 23 17:38:52 UTC 2018


Are there instructions on supporting CONFIG_IDE_TASK_IOCTL for 16.04
LTS?

Same thing happens for hdparm v9.48

SG_IO: bad/missing sense data, sb[]:  f0 00 01 00 50 40 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
SECURITY_ERASE: Invalid argument

-- 
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