Bug 14213

Summary: AHCI mode not supported for Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)
Product: IO/Storage Reporter: Patrice Vetsel (ubuntu)
Component: Serial ATAAssignee: Jeff Garzik (jgarzik)
Status: CLOSED OBSOLETE    
Severity: high CC: alan, tj, trenn
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.31 Subsystem:
Regression: No Bisected commit-id:
Attachments: netconsole with SATA=IDE
Output of sudo acpidump > acpidump.txt

Description Patrice Vetsel 2009-09-23 09:59:12 UTC
Originally reported here :
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/427362

You can found in this bugs some logs (lspci/dmesg...)

I must set SATA to IDE in BIOS (removing AHCI) because kernel hang and output errors DRDY
Comment 1 Patrice Vetsel 2009-09-23 13:01:14 UTC
If you need more specifics informations, tell me.

This notebook is the same as Acer Timeline 1810, it's a PACKARD BELL DOT M/U.FR-020
Comment 2 Patrice Vetsel 2009-09-24 07:16:35 UTC
A workaround is to add : acpi=off in kernel boot parameters

This bug is confirmed also on an Acer Travelmate 8371

I'v found may be same bug on others distros :
https://qa.mandriva.com/show_bug.cgi?id=49818
https://bugzilla.novell.com/show_bug.cgi?id=443143
Comment 3 Tejun Heo 2009-09-25 03:50:53 UTC
Let's concentrate on your machine for now.  It sounds like IRQ routing problem w/ acpi.  Can you capture the failing boot log w/ ahci and w/o acpi=off?  You'll either need to boot into rootfs on a different device or use net or serial console to capture kernel messages.  (cc'ing Thomas for acpi / IRQ stuff)
Comment 4 Patrice Vetsel 2009-09-25 06:19:24 UTC
Using this tutorial :
https://wiki.ubuntu.com/KernelTeam/Netconsole#Netcat%20(Linux)

I can have informations on boot with SATA=IDE (see attachment), but with SATA=AHCI I have no output on my netconsole
Comment 5 Patrice Vetsel 2009-09-25 06:19:53 UTC
Created attachment 23176 [details]
netconsole with SATA=IDE
Comment 6 Tejun Heo 2009-09-25 06:23:46 UTC
Ummm... netconsole seems to have been initialized pretty late during boot.  To do it properly, you'll need to build in the network driver and netconsole support into the kernel instead of as modules and enable it with kernel boot parameter.  Please read Documentation/networking/netconsole.txt.
Comment 7 Thomas Renninger 2009-09-25 08:32:55 UTC
Can you attach acpidump, please.
The tool should also work if booted with acpi=off
Not sure how easy this is with Ubuntu, with SUSE it is possible to start the installation with some linuxrc options and activate ssh. Then you can log in on the affected machine, even if the disk is not accessable, get /proc/interrupts, dmesg, lspci -vv -n, etc. and you can copy it away via scp.
You could also try to reproduce this downloading latest 11.2 OpenSUSE mini iso which should also be 2.6.31 based and install with parameters SSHPassword=12345678 usessh=1 (cmp. with http://de.opensuse.org/Linuxrc).
The network install iso should be enough and only has about 100M:
http://software.opensuse.org/developer
or
http://download.opensuse.org/distribution/11.2-Milestone7/iso
Comment 8 Patrice Vetsel 2009-09-25 10:51:04 UTC
Created attachment 23179 [details]
Output of sudo acpidump > acpidump.txt
Comment 9 Patrice Vetsel 2009-09-25 10:53:17 UTC
Thanks for all yours instructions, I will try to do them this week-end, and thanks for your patience :)