On 08/22/2018 08:35 PM, Christoph Biedl wrote:
> Package: hdparm
> Version: 9.56+ds-2
> Severity: normal
> Tags: upstream
> 
> Dear Maintainer,
> 
> trying to secure-erase a hard disk I ran into errors - which probably
> are rather due to a faulty drive or bugs in the support of the usb2sata
> brigde, so not probably hdparms's fault: After a while, hdparm aborts:
> 
> | # hdparm --verbose --user-master u --security-erase-enhanced p /dev/sdb
> | security_password: "p"
> | 
> | /dev/sdb:
> | APT: USB ID = 0x13fd:0x1340 (0x210)
> | APT: Unsupported device
> |  Issuing SECURITY_ERASE command, password="p", user=user
>
> | trying legacy HDIO_DRIVE_TASKFILE
> | rc=-1, errno=22, returned ATA registers:
> + The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
> | SECURITY_ERASE: Invalid argument
> | 
> | real    0m14,943s
> | user    0m0,000s
> | sys     0m0,008s
> 
> The confusing part is the message about missing CONFIG_IDE_TASK_IOCTL
> support in the kernel. Technically correct, but this option was part
> of the ide support, superseeded by libata several years ago. This
> option isn't available even in oldoldstable.
> 
> So, either there is a counterpart in libata, then please adjust this
> accordingly. Or remove this notice. Needless to say I'd prefer the first
> outcome ...
> 
> Regards,
> 
>     Christoph

Hi,

> | APT: USB ID = 0x13fd:0x1340 (0x210)

Was the drive connected over a usb-bridge by chance?

I've opened a "Support request" on upstream's bug tracker:
 https://sourceforge.net/p/hdparm/support-requests/7/
May be you'd like to comment there as well.

Regards,
Alex

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to