System crashes when trying to suspend

Bug #986458 reported by Sarmad Khalid on 2012-04-21
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

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:

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
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"
case "${1}" in
        # Switch USB buses off
        for bus in $EHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/unbind
        for bus in $XHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/xhci_hcd/unbind
        # Switch USB buses back on
        for bus in $EHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/bind
        for bus in $XHCI_BUSES; do
            echo -n $bus > /sys/bus/pci/drivers/xhci_hcd/bind

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:

Sarmad Khalid, could you please execute the following via a terminal in order for the necessary debugging information to be attached:
apport-collect 986458

affects: pm-utils (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers