All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <piggin-/x7JMgtu12E0n/F98K4Iww@public.gmane.org>
To: "Måns Rullgård" <mru-UNjuZkX4dYU@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PM][ACPI] No ACPI interrupts after resume from S1
Date: Fri, 24 Oct 2003 20:24:31 +1000	[thread overview]
Message-ID: <3F98FDDF.1040905@cyberone.com.au> (raw)
In-Reply-To: <yw1xr813f1a3.fsf-UNjuZkX4dYU@public.gmane.org>



Måns Rullgård wrote:

>Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org> writes:
>
>
>>>>>suspend, the extra buttons (I use them to fire up programs) stop
>>>>>working.  Normally, they will generate an ACPI event, that is
>>>>>processed by acpid etc.  After a suspend, each button will work once.
>>>>>If I then close and open the lid, they will work one more time, and so
>>>>>on.  Any way I can help?
>>>>>
>>>>Please specify the type of suspend. The situation I described
>>>>only occurs for S1 (or, echo -n standby, more specifically), and
>>>>only in certain kernel versions.
>>>>
>>>standby, at least.
>>>
>>>After echo -n mem > /sys/power/state, the display light won't turn on,
>>>so I don't know what's going on.  I've never managed to resume from a
>>>suspend to disk.  It just boots normally and makes a fuss about the
>>>filesystems.
>>>
>>Are you passing resume= option?
>>
>
>I've been trying the new suspend to disk implementation (pmdisk, I
>think) lately.  I get these lines in the kernel log when starting
>after a suspend:
>
>PM: Reading pmdisk image.
>PM: Resume from disk failed.
>ACPI: (supports S0 S1 S3 S4 S5)
>
>Last time I tried swsusp, I did pass the resume= option, but it didn't
>work.
>
>Could it be that some disk cache is never flushed properly?
>Occasionally, some random filesystem is reported as not being cleanly
>unmounted when booting normally, which seems to point in the same
>direction.
>

Try turning your disk cache off, or set it to write through caching
(even so I heard some IDE drives don't turn it off anyway!). See if
it helps.

WARNING: multiple messages have this Message-ID (diff)
From: Nick Piggin <piggin@cyberone.com.au>
To: "Måns Rullgård" <mru@kth.se>
Cc: linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net
Subject: Re: [PM][ACPI] No ACPI interrupts after resume from S1
Date: Fri, 24 Oct 2003 20:24:31 +1000	[thread overview]
Message-ID: <3F98FDDF.1040905@cyberone.com.au> (raw)
In-Reply-To: <yw1xr813f1a3.fsf@kth.se>



Måns Rullgård wrote:

>Pavel Machek <pavel@ucw.cz> writes:
>
>
>>>>>suspend, the extra buttons (I use them to fire up programs) stop
>>>>>working.  Normally, they will generate an ACPI event, that is
>>>>>processed by acpid etc.  After a suspend, each button will work once.
>>>>>If I then close and open the lid, they will work one more time, and so
>>>>>on.  Any way I can help?
>>>>>
>>>>Please specify the type of suspend. The situation I described
>>>>only occurs for S1 (or, echo -n standby, more specifically), and
>>>>only in certain kernel versions.
>>>>
>>>standby, at least.
>>>
>>>After echo -n mem > /sys/power/state, the display light won't turn on,
>>>so I don't know what's going on.  I've never managed to resume from a
>>>suspend to disk.  It just boots normally and makes a fuss about the
>>>filesystems.
>>>
>>Are you passing resume= option?
>>
>
>I've been trying the new suspend to disk implementation (pmdisk, I
>think) lately.  I get these lines in the kernel log when starting
>after a suspend:
>
>PM: Reading pmdisk image.
>PM: Resume from disk failed.
>ACPI: (supports S0 S1 S3 S4 S5)
>
>Last time I tried swsusp, I did pass the resume= option, but it didn't
>work.
>
>Could it be that some disk cache is never flushed properly?
>Occasionally, some random filesystem is reported as not being cleanly
>unmounted when booting normally, which seems to point in the same
>direction.
>

Try turning your disk cache off, or set it to write through caching
(even so I heard some IDE drives don't turn it off anyway!). See if
it helps.



  parent reply	other threads:[~2003-10-24 10:24 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 14:15 [PM][ACPI] No ACPI interrupts after resume from S1 Karol Kozimor
2003-10-20 14:15 ` Karol Kozimor
2003-10-20 14:32 ` Måns Rullgård
2003-10-20 14:32   ` Måns Rullgård
     [not found]   ` <yw1x8yngj7xg.fsf-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2003-10-20 18:47     ` Karol Kozimor
2003-10-20 18:47       ` Karol Kozimor
2003-10-20 19:08       ` Måns Rullgård
2003-10-20 19:08         ` Måns Rullgård
     [not found]         ` <yw1xekx7afrz.fsf-UNjuZkX4dYU@public.gmane.org>
2003-10-23  8:25           ` Pavel Machek
2003-10-23  8:25             ` Pavel Machek
2003-10-24  9:11             ` Måns Rullgård
2003-10-24  9:11               ` Måns Rullgård
     [not found]               ` <yw1xr813f1a3.fsf-UNjuZkX4dYU@public.gmane.org>
2003-10-24 10:24                 ` Nick Piggin [this message]
2003-10-24 10:24                   ` Nick Piggin
2003-10-24 15:14                   ` Måns Rullgård
2003-10-24 15:14                     ` Måns Rullgård
     [not found]                     ` <yw1xbrs6652m.fsf-UNjuZkX4dYU@public.gmane.org>
2003-10-24 22:23                       ` Pavel Machek
2003-10-24 22:23                         ` Pavel Machek
2003-10-24 22:45                         ` Måns Rullgård
2003-10-24 22:45                           ` Måns Rullgård
     [not found]                           ` <yw1xbrs6p85n.fsf-UNjuZkX4dYU@public.gmane.org>
2003-10-24 23:59                             ` Nigel Cunningham
2003-10-24 23:59                               ` Nigel Cunningham
     [not found]                               ` <1067039997.2114.16.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-10-25 19:58                                 ` [PM]No " Pavel Machek
2003-10-25 19:58                                   ` [PM][ACPI] No " Pavel Machek
2003-10-25 17:05                         ` Måns Rullgård
2003-10-25 17:05                           ` Måns Rullgård
     [not found]       ` <20031020184750.GA26154-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-10-23  8:24         ` [PM]No " Pavel Machek
2003-10-23  8:24           ` [PM][ACPI] No " Pavel Machek
     [not found]           ` <20031023082410.GC643-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2003-10-24 15:18             ` Karol Kozimor
2003-10-24 15:18               ` Karol Kozimor
  -- strict thread matches above, loose matches on Subject: below --
2003-10-24  7:52 Yu, Luming
2003-10-24  7:52 ` Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401720B63-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-10-26 21:41   ` Karol Kozimor
2003-10-26 21:41     ` Karol Kozimor
2003-10-27  8:56 Yu, Luming
2003-10-27  8:56 ` Yu, Luming
2003-10-27 17:02 ` Karol Kozimor
2003-11-21  1:10 Yu, Luming
2003-11-21  1:10 ` Yu, Luming

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=3F98FDDF.1040905@cyberone.com.au \
    --to=piggin-/x7jmgtu12e0n/f98k4iww@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mru-UNjuZkX4dYU@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.