Kubuntu 12.x - resume from suspend to blank screen

Bug #1153809 reported by James
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

As discussed here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1066060

in recent releases Kubuntu at least 12.04 onwards, resuming from suspend fails and either leaves the machine in an unusable state or dumps me back at the login screen, upon logging in the session is lost. Chrome asks to restore tabs, some KDE applications that were open before do not automatically start back at their pre-suspend state (e.g Kate).

The unusable state on resume occurred in KDE 4.9, in KDE 4.10 the dump back to the login screen occurs (with a failed resume requiring a restart).

When the resume fails, there is a single white line on the black screen displaying something about DRM Nouveau for < 1s, not sure if this is just an artifact or the reason for the crash.
After that the screen goes light grey, then either shows the KDE resume login prompt quickly followed by the login screen (what you get when you boot the PC) OR it just goes to the login screen.

On rare occasions, resume works just fine although there is no rule about why it works at those times (e.g an application not resuming nicely)

I have no idea if this is a KDE bug or an Ubuntu bug.

"ubuntu-bug linux" reports attached

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-3.5.0-25-generic 3.5.0-25.39
ProcVersionSignature: Ubuntu 3.5.0-25.39-generic 3.5.7.4
Uname: Linux 3.5.0-25-generic i686
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: james 1966 F.... pulseaudio
Date: Tue Mar 12 09:23:54 2013
HibernationDevice: RESUME=UUID=7237dbcd-cef1-4b60-91b4-0980a4fdf942
InstallationDate: Installed on 2012-07-21 (233 days ago)
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MachineType: Dell Inc. XPS M1330
MarkForUpload: True
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 LANGUAGE=en_AU:en
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-25-generic root=UUID=f48aded6-4096-4c3b-ab13-37c9aa37d90e ro quiet splash vt.handoff=7
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/james not ours.
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-25-generic N/A
 linux-backports-modules-3.5.0-25-generic N/A
 linux-firmware 1.95
SourcePackage: linux
UpgradeStatus: Upgraded to quantal on 2012-11-06 (125 days ago)
dmi.bios.date: 11/19/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd11/19/2008:svnDellInc.:pnXPSM1330:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: XPS M1330
dmi.sys.vendor: Dell Inc.

Revision history for this message
James (james-ellis-gmail) wrote :
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
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.9 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-rc2-raring/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
James (james-ellis-gmail) wrote :

Hi Joseph

Before I do this, the system is running Quantal and you've mentioned a Raring kernel. What effects would this have on my (primary) machine.

Thanks
James

tags: added: kernel-fixed-upstream raring
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
James (james-ellis-gmail) wrote :

I waited for Raring to appear as I wasn't able install one of the kernels suggested in Quantal (nothing technicaly, just no time).

In 13.04, resume was completely broken - suspend worked, but resuming failed - screen completely black although I could see activity lights on disk and network. Only a hard reset got me back to a login.

I installed the v3.9-rc6-raring Kernel from

http://kernel.ubuntu.com/~kernel-ppa/mainline/

As it was the most recent one that included linux-image-extra and both suspend and resume now work.

If you require any further info, please ask, happy to help out wherever possible.

Thanks
James

Revision history for this message
penalvch (penalvch) wrote :

James, thank you for testing the mainline kernel. Could you please confirm this issue exists with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Thank you for your understanding.

tags: added: kernel-fixed-upstream-v3.9-rc6 resume suspend
tags: added: bios-outdated-a15
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
James (james-ellis-gmail) wrote :

No problems on testing the mainline kernel. Unfortunately I can't test the daily ISO as this is my main machine and I can't afford to have things go wrong on it.

Unless it's a Live CD that I can boot from ? Also the system runs Kubuntu.

Thanks
James

Revision history for this message
penalvch (penalvch) wrote :

James, the daily ISO provides a Live environment, which would be an acceptable testing scenario. While Kubuntu doesn't have a daily at the moment, this would be irrelevant as the issue would be a kernel one, not user space.

Revision history for this message
Artanis (art-root) wrote :

Same problem here - I'm using Dell D630. I've installed Kubuntu 12.04 a few months ago and suspend & hibernate worked fine. About a month ago, maybe less, after system update problem occured. Yesterday I reinstalled entire system to Kubuntu 13.04 and resume after suspend also resulted in blank screen. I tried run full system upgrade - currently got kernel 3.8.0-23-generic and resume still doesn't work.

I got same issues as James - resume from suspend results in blank screen, activity lights, keybard and mouse doesn't work and laptop doesn't response to any SSH connection attempts.

Revision history for this message
penalvch (penalvch) wrote :

Artanis, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

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.