public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Diego SANTA CRUZ <Diego.SantaCruz-p8DiymsW2f8@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: ACPI + Laptop Power Management
Date: Fri, 28 Nov 2003 10:32:57 +0100	[thread overview]
Message-ID: <1070011976.2409.8.camel@ltspc67.epfl.ch> (raw)
In-Reply-To: <C386328088ED7F4E9F81AFBABDDF60DA0338640F-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>

On Fri, 2003-11-28 at 04:21, Ow Mun Heng wrote:

> The thing here is, even though it's flushing the buffers when there are
> others to flush, it makes not difference if the drive is still spinning and
> not in standby-mode! I can't figure out what is making the HD _not_ spin
> down.
> 

Just a thing to check: syslogd will (by default) sync the log file after
each write. If you have a daemon that write syslog messages often then
syslogd will keep your HD active all the time, despite any laptop-mode.

Two, possibly complementary, solutions

1) Find the offending daemon(s) and modify their settings or disable
them if not necessary.

2) Prepend the log file name with a - on the /etc/syslog.conf file. This
prevents the sync on every write default.

If this does not solve your problem you can check (in dmesg) what is
writing to disk by doing

echo -n 1 > /proc/sys/vm/block_dump

But BE CAREFUL!. You have to disable klogd before doing this or you will
likely end up in an infinite loop.

Hope this helps.
-- 
-------------------------------------------------------
Diego Santa Cruz - PhD
Publications available at http://ltswww.epfl.ch/~dsanta
Signal Processing Institute (LTS1 / ITS / STI)
Swiss Federal Institute of Technology (EPFL)
EPFL - STI - ITS, CH-1015 Lausanne, Switzerland
E-mail:     Diego.SantaCruz-p8DiymsW2f8@public.gmane.org
Phone:      +41 - 21 - 693 26 57
Fax:        +41 - 21 - 693 76 00
-------------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  parent reply	other threads:[~2003-11-28  9:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28  3:21 ACPI + Laptop Power Management Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA0338640F-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2003-11-28  9:32   ` Diego SANTA CRUZ [this message]
2003-11-28 15:47   ` Ducrot Bruno
     [not found]     ` <20031128154714.GP7374-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-28 18:09       ` Micha Feigin
  -- strict thread matches above, loose matches on Subject: below --
2003-12-01  1:20 Ow Mun Heng
2003-11-21  4:01 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA03386202-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2003-11-21 10:12   ` Ducrot Bruno
     [not found]     ` <20031121101232.GL32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-21 10:57       ` Luca Capello
     [not found]         ` <3FBDEFB3.3060303-wlebWZzHoyE@public.gmane.org>
2003-11-21 13:03           ` Ducrot Bruno
     [not found]             ` <20031121130307.GM32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-22 18:31               ` Luca Capello
     [not found]                 ` <3FBFAB8A.4060001-wlebWZzHoyE@public.gmane.org>
2003-11-22 20:47                   ` Micha Feigin
2003-11-21 11:13       ` Micha Feigin
     [not found]         ` <20031121111323.GB18223-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2003-11-21 13:07           ` Luca Capello
     [not found]             ` <3FBE0E02.3080203-wlebWZzHoyE@public.gmane.org>
2003-11-21 13:21               ` Ducrot Bruno
2003-11-21 13:53               ` Micha Feigin
     [not found]                 ` <20031121135321.GF5917-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2003-11-21 14:44                   ` Luca Capello
     [not found]                     ` <3FBE24DC.8020203-wlebWZzHoyE@public.gmane.org>
2003-11-24 21:37                       ` Micha Feigin
2003-11-23 19:12       ` Luca Capello
     [not found]         ` <3FC106AE.4040701-wlebWZzHoyE@public.gmane.org>
2003-11-24 12:44           ` Ducrot Bruno
     [not found]             ` <20031124124451.GB7374-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-24 13:52               ` Luca Capello
     [not found]                 ` <3FC20D2F.30305-wlebWZzHoyE@public.gmane.org>
2003-11-25 16:07                   ` Micha Feigin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1070011976.2409.8.camel@ltspc67.epfl.ch \
    --to=diego.santacruz-p8diymsw2f8@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox