[ltp] Host Protected Area (HPA) and kernel 2.6.10

wes schreiner linux-thinkpad@linux-thinkpad.org
Tue, 28 Dec 2004 05:01:21 -0600


T. Ivarsson wrote:

>I've made the jump from kernel 2.6.8.1 to 2.6.10. When checking /var/log/dmesg for the two versions, I notice that the Host Protected Area (HPA) gets disabled when I boot 2.6.10 [1], but not disabled with 2.6.8.1 [2]. 
>
>How can I enable the HPA again?
>  
>

It never was enabled!  Look at "current capacity" below, it is the same 
under both kernels. 

>[1] /var/log/dmesg for 2.6.10
>------
>hda: max request size: 128KiB
>hda: Host Protected Area detected.
>        current capacity is 71838709 sectors (36781 MB)
>        native  capacity is 78140160 sectors (40007 MB)
>hda: Host Protected Area disabled.
>hda: 78140160 sectors (40007 MB) w/1768KiB Cache, CHS=65535/16/63, UDMA(100)
>hda: cache flushes not supported
> /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 >
>------
>
>[2] /var/log/dmesg for 2.6.8.1
>------
>hda: max request size: 128KiB
>hda: Host Protected Area detected.
>        current capacity is 71838709 sectors (36781 MB)
>        native  capacity is 78140160 sectors (40007 MB)
>hda: 71838709 sectors (36781 MB) w/1768KiB Cache, CHS=65535/16/63, UDMA(100)
> /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 >
>------
>
>
>  
>