Attempting to compile a 2.6.22-r8 kernel, my SATA hard drive (using an 82801GBM/GHM SATA controller) creates all my partitions as /dev/hda*, and although they do work, fsck complains about not being able to use DMA on them and read speed is very slow (~1.7MB/sec according to `hdparm -tT /dev/hda`). Minimal install CD works fine. I can disable ATA support in the kernel (someone recommended I do this in case it was conflicting), but then none of the hard drive partitions show up at all. This very bug seems to be documented on the Gentoo forums (http://forums.gentoo.org/viewtopic-p-4299875.html), but for earlier kernel versions -- upgrading reportedly solved the problem. Reproducible: Always Steps to Reproduce: 1. Compile a kernel with SATA support (CONFIG_SATA_AHCI=y, CONFIG_ATA_PIIX=y, CONFIG_ATA_GENERIC=y [or n, makes no difference]) 2. Boot it. Actual Results: The bootloader fails to boot /dev/sdaX. If everything is modified to boot from /dev/hdaX, fsck complains about lack of DMA on the drive, then `hdparm -tT /dev/hda` reveals very slow buffered-read speeds. Expected Results: Created /dev/sdaX nodes and given faster read speeds from hdparm.
Please post your .config and dmesg, thanks.
Created attachment 132131 [details] Kernel config
Created attachment 132132 [details] dmesg output
Try disabling IDE, it is getting to the disks before libata. You probably also don't want ATA_PIIX, SATA_AHCI is better and will probably work for you (if not check the BIOS for AHCI mode).
Ah -- that's solved it. Sorry for bothering you.
No problem at all, that's why we're here.