From: Franck Bui-Huu <vagabon.xyz@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: pm list <linux-pm@lists.linux-foundation.org>,
Nigel Cunningham <nigel@nigel.suspend2.net>
Subject: Re: [PATCH 0/2] Freezer fixes for 2.6.24
Date: Thu, 22 Nov 2007 14:05:41 +0100 [thread overview]
Message-ID: <47457EA5.60302@gmail.com> (raw)
In-Reply-To: <200711212021.51968.rjw@sisk.pl>
Rafael J. Wysocki wrote:
> On Wednesday, 21 of November 2007, Franck Bui-Huu wrote:
>> Rafael J. Wysocki wrote:
>>> The second one is intended to fix the APM emulation breakage caused before
>>> 2.6.23, but unfortunately I can't test it.
>> Why not ?
>>
>> Just hack Kconfig to be able to select this driver on x86 architecture
>> and it should work fine, no ?
>
> Well, I'm afraid I have no suitable userland here ...
>
I don't have either.
Anyway I just verified that the current code is broken. I put 2
processes waiting for a suspend evetn by reading the /dev/apm_bios
device and a third process that does the suspend event by doing an
ioctl() on the apm device. The system doesn't suspend (the kernel
dumped a list of the current tasks, instead of printing "Freezing of
tasks failed after..." BTW) and eventually the third process exits
with an incorrect value: -EINTR.
Applying your patch makes the previous test case work.
I also discovered that s2ram doesn't work on my laptop and had to use
standby suspend. I'll try to find out why.
Franck
next prev parent reply other threads:[~2007-11-22 13:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 1:44 [PATCH 0/2] Freezer fixes for 2.6.24 Rafael J. Wysocki
2007-11-21 1:50 ` [PATCH 1/2] Freezer: Fix s2disk resume from initrd Rafael J. Wysocki
2007-11-21 2:22 ` Nigel Cunningham
2007-11-21 19:20 ` Rafael J. Wysocki
2007-11-21 1:53 ` [PATCH 2/2] Freezer: Fix APM emulation breakage Rafael J. Wysocki
2007-11-21 7:51 ` [PATCH 0/2] Freezer fixes for 2.6.24 Franck Bui-Huu
2007-11-21 19:21 ` Rafael J. Wysocki
2007-11-22 13:05 ` Franck Bui-Huu [this message]
2007-11-22 16:10 ` Rafael J. Wysocki
2007-11-22 20:29 ` Franck Bui-Huu
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=47457EA5.60302@gmail.com \
--to=vagabon.xyz@gmail.com \
--cc=linux-pm@lists.linux-foundation.org \
--cc=nigel@nigel.suspend2.net \
--cc=rjw@sisk.pl \
/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