cannot suspend when using xorg 'dummy' driver

Bug #846613 reported by James
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I use an headless server using xorg's 'dummy' driver (http://ubuntuforums.org/showpost.php?p=11183945&postcount=1).

If I change a single line in my xorg config to use the 'vesa' driver, suspend works great, it wakes up, it can even wake on lan all fine. If I use the 'dummy' driver it halts somewhere after network is suspended but before video is suspended because if I plug in a monitor the ubuntu (studio) splash screen shows.

I run 'suspend' from the gnome menu, but the same happens with pm-suspend from the command line (and also pm-suspend-hybrid and pm-hibernate)

1)
Description: Ubuntu 11.04
Release: 11.04
2)
pm-utils:
  Installed: 1.4.1-7
  Candidate: 1.4.1-7
  Version table:
 *** 1.4.1-7 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status
3) The computer should sleep and wake up correctly as it does when xorg.conf has the 'vesa' driver enabled.
4) It gets stuck somewhere along the way. Here is the relevant portion of /var/log/pm-suspend.log:
_______
Sat Sep 10 14:45:26 EDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:

/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux bach 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64
x86_64 x86_64 GNU/Linux
Module Size Used by
snd_hrtimer 12784 1
binfmt_misc 17565 1
parport_pc 36959 0
ppdev 17113 0
vesafb 13761 1
snd_ice1712 75586 3
snd_ice17xx_ak4xxx 13315 1 snd_ice1712
snd_ak4xxx_adda 18868 2 snd_ice1712,snd_ice17xx_ak4xxx
snd_cs8427 14293 1 snd_ice1712
snd_ac97_codec 134270 1 snd_ice1712
snd_pcm 96391 3 snd_ice1712,snd_ac97_codec
snd_page_alloc 18529 1 snd_pcm
ac97_bus 12730 1 snd_ac97_codec
snd_i2c 14151 2 snd_ice1712,snd_cs8427
snd_mpu401_uart 14169 1 snd_ice1712
snd_seq_midi 13324 0
snd_rawmidi 30486 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 14899 1 snd_seq_midi
snd_seq 61621 3 snd_seq_midi,snd_seq_midi_event
i915 515121 0
snd_timer 29602 3 snd_hrtimer,snd_pcm,snd_seq
psmouse 73535 0
snd_seq_device 14462 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 67382 17 snd_ice1712,snd_ak4xxx_adda,snd_cs8427,snd_ac97
_codec,snd_pcm,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_dev
ice
drm_kms_helper 42136 1 i915
serio_raw 13166 0
soundcore 12680 1 snd
drm 227534 2 i915,drm_kms_helper
i2c_algo_bit 13400 1 i915
video 19438 1 i915
lp 17825 0
parport 46458 3 parport_pc,ppdev,lp
usbhid 46956 0
hid 91020 1 usbhid
atl1c 41171 0
             total used free shared buffers cached
Mem: 4046716 594616 3452100 0 57344 206260
-/+ buffers/cache: 331012 3715704
Swap: 4190204 0 4190204

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend:
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>>
/usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend: success.
Running hook /etc/pm/sleep.d/10_grub-common suspend suspend:

/etc/pm/sleep.d/10_grub-common suspend suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
Running hook /etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend:
0000:00:1a.0tee: /sys/bus/pci/drivers/ehci_hcd/unbind: No such device
0000:00:1d.0tee: /sys/bus/pci/drivers/ehci_hcd/unbind: No such device

/etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend su
__________

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: pm-utils 1.4.1-7
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
Architecture: amd64
Date: Sat Sep 10 15:10:16 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pm-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James (morris-570) wrote :
description: updated
Revision history for this message
James (morris-570) wrote :

I found a workaround:

PROBABLY NOT RELEVANT:
Again I am running ubuntu studio, so I removed the theme package 'apt-get remove --purge plymouth-theme-ubuntustudio'
and tested with the stock ubuntu theme and it still didn't work.

THE WORKAROUND:
Removing the splashscreen seems to have resolved my issue:
In the file /etc/default/grub I changed

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"

and then ran 'update-grub'.

Again, this seems more like a workaround than the actual fix.

Revision history for this message
James Page (james-page) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a newer Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 846613 and any other logs that are relevant for this particular issue.

Changed in pm-utils (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in pm-utils (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.