2002-07-18 17:41:21

by Allen McIntosh

[permalink] [raw]
Subject: 2.4.18 and 19-rc1 IDE lockup on Dell Latitude

2.4.18 and 2.4.19-rc1 lock up after a suspend/resume on my Dell Latitude
CPi D300XT.

To recreate: Suspend (using the suspend key, by closing the top, or
using the apm command), then hit the power button for resume. When the
system wakes up some IDE I/O occurs (with flashing disk light and
audible head motion), then the disk light comes on and stays on.
Switching consoles is possible, and typed characters echo, but
no commands run. The system can be powered down by holding the power
button down for 10 seconds, but that's about it.

The system seems stable otherwise. It stayed up all last weekend, for
example.

If you wait in the locked state long enough, the 2.4.14 and 2.4.18 kernels
usually (but not always) output the following to the console:

hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14

Kernel versions I've tried this on:

2.4.14, 2.4.18 (vanilla), 2.4.18-3 (RedHat), 2.4.19-rc1, 2.4.19-rc1-ac5


4-year old stuff on http://www.pihl.org/linux/linux-dell.html associates
a similar problem with pcmcia being active; however I get the same
symptoms without loading any pcmcia related modules.

I can provide more details to interested parties; willing to apply/try
patches.


2002-07-18 19:20:55

by Nathan Walp

[permalink] [raw]
Subject: Re: 2.4.18 and 19-rc1 IDE lockup on Dell Latitude

On Thu, Jul 18, 2002 at 01:44:07PM -0400, Allen McIntosh wrote:
> 2.4.18 and 2.4.19-rc1 lock up after a suspend/resume on my Dell Latitude
> CPi D300XT.
>
> To recreate: Suspend (using the suspend key, by closing the top, or
> using the apm command), then hit the power button for resume. When the
> system wakes up some IDE I/O occurs (with flashing disk light and
> audible head motion), then the disk light comes on and stays on.
> Switching consoles is possible, and typed characters echo, but
> no commands run. The system can be powered down by holding the power
> button down for 10 seconds, but that's about it.
>
> The system seems stable otherwise. It stayed up all last weekend, for
> example.
>
> If you wait in the locked state long enough, the 2.4.14 and 2.4.18 kernels
> usually (but not always) output the following to the console:
>
> hda: timeout waiting for DMA
> ide_dmaproc: chipset supported ide_dma_timeout func only: 14
>
> Kernel versions I've tried this on:
>
> 2.4.14, 2.4.18 (vanilla), 2.4.18-3 (RedHat), 2.4.19-rc1, 2.4.19-rc1-ac5

I've had similar problems with my Inspiron 4100. If I leave it idle
long enough (i think) and come back to it, it can work, but anything
dealing with the disk just doesn't work. Running any command results in
some sort of IO error. I don't have it with me, so I don't have any of
the details handy. I was begining to suspect hardware failure on the
part of the drive.

However, suspending doesn't trigger the behavior. I regularly suspend
it with no adverse effects.

I believe I'm currently running one of the later 2.4.19-preX releases,
been meaning to upgrate it to a -rc kernel.

Hope someone can figure this out.


--
Nathan Walp || [email protected]
GPG Fingerprint: || http://faceprint.com/
5509 6EF3 928B 2363 9B2B DA17 3E46 2CDC 492D DB7E