You are not logged in.

#1 2012-02-06 23:26:37

jmayniac
Member
Registered: 2009-08-12
Posts: 17

Suspend-to-RAM not working on ASUS N61JQ Laptop

I have an ASUS N61JQ laptop and I cannot get suspend-to-ram to work.  When I initiate a suspend, via command line or just by closing the laptop lid, the laptop will show activity for a few seconds, the laptop hard drive light will remain on as will the power light.  The laptop basically freezes and I have to hold down the power button to shut it off so I can boot back into Arch.

I've tried both 'pm-suspend' and 'uswsusp' and both do the same thing.

pm-suspend.log

Mon Feb  6 15:57:55 MST 2012: performing suspend
Initial commandline parameters: 
Mon Feb  6 16:03:52 MST 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux asus-laptop 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 Intel(R) Core(TM) i7 CPU Q 740 @ 1.73GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ext2                   63387  1 
arc4                    1410  2 
ath9k                  87343  0 
ath9k_common            2096  1 ath9k
ath9k_hw              347282  2 ath9k_common,ath9k
ath                    14802  3 ath9k_hw,ath9k_common,ath9k
mac80211              228367  1 ath9k
joydev                  9895  0 
snd_hda_codec_hdmi     24121  1 
uvcvideo               64311  0 
videodev               82101  1 uvcvideo
snd_hda_codec_realtek   194997  1 
v4l2_compat_ioctl32     8316  1 videodev
media                  10597  2 videodev,uvcvideo
i7core_edac            17510  0 
btusb                  11385  0 
bluetooth             151999  1 btusb
asus_laptop            17142  0 
cfg80211              172260  3 mac80211,ath,ath9k
iTCO_wdt               11885  0 
atl1c                  32564  0 
sparse_keymap           3120  1 asus_laptop
edac_core              37680  1 i7core_edac
snd_hda_intel          23343  0 
snd_hda_codec          89160  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
iTCO_vendor_support     1961  1 iTCO_wdt
psmouse                61311  0 
input_polldev           2914  1 asus_laptop
evdev                   9530  10 
rfkill                 15498  3 cfg80211,asus_laptop,bluetooth
pcspkr                  1819  0 
serio_raw               4429  0 
ac                      2344  0 
thermal                 7799  0 
video                  11164  0 
battery                 6453  0 
i2c_i801                8187  0 
mei                    32414  0 
button                  4470  0 
cpufreq_powersave        990  0 
cpufreq_ondemand        6164  8 
acpi_cpufreq            5877  1 
mperf                   1275  1 acpi_cpufreq
processor              25582  1 acpi_cpufreq
freq_table              2515  2 acpi_cpufreq,cpufreq_ondemand
snd_usb_audio          93493  0 
snd_hwdep               6389  2 snd_usb_audio,snd_hda_codec
snd_usbmidi_lib        18936  1 snd_usb_audio
snd_rawmidi            19458  1 snd_usbmidi_lib
snd_seq_device          5300  1 snd_rawmidi
snd_pcm                74780  4 snd_usb_audio,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc          7153  2 snd_pcm,snd_hda_intel
snd_timer              19544  1 snd_pcm
snd                    59214  11 snd_timer,snd_pcm,snd_seq_device,snd_rawmidi,snd_usbmidi_lib,snd_hwdep,snd_usb_audio,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
soundcore               6210  1 snd
ext4                  417116  2 
crc16                   1359  2 ext4,bluetooth
jbd2                   71243  1 ext4
mbcache                 5881  2 ext4,ext2
usbhid                 35352  0 
hid                    83555  1 usbhid
sr_mod                 14951  0 
sd_mod                 28307  5 
cdrom                  36681  1 sr_mod
ahci                   20037  4 
libahci                19559  1 ahci
xhci_hcd               79242  0 
libata                166654  2 libahci,ahci
scsi_mod              133443  3 libata,sd_mod,sr_mod
ehci_hcd               40698  0 
usbcore               146241  8 ehci_hcd,xhci_hcd,usbhid,snd_usbmidi_lib,snd_usb_audio,btusb,uvcvideo
usb_common               954  1 usbcore
radeon                754158  1 
i2c_algo_bit            5263  1 radeon
drm_kms_helper         26137  1 radeon
ttm                    54904  1 radeon
drm                   188362  3 ttm,drm_kms_helper,radeon
i2c_core               20492  6 drm,drm_kms_helper,i2c_algo_bit,radeon,i2c_i801,videodev
             total       used       free     shared    buffers     cached
Mem:       6040748     283872    5756876          0      17852      90268
-/+ buffers/cache:     175752    5864996
Swap:      8000332          0    8000332

/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:

/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:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Mon Feb  6 16:03:54 MST 2012: performing suspend

Offline

#2 2012-02-10 18:04:17

gururise
Member
Registered: 2011-11-03
Posts: 33

Re: Suspend-to-RAM not working on ASUS N61JQ Laptop

Same problem happens on my Desktop.  Used to work with the older 3.2.1 Kernels.  You might want to try the older kernel, or add the RESUME hook to your rc.conf

Offline

#3 2012-02-15 12:34:37

dimsuz
Member
Registered: 2011-05-01
Posts: 29

Re: Suspend-to-RAM not working on ASUS N61JQ Laptop

Same here with Lenovo X200 laptop. I use GNOME3, and when I close laptop lid (or choose 'Suspend' from system menu), it tries to suspend, blackens a screen, but then after short while screen goes back to show normal desktop, but this time I can't do anything with a system - it freezes. Not even Ctrl+Alt+F1 to switch to tty. No option other than to hard power off.

Suspend to ram stopped working after recent packages update (which included kernel update).

[dimka@dimka-laptop mobile]$ uname -a
Linux dimka-laptop 3.2.5-1-ARCH #1 SMP PREEMPT Tue Feb 7 08:46:10 UTC 2012 i686 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz GenuineIntel GNU/Linux

Offline

#4 2012-02-17 01:39:56

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 140
Website

Re: Suspend-to-RAM not working on ASUS N61JQ Laptop

I'm having this issue since some kernel versions I think.
My setup: Kernel 3.2.6, proprietary nVidia drivers (290.10, as 295.20 is full of bugs and crashes gnome-shell), Gnome3, laptop-mode-tools, cpufrequtils

Using pm-suspend my Dell XPS1340 goes to a blank screen, while staying on and I have to hard reset it (as explained by jmayniac). VERY annoying.

Anyone any clue what this could be related to? I'm definitely pointing fingers on the kernel (or the hardware) here, as my server (same kernel, same drivers, same software apart from laptop-mode-tools and cpufrequtils) goes to suspend and hibernate perfectly well.
Search at bugzilla.kernel.org didn't show up much useful:
https://bugzilla.kernel.org/show_bug.cgi?id=42730 <-- only related to boot after suspend, it seems
https://bugzilla.kernel.org/show_bug.cgi?id=42652 <-- similar problem, seems to be "fixed" in 3.3rc2

Some reports/comments suggest that it has to do with usb stuff inserted while going down. Did you guys have any usb drives attached when suspending? I've tried both to no avail.

@jmayniac: I think you could maybe change the topic of this thread. It seems to happen to many (different) laptop models. This way more people will stumble upon it (maybe with a solution)

Last edited by king.flasher.dave (2012-02-17 01:42:21)


Speak when you are angry and you will make the best speech you'll ever regret.

Offline

#5 2012-02-17 07:23:25

dimsuz
Member
Registered: 2011-05-01
Posts: 29

Re: Suspend-to-RAM not working on ASUS N61JQ Laptop

FYI: After I downgraded kernel to 3.2.4-1, things went back to normal and I can now suspend to ram without any problems.

Offline

#6 2012-02-18 16:09:22

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 140
Website

Re: Suspend-to-RAM not working on ASUS N61JQ Laptop

@dimsuz: hmm, yeah. Tried that, but it didn't help. I'm still ending up with a blank screen and an unresponsive system stuck on trying to suspend. sad

Did anyone of you blacklist modules for suspend? If so, which? Don't want to test them all.. and AFAIR I tested ALL of them to no avail a while back.... Also tried with no external stuff (like USB, HDMI, LAN) but that didn't help either.
On top pm-suspend does not show any errors. Anyways, will test without laptop-mode-tools and cpufrequtils now.
[UPDATE]: With same results sad
So I guess this is either kernel or hardware related.

A while back when suspending (and of course crashing) error.log showed this:

[  308.511559] ehci_hcd 0000:00:06.1: dma_pool_free buffer-128, ffff880037c43000/37c43000 (bad dma)
[  308.511665] ehci_hcd 0000:00:06.1: dma_pool_free buffer-128, ffff880037c44000/37c44000 (bad dma)
[  308.547486] ehci_hcd 0000:00:06.1: dma_pool_destroy buffer-2048, ffff880037c44000 busy
[  308.547491] ehci_hcd 0000:00:06.1: dma_pool_destroy buffer-2048, ffff880037c43000 busy

Not sure if this means anything though (seems that it has been a local error only... I didn't observe it again).

I'm really clueless where else to look for errors. Any suggestions?
Hmm, will try debugging pm the coming days. Maybe it's related to some ugly module acting up, as mentioned here.

Last edited by king.flasher.dave (2012-02-18 17:20:29)


Speak when you are angry and you will make the best speech you'll ever regret.

Offline

Board footer

Powered by FluxBB