Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194129 - sys-kernel/gentoo-sources-2.6.22-r8 SATA reported as IDE
Summary: sys-kernel/gentoo-sources-2.6.22-r8 SATA reported as IDE
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 19:21 UTC by twey
Modified: 2007-09-28 22:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Kernel config (config,42.69 KB, text/plain)
2007-09-28 21:54 UTC, twey
Details
dmesg output (dmesg,23.18 KB, text/plain)
2007-09-28 21:55 UTC, twey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description twey 2007-09-28 19:21:50 UTC
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.
Comment 1 Duane Griffin 2007-09-28 21:00:59 UTC
Please post your .config and dmesg, thanks.
Comment 2 twey 2007-09-28 21:54:15 UTC
Created attachment 132131 [details]
Kernel config
Comment 3 twey 2007-09-28 21:55:10 UTC
Created attachment 132132 [details]
dmesg output
Comment 4 Duane Griffin 2007-09-28 22:15:44 UTC
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).
Comment 5 twey 2007-09-28 22:48:04 UTC
Ah -- that's solved it.  Sorry for bothering you.
Comment 6 Duane Griffin 2007-09-28 22:50:26 UTC
No problem at all, that's why we're here.