← Back to team overview

kernel-packages team mailing list archive

[Bug 1301601] Re: [Dell Latitude E7440] suspend sometimes freezes when lock screen activates

 

Console switch workaround is reliable and prevents possible hangs on
suspend when screen locking is enabled.

It's implemented with a simple script in
/etc/pm/sleep.d/99switch_to_vt1:

#!/bin/sh
# Possible workaround for bug:
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1301601
#
# Switch to a VT before suspending and back after resume

case "$1" in
    resume|thaw)
        /bin/chvt 7
    ;;
    suspend|hibernate)
        /bin/chvt 1
    ;;
esac


** Description changed:

  Closed lid, expecting laptop to suspend, but found it later hot, frozen
  and *not* suspended. (Airflow was not the best, since it was in a bag.)
  
  WORKAROUND: Hangs do not occur if the lock screen is disabled at
  suspend.
+ 
+ WORKAROUND 2: Make pm-utils switch to console before suspend (and back
+ after resume).
  
  ProblemType: KernelOops
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-21-generic 3.13.0-21.43
  ProcVersionSignature: Ubuntu 3.13.0-21.43-generic 3.13.8
  Uname: Linux 3.13.0-21-generic x86_64
  Annotation: This occured during a previous suspend and prevented it from resuming properly.
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  lightdm    1288 F.... pulseaudio
                        oyvind     1866 F.... pulseaudio
   /dev/snd/controlC1:  lightdm    1288 F.... pulseaudio
                        oyvind     1866 F.... pulseaudio
  Date: Wed Apr  2 22:46:06 2014
  ExecutablePath: /usr/share/apport/apportcheckresume
  Failure: suspend/resume
  HibernationDevice: RESUME=UUID=d913ab68-ff2c-481e-9e50-2cddfc2bfc33
  InstallationDate: Installed on 2014-04-01 (1 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
  InterpreterPath: /usr/bin/python3.4
  MachineType: Dell Inc. Latitude E7440
  ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-21-generic.efi.signed root=UUID=7255658f-91f7-4dba-b6c4-185cd810e17b ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-21-generic N/A
   linux-backports-modules-3.13.0-21-generic  N/A
   linux-firmware                             1.127
  SourcePackage: linux
  Title: [Dell Inc. Latitude E7440] suspend/resume failure
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
  
  dmi.bios.date: 02/18/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 07F3F4
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA08:bd02/18/2014:svnDellInc.:pnLatitudeE7440:pvr01:rvnDellInc.:rn07F3F4:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E7440
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

-- 
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/1301601

Title:
  [Dell Latitude E7440] suspend sometimes freezes when lock screen
  activates

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Closed lid, expecting laptop to suspend, but found it later hot,
  frozen and *not* suspended. (Airflow was not the best, since it was in
  a bag.)

  WORKAROUND: Hangs do not occur if the lock screen is disabled at
  suspend.

  WORKAROUND 2: Make pm-utils switch to console before suspend (and back
  after resume).

  ProblemType: KernelOops
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-21-generic 3.13.0-21.43
  ProcVersionSignature: Ubuntu 3.13.0-21.43-generic 3.13.8
  Uname: Linux 3.13.0-21-generic x86_64
  Annotation: This occured during a previous suspend and prevented it from resuming properly.
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  lightdm    1288 F.... pulseaudio
                        oyvind     1866 F.... pulseaudio
   /dev/snd/controlC1:  lightdm    1288 F.... pulseaudio
                        oyvind     1866 F.... pulseaudio
  Date: Wed Apr  2 22:46:06 2014
  ExecutablePath: /usr/share/apport/apportcheckresume
  Failure: suspend/resume
  HibernationDevice: RESUME=UUID=d913ab68-ff2c-481e-9e50-2cddfc2bfc33
  InstallationDate: Installed on 2014-04-01 (1 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
  InterpreterPath: /usr/bin/python3.4
  MachineType: Dell Inc. Latitude E7440
  ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-21-generic.efi.signed root=UUID=7255658f-91f7-4dba-b6c4-185cd810e17b ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-21-generic N/A
   linux-backports-modules-3.13.0-21-generic  N/A
   linux-firmware                             1.127
  SourcePackage: linux
  Title: [Dell Inc. Latitude E7440] suspend/resume failure
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

  dmi.bios.date: 02/18/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 07F3F4
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA08:bd02/18/2014:svnDellInc.:pnLatitudeE7440:pvr01:rvnDellInc.:rn07F3F4:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E7440
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

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


References