linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions
@ 2009-01-15  9:10 MartinG
  2009-01-16  8:53 ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: MartinG @ 2009-01-15  9:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: MartinG

Hi, I run Fedora Rawhide on a Dell Latitude X1 and want to report on
failing suspend/resume on the latest kernel snapshots.
Smolt is currently not working in Rawhide, but an old profile of my
laptop can be found in [1]

In kernel-2.6.29-0.19.rc0.git9.fc11.i686 I have suspend(to ram)/resume
working, but in later versions, I am not able to get my laptop to
resume. I have tested these later kernels:
kernel-2.6.29-0.24.rc0.git13.fc11.i686
kernel-2.6.29-0.25.rc0.git14.fc11.i686
kernel-2.6.29-0.28.rc1.fc11.i686
kernel-2.6.29-0.31.rc1.git2.fc11.i686
kernel-2.6.29-0.35.rc1.git4.fc11.i686

None of them seems to let me wake up from suspend to ram.
I have used normal kwin (no desktop effects, no compiz).
When I open the lid, my wlan led lights up, but there is no hdd
activity, and the keyboard is dead.

Here's dmesg of the working kernel http://fpaste.org/paste/1459

Please let me know how I can test further and what logs to provide.

best regards,
MartinG
(please CC me on replies)

[1] http://www.smolts.org/client/show/pub_01507560-2bed-4c14-94a5-c72964bb4b84

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions
  2009-01-15  9:10 Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions MartinG
@ 2009-01-16  8:53 ` Pavel Machek
  2009-01-16 22:43   ` MartinG
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2009-01-16  8:53 UTC (permalink / raw)
  To: MartinG; +Cc: linux-kernel, Rafael J. Wysocki


> Hi, I run Fedora Rawhide on a Dell Latitude X1 and want to report on
> failing suspend/resume on the latest kernel snapshots.
> Smolt is currently not working in Rawhide, but an old profile of my
> laptop can be found in [1]
> 
> In kernel-2.6.29-0.19.rc0.git9.fc11.i686 I have suspend(to ram)/resume
> working, but in later versions, I am not able to get my laptop to
> resume. I have tested these later kernels:
> kernel-2.6.29-0.24.rc0.git13.fc11.i686
> kernel-2.6.29-0.25.rc0.git14.fc11.i686
> kernel-2.6.29-0.28.rc1.fc11.i686
> kernel-2.6.29-0.31.rc1.git2.fc11.i686
> kernel-2.6.29-0.35.rc1.git4.fc11.i686
> 
> None of them seems to let me wake up from suspend to ram.
> I have used normal kwin (no desktop effects, no compiz).
> When I open the lid, my wlan led lights up, but there is no hdd
> activity, and the keyboard is dead.
> 
> Here's dmesg of the working kernel http://fpaste.org/paste/1459
> 
> Please let me know how I can test further and what logs to provide.

Can you boot non-working kernel, and try "cd /sys/devices/system/cpu;
echo 0 > cpu1/online; echo 1 > cpu1/online" ?

If it breaks, try just doing "echo 0 > online" followed by s2ram. That
should work.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions
  2009-01-16  8:53 ` Pavel Machek
@ 2009-01-16 22:43   ` MartinG
  2009-01-19 19:17     ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: MartinG @ 2009-01-16 22:43 UTC (permalink / raw)
  To: linux-kernel

On Fri, Jan 16, 2009 at 9:53 AM, Pavel Machek <pavel@suse.cz> wrote:
> Can you boot non-working kernel, and try "cd /sys/devices/system/cpu;
> echo 0 > cpu1/online; echo 1 > cpu1/online" ?
>
> If it breaks, try just doing "echo 0 > online" followed by s2ram. That
> should work.

Ok, thanks for the reply. This is what I've tried (I have a single
core (old) cpu):
# uname -r
2.6.29-0.35.rc1.git4.fc11.i686
# cd /sys/devices/system/cpu
# find .|grep online
./online
# cat online
0
# echo 0 > online; echo 1 > online
-bash: online: Permission denied
-bash: online: Permission denied
# chmod +rw online
# echo 0 > online; echo 1 > online
-bash: echo: write error: Input/output error
-bash: echo: write error: Input/output error

Yep, I am a bit confused - any hints appreciated!

-MartinG

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions
  2009-01-16 22:43   ` MartinG
@ 2009-01-19 19:17     ` Pavel Machek
  2009-01-20  8:35       ` MartinG
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2009-01-19 19:17 UTC (permalink / raw)
  To: MartinG; +Cc: linux-kernel

On Fri 2009-01-16 23:43:08, MartinG wrote:
> On Fri, Jan 16, 2009 at 9:53 AM, Pavel Machek <pavel@suse.cz> wrote:
> > Can you boot non-working kernel, and try "cd /sys/devices/system/cpu;
> > echo 0 > cpu1/online; echo 1 > cpu1/online" ?
> >
> > If it breaks, try just doing "echo 0 > online" followed by s2ram. That
> > should work.
> 
> Ok, thanks for the reply. This is what I've tried (I have a single
> core (old) cpu):
> # uname -r
> 2.6.29-0.35.rc1.git4.fc11.i686
> # cd /sys/devices/system/cpu
> # find .|grep online
> ./online
> # cat online
> 0
> # echo 0 > online; echo 1 > online
> -bash: online: Permission denied
> -bash: online: Permission denied
> # chmod +rw online
> # echo 0 > online; echo 1 > online
> -bash: echo: write error: Input/output error
> -bash: echo: write error: Input/output error
> 
> Yep, I am a bit confused - any hints appreciated!

Ok, that is not going to work on single core. Can you try if
suspending works in init=/bin/bash mode?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions
  2009-01-19 19:17     ` Pavel Machek
@ 2009-01-20  8:35       ` MartinG
  2009-01-27  9:14         ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: MartinG @ 2009-01-20  8:35 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

On Mon, Jan 19, 2009 at 8:17 PM, Pavel Machek <pavel@suse.cz> wrote:
> Ok, that is not going to work on single core. Can you try if
> suspending works in init=/bin/bash mode?

Hi, I forgot to mention that I'm running on a crypted disk. So
"init=/bin/bash" fails. But I booted kernel-2.6.29-0.41.rc2.fc11.i686
using "1" as a kernel parameter, and put the laptop to suspend by
# echo -n mem > /sys/power/state

But still, I was not able to resume it - black screen, keyboard dead.

Could it be related to my disk encryption? I though "everybody"
encrypted their laptop these days?
I set it up during installation (full disk encryption, I get prompted
for passphrase as the first thing during boot).

This is my layout:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       12G  7,5G  4,5G  63% /
/dev/mapper/VolGroup00-LogVol02
                       14G   12G  1,6G  88% /home
/dev/sda1             190M   51M  130M  29% /boot
tmpfs                 614M   76K  614M   1% /dev/shm

# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/mapper/VolGroup00-LogVol02 on /home type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)

I'd be happy to test further - please let me know what info I can provide.
Thanks.

-MartinG

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions
  2009-01-20  8:35       ` MartinG
@ 2009-01-27  9:14         ` Pavel Machek
  2009-02-02 11:21           ` MartinG
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2009-01-27  9:14 UTC (permalink / raw)
  To: MartinG; +Cc: linux-kernel

Hi!

> > Ok, that is not going to work on single core. Can you try if
> > suspending works in init=/bin/bash mode?
> 
> Hi, I forgot to mention that I'm running on a crypted disk. So
> "init=/bin/bash" fails. But I booted kernel-2.6.29-0.41.rc2.fc11.i686
> using "1" as a kernel parameter, and put the laptop to suspend by
> # echo -n mem > /sys/power/state

Hmm, ok.

> But still, I was not able to resume it - black screen, keyboard dead.
> 
> Could it be related to my disk encryption? I though "everybody"
> encrypted their laptop these days?

Not me...

> I'd be happy to test further - please let me know what info I can provide.
> Thanks.

Well, git bisect is always an option...? Or getting disk encryption
out of place? Trying minimal config?
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails  in later versions
  2009-01-27  9:14         ` Pavel Machek
@ 2009-02-02 11:21           ` MartinG
  0 siblings, 0 replies; 7+ messages in thread
From: MartinG @ 2009-02-02 11:21 UTC (permalink / raw)
  To: linux-kernel

On Tue, Jan 27, 2009 at 10:14 AM, Pavel Machek <pavel@suse.cz> wrote:
> Well, git bisect is always an option...? Or getting disk encryption
> out of place? Trying minimal config?

Wow, git bisect seems like a pretty powerful tool - I've never used it
before, but will try to look into it.

FWIW, I am able to suspend/resume *once* with
kernel-2.6.29-0.73.rc3.git2.fc11.i686, but on the second try, I am not
able to resume.

Same goes for kernel-2.6.29-0.74.rc3.git3.fc11.i686, ie. powerup ok,
suspend ok, resume ok, suspend again ok, resume not ok -> freeze (no
keyboard, black screen, no hdd action, hard reset needed).

I'll look into git and try to download and compile a couple of
kernels. I'll post back if I have any success.

Thanks,
MartinG

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-02 11:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-15  9:10 Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions MartinG
2009-01-16  8:53 ` Pavel Machek
2009-01-16 22:43   ` MartinG
2009-01-19 19:17     ` Pavel Machek
2009-01-20  8:35       ` MartinG
2009-01-27  9:14         ` Pavel Machek
2009-02-02 11:21           ` MartinG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).