From: Pavel Machek <pavel@ucw.cz>
To: Jim Carter <jimc@math.ucla.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Disc driver is module, software suspend fails
Date: Wed, 23 Mar 2005 11:17:06 +0100 [thread overview]
Message-ID: <20050323101706.GB1407@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.61.0503222212210.7671@xena.cft.ca.us>
Hi!
> Distro: SuSE Linux 9.2
> Kernel: 2.6.8 (kernel-default-2.6.8-24.11), also 2.6.11.5
> Hardware: Dell Inspiron 6000d, Intel Pentium-M, 915PM chipset,
> disc is Fujitsu MHT2040AH, SATA via ata_piix driver
> Kernel cmdline: root=/dev/sda3 vga=0x317 selinux=0 resume=/dev/sda5 \
> desktop elevator=as showopts
>
> I have the same symptoms as seen in numerous complaints on the web: I do
> "echo disk > /sys/power/state" or run /sbin/swsusp or powersave -U. The
> kernel suspends all the way, then immediately wakes up, having
> accomplished nothing. On 2.6.11.5 I can read an error message: "swsusp:
> FATAL: cannot find swap device, try swapon -a!" Yes, the swap device is
> recognized in /proc/swaps.
>
> I put some printk's into 2.6.11.5 and found out the reason for this
> behavior: in kernel/power/swsusp.c, static resume_device == 0. The
> reason it's 0 is that swsusp_read uses name_to_dev_t to interpret
> resume=/dev/sda5, a bogus block device name. The reason it's bogus
> is
...
> So I'm hoping someone has an idea how to make software_resume happen
> _after_ the initrd has been run and its modules are in place, which
> might make it into whatever kernel is being used in SuSE 9.3.
This is WONTFIX for 2.6.11, but you can be pretty sure it is going to
be fixed for SuSE 9.3, and patch is already in 2.6.12-rc1. Feel free
to betatest SuSE 9.3 ;-).
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
next prev parent reply other threads:[~2005-03-23 10:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-23 6:19 Jim Carter
2005-03-23 10:17 ` Pavel Machek [this message]
2005-03-23 22:34 ` Jim Carter
2005-03-25 6:54 Jim Carter
2005-03-25 8:14 ` Pavel Machek
2005-03-25 10:54 ` Stefan Seyfried
2005-03-28 0:27 ` Jim Carter
2005-03-28 22:19 ` Pavel Machek
2005-03-30 1:38 ` Jim Carter
2005-03-30 9:06 ` Pavel Machek
2005-04-10 23:14 Jim Carter
2005-04-13 10:07 ` Pavel Machek
2005-04-14 17:53 ` Jim Carter
2005-04-14 20:42 ` Pavel Machek
2005-05-04 1:11 ` Jim Carter
2005-05-04 9:14 ` Pavel Machek
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=20050323101706.GB1407@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=jimc@math.ucla.edu \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®