[Bug 502377] [NEW] Ubuntu wakes up and immediately shuts down

gpk gpk at kochanski.org
Sat Jan 2 17:39:09 UTC 2010


Public bug reported:

Binary package hint: powernowd

Twice in a row, I've seen this with Karmic:

I use the laptop, plugged in, and close the lid.   Put it away, still
plugged in and powered.

I unplug it, walk to a chair, open it.      I see a blank screen.
I hit the shift key.
Ubuntu then wakes up and immediately begins a shutdown (or perhaps a hibernation).  Before my very eyes, it turns off.

I then need to hit the power button (which was darn, *not* blinking), to
get it to boot.  Soon, I am up and running again, but I should not have
needed to reboot.

The bug involves the unintended shutdown.

Settings: In System->preferences->power management-> "On AC Power", "when laptop lid is closed" is set to "suspend".
In "On Battery", "when laptop lid is closed" is set to "shutdown".      So, it all makes a fair amount of sense; it's just doing the wrong thing.

I would guess that it senses the laptop lid is closed, and stores that
information when suspend happens.   When it wakes, it probably still has
the "lid closed" flag set, initially.   Before it unsets that flag,
though, it notices the "On Battery" flag, and says "Whoops! I should be
shutting down."    In other words, it looks like a race condition
between the "On Battery" flag and the "lid closed " flag.

ProblemType: Bug
Architecture: amd64
Date: Sat Jan  2 17:25:31 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: powernowd (not installed)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: powernowd
Uname: Linux 2.6.31-17-generic x86_64

** Affects: powernowd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
Ubuntu wakes up and immediately shuts down
https://bugs.launchpad.net/bugs/502377
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list