You are not logged in.

#1 2011-09-09 04:56:17

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

[Solved] Suspend to Ram hangs with blank screen

I have been unable to get suspend to ram to work.  Every attempt ends with the system freezing right at the end of the process with a blank screen and an unblinking cursor in the upper left corner.  I have checked the pm-suspend logs and there is no indication of any error.  I have tried pm-suspend and {echo "mem" > /sys/power/state} with there being no change in the results.

After going through the forum, I found a similar problem here and here.  Both of these indicated that the problem was the virtualbox module, but I do not have virtualbox installed.  Another suggestion from  these threads was the "iwlagn" module, but I didn't find this module listed in lsmod either.  I suspect from the behavior that it is indeed a module, but since pm-suspend log offers no hints on which it might be, I am at a loss as to how to resolve it.  Is there any way to figure this out than by suspending one module at a time and hard shutdown my computer from its failed suspend until I find the right one?

System info:

System:    Host: laptop Kernel: 3.0-ARCH x86_64 (64 bit, gcc: 4.6.1) Desktop dwm 5.9 Distro: Arch Linux
Machine:   System: PEGATRON (portable) product: A15 version: 1.0
           Mobo: PEGATRON model: A15 version: 1.0 Bios: American Megatrends version: 210 date: 05/06/2011
CPU:       Quad core Intel Core i7-2630QM CPU (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15970.5 
           Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz 3: 800.00 MHz 4: 800.00 MHz 5: 800.00 MHz 6: 800.00 MHz 7: 800.00 MHz 8: 800.00 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0 
           X.Org: 1.10.3.901 driver: intel Resolution: 1366x768@60.0hz 
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 2.1 Mesa 7.11 Direct Rendering: Yes
Network:   Card-1: Atheros Device 1083 driver: atl1c ver: 1.0.1.0-NAPI port: a000 bus-ID: 04:00.0
           IF: eth0 state: down speed: N/A duplex: N/A mac: e0:69:95:c5:4a:b7
           Card-2: Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 02:00.0
           IF: wlan0 state: up mac: e0:91:53:53:4c:8b
Drives:    HDD Total Size: 320.1GB (0.2% used) 1: TOSHIBA_MK3256GS

lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
04:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)

lsmod:

Module                  Size  Used by
ipv6                  290791  42 
coretemp                5947  0 
ext2                   64314  1 
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_conexant    46356  1 
arc4                    1410  2 
btusb                  11577  0 
bluetooth             139297  1 btusb
uvcvideo               64963  0 
ath9k                  86536  0 
mac80211              216021  1 ath9k
snd_hda_intel          22122  0 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
videodev               78006  1 uvcvideo
ath9k_common            1770  1 ath9k
ath9k_hw              275564  2 ath9k,ath9k_common
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
i915                  707339  2 
drm_kms_helper         25409  1 i915
ath                    14667  2 ath9k,ath9k_hw
evdev                   9530  6 
serio_raw               4294  0 
drm                   183380  3 i915,drm_kms_helper
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  7 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6146  1 snd
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
cfg80211              160740  3 ath9k,mac80211,ath
atl1c                  32528  0 
mei                    31313  0 
psmouse                55192  0 
iTCO_wdt               12717  0 
pcspkr                  1819  0 
intel_agp              10904  1 i915
i2c_algo_bit            5199  1 i915
i2c_i801                8187  0 
intel_gtt              14423  3 i915,intel_agp
wmi                     8347  0 
iTCO_vendor_support     1929  1 iTCO_wdt
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
sg                     25557  0 
thermal                 7863  0 
video                  11228  1 i915
ac                      3265  0 
battery                10905  0 
button                  4470  1 i915
rfkill                 15402  2 bluetooth,cfg80211
cpufreq_ondemand        6132  8 
acpi_cpufreq            5877  1 
freq_table              2451  2 cpufreq_ondemand,acpi_cpufreq
processor              24256  1 acpi_cpufreq
mperf                   1275  1 acpi_cpufreq
ext4                  370398  2 
mbcache                 5817  2 ext2,ext4
jbd2                   71074  1 ext4
crc16                   1297  2 bluetooth,ext4
sr_mod                 14951  0 
cdrom                  36329  1 sr_mod
sd_mod                 28307  5 
xhci_hcd               70396  0 
ahci                   20865  4 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
ehci_hcd               39511  0 
usbcore               142576  5 btusb,uvcvideo,xhci_hcd,ehci_hcd

pm-suspend.log:

Initial commandline parameters: 
Thu Sep  8 13:47:33 CDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux laptop 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz GenuineIntel GNU/Linux
Module                  Size  Used by
appletalk              26298  0 
ipx                    20395  0 
p8022                   1171  1 ipx
psnap                   1973  2 appletalk,ipx
llc                     3761  2 p8022,psnap
p8023                   1068  1 ipx
ipv6                  290791  44 
coretemp                5947  0 
ext2                   64314  1 
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_conexant    46356  1 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
arc4                    1410  2 
mei                    31313  0 
btusb                  11577  0 
ath9k                  86536  0 
snd_hda_intel          22122  0 
i915                  707339  2 
mac80211              216021  1 ath9k
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
drm_kms_helper         25409  1 i915
drm                   183380  3 i915,drm_kms_helper
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  7 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6146  1 snd
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
intel_agp              10904  1 i915
i2c_algo_bit            5199  1 i915
intel_gtt              14423  3 i915,intel_agp
evdev                   9530  6 
i2c_i801                8187  0 
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
bluetooth             139297  1 btusb
iTCO_wdt               12717  0 
iTCO_vendor_support     1929  1 iTCO_wdt
ath9k_common            1770  1 ath9k
ath9k_hw              275564  2 ath9k,ath9k_common
serio_raw               4294  0 
ath                    14667  2 ath9k,ath9k_hw
psmouse                55192  0 
atl1c                  32528  0 
cfg80211              160740  3 ath9k,mac80211,ath
rfkill                 15402  2 bluetooth,cfg80211
wmi                     8347  0 
sg                     25557  0 
video                  11228  1 i915
battery                10905  0 
thermal                 7863  0 
ac                      3265  0 
button                  4470  1 i915
pcspkr                  1819  0 
cpufreq_ondemand        6132  8 
acpi_cpufreq            5877  1 
freq_table              2451  2 cpufreq_ondemand,acpi_cpufreq
processor              24256  1 acpi_cpufreq
mperf                   1275  1 acpi_cpufreq
ext4                  370398  2 
mbcache                 5817  2 ext2,ext4
jbd2                   71074  1 ext4
crc16                   1297  2 bluetooth,ext4
sr_mod                 14951  0 
sd_mod                 28307  5 
cdrom                  36329  1 sr_mod
xhci_hcd               70396  0 
ahci                   20865  4 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
ehci_hcd               39511  0 
usbcore               142576  5 uvcvideo,btusb,xhci_hcd,ehci_hcd
             total       used       free     shared    buffers     cached
Mem:       3967848     372800    3595048          0      51276     198456
-/+ buffers/cache:     123068    3844780
Swap:      4096568          0    4096568

/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/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:
:: attwifi down    [BUSY]    [DONE] 

/usr/lib/pm-utils/sleep.d/11netcfg 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/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
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/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video 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.
Thu Sep  8 13:47:36 CDT 2011: performing suspend

dmesg:

cat /var/log/dmesg.log | grep PM
[    0.000000]  [ffffea0000000000-ffffea0003ffffff] PMD -> [ffff88011b400000-ffff88011edfffff] on node 0
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] PM: Registered nosave memory: 000000000009e000 - 000000000009f000
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] PM: Registered nosave memory: 0000000020000000 - 0000000020200000
[    0.000000] PM: Registered nosave memory: 0000000040000000 - 0000000040200000
[    0.000000] PM: Registered nosave memory: 00000000dac1c000 - 00000000dad2f000
[    0.000000] PM: Registered nosave memory: 00000000dad30000 - 00000000dad8e000
[    0.000000] PM: Registered nosave memory: 00000000dad8f000 - 00000000dadb8000
[    0.000000] PM: Registered nosave memory: 00000000dadc8000 - 00000000dade8000
[    0.000000] PM: Registered nosave memory: 00000000daf28000 - 00000000dafe8000
[    0.000000] PM: Registered nosave memory: 00000000daffd000 - 00000000db000000
[    0.000000] PM: Registered nosave memory: 00000000db000000 - 00000000dfa00000
[    0.000000] PM: Registered nosave memory: 00000000dfa00000 - 00000000f8000000
[    0.000000] PM: Registered nosave memory: 00000000f8000000 - 00000000fc000000
[    0.000000] PM: Registered nosave memory: 00000000fc000000 - 00000000fec00000
[    0.000000] PM: Registered nosave memory: 00000000fec00000 - 00000000fec01000
[    0.000000] PM: Registered nosave memory: 00000000fec01000 - 00000000fed10000
[    0.000000] PM: Registered nosave memory: 00000000fed10000 - 00000000fed14000
[    0.000000] PM: Registered nosave memory: 00000000fed14000 - 00000000fed18000
[    0.000000] PM: Registered nosave memory: 00000000fed18000 - 00000000fed1a000
[    0.000000] PM: Registered nosave memory: 00000000fed1a000 - 00000000fed1c000
[    0.000000] PM: Registered nosave memory: 00000000fed1c000 - 00000000fed20000
[    0.000000] PM: Registered nosave memory: 00000000fed20000 - 00000000fee00000
[    0.000000] PM: Registered nosave memory: 00000000fee00000 - 00000000fee01000
[    0.000000] PM: Registered nosave memory: 00000000fee01000 - 00000000ffa00000
[    0.000000] PM: Registered nosave memory: 00000000ffa00000 - 00000000ffc00000
[    0.000000] PM: Registered nosave memory: 00000000ffc00000 - 00000000ffe00000
[    0.000000] PM: Registered nosave memory: 00000000ffe00000 - 0000000100000000
[    0.000000] PCIe ASPM is forcedly enabled
[    0.161024] Performance Events: PEBS fmt1+, SandyBridge events, Intel PMU driver.
[    1.134922] PM: Registering ACPI NVS region at daf28000 (786432 bytes)
[    1.135936] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    1.278541] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
[    1.278547] pci 0000:00:16.0: PME# disabled
[    1.278734] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
[    1.278740] pci 0000:00:1a.0: PME# disabled
[    1.278883] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    1.278888] pci 0000:00:1b.0: PME# disabled
[    1.279012] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    1.279017] pci 0000:00:1c.0: PME# disabled
[    1.279144] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[    1.279149] pci 0000:00:1c.1: PME# disabled
[    1.279279] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
[    1.279285] pci 0000:00:1c.3: PME# disabled
[    1.279414] pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
[    1.279419] pci 0000:00:1c.5: PME# disabled
[    1.279602] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    1.279608] pci 0000:00:1d.0: PME# disabled
[    1.279947] pci 0000:00:1f.2: PME# supported from D3hot
[    1.279952] pci 0000:00:1f.2: PME# disabled
[    1.280425] pci 0000:02:00.0: PME# supported from D0 D1 D3hot
[    1.280431] pci 0000:02:00.0: PME# disabled
[    1.284410] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[    1.284417] pci 0000:03:00.0: PME# disabled
[    1.291063] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.291070] pci 0000:04:00.0: PME# disabled
[    1.297712] ACPI _OSC control for PCIe not granted, disabling ASPM
[    1.874728] PM: Hibernation image not present or could not be loaded.

Last edited by the sad clown (2011-09-16 09:10:32)


I laugh, yet the joke is on me

Offline

#2 2011-09-09 09:00:01

examon
Member
Registered: 2011-05-07
Posts: 208

Re: [Solved] Suspend to Ram hangs with blank screen

Offline

#3 2011-09-09 11:21:31

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

That is the second thread I linked to (first line of second paragraph).  I didn't find anything in that thread that would fix my problem.  The suggestions from that thread were:

Suspend vboxdrv module - which I don't have
Suspend kvm-intel - which I don't have
A problem with the 3.0 kernel (both individuals who mentioned this updated to resolve their issue)
Switch once the Intel 1000N wireless card (I have no idea what that means, but I also don't have an Intel wireless card)

So, yes, it does look a lot like the issue in that that thread, but none of the solutions in it have worked for me.


I laugh, yet the joke is on me

Offline

#4 2011-09-14 13:23:53

haavard
Member
Registered: 2009-07-06
Posts: 5

Re: [Solved] Suspend to Ram hangs with blank screen

Hi,

Yesterday I got a TP-Link TL-WN851ND wireless network card with a  AR9287 chip set. This card relies on the ath9k module.

After I plugged in the card I get apparently random and complete system freezes, requiring hard reboots. rmmodding the ath9k module stops the system freezes, but this is of course not a great solution to the problem.

Maybe related? Are you able to suspend without ath9k loaded?

Offline

#5 2011-09-14 13:36:40

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

Just tried it.  modprobe -r ath9k then suspend still has same problem.  It really is looking like I'm going to have to go down the list and try to suspend each module.  Not looking forward to this.  I haven't had any other problems while using ath9k, no system freezes or anything.


I laugh, yet the joke is on me

Offline

#6 2011-09-15 00:08:23

unknwn
Member
Registered: 2008-02-02
Posts: 34

Re: [Solved] Suspend to Ram hangs with blank screen

hi,
i had the same freezing black screen with cursor problem.
which i solved by doing  a few things, don't know which did the trick because i was not interesting in testing yet:)
i am not sure which fixes are needed with current kernel:p

create:

#File: "/etc/pm/config.d/usb3-suspend-workaround".
SUSPEND_MODULES="xhci"

create & chmod +x:

#!/bin/sh
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
case "${1}" in
        hibernate|suspend)
              # Unbind ehci_hcd for first device XXXX:XX:XX.X:
               echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
              # Unbind ehci_hcd for second device XXXX:XX:XX.X:
               echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
        ;;
        resume|thaw)
              # Bind ehci_hcd for first device XXXX:XX:XX.X:
              echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
              # Bind ehci_hcd for second device XXXX:XX:XX.X:
              echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
    ;;
esac

ofcourse you have to adjust  device id to suit your hardware.


You could also try to adding  resume line to kernel boot options and addind resume hook.
https://wiki.archlinux.org/index.php/Pm … nd2disk.29
https://wiki.archlinux.org/index.php/Pm … esume_Hook

Last edited by unknwn (2011-09-15 00:10:28)

Offline

#7 2011-09-15 00:34:41

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

Thanks for the reply.  I'll try the suspend.  I'm not worried about resume hooks yet since i can't even get it to suspend in the first place.  And I thought the resume line for the kernel was only for hibernate (suspend to disk).  This is not something I use.


I laugh, yet the joke is on me

Offline

#8 2011-09-15 08:36:52

unknwn
Member
Registered: 2008-02-02
Posts: 34

Re: [Solved] Suspend to Ram hangs with blank screen

Have you tried  unbinding ehci_hcd devices? This is actually the fix which i only needed. smile

Offline

#9 2011-09-16 08:53:15

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

I got it to work!  Here is the /etc/pm/config.d/modules file I created:

SUSPEND_MODULES="ath9k mac80211 atl1c xhci_hcd ehci_hcd scsi_mod usbcore snd_pcm snd_timer ath9k_common ath9k_hw ath cfg80211 rfkill snd_hwdep snd_hda_codec_consexant snd_hda_codec_hdmi"

I decided my best course of action was to just take about half of the modules from lsmod and put them all in a suspend modules file.  I got lucky and the first half worked.  Now I just have to narrow down the list to the offending module and I've got myself a working suspend!


I laugh, yet the joke is on me

Offline

#10 2011-09-16 09:09:44

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

And the answer is...






usbcore!

I have no clue why this particular module had decided to cause me hell, but at least now I can suspend.  I've never even heard of this module causing problems, so maybe there is an issue with one of my usb's?  Possibly relating to my other problem with bluetooth?  Anyway, this topic is marked [solved].


I laugh, yet the joke is on me

Offline

#11 2011-09-16 09:51:53

unknwn
Member
Registered: 2008-02-02
Posts: 34

Re: [Solved] Suspend to Ram hangs with blank screen

the sad clown wrote:

And the answer is...






usbcore!

I have no clue why this particular module had decided to cause me hell, but at least now I can suspend.  I've never even heard of this module causing problems, so maybe there is an issue with one of my usb's?  Possibly relating to my other problem with bluetooth?  Anyway, this topic is marked [solved].

Even simplier answer is ehci_hcd module, at least on my system. Could be xhci_hcd on yous.
usbcore loads others usb modules including ehci_hcd and xhci_hcd.

Offline

#12 2011-09-16 12:38:40

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

Hmmm...I'll have to look at that and see.  Thanks.


I laugh, yet the joke is on me

Offline

#13 2011-09-16 12:47:09

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

Ugh, yep, you are right.  It was ehci_hcd.  I had tried the sleep.d config you had suggested but couldn't get it to work.  I guess I didn't have the right device identifier.  But suspend_module ehci_hcd definitely marks it as the problem.  Does this indicate anything about my usb devices that I should look into?

Edit: Ah, only now do I see what I did wrong with your configuration.  What advantage is there to doing it your way with each usb device as opposed to just suspending the driver?

Last edited by the sad clown (2011-09-16 12:50:03)


I laugh, yet the joke is on me

Offline

#14 2011-09-16 20:42:02

lexan
Member
Registered: 2011-06-15
Posts: 45

Re: [Solved] Suspend to Ram hangs with blank screen

I gave both usbcore and ehci_hcd a try in the /etc/pm/config.d/modules file but no dice; I still get a black screen when going to suspend and just a blinking cursor at the top left.


lsmod:

Module                  Size  Used by
ipv6                  290791  10 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
joydev                  9895  0 
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
arc4                    1410  2 
snd_hda_codec_hdmi     22092  1 
dell_wmi                1517  0 
sparse_keymap           3088  1 dell_wmi
i915                  707339  2 
snd_hda_codec_idt      55175  1 
iwlagn                236819  0 
drm_kms_helper         25409  1 i915
drm                   183380  3 i915,drm_kms_helper
psmouse                55192  0 
mac80211              216021  1 iwlagn
cfg80211              160740  2 iwlagn,mac80211
wmi                     8347  1 dell_wmi
firewire_ohci          29586  0 
firewire_core          50360  1 firewire_ohci
sg                     25557  0 
sdhci_pci               8530  0 
sdhci                  22194  1 sdhci_pci
mmc_core               73353  1 sdhci
snd_hda_intel          22122  0 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
i2c_i801                8187  0 
i2c_algo_bit            5199  1 i915
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
processor              24256  2 
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  7 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6146  1 snd
evdev                   9530  12 
e1000e                142449  0 
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
dell_laptop             7947  0 
iTCO_wdt               12717  0 
crc_itu_t               1297  1 firewire_core
intel_agp              10904  1 i915
pcspkr                  1819  0 
serio_raw               4294  0 
rfkill                 15402  2 cfg80211,dell_laptop
iTCO_vendor_support     1929  1 iTCO_wdt
dcdbas                  5488  1 dell_laptop
ac                      3265  0 
video                  11228  1 i915
intel_gtt              14423  3 i915,intel_agp
thermal                 7863  0 
button                  4470  1 i915
battery                10905  0 
ext4                  370398  2 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
usbhid                 35256  0 
hid                    81635  1 usbhid
sr_mod                 14951  0 
cdrom                  36329  1 sr_mod
sd_mod                 28307  4 
uhci_hcd               23084  0 
ahci                   20865  3 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
ehci_hcd               39511  0 
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
usbcore               142576  5 uvcvideo,usbhid,uhci_hcd,ehci_hcd

ldpci

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
0c:00.0 Network controller: Intel Corporation WiFi Link 5100


pm-suspend.log

Initial commandline parameters: 
Thu Sep 15 17:59:47 EDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux lexan 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
snd_seq_dummy           1463  0 
snd_seq                50721  1 snd_seq_dummy
snd_seq_device          5268  2 snd_seq_dummy,snd_seq
ipv6                  290791  10 
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_idt      55175  1 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
joydev                  9895  0 
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
arc4                    1410  2 
iwlagn                236819  0 
snd_hda_intel          22122  0 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
mac80211              216021  1 iwlagn
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  2 snd_seq,snd_pcm
snd                    57818  9 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6146  1 snd
firewire_ohci          29586  0 
i915                  707339  2 
iTCO_wdt               12717  0 
drm_kms_helper         25409  1 i915
drm                   183380  3 i915,drm_kms_helper
e1000e                142449  0 
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
iTCO_vendor_support     1929  1 iTCO_wdt
cfg80211              160740  2 iwlagn,mac80211
dell_wmi                1517  0 
firewire_core          50360  1 firewire_ohci
sdhci_pci               8530  0 
dell_laptop             7947  0 
rfkill                 15402  2 cfg80211,dell_laptop
dcdbas                  5488  1 dell_laptop
crc_itu_t               1297  1 firewire_core
i2c_algo_bit            5199  1 i915
ac                      3265  0 
thermal                 7863  0 
video                  11228  1 i915
sdhci                  22194  1 sdhci_pci
mmc_core               73353  1 sdhci
psmouse                55192  0 
sg                     25557  0 
processor              24256  2 
serio_raw               4294  0 
evdev                   9530  12 
sparse_keymap           3088  1 dell_wmi
pcspkr                  1819  0 
i2c_i801                8187  0 
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
intel_agp              10904  1 i915
intel_gtt              14423  3 i915,intel_agp
battery                10905  0 
button                  4470  1 i915
wmi                     8347  1 dell_wmi
ext4                  370398  2 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
usbhid                 35256  0 
hid                    81635  1 usbhid
sr_mod                 14951  0 
cdrom                  36329  1 sr_mod
sd_mod                 28307  4 
uhci_hcd               23084  0 
ahci                   20865  3 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
ehci_hcd               39511  0 
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
usbcore               142576  5 uvcvideo,usbhid,uhci_hcd,ehci_hcd
             total       used       free     shared    buffers     cached
Mem:       3044984    1134644    1910340          0      46020     734784
-/+ buffers/cache:     353840    2691144
Swap:      3025916          0    3025916

/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/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg 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/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/91wicd suspend suspend:
Unable to connect to wicd daemon - is it running?

/usr/lib/pm-utils/sleep.d/91wicd suspend suspend: success.
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/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video 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.
Thu Sep 15 17:59:49 EDT 2011: performing suspend
Initial commandline parameters: 
Thu Sep 15 19:23:21 EDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux lexan 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  290791  10 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_idt      55175  1 
joydev                  9895  0 
arc4                    1410  2 
iwlagn                236819  0 
snd_hda_intel          22122  0 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
evdev                   9530  12 
mac80211              216021  1 iwlagn
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  7 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
sdhci_pci               8530  0 
dell_wmi                1517  0 
psmouse                55192  0 
sg                     25557  0 
i915                  707339  2 
drm_kms_helper         25409  1 i915
drm                   183380  3 i915,drm_kms_helper
soundcore               6146  1 snd
firewire_ohci          29586  0 
iTCO_wdt               12717  0 
iTCO_vendor_support     1929  1 iTCO_wdt
cfg80211              160740  2 iwlagn,mac80211
sdhci                  22194  1 sdhci_pci
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
mmc_core               73353  1 sdhci
dell_laptop             7947  0 
e1000e                142449  0 
i2c_algo_bit            5199  1 i915
rfkill                 15402  2 cfg80211,dell_laptop
sparse_keymap           3088  1 dell_wmi
pcspkr                  1819  0 
serio_raw               4294  0 
i2c_i801                8187  0 
intel_agp              10904  1 i915
firewire_core          50360  1 firewire_ohci
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
intel_gtt              14423  3 i915,intel_agp
processor              24256  2 
crc_itu_t               1297  1 firewire_core
dcdbas                  5488  1 dell_laptop
wmi                     8347  1 dell_wmi
thermal                 7863  0 
button                  4470  1 i915
ac                      3265  0 
battery                10905  0 
video                  11228  1 i915
ext4                  370398  2 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
usbhid                 35256  0 
hid                    81635  1 usbhid
sr_mod                 14951  0 
cdrom                  36329  1 sr_mod
sd_mod                 28307  4 
uhci_hcd               23084  0 
ahci                   20865  3 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
ehci_hcd               39511  0 
usbcore               142576  5 uvcvideo,usbhid,uhci_hcd,ehci_hcd
             total       used       free     shared    buffers     cached
Mem:       3044984     466580    2578404          0      48608     153224
-/+ buffers/cache:     264748    2780236
Swap:      3025916          0    3025916

/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/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg 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/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/91wicd suspend suspend:
Unable to connect to wicd daemon - is it running?

/usr/lib/pm-utils/sleep.d/91wicd suspend suspend: success.
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/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video 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.
Thu Sep 15 19:23:22 EDT 2011: performing suspend
Initial commandline parameters: 
Thu Sep 15 19:36:15 EDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux lexan 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  290791  10 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
joydev                  9895  0 
arc4                    1410  2 
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_idt      55175  1 
iwlagn                236819  0 
mac80211              216021  1 iwlagn
dell_laptop             7947  0 
i915                  707339  2 
drm_kms_helper         25409  1 i915
drm                   183380  3 i915,drm_kms_helper
snd_hda_intel          22122  0 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
iTCO_wdt               12717  0 
cfg80211              160740  2 iwlagn,mac80211
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  7 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6146  1 snd
iTCO_vendor_support     1929  1 iTCO_wdt
rfkill                 15402  2 dell_laptop,cfg80211
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
sg                     25557  0 
i2c_i801                8187  0 
evdev                   9530  12 
psmouse                55192  0 
dell_wmi                1517  0 
firewire_ohci          29586  0 
intel_agp              10904  1 i915
i2c_algo_bit            5199  1 i915
thermal                 7863  0 
button                  4470  1 i915
pcspkr                  1819  0 
serio_raw               4294  0 
sparse_keymap           3088  1 dell_wmi
processor              24256  2 
video                  11228  1 i915
firewire_core          50360  1 firewire_ohci
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
intel_gtt              14423  3 i915,intel_agp
battery                10905  0 
e1000e                142449  0 
sdhci_pci               8530  0 
sdhci                  22194  1 sdhci_pci
mmc_core               73353  1 sdhci
ac                      3265  0 
dcdbas                  5488  1 dell_laptop
crc_itu_t               1297  1 firewire_core
wmi                     8347  1 dell_wmi
ext4                  370398  2 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
usbhid                 35256  0 
hid                    81635  1 usbhid
sr_mod                 14951  0 
cdrom                  36329  1 sr_mod
sd_mod                 28307  4 
uhci_hcd               23084  0 
ahci                   20865  3 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
ehci_hcd               39511  0 
usbcore               142576  5 uvcvideo,usbhid,uhci_hcd,ehci_hcd
             total       used       free     shared    buffers     cached
Mem:       3044984     400060    2644924          0       2548     147704
-/+ buffers/cache:     249808    2795176
Swap:      3025916          0    3025916

/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/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg 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/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/91wicd suspend suspend:
Unable to connect to wicd daemon - is it running?

/usr/lib/pm-utils/sleep.d/91wicd suspend suspend: success.
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/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video 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.
Thu Sep 15 19:36:17 EDT 2011: performing suspend
Initial commandline parameters: 
Fri Sep 16 00:12:05 EDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux lexan 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  290791  10 
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_idt      55175  1 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
joydev                  9895  0 
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
snd_hda_intel          22122  0 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  7 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6146  1 snd
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
sg                     25557  0 
i915                  707339  2 
firewire_ohci          29586  0 
drm_kms_helper         25409  1 i915
drm                   183380  3 i915,drm_kms_helper
i2c_algo_bit            5199  1 i915
firewire_core          50360  1 firewire_ohci
i2c_i801                8187  0 
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
arc4                    1410  2 
dell_wmi                1517  0 
evdev                   9530  12 
sparse_keymap           3088  1 dell_wmi
wmi                     8347  1 dell_wmi
sdhci_pci               8530  0 
sdhci                  22194  1 sdhci_pci
mmc_core               73353  1 sdhci
iwlagn                236819  0 
mac80211              216021  1 iwlagn
psmouse                55192  0 
processor              24256  2 
ac                      3265  0 
button                  4470  1 i915
video                  11228  1 i915
e1000e                142449  0 
cfg80211              160740  2 iwlagn,mac80211
serio_raw               4294  0 
pcspkr                  1819  0 
dell_laptop             7947  0 
thermal                 7863  0 
battery                10905  0 
rfkill                 15402  2 cfg80211,dell_laptop
iTCO_wdt               12717  0 
dcdbas                  5488  1 dell_laptop
crc_itu_t               1297  1 firewire_core
iTCO_vendor_support     1929  1 iTCO_wdt
intel_agp              10904  1 i915
intel_gtt              14423  3 i915,intel_agp
ext4                  370398  2 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
usbhid                 35256  0 
hid                    81635  1 usbhid
sr_mod                 14951  0 
cdrom                  36329  1 sr_mod
sd_mod                 28307  4 
uhci_hcd               23084  0 
ahci                   20865  3 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
ehci_hcd               39511  0 
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
usbcore               142576  5 uvcvideo,usbhid,uhci_hcd,ehci_hcd
             total       used       free     shared    buffers     cached
Mem:       3044984     484808    2560176          0      19372     180828
-/+ buffers/cache:     284608    2760376
Swap:      3025916          0    3025916

/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/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg 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/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/91wicd suspend suspend:
Unable to connect to wicd daemon - is it running?

/usr/lib/pm-utils/sleep.d/91wicd suspend suspend: success.
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/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video 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.
Fri Sep 16 00:12:06 EDT 2011: performing suspend
Initial commandline parameters: 
Fri Sep 16 16:32:56 EDT 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux lexan 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  290791  10 
snd_hda_codec_hdmi     22092  1 
snd_hda_codec_idt      55175  1 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
joydev                  9895  0 
snd_hda_intel          22122  3 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
arc4                    1410  2 
sdhci_pci               8530  0 
sdhci                  22194  1 sdhci_pci
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73888  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
i915                  707339  2 
firewire_ohci          29586  0 
drm_kms_helper         25409  1 i915
mmc_core               73353  1 sdhci
snd_timer              19416  2 snd_pcm
drm                   183380  3 i915,drm_kms_helper
iwlagn                236819  0 
mac80211              216021  1 iwlagn
i2c_algo_bit            5199  1 i915
dell_laptop             7947  0 
cfg80211              160740  2 iwlagn,mac80211
iTCO_wdt               12717  0 
psmouse                55192  0 
sg                     25557  0 
evdev                   9530  12 
snd                    57818  11 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
firewire_core          50360  1 firewire_ohci
soundcore               6146  1 snd
iTCO_vendor_support     1929  1 iTCO_wdt
rfkill                 15402  2 dell_laptop,cfg80211
i2c_i801                8187  0 
dell_wmi                1517  0 
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
i2c_core               20133  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
battery                10905  0 
processor              24256  2 
sparse_keymap           3088  1 dell_wmi
pcspkr                  1819  0 
serio_raw               4294  0 
e1000e                142449  0 
dcdbas                  5488  1 dell_laptop
crc_itu_t               1297  1 firewire_core
intel_agp              10904  1 i915
intel_gtt              14423  3 i915,intel_agp
wmi                     8347  1 dell_wmi
video                  11228  1 i915
ac                      3265  0 
button                  4470  1 i915
thermal                 7863  0 
ext4                  370398  2 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
usbhid                 35256  0 
hid                    81635  1 usbhid
sr_mod                 14951  0 
sd_mod                 28307  4 
cdrom                  36329  1 sr_mod
uhci_hcd               23084  0 
ahci                   20865  3 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131546  4 sg,sr_mod,sd_mod,libata
ehci_hcd               39511  0 
usbcore               142576  5 uvcvideo,usbhid,uhci_hcd,ehci_hcd
             total       used       free     shared    buffers     cached
Mem:       3044984     600996    2443988          0      23608     284692
-/+ buffers/cache:     292696    2752288
Swap:      3025916          0    3025916

/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/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg 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/75modules suspend suspend:
Unloading kernel module ehci_hcd...Done.
Unloading kernel module usbcore...Done.

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/91wicd suspend suspend:
Unable to connect to wicd daemon - is it running?

/usr/lib/pm-utils/sleep.d/91wicd suspend suspend: success.
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/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video 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.
Fri Sep 16 16:32:57 EDT 2011: performing suspend

Offline

#15 2011-09-16 21:22:18

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Suspend to Ram hangs with blank screen

Unfortunately, I'm not going to be of much help to you.  My solution consisted of "SUSPEND_MODULE="<abouthalfofmymodules>" and then seeing if I could suspend.  If I could, then I divided that count in half and tried again until I hit upon the solution.  Now, unknwn is right that after you have narrowed it down, you need to look at your lsmod output and see if the offending module is associated with any others and test those (like usbcore, which for me involved btusb, uvcvideo, xhci_hcd,and ehci_hcd, the last one being the actual offender).

It isn't a very graceful solution, but it was the only one that worked for me.  If you want to speed up the search, I would suggest making the first batch of suspend modules ones that already draw in several other modules.  Try snd and i2c_core.  Those pull in a lot of other modules.  If it works, then try just snd, and so on.


I laugh, yet the joke is on me

Offline

#16 2011-10-06 21:06:15

pgrond
Member
Registered: 2011-06-27
Posts: 10

Re: [Solved] Suspend to Ram hangs with blank screen

In my case it was rfkill.

Offline

#17 2011-10-08 09:13:36

alexmj
Member
Registered: 2011-10-06
Posts: 15

Re: [Solved] Suspend to Ram hangs with blank screen

Thanks a lot dear unknown and 'happy' clown,ur posts helped me a lot.
I merged all the modules listed by lsmod or hwdetect --modules since
i dont know the exact module to be loaded.
Now my laptop goes to sleep so me too.

Last edited by alexmj (2011-10-08 09:14:33)

Offline

#18 2011-10-27 11:40:00

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

Re: [Solved] Suspend to Ram hangs with blank screen

I know the topic is closed but since you spent some time debugging this... On kernel 3+ echo mem >/sys/power/state is working perfectly except for that after wakeup it seems my / mount (a SD drive) is not healthy, in terminal I get "input/output error" for whatever command I try except a few for example "lsmod"

Is it possible that SD is remounted as read only? How can I debug this?

Offline

#19 2011-11-06 12:38:40

elvellon
Member
Registered: 2011-11-06
Posts: 1

Re: [Solved] Suspend to Ram hangs with blank screen

For future googlers : I had the same problem, after dichotomic search (clown's method) I found my suspect : rfkill...

Offline

#20 2012-09-24 18:43:47

glindste
Member
Registered: 2012-09-24
Posts: 4

Re: [Solved] Suspend to Ram hangs with blank screen

Also for future googlers: Same problem but I had no luck with the previous method, however a downgrade of the linux kernel from 3.5.4-1 => 3.5.3-1 solved it for now.

Offline

Board footer

Powered by FluxBB