View previous topic :: View next topic |
Author |
Message |
c00l.wave Apprentice

Joined: 24 Aug 2003 Posts: 268
|
Posted: Tue Mar 19, 2013 4:28 pm Post subject: Any way to set the host protected area (HPA)? |
|
|
I want to try enabling a HPA on an external drive but unfortunately, hdparm depends on deprecated IDE modules which I can't get enabled.
I'm expecting something like:
Code: | # hdparm -N /dev/sdb
/dev/sdb:
max sectors = 65134/1953525168, HPA is enabled |
But all I get is:
Code: | # hdparm -N /dev/sdd
/dev/sdd:
The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
READ_NATIVE_MAX_ADDRESS_EXT failed: Invalid argument |
Compiling IDE support as a module, loading it and re-attaching the USB drive did not help.
Kernel version is 3.6.11-gentoo, hdparm has been updated to 9.43 (latest available version). Is there any way to manipulate the HPA from modern kernels or do I have to use an old live CD from around 2009? _________________ nohup nice -n -20 cp /dev/urandom /dev/null & |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55256 Location: 56N 3W
|
Posted: Tue Mar 19, 2013 7:19 pm Post subject: |
|
|
c00l.wave,
External drives USB/Fireware/eSATA, have always been on the SCSI software stack.
As well as hdparam, there is sdparam ... that may be worth a try.
Be warned that many USB/IDE or USB/SATA converters to not support all the commands you might need. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|