Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Go into BIOS and try setting the drive to use AHCI mode. I can't think of a reason why it shouldn't work as I have SATA working just fine with an ICH10R board.
Go into BIOS and try setting the drive to use AHCI mode. I can't think of a reason why it shouldn't work as I have SATA working just fine with an ICH10R board.
YES, I got it to work! I followed your advice (setting the drive to use AHCI mode) as well as adding a few kernel boot options, just in case.
The options I added were: "acpi=off noapic udev cdroot dodmraid"
Could someone explain to me what these options do?
Your motherboard's South Bridge uses the Intel Corporation ICH10 chipset.
I believe if you check the output of "lspci -v" as root, you will see that
you are using kernel module ata_piix for your SATA controller.
What you need is a kernel which has support for ICH10 in the ata_piix module.
Find where your kernel is located on that distribution and issue this:
Code:
less /path/to/kernel/drivers/ata/ata_piix.c | grep -i ICH10
example:
mingdao@silas:~$ less kernel/linux-2.6.26.2/drivers/ata/ata_piix.c | grep -i ICH10
/* SATA Controller IDE (ICH10) */
/* SATA Controller IDE (ICH10) */
/* SATA Controller IDE (ICH10) */
/* SATA Controller IDE (ICH10) */
If you kernel does not have ICH10 support there, you need a new kernel.
No, I don't believe he is using ATA_PIIX as that is only used when BIOS uses IDE mode rather than AHCI. Besides, I pointed out that I have an ICH10R and that it works fine (I am actually using a custom 2.6.26 but I don't notice any difference at all - except much faster boot times, of course).
Well, running those commands now won't be very instructive considering that I'm already running a custom 2.6.26 but I saved the output of lsmod while I was still running the stock kernel to check whether I wasn't forgetting certain options running makeconfig. As you can see, ahci and libata and no ata_pixx:
Wait, what are you saying exactly? That it would be better to use ata_pixx? I just did a check and I feel that the result is not all that bad (Samsung spinpoint 500GB SATA):
/dev/sdb:
Timing cached reads: 5076 MB in 2.00 seconds = 2539.26 MB/sec
Timing buffered disk reads: 238 MB in 3.03 seconds = 78.60 MB/sec
I would imagine that ATA_PIIX is slightly faster on sequential access but AHCI (at least in theory) should generally be faster on random access.
hdparm is not good benchmarking utilities -- use bonnie++
Yes, there are different chipsets supported by the libata driver.
Check the output I've shown you previously. What I am saying is that
from short experience with the ICH10 chipset, it is better to use a
driver which has ICH10 support. You are using such a one. Grep your
kernel driver and you will see.
Whether he uses the AHCI or ATA_PIIX is probably irrelevant. If it were
my board, I'd use AHCI - but a NEW kernel with ICH10 in AHCI. But the
support for ICH10 was not added (to either one) until recently. The earliest
kernel where I found that support is:
Code:
mingdao@silas:~$ less /server1/silas/mingdao/kernel/linux-2.6.25.7/drivers/ata/ahci.c | grep -i ICH10
{ PCI_VDEVICE(INTEL, 0x3a05), board_ahci }, /* ICH10 */
{ PCI_VDEVICE(INTEL, 0x3a25), board_ahci }, /* ICH10 */
mingdao@silas:~$ less /server1/silas/mingdao/kernel/linux-2.6.25.7/drivers/ata/ata_piix.c | grep -i ICH10
/* SATA Controller IDE (ICH10) */
/* SATA Controller IDE (ICH10) */
/* SATA Controller IDE (ICH10) */
/* SATA Controller IDE (ICH10) */
Back to an earlier question for the OP -- "uname -a"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.