From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Ferenc Wagner <wferi@niif.hu>
Cc: LKML <linux-kernel@vger.kernel.org>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
yakui.zhao@intel.com,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
linux-pm@lists.linux-foundation.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: intermittent suspend problem again
Date: Thu, 19 Nov 2009 20:42:17 +0100 [thread overview]
Message-ID: <200911192042.18073.rjw@sisk.pl> (raw)
In-Reply-To: <87zl6ipt0p.fsf@tac.ki.iif.hu>
On Thursday 19 November 2009, Ferenc Wagner wrote:
> Ferenc Wagner <wferi@niif.hu> writes:
>
> > Ferenc Wagner <wferi@niif.hu> writes:
> >
> >> "Rafael J. Wysocki" <rjw@sisk.pl> writes:
> >>
> >>> On Wednesday 18 November 2009, Ferenc Wagner wrote:
> >>>
> >>>> Ferenc Wagner <wferi@niif.hu> writes:
> >>>>
> >>>> Side question: If I run s2disk from the init=/bin/bash prompt, the
> >>>> instrumentation in acpi_enter_sleep_state_prep in drivers/acpi/acpica/hwsleep.c
> >>>> fires before the "Snapshotting system" phase, but it does not fire if I
> >>>> hibernate from the full running desktop. (That instrumentation was put
> >>>> there to investigate the KMS-triggered STR freeze.) What could explain
> >>>> this?
> >>>
> >>> It looks like it uses the "shutdown" method when run with init=/bin/bash, but
> >>> I don't know why exactly.
> >>
> >> Thanks for the tip, I'll check this too.
> >
> > While looking into this, I found a reproducible kernel panic:
> >
> > 1. boot with init=/bin/bash
> > 2. mount /usr; swapon -a
> > 3. plug in a USB pendrive
> > 4. s2disk (machine goes to sleep)
> > 5. power on, proceed with resuming, press Enter to cancel resume pause
> > 6. ACPI: Hardware changed while hibernated, cannot resume!
> > Kernel panic - not syncing: ACPI S4 hardware signature mismatch
> >
> > Does it make sense?
>
> Yes it does: it's the BIOS USB support playing its childish games.
> I can disable it most of the time, except when booting from USB...
>
> I wonder if this problem sould be handled more gracefully, now that USB
> persistence is enabled by default. It works just fine for STR, but
> potentially panics after hibernation.
Add acpi_sleep=s4_nohwsig to the kernel command line.
Thanks,
Rafael
next prev parent reply other threads:[~2009-11-19 19:42 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 11:43 intermittent suspend problem again Ferenc Wagner
2009-10-28 18:56 ` Rafael J. Wysocki
2009-10-29 0:11 ` Ferenc Wagner
2009-10-29 18:36 ` [linux-pm] " Rafael J. Wysocki
2009-10-29 22:31 ` Ferenc Wagner
2009-10-30 18:18 ` Rafael J. Wysocki
2009-10-30 18:18 ` [linux-pm] " Rafael J. Wysocki
2009-10-30 19:03 ` Ferenc Wagner
2009-10-30 19:03 ` [linux-pm] " Ferenc Wagner
2009-10-30 20:38 ` Rafael J. Wysocki
2009-10-31 12:02 ` Alan Jenkins
2009-10-31 12:02 ` [linux-pm] " Alan Jenkins
2009-10-31 14:06 ` Ferenc Wagner
2009-10-31 14:06 ` [linux-pm] " Ferenc Wagner
2009-10-31 19:11 ` Rafael J. Wysocki
2009-11-01 21:53 ` Ferenc Wagner
2009-11-03 11:02 ` Ferenc Wagner
2009-11-03 11:02 ` Ferenc Wagner
2009-11-01 21:53 ` Ferenc Wagner
2009-10-31 19:11 ` Rafael J. Wysocki
2009-10-30 20:38 ` Rafael J. Wysocki
2009-10-29 22:31 ` Ferenc Wagner
2009-11-11 11:29 ` Ferenc Wagner
2009-11-11 11:29 ` [linux-pm] " Ferenc Wagner
2009-11-11 11:38 ` Rafael J. Wysocki
2009-11-11 11:38 ` [linux-pm] " Rafael J. Wysocki
2009-11-11 13:29 ` Ferenc Wagner
2009-11-11 13:29 ` [linux-pm] " Ferenc Wagner
2009-11-11 14:47 ` Rafael J. Wysocki
2009-11-11 14:47 ` [linux-pm] " Rafael J. Wysocki
2009-11-13 16:35 ` Ferenc Wagner
2009-11-13 16:35 ` [linux-pm] " Ferenc Wagner
2009-11-13 19:59 ` Rafael J. Wysocki
2009-11-14 1:50 ` Ferenc Wagner
2009-11-14 1:50 ` [linux-pm] " Ferenc Wagner
2009-11-14 18:52 ` Rafael J. Wysocki
2009-11-14 18:52 ` [linux-pm] " Rafael J. Wysocki
2009-11-18 1:12 ` Ferenc Wagner
2009-11-18 1:12 ` [linux-pm] " Ferenc Wagner
2009-11-18 14:05 ` Ferenc Wagner
2009-11-18 22:13 ` Rafael J. Wysocki
2009-11-18 22:54 ` Ferenc Wagner
2009-11-18 22:54 ` [linux-pm] " Ferenc Wagner
2009-11-19 12:00 ` Ferenc Wagner
2009-11-19 12:00 ` [linux-pm] " Ferenc Wagner
2009-11-19 13:02 ` Ferenc Wagner
2009-11-19 19:42 ` Rafael J. Wysocki [this message]
2009-11-19 19:42 ` Rafael J. Wysocki
2009-11-19 13:02 ` Ferenc Wagner
2009-11-21 23:59 ` Ferenc Wagner
2009-11-21 23:59 ` [linux-pm] " Ferenc Wagner
2009-11-28 19:01 ` Ferenc Wagner
2009-11-29 0:29 ` Rafael J. Wysocki
2009-11-29 10:12 ` Ferenc Wagner
2009-11-29 10:12 ` [linux-pm] " Ferenc Wagner
2009-11-29 15:07 ` Rafael J. Wysocki
2009-12-01 10:29 ` Ferenc Wagner
2009-12-01 10:29 ` [linux-pm] " Ferenc Wagner
2009-12-01 12:28 ` Rafael J. Wysocki
2009-12-01 17:46 ` Ferenc Wagner
2009-12-01 21:32 ` Rafael J. Wysocki
2009-12-02 1:58 ` Ferenc Wagner
2009-12-02 1:58 ` [linux-pm] " Ferenc Wagner
2009-12-02 10:55 ` Ferenc Wagner
2009-12-02 21:33 ` Rafael J. Wysocki
2009-12-02 21:41 ` Mikael Abrahamsson
2009-12-02 21:41 ` [linux-pm] " Mikael Abrahamsson
2009-12-02 21:33 ` Rafael J. Wysocki
2009-12-02 21:49 ` Rafael J. Wysocki
2009-12-02 21:49 ` [linux-pm] " Rafael J. Wysocki
2009-12-12 19:31 ` Pavel Machek
2009-12-12 19:31 ` [linux-pm] " Pavel Machek
2009-12-02 10:55 ` Ferenc Wagner
2009-12-02 12:27 ` Stefan Seyfried
2009-12-02 12:27 ` [linux-pm] " Stefan Seyfried
2009-12-12 19:27 ` s2disk encryption was " Pavel Machek
2009-12-12 19:27 ` s2disk encryption was Re: [linux-pm] " Pavel Machek
2009-12-01 21:32 ` Rafael J. Wysocki
2009-12-01 17:46 ` Ferenc Wagner
2009-12-01 12:28 ` Rafael J. Wysocki
2009-11-29 15:07 ` Rafael J. Wysocki
2009-11-29 10:12 ` [linux-pm] " Ferenc Wagner
2009-11-29 0:29 ` Rafael J. Wysocki
2009-11-28 19:01 ` Ferenc Wagner
2009-11-18 22:13 ` Rafael J. Wysocki
2009-11-18 14:05 ` Ferenc Wagner
2009-11-13 19:59 ` Rafael J. Wysocki
2009-10-29 18:36 ` Rafael J. Wysocki
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=200911192042.18073.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=akpm@linux-foundation.org \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=wferi@niif.hu \
--cc=yakui.zhao@intel.com \
/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.