logout at resume and swap usage (suspend to ram)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-173 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-180 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pm-utils
I use Ubuntu 9.10 64 bits with pm-utils 1.2.5-2ubuntu7. I don't talk about hibernation here.
I can suspend to ram and resume, but sometimes, I have to do a new login (my session is not always saved). I didn't have this problem in Hardy 64 bits.
I'm not sure, but It seems to be related to swap partition. I have 2 Gb RAM. Initially, I had 1 Gb swap. The problem was reproducible when more RAM was used (say VBox+other things for about 1.5 Gb usage) but happened more randomly even with low ram usage. Then I had the idea to increase the swap to 2 Gb. Magic: the problem disappeared... until I started to use "fast user switch". With 2 or 3 sessions opened (even with few applications) I often loose one of them (mine...) after a resume. I tried to add another 1 Gb swap partition (3 Gb total). The problem is still present and I'm not sure if it's better with 3 Gb than with 2 Gb.
Conclusion:
1) swap seems to be used with suspend to ram, which seems abnormal
2) logout happen sometimes at resume, at least for the admin user, even with a decent swap partition.
ProblemType: Bug
Architecture: amd64
Date: Mon Jan 11 08:40:06 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelMo
Package: pm-utils 1.2.5-2ubuntu7
PackageArchitec
ProcEnviron:
LANG=fr_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: pm-utils
Uname: Linux 2.6.31-17-generic x86_64
affects: | xorg (Ubuntu) → nvidia-graphics-drivers-180 (Ubuntu) |
tags: | added: karmic |
On Monday 11,January,2010 10:19 PM, bruno wrote: Xorg.*. log.old after this
> Public bug reported:
>
> Binary package hint: pm-utils
>
> I use Ubuntu 9.10 64 bits with pm-utils 1.2.5-2ubuntu7. I don't talk about hibernation here.
> I can suspend to ram and resume, but sometimes, I have to do a new login (my session is not always saved). I didn't have this problem in Hardy 64 bits.
>
> I'm not sure, but It seems to be related to swap partition. I have 2 Gb
> RAM. Initially, I had 1 Gb swap. The problem was reproducible when more
> RAM was used (say VBox+other things for about 1.5 Gb usage) but happened
> more randomly even with low ram usage. Then I had the idea to increase
> the swap to 2 Gb. Magic: the problem disappeared... until I started to
> use "fast user switch". With 2 or 3 sessions opened (even with few
> applications) I often loose one of them (mine...) after a resume. I
> tried to add another 1 Gb swap partition (3 Gb total). The problem is
> still present and I'm not sure if it's better with 3 Gb than with 2 Gb.
>
> Conclusion:
> 1) swap seems to be used with suspend to ram, which seems abnormal
Swap is never used for suspend to ram. You must have been accidentally
hibernating. Try turning all your swaps off and then suspending to ram. If you
really are, then it will still work.
> 2) logout happen sometimes at resume, at least for the admin user, even with a decent swap partition.
You're probably noticing a crash in X (the display server) upon resume, or
perhaps even X getting OOM-killed, the common factor being X dying after a
suspend/resume cycle. Please post your /var/log/
happens, and also your /var/log/kern.log
status incomplete
--
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer