Skip to contentSkip to conversation

ICH5-SATA drivers freeze system when drives are spun down

DISCUSSION Greg Stark 2 participants 3 messages Sep 23, 2003

lore
Share & tools
lore

Greg Stark

author
#0 lore raw

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?

Signature · 1 line
greg
#1 lore raw
Quoted 9 lines · Greg Stark

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

author
#2 lore raw
Quoted 1 line · Jeff Garzik

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?

Quoted 2 lines

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.

Signature · 1 line
greg