LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Fedora core 6 don't detect Host Protected Area. (https://www.linuxquestions.org/questions/linux-general-1/fedora-core-6-dont-detect-host-protected-area-555682/)

jiyun0121 05-21-2007 09:31 PM

Fedora core 6 don't detect Host Protected Area.
 
Hi~
I use Fedora core 6.
My HDD is SATA and 250 GB.
but i can't use total size..
This is the result using 'fdisk -l'

[root@localhost linux-2.6.18]# fdisk -l

Disk /dev/sda: 239.2 GB, 239282664960 bytes
255 heads, 63 sectors/track, 29091 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

I know Host Protected Area(HPA), yes. my computer surpport
HPA.
also I heard linux-2.6.x detects HPA, but i can't see messages from dmesg..

why i can't see messages?
how i can use 250GB?

Matir 05-21-2007 09:42 PM

Have you tried disabling HPA in BIOS?

jiyun0121 05-21-2007 11:41 PM

yes, i did. but the result is same..
and i found some programs for HPA that is hpafs and disk_stat..
i think that Maximum Disk Sector is not correct..

[root@localhost bin]# hdparm -I /dev/sda
....
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
....

[root@localhost bin]# ./disk_stat /dev/sda
Maximum Disk Sector: 0
Maximum User Sector: 467348954

** HPA Detected (Sectors 467348955 - 0) **


[root@localhost hpafs-0.1.0]# ./hpafs /dev/sda /mnt/hpa -o allow_other
./hpafs: capacity of /dev/sda is 268435455, native max address is 1.
cannot create ./hpafs with Host Protected Area enabled.


i want to this messages help you..
Thank you..


All times are GMT -5. The time now is 09:05 PM.