[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <45DD0348.5040005@shaw.ca>
Date: Wed, 21 Feb 2007 20:43:20 -0600
From: Robert Hancock <hancockr@...w.ca>
To: Alan <alan@...rguk.ukuu.org.uk>,
linux-kernel <linux-kernel@...r.kernel.org>
Cc: Francesco Pretto <ceztko@...il.com>, Tejun Heo <htejun@...il.com>
Subject: Re: Weird hard disk noise on shutdown (bug #7674)
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..
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@...pamshaw.ca
Home Page: http://www.roberthancock.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists