Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Any way to set the host protected area (HPA)?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
c00l.wave
Apprentice
Apprentice
Posts: 268
Joined: Sun Aug 24, 2003 7:43 pm

Any way to set the host protected area (HPA)?

  • Quote

Post by c00l.wave » Tue Mar 19, 2013 4:28 pm

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: Select all

# hdparm -N /dev/sdb
/dev/sdb:
 max sectors   = 65134/1953525168, HPA is enabled
But all I get is:

Code: Select all

# 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 &
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Mar 19, 2013 7:19 pm

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.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy