Bug 226720 - ata_piix can not support the Host Protected Area.
ata_piix can not support the Host Protected Area.
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i686 Linux
urgent Severity urgent
: ---
: ---
Assigned To: Alan Cox
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-02-01 02:11 EST by MASAO TAKAHASHI
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: 2.6.20-1.3079.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-19 06:33:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
/var/log/messages (520.17 KB, application/octet-stream)
2007-02-01 02:11 EST, MASAO TAKAHASHI
no flags Details

  None (edit)
Description MASAO TAKAHASHI 2007-02-01 02:11:02 EST
Description of problem:

Enabling ATA component makes "Buffer I/O error".
When booting, many error messages has displayed as follows.

Feb  1 13:39:37 mtakahashi kernel: attempt to access beyond end of device
Feb  1 13:39:37 mtakahashi kernel: sda: rw=0, want=78156003, limit=78125000
Feb  1 13:39:37 mtakahashi kernel: Buffer I/O error on device sda3, logical
block 76581632

But, enabling IDE component does not make the above error.
Version-Release number of selected component (if applicable):

How reproducible:
to enable ATA component and to disable IDE component.

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

The HDD has a Host Protected Area.
I formated with IDE driver.
The IDE driver disables a Host Protected Area.
So native capacity is 78165360 sectors.
And limit capacity is 78125000 sectors with a Host Protected Area enabled.

The ata_piix driver does not disable a Host Protected Area.
Comment 1 MASAO TAKAHASHI 2007-02-01 02:11:02 EST
Created attachment 147071 [details]
Comment 2 Alan Cox 2007-03-28 10:55:12 EDT
Test patch upstream. Need to trace down a problenm with some Macintosh boxes
before it can be merged however
Comment 3 MASAO TAKAHASHI 2007-04-17 01:07:51 EDT
I have tested linux-2.6.20-1.3079.fc7.
This is applied linux-2.6-libata-hpa.patch.
This patch disables the host protected area.
I think that the patch resolves problem.
Thank you, Mr Jones.

  DELL Dimension 4700C
  CPU : pentium4 2.6GHz
  MEM : 512MB
  HDD : IDE 40GB

Note You need to log in before you can comment on or make changes to this bug.