From: Patrizio Bassi <patrizio.bassi@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>, shaohua.li@intel.com
Subject: Re: 2.6.14-git4 suspend fails: kernel NULL pointer dereference
Date: Tue, 08 Nov 2005 08:50:20 +0100 [thread overview]
Message-ID: <437058BC.7090300@gmail.com> (raw)
In-Reply-To: <20051107180710.GD1710@elf.ucw.cz>
Pavel Machek ha scritto:
>Hi!
>
>
>
>>>diff --git a/kernel/power/main.c b/kernel/power/main.c
>>>--- a/kernel/power/main.c
>>>+++ b/kernel/power/main.c
>>>@@ -167,7 +167,7 @@ static int enter_state(suspend_state_t s
>>>{
>>> int error;
>>>
>>>- if (pm_ops->valid && !pm_ops->valid(state))
>>>+ if (pm_ops && pm_ops->valid && !pm_ops->valid(state))
>>> return -ENODEV;
>>> if (down_trylock(&pm_sem))
>>> return -EBUSY;
>>>
>>>
>>>
>>>
>>>
>>>
>>i'm using ACPI.
>>i'?ll try the patch and report asap.
>>
>>
>
>ok, not sure what is going on, then. Fill enter_state() with printks()
>so that we know where it fails... then kill klogd before attempting
>suspend.
> Pavel
>
>
that **seems** to be fixed, even if i run ACPI.
now i have
Stopping tasks:
===============================================================|
Freeing memory... done (42120 pages freed)
usbfs 2-2:1.0: no suspend?
Could not suspend device 2-2: error -16
Some devices failed to suspend
Restarting tasks... done
this was fixed by a patch Len Brown gave me privatly.
it's due to a pci-usb card.
it seems has not been applied yet.
can you notify him? he knows :)
good job.
Patrizio
next prev parent reply other threads:[~2005-11-08 7:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20051006072749.GA2393@spitz.ucw.cz>
2005-11-07 16:47 ` Pavel Machek
2005-11-07 18:04 ` Patrizio Bassi
2005-11-07 18:07 ` Pavel Machek
2005-11-08 7:50 ` Patrizio Bassi [this message]
2005-11-08 1:02 ` Shaohua Li
2005-11-08 7:52 ` Patrizio Bassi
2005-11-08 9:12 ` Pavel Machek
2005-11-08 15:19 ` Patrizio
2005-11-08 21:48 ` Pavel Machek
2005-11-09 15:48 ` Patrizio Bassi
2005-11-03 9:09 Patrizio Bassi
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=437058BC.7090300@gmail.com \
--to=patrizio.bassi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=shaohua.li@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome