Suspend problem —not the usual, not a resume failure

Questions about hardware and drivers
Forum rules
Before you post please read this

Suspend problem —not the usual, not a resume failure

Postby Sanva on Fri Dec 14, 2012 8:22 am

Hi all,

I've recently installed Linux on a laptop and I'm having issues with suspension, and it's a feature I really need. And the problem is not the usual that I can see in a lot of forums: It is not that I can suspend but can't awake from suspension. Is just that my system refuses to suspend at all.

Executing pm-suspend on a terminal starts a visible process and the screen goes black for a moment, but then it turns on again and shows me the desktop.

I've tried lots of things,


The system I'm using now is LMDE with MATE 1.4.0 —let me show you some command outputs that could help you help me (:

Code: Select all
valentin@laptop-lmde ~ $ uname -a
Linux laptop-lmde 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64 GNU/Linux

valentin@laptop-lmde ~ $ sudo rm /var/log/pm-suspend.log

valentin@laptop-lmde ~ $ sudo pm-suspend //This is done over SSH and this command hangs from the client, I can see a visual process in the server (laptop-lmde) while it is trying to suspend, the screen goes black for a second and then it goes back to normal screen, and in that moment pm-suspend seems to end so I can continue issuing commands from SSH client.

valentin@laptop-lmde ~ $ cat /var/log/pm-suspend.log
Initial commandline parameters:
vie dic 14 12:48:03 CET 2012: 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 laptop-lmde 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64 GNU/Linux
Module                  Size  Used by
cryptd                 14517  0
aes_x86_64             16796  1
aes_generic            33026  1 aes_x86_64
cpufreq_stats          12866  0
cpufreq_powersave      12454  0
cpufreq_conservative    13147  0
cpufreq_userspace      12576  0
ppdev                  12763  0
lp                     17149  0
bnep                   17567  2
rfcomm                 33656  10
binfmt_misc            12957  1
fuse                   61981  1
loop                   22641  0
dm_crypt               22586  0
dm_mod                 63545  1 dm_crypt
btusb                  17502  2
uvcvideo               57744  0
videodev               70889  1 uvcvideo
v4l2_compat_ioctl32    16655  1 videodev
media                  18148  2 videodev,uvcvideo
bluetooth             119406  23 btusb,rfcomm,bnep
joydev                 17266  0
arc4                   12458  2
snd_hda_codec_realtek   188797  1
fglrx                3199273  148
pcmcia                 32691  0
iwl4965                83518  0
snd_hda_intel          26345  2
iwl_legacy             48145  1 iwl4965
mac80211              192768  2 iwl_legacy,iwl4965
snd_hda_codec          78031  2 snd_hda_intel,snd_hda_codec_realtek
cfg80211              137140  3 mac80211,iwl_legacy,iwl4965
i2c_i801               16870  0
i2c_core               23876  2 i2c_i801,videodev
acpi_cpufreq           12935  1
mperf                  12453  1 acpi_cpufreq
parport_pc             22364  1
parport                31858  3 parport_pc,lp,ppdev
yenta_socket           22899  0
pcmcia_rsrc            17533  1 yenta_socket
acer_wmi               26081  0
pcmcia_core            18294  3 pcmcia_rsrc,yenta_socket,pcmcia
iTCO_wdt               17081  0
sparse_keymap          12760  1 acer_wmi
iTCO_vendor_support    12704  1 iTCO_wdt
rfkill                 19012  6 acer_wmi,cfg80211,bluetooth
snd_hwdep              13186  1 snd_hda_codec
snd_pcm_oss            41081  0
snd_mixer_oss          17916  1 snd_pcm_oss
snd_pcm                63900  3 snd_pcm_oss,snd_hda_codec,snd_hda_intel
snd_page_alloc         13003  2 snd_pcm,snd_hda_intel
snd_seq_midi           12848  0
snd_seq_midi_event     13316  1 snd_seq_midi
snd_rawmidi            23060  1 snd_seq_midi
coretemp               12898  0
psmouse                64455  0
evdev                  17562  16
serio_raw              12931  0
pcspkr                 12579  0
snd_seq                45093  2 snd_seq_midi_event,snd_seq_midi
battery                13109  0
ac                     12624  0
power_supply           13475  2 ac,battery
snd_seq_device         13176  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              22917  2 snd_seq,snd_pcm
snd                    52850  15 snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
tpm_tis                17454  0
tpm                    17862  1 tpm_tis
tpm_bios               12948  1 tpm
video                  17628  0
processor              28157  3 acpi_cpufreq
container              12581  0
soundcore              13065  1 snd
wmi                    13243  1 acer_wmi
button                 12937  1 fglrx
ext4                  350411  2
crc16                  12343  2 ext4,bluetooth
jbd2                   62015  1 ext4
mbcache                13065  1 ext4
btrfs                 505480  0
crc32c                 12656  1
libcrc32c              12426  1 btrfs
zlib_deflate           25638  1 btrfs
sr_mod                 21899  0
cdrom                  35401  1 sr_mod
sd_mod                 36136  4
crc_t10dif             12348  1 sd_mod
ata_generic            12479  0
sdhci_pci              17976  0
firewire_ohci          35772  0
thermal                17383  0
ata_piix               29535  0
fan                    12674  0
thermal_sys            18040  4 fan,thermal,processor,video
firewire_core          48407  1 firewire_ohci
crc_itu_t              12347  1 firewire_core
ahci                   24997  3
libahci                22860  1 ahci
sdhci                  27053  1 sdhci_pci
mmc_core               72460  2 sdhci,sdhci_pci
uhci_hcd               26865  0
libata                140589  4 libahci,ahci,ata_piix,ata_generic
ehci_hcd               40215  0
scsi_mod              162372  3 libata,sd_mod,sr_mod
usbcore               128498  5 ehci_hcd,uhci_hcd,uvcvideo,btusb
usb_common             12354  1 usbcore
e1000e                120822  0
             total       used       free     shared    buffers     cached
Mem:       3996744     676384    3320360          0      44296     269752
-/+ buffers/cache:     362336    3634408
Swap:      2056188          0    2056188

/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 /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate 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:
Selected interface 'wlan0'
OK

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

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:

/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
ATI Catalyst driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
vie dic 14 12:48:04 CET 2012: performing suspend
vie dic 14 12:48:14 CET 2012: Awake.
vie dic 14 12:48:14 CET 2012: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend:

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)
 APM_level    = 254

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)
 APM_level    = 254

/usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend:
Selected interface 'wlan0'
OK

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
Having NetworkManager wake interfaces back up...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

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

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:

/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.
vie dic 14 12:48:14 CET 2012: Finished.

valentin@laptop-lmde ~ $ inxi -Fc 0
System:    Host laptop-lmde Kernel 3.2.0-3-amd64 x86_64 (64 bit) Distro Linux Mint Debian Edition
CPU:       Dual core Intel Core2 Duo T7300 (-MCP-) cache 4096 KB flags (lm nx sse sse2 sse3 ssse3 vmx) bmips 7978.48
           Clock Speeds: (1) 800.00 MHz (2) 800.00 MHz
Graphics:  Card Advanced Micro Devices [AMD] nee ATI Radeon HD 2400 XT X.org 2) Res: 80x24 Gfx Data: N/A out of X
Audio:     Card Intel 82801H (ICH8 Family) HD Audio Controller driver snd_hda_intel BusID: 00:1b.0
           Sound: Advanced Linux Sound Architecture Version 1.0.24
Network:   Card-1 Intel PRO/Wireless 4965 AG or AGN [Kedron] Network Connection driver iwl4965 v: in-tree: BusID: 06:00.0
           Card-2 Intel 82566MM Gigabit Network Connection driver e1000e v: 1.5.1-k at port 1840 BusID: 00:19.0
Disks:     HDD Total Size: 500.1GB (1.4% used) 1: /dev/sda WDC_WD5000BEVT 500.1GB
Partition: ID:/ size: 28G used: 6.8G (26%) fs: rootfs ID:/ size: 28G used: 6.8G (26%) fs: ext4
           ID:/home size: 436G used: 6.7G (2%) fs: ext4 ID:swap-1 size: 2.11GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 61.0C mobo: 49.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes 141 Uptime 12 min Memory 327.4/3903.1MB Runlevel 2 Client Shell inxi 1.4.23


I can't see anything weird... But, as I've said, I think that it is something related to the graphics card, since with Linux Mint 14 and without fgrlx it works well —but it seems to not be an option since that way I have very poor graphics, I can't even read decently :S

Thanks a lot for reading, and for your help in advance —which I certainly need.
Last edited by Aging Technogeek on Fri Dec 14, 2012 11:36 pm, edited 1 time in total.
Reason: Change "Quote" tags to "Code" tags for improved readability.
Sanva
Level 1
Level 1
 
Posts: 46
Joined: Fri Aug 15, 2008 4:31 am

Linux Mint is funded by ads and donations.
 

Re: Suspend problem —not the usual, not a resume failure

Postby killer de bug on Fri Dec 14, 2012 9:30 am

You have 4Gb of Ram but only 2Gb of Swap.

For me that's the problem but I would wait for some confirmation... :wink:
If I have seen further it is by standing on the shoulders of giants. [Isaac Newton]
User avatar
killer de bug
Level 6
Level 6
 
Posts: 1088
Joined: Tue Jul 08, 2008 1:49 pm
Location: France

Re: Suspend problem —not the usual, not a resume failure

Postby Sanva on Fri Dec 14, 2012 10:33 am

Hi killer the bug,

Thanks for your help, but that's not the problem— I've resized the swap partition with no changes in the suspend behavior :(

valentin@laptop-lmde ~ $ inxi -Fc 0
System: Host laptop-lmde Kernel 3.2.0-3-amd64 x86_64 (64 bit) Distro Linux Mint Debian Edition
CPU: Dual core Intel Core2 Duo T7300 (-MCP-) cache 4096 KB flags (lm nx sse sse2 sse3 ssse3 vmx) bmips 7979.6
Clock Speeds: (1) 2001.00 MHz (2) 2001.00 MHz
Graphics: Card Advanced Micro Devices [AMD] nee ATI Radeon HD 2400 XT X.org 2) Res: 80x24 Gfx Data: N/A out of X
Audio: Card Intel 82801H (ICH8 Family) HD Audio Controller driver snd_hda_intel BusID: 00:1b.0
Sound: Advanced Linux Sound Architecture Version 1.0.24
Network: Card-1 Intel PRO/Wireless 4965 AG or AGN [Kedron] Network Connection driver iwl4965 v: in-tree: BusID: 06:00.0
Card-2 Intel 82566MM Gigabit Network Connection driver e1000e v: 1.5.1-k at port 1840 BusID: 00:19.0
Disks: HDD Total Size: 500.1GB (1.4% used) 1: /dev/sda WDC_WD5000BEVT 500.1GB
Partition: ID:/ size: 28G used: 6.8G (26%) fs: rootfs ID:/ size: 28G used: 6.8G (26%) fs: ext4
ID:/home size: 434G used: 6.7G (2%) fs: ext4 ID:swap-1 size: 4.20GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 64.0C mobo: 54.0C
Fan Speeds (in rpm): cpu: N/A
Info: Processes 149 Uptime 3 min Memory 362.3/3903.1MB Runlevel 2 Client Shell inxi 1.4.23
Sanva
Level 1
Level 1
 
Posts: 46
Joined: Fri Aug 15, 2008 4:31 am


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 3 guests