[Bug 610048] [NEW] suspend doesn’t work most of the time

Bogdan Butnaru 610048 at bugs.launchpad.net
Mon Jul 26 12:01:21 UTC 2010


Public bug reported:

Hi! I’ve been having trouble with suspend ever since I updated to 10.4.
(IIRC 9.10 worked OK.)

When I click suspend, things start as normal: the screen goes dark after
a few seconds. After a few seconds more, the screen goes to text mode;
there’s a cursor blinking in the top-left corner. It stays like this for
20–30 seconds, then a message flashes for an instant, and then I get the
password prompt from the screensaver (just the blank screen, actually).

This happens almost every time at the first suspend attempt. Most of the
time if I try again it works, but sometimes it takes more tries. (More
often I give up and just shut down.)

Today I managed to capture the message on camera:

***************
[24591.910011] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze):
[24591:922041] gvfsd-trash
_ (←cursor)


(much lower on the screen:)

[illegible] ethernet                         failed (←on the right edge)

***************

I should mention that I’m using SSHFS to keep some parts of my
fileserver mounted most of the time. SSHFS tends to interfere with
suspend (and the network going up and down), so I have a little script
in /etc/network/if-{down|up}.d that mounts and unmounts everything when
the network status changes. I mention this because I noticed that the
trash view is a bit slow whenever the SSHFS mounts are on (presumably
because it has to search for trash there, too). Since the mountpoints go
away when the network is turned off right before suspend, gvfsd-trash
might be doing something that just takes too long. Perhaps retries work
because the remote filesystems don’t have time to get mounted yet, or
something similar.

I’ve been looking for suspend logs and system messages but couldn’t find
anything. Also, I tried the mainline kernel a while ago (because of
another issue), and it didn’t seem to affect this. Maybe someone has
ideas for further debugging?

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-24-generic 2.6.32-24.38
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC2:  bogdanb    1774 F.... pulseaudio
 /dev/snd/controlC0:  bogdanb    1774 F.... pulseaudio
 /dev/snd/controlC1:  bogdanb    1774 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Headset'/'Logitech Logitech Wireless Headset at usb-0000:00:1d.0-2, full speed'
   Mixer name	: 'USB Mixer'
   Components	: 'USB046d:0a12'
   Controls      : 4
   Simple ctrls  : 2
Card1.Amixer.info:
 Card hw:1 'Q9000'/'Logitech, Inc. QuickCam Pro 9000 at usb-0000:00:1d.7-6, high speed'
   Mixer name	: 'USB Mixer'
   Components	: 'USB046d:0990'
   Controls      : 2
   Simple ctrls  : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 3072
   Mono: Capture 3072 [100%] [30.00dB] [on]
Card2.Amixer.info:
 Card hw:2 'Intel'/'HDA Intel at 0xf9ff8000 irq 22'
   Mixer name	: 'Realtek ALC1200'
   Components	: 'HDA:10ec0888,104382fe,00100101'
   Controls      : 40
   Simple ctrls  : 22
Date: Mon Jul 26 13:39:50 2010
EcryptfsInUse: Yes
HibernationDevice: RESUME=/dev/sdb2
IwConfig:
 lo        no wireless extensions.
 
 eth0      no wireless extensions.
MachineType: System manufacturer P5Q-PRO
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=/dev/sda1 ro vga=892
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
RfKill:
 
SourcePackage: linux
UserAsoundrc:
 # ALSA library configuration file
 
 # Include settings that are under the control of asoundconf(1).
 # (To disable these settings, comment out this line.)
 </home/bogdanb/.asoundrc.asoundconf>
WpaSupplicantLog:
 
dmi.bios.date: 11/04/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1501
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5Q-PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1501:bd11/04/2008:svnSystemmanufacturer:pnP5Q-PRO:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5Q-PRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5Q-PRO
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid needs-upstream-testing regression-potential resume suspend

-- 
suspend doesn’t work most of the time
https://bugs.launchpad.net/bugs/610048
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list