← Back to team overview

kernel-packages team mailing list archive

[Bug 1238678] Re: Double suspend to ram and system malfunction after 2nd sleep.

 

In my case,  here is a scenario to reproduce it.

- Have the laptop configured to suspend upon lowering the lid. 
- Suspend the laptop with other means, such as <fn><suspend key>, going through the Unity menu or on a terminal sending 'sudo bash -c "echo mem >/sys/power/state', 
- Immediately after the previous step, before the computer has actually suspended, close the lid.

This sequence of events sends two 'suspend' signals.  Thus when resuming
from the first one, the system suspends again.

The fix:  The kernel / OS should ignore a suspend/hibernate/poweroff
request if any of these is already in progress.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1238678

Title:
  Double suspend to ram and system malfunction after 2nd sleep.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After one or two  successful suspend-to-ram cycles the system wakes up
  and immediately goes back to sleep. After this double suspend, some
  systems like rfkill, for example, will only work after a reboot.

  Steps in which I can consistently reproduce the bug:
  1. suspend to RAM;
  2. Wake up the computer;
  3. Repeat 1. and 2. two or more times (sometimes is one cycle, sometimes it's two cycles and I even went 4 cycles without incidents only to have this behaviour on the 5th.)

  The double suspend behaviour seems to happen more consistently if a
  long time (a day or so) goes by between the suspend and the resume.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-3.11.0-12-generic 3.11.0-12.18
  ProcVersionSignature: Ubuntu 3.11.0-12.18-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu1
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  lacsilva   4364 F.... pulseaudio
   /dev/snd/controlC0:  lacsilva   4364 F.... pulseaudio
  Date: Fri Oct 11 14:37:39 2013
  HibernationDevice: RESUME=UUID=cd871376-0405-4aa9-a824-6643baad5594
  InstallationDate: Installed on 2012-07-20 (447 days ago)
  InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120627)
  Lsusb:
   Bus 002 Device 003: ID 04f2:b044 Chicony Electronics Co., Ltd Acer CrystalEye Webcam
   Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Acer Aspire 5740
  MarkForUpload: True
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-12-generic root=UUID=8652aded-5fcc-4ed8-9334-dbec7c1b985d ro radeon.audio=1 radeon.dpm=1 splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-12-generic N/A
   linux-backports-modules-3.11.0-12-generic  N/A
   linux-firmware                             1.116
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: Upgraded to saucy on 2013-09-06 (34 days ago)
  dmi.bios.date: 11/26/2009
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: V1.09
  dmi.board.name: Aspire 5740
  dmi.board.vendor: Acer
  dmi.board.version: Rev
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: Rev
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.09:bd11/26/2009:svnAcer:pnAspire5740:pvrRev:rvnAcer:rnAspire5740:rvrRev:cvnAcer:ct10:cvrRev:
  dmi.product.name: Aspire 5740
  dmi.product.version: Rev
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1238678/+subscriptions


References