Skip to contentSkip to conversation

A small and silly question regarding libata

DISCUSSION Rogério Brito 2 participants 3 messages Oct 19, 2008

lore
Share & tools
lore
#0 lore raw

Hi there.

I have a small question regarding libata.

Using the plain IDE subsystem the Host Protected Area of a given HD is disabled and this gives me more room for my files:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hda: Host Protected Area detected.

	current capacity is 156299375 sectors (80025 MB)
	native  capacity is 156301488 sectors (80026 MB)

hda: Host Protected Area disabled.
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

What is the current status with libata for PATA devices?

Regards, Rogério Brito.

Signature · 3 lines
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org
#1 lore raw
Quoted 4 lines

hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

What is the current status with libata for PATA devices?

You can choose to ignore it with libata.

#2 lore raw

First of all, thank you very much Alan.

Quoted 6 lines · Alan Cox
Quoted 4 lines

hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

What is the current status with libata for PATA devices?

You can choose to ignore it with libata.

Some clarification here: do you mean with ignore_hpa=1 here?

Quoted 1 line

From a quick reading of the code in libata-core.c, it seems that the

code tries to disable hpa, if possible. Is that correct?

I now regret having partitioned an HD under a 2.4 kernel. :-( I'm wasting 10MiB according to bc. :-(

I wish that USB enclosures would also allow things like hpa to be disabled.

Thank you very much for your help, Rogério Brito.

Signature · 3 lines
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org