From: Pavel Machek <pavel@ucw.cz>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Could not suspend device [VIA UHCI USB controller]: error -22
Date: Wed, 7 Dec 2005 12:02:46 +0100 [thread overview]
Message-ID: <20051207110246.GA2563@elf.ucw.cz> (raw)
In-Reply-To: <4396B9DE.40908@tls.msk.ru>
Hi!
> >>Also, "suspend to mem" does just nothing, -- the same as "suspend to disk"
> >>(but for disk, it never worked at all as stated above).
> >
> >
> > Can you quote exact messages? Suspend to mem should not have problems
> > without 4MB pages, as it does not do any pagetables related magic. If
> > it does include same check, it is bug and should be easy to fix.
>
> Hmm.. There's no messages, no at all.
>
> echo mem > /sys/power/state
>
> does exactly nothing. When writing 'suspend' to that file, the
>system
I think you mean 'standby'?
> at least tries to do something (now with 2.6.15-rc4 it completes the
> syspend procedure; but it wakes up again in a secound or two), with all
> the messages et al, but not 'mem' or 'disk' - no messages at all.
You are hitting something else than missing 4MB pages:
static inline int
arch_prepare_suspend(void)
{
/* If you want to make non-PSE machine work, turn off paging
in swsusp_arch_suspend. swsusp_pg_dir should have identity
mapping, so
it could work... */
if (!cpu_has_pse) {
printk(KERN_ERR "PSE is required for swsusp.\n");
return -EPERM;
}
return 0;
}
...so just insert printks into the code to find out what is going on...
Pavel
--
Thanks, Sharp!
prev parent reply other threads:[~2005-12-07 11:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-04 0:12 Could not suspend device [VIA UHCI USB controller]: error -22 Michael Tokarev
2005-12-04 0:31 ` Greg KH
2000-01-02 8:28 ` Michael Tokarev
2005-12-04 23:05 ` Greg KH
2005-12-05 8:54 ` Michael Tokarev
2005-12-05 13:20 ` Pavel Machek
2005-12-07 10:39 ` Michael Tokarev
2005-12-07 11:05 ` Pavel Machek
2005-12-05 13:20 ` Pavel Machek
2005-12-05 13:21 ` Pavel Machek
2005-12-07 10:30 ` Michael Tokarev
2005-12-07 11:02 ` Pavel Machek [this message]
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=20051207110246.GA2563@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mjt@tls.msk.ru \
/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