Ubuntu

System crashes when trying to suspend

Reported by Sarmad Khalid on 2012-04-21
50
This bug affects 13 people
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Undecided
Unassigned

Bug Description

Suspend to ram causes the system to crash. The screen goes black but it stays on and it becomes unresponsive. The only way afterwards is to do a hard reset. Problem happens whether you suspend from the menu or from command line or from the System Testing tool. Problem happens before update and even after bringing the system up to date.

This is happening on this Samsung Series 7 laptop:
http://www.samsung.com/ca/consumer/office/mobile-computing/notebook/NP700Z5A-S04CA-spec

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pm-utils 1.4.1-9
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
CheckboxCommand: sleep_test -d
CheckboxTest: suspend/suspend_advanced
Date: Fri Apr 20 19:41:39 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_CA.UTF-8
 LANGUAGE=en_CA:en
SourcePackage: pm-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Sarmad Khalid (sarmadka) wrote :
Sarmad Khalid (sarmadka) on 2012-04-21
description: updated
Sarmad Khalid (sarmadka) wrote :

After lots of experiments I found out that the problem is with the xhci_hcd module. The strange thing is that other people with the same laptop model didn't encounter the same issue. The following script fixed it (placed under /etc/pm/sleep.d/):

EHCI_BUSES="0001:00:1a.0 0000:00:1d.0"
XHCI_BUSES="0000:04:00.0"
case "${1}" in
    hibernate|suspend)
        # Switch USB buses off
        for bus in $EHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/unbind
        done
        for bus in $XHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/xhci_hcd/unbind
        done
        ;;
    resume|thaw)
        # Switch USB buses back on
        for bus in $EHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/bind
        done
        for bus in $XHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/xhci_hcd/bind
        done
        ;;
esac

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pm-utils (Ubuntu):
status: New → Confirmed
Sicco van Sas (sicco) wrote :

I also have this problem in 12.04 beta 2 (not sure if it happens in other versions as well). It happens on an Asus N53SV-S1827V. Suspend results in a non-responsive black screen but the laptop stays on. The only way out is by shutting the laptop down using the power button. I fixed this using the code shown in Step 2: http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers