Ubuntu freezes when suspending (to RAM)

Bug #1457447 reported by Francisco Cribari
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
High
Unassigned

Bug Description

I installed Ubuntu 15.04 on a DELL XPS 13 notebook (2015 edition, model 9343, bios A03, dual boot w/ Windows). I am having an annoying problem. Oftentimes Ubuntu crashes/freezes when I try to suspend (to RAM). I have already reinstalled Ubuntu (fresh reinstall) but the problem persists. I ran the bios diagnostic check (even the extended one) and no hardware problems were detected. I also ran a memory check via Windows and again no memory problems were detected.

The problem: Sometimes when I try to suspend the computer freezes: the screen turns blank and the CAPS LOCK key indicator blinks. I am unable to ssh into the machine. The problem also happened with previous kernels.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-18-generic 3.19.0-18.18
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: cribari 1698 F.... pulseaudio
CurrentDesktop: Unity
Date: Thu May 21 08:49:19 2015
HibernationDevice: RESUME=UUID=cd3c9665-089d-424b-8ebb-991b8698fbcd
InstallationDate: Installed on 2015-05-19 (2 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Dell Inc. XPS 13 9343
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-18-generic.efi.signed root=UUID=f64987a0-2ebc-4767-a391-6c3deae6c764 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-18-generic N/A
 linux-backports-modules-3.19.0-18-generic N/A
 linux-firmware 1.143.1
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/25/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.name: 0310JH
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd03/25/2015:svnDellInc.:pnXPS139343:pvr01:rvnDellInc.:rn0310JH:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: XPS 13 9343
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
Francisco Cribari (cribari) wrote :
Revision history for this message
Francisco Cribari (cribari) wrote :

After installing Ubuntu, I did the following (for my bluetooth to work):

wget https://www.dropbox.com/s/r2pb41rhx65t9zi/BCM20702A0-0a5c-216f.hcd
sudo cp BCM20702A0-0a5c-216f.hcd /lib/firmware/brcm/
sudo modprobe -r btusb
sudo modprobe btusb

Revision history for this message
Francisco Cribari (cribari) wrote :
Download full text (8.3 KiB)

After a successul suspend and resume this is what dmesg shows me:

[ 327.042845] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 327.455900] PM: Syncing filesystems ... done.
[ 327.548030] PM: Preparing system for mem sleep
[ 327.548268] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 327.550015] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 327.551240] PM: Entering mem sleep
[ 327.551255] Suspending console(s) (use no_console_suspend to debug)
[ 327.552473] sd 3:0:0:0: [sda] Synchronizing SCSI cache
[ 327.560626] sd 3:0:0:0: [sda] Stopping disk
[ 327.752394] psmouse serio1: Failed to disable mouse on isa0060/serio1
[ 328.188660] PM: suspend of devices complete after 636.720 msecs
[ 328.228682] PM: late suspend of devices complete after 39.976 msecs
[ 328.229156] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
[ 328.229197] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[ 328.245002] PM: noirq suspend of devices complete after 16.304 msecs
[ 328.245333] ACPI: Preparing to enter system sleep state S3
[ 328.264869] PM: Saving platform NVS memory
[ 328.264888] Disabling non-boot CPUs ...
[ 328.264909] intel_pstate CPU 1 exiting
[ 328.266052] kvm: disabling virtualization on CPU1
[ 328.266057] smpboot: CPU 1 is now offline
[ 328.266330] intel_pstate CPU 2 exiting
[ 328.267460] kvm: disabling virtualization on CPU2
[ 328.267466] smpboot: CPU 2 is now offline
[ 328.267679] intel_pstate CPU 3 exiting
[ 328.267771] Broke affinity for irq 21
[ 328.267776] Broke affinity for irq 43
[ 328.267778] Broke affinity for irq 44
[ 328.267781] Broke affinity for irq 46
[ 328.268788] kvm: disabling virtualization on CPU3
[ 328.268801] smpboot: CPU 3 is now offline
[ 328.270420] ACPI: Low-level resume complete
[ 328.270471] PM: Restoring platform NVS memory
[ 328.270863] Enabling non-boot CPUs ...
[ 328.270897] x86: Booting SMP configuration:
[ 328.270898] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 328.282914] kvm: enabling virtualization on CPU1
[ 328.285135] CPU1 is up
[ 328.285152] smpboot: Booting Node 0 Processor 2 APIC 0x1
[ 328.297147] kvm: enabling virtualization on CPU2
[ 328.299343] CPU2 is up
[ 328.299357] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 328.311351] kvm: enabling virtualization on CPU3
[ 328.313541] CPU3 is up
[ 328.317166] ACPI: Waking up from system sleep state S3
[ 329.532976] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
[ 329.543963] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[ 329.544009] PM: noirq resume of devices complete after 28.343 msecs
[ 329.567696] PM: early resume of devices complete after 23.638 msecs
[ 329.569450] rtc_cmos 00:01: System wakeup disabled by ACPI
[ 329.570100] sd 3:0:0:0: [sda] Starting disk
[ 329.752391] cfg80211: Calling CRDA to update world regulatory domain
[ 329.887918] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 329.888197] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ 329.890006] ata4.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 329.890268] ata4.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 329.890299] ata4.00: configured for ...

Read more...

Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
penalvch (penalvch) wrote :

Francisco Cribari, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where XY and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-a03
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Francisco Cribari (cribari) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.