public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IDE failure on ACPI resume
@ 2005-03-13 19:14 Matthew Garrett
  2005-03-14  4:53 ` [ACPI] " Nate Lawson
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Garrett @ 2005-03-13 19:14 UTC (permalink / raw)
  To: acpi-devel, linux-kernel

On resume, an HP nc6220 fails during resuming of the IDE devices. In
this section of code from ide-iops.c:

                stat = hwif->INB(hwif->io_ports[IDE_STATUS_OFFSET]);
                if ((stat & BUSY_STAT) == 0)
                        return 0;
                /*
                 * Assume a value of 0xff means nothing is connected to
                 * the interface and it doesn't implement the pull-down
                 * resistor on D7.
                 */
                if (stat == 0xff)
                        return -ENODEV;

0xff is read and ENODEV returned. This results in

hda: bus not ready on wakeup
hda: drive not ready on wakeup

and then the machine sits there until some later command times out. It
seems that reading anything off the IDE bus just results in 0xff being
read.

The IDE controller is an Intel ICH6. Another HP laptop with an identical
chipset works fine, which makes me suspicious of the BIOS. Is the fact
that Linux doesn't seem to run the GTF, STM or GTM methods likely to be
relevant here?

-- 
Matthew Garrett | mjg59@srcf.ucam.org


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-18  0:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-13 19:14 IDE failure on ACPI resume Matthew Garrett
2005-03-14  4:53 ` [ACPI] " Nate Lawson
2005-03-17 15:10   ` Matthew Garrett
2005-03-17 20:34     ` Nate Lawson
2005-03-18  0:02       ` Matthew Garrett
2005-03-18  0:08         ` Nate Lawson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox