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. Environment: HDD : IDE UDMA5 60GB Version-Release number of selected component (if applicable): linux-2.6.19-1.2917.fc7 How reproducible: to enable ATA component and to disable IDE component. Steps to Reproduce: 1. 2. 3. 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.
Created attachment 147071 [details] /var/log/messages
Test patch upstream. Need to trace down a problenm with some Macintosh boxes before it can be merged however
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. Environment DELL Dimension 4700C CPU : pentium4 2.6GHz MEM : 512MB HDD : IDE 40GB