2003-09-23 17:23:39

by Greg Stark

[permalink] [raw]
Subject: ICH5-SATA drivers freeze system when drives are spun down


I've always used noflushd to spin down the drives I don't use much. Some of my
older drives are really noise, and there's enough heat in there as it is. I
just switched to a new system and I find on my new motherboard with a ICH5
SATA controller the system doesn't behave properly when the drives are spun
down.

The entire system freezes periodically for anywhere from half a second to 10s.
This happens about once a minute or so, sometimes more. During this time the
entire system is frozen, but when it recovers it processes all the lost i/o.

I also find when there is i/o that should cause a drive to wake up it takes
waay too long to wake up. It's as if the drive isn't even being woken up for
10-15s. Then I get dma timeouts in my logs.

Is it that the ICH5 controller is buggy and behaves poorly when drives are
powered off? Or is it the driver that isn't handling something properly? Does
anyone else use noflushd with the ICH5 driver?

--
greg


2003-09-23 17:46:15

by Jeff Garzik

[permalink] [raw]
Subject: Re: ICH5-SATA drivers freeze system when drives are spun down

On Tue, Sep 23, 2003 at 01:22:23PM -0400, Greg Stark wrote:
> I've always used noflushd to spin down the drives I don't use much. Some of my
> older drives are really noise, and there's enough heat in there as it is. I
> just switched to a new system and I find on my new motherboard with a ICH5
> SATA controller the system doesn't behave properly when the drives are spun
> down.
>
> The entire system freezes periodically for anywhere from half a second to 10s.
> This happens about once a minute or so, sometimes more. During this time the
> entire system is frozen, but when it recovers it processes all the lost i/o.


Are you using my libata driver, or the stock drivers/ide driver?

The stock drivers/ide ICH5 SATA driver in known to lock up in many
cases, not just the one you described.

Jeff



2003-09-23 17:56:45

by Greg Stark

[permalink] [raw]
Subject: Re: ICH5-SATA drivers freeze system when drives are spun down


Jeff Garzik <[email protected]> writes:

> Are you using my libata driver, or the stock drivers/ide driver?

The stock drivers from 2.4.23-pre4

What should I be using? Where do I get your driver?

> The stock drivers/ide ICH5 SATA driver in known to lock up in many
> cases, not just the one you described.

Then I guess I've been lucky so far.

--
greg