Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-26-2012, 02:57 PM   #1
LQ Newbie
Registered: Aug 2011
Posts: 17

Rep: Reputation: Disabled
HPA setting seems invalid (buggy kernel device driver?)

Using hdparm version 9.42. I used hdparm to change the size of my drives (overprovision) as per instructions for installing 3rd party software (Aerospike, formerly Citrusleaf). I ran the command:

hdparm -Npxxxxxx /dev/sd*
The output I get now is:

max sectors = 462997170/15647024(586072368?), HPA setting seems invalid (buggy kernel device driver?)
The first number is what I changed the drive size to, and the second number is supposed to be the actual real size of the drive. This doesn't look right. All examples I've seen look more like

setting max visible sectors to 281323627 (permanent)
max sectors = 281323627/312581808, HPA is enabled
I've then also tried to reset the drive back to its original size in case there's some issue with leaving it changed with the error(?) message above. I was able to successfully change one of the drives; for the rest I get

[root@server1 log]$ hdparm -Np586072368 /dev/sde

setting max visible sectors to 586072368 (permanent)
SET_MAX_ADDRESS failed: Input/output error
max sectors = 462997170/15647024(586072368?), HPA setting seems invalid (buggy kernel device driver?)
and doesn't actually put in the change. Can anyone help me figure this out?

Running 2.6.32-220.el6.x86_64, Centos 6.3.


hdparm, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling a device driver only and not the whole kernel... Is this possible? balteo Linux - Kernel 4 11-20-2009 01:25 AM
Problem in compiling a char device driver formerly for kernel 2.4 on kernel 2.6 payretep Linux - Newbie 6 09-24-2007 05:43 AM
setting up netboot, dhcpd, tftp-hpa? 13ojo Linux - Server 0 04-11-2007 06:26 AM
slackware 10 - tulip driver buggy? joroxx Slackware 6 11-11-2004 06:09 AM
simple hello.c device driver for 2.6 kernel blavo Programming 29 06-30-2004 05:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration