Re: Weird hard disk noise on shutdown (bug #7674)

From: Tejun Heo
Date: Thu Feb 22 2007 - 02:11:31 EST

Robert Hancock wrote:
> Robert Hancock wrote:
>> Alan wrote:
>>> Stick some printk calls in drivers/ata/libata-eh.c in ata_eh_suspend, or
>>> turn on all the ATA debug and shutdown, the code should issue a cache
>>> flush followed by a standbynow1 command for each disk.
>>> Alan
>> I believe it runs on suspend, but we don't run that code on normal
>> shutdown, do we?
>> Tejun Heo had a patch for sd that could (optionally) trigger a START
>> STOP UNIT command to spin the disk down after synchronizing the cache
>> before shutdown, but I haven't heard anything of it lately..

I just came back from LSF and lunar new year's holidays and need a bit
more time to get to it. I'll get to it in one or two weeks.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at