You are not logged in.

#1 2010-04-14 23:23:56

daniel.yuste.aroca
Member
Registered: 2009-12-18
Posts: 7

Unable to suspend after kernel upgrade to 2.6.33.2-1

Hello all!!

Did you notice any problem to suspend your laptop after upgrading kernel to version 2.6.33.2-1??

Two days ago I upgraded my Arch system (running on a Fujitu Amilo M1437G) and kernel was upgraded from 2.6.32.10-1 to  2.6.33.2-1. After this upgrade I noticed I was having problem to suspend the laptop (it was working fine with previous kernel version). I have also made sure that pm-utils was not upgraded at this time.

So, when trying to suspend, the screen goes blank but not the fan, neither the hard disk or the power/battery/wireless LEDs go off. The system does not resume when pressing the button and I have to power-cycle the laptop in order to get it working again.

The content of pm-suspend.log after a failed attempt is:

[dani@danix log]$ cat pm-suspend.log 
Initial commandline parameters: 
Thu Apr 15 01:01:10 CEST 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux danix 2.6.33-ARCH #1 SMP PREEMPT Mon Apr 5 05:57:38 UTC 2010 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux
Module                  Size  Used by
arc4                    1058  2 
ecb                     1577  2 
lib80211_crypt_wep      2530  1 
fuse                   50806  2 
cpufreq_ondemand        6749  1 
ipv6                  238732  16 
snd_seq_dummy           1067  0 
snd_seq_oss            24728  0 
snd_hda_codec_realtek   185761  1 
usbhid                 33515  0 
hid                    60733  1 usbhid
snd_seq_midi_event      4484  1 snd_seq_oss
snd_hda_codec_si3054     3062  1 
snd_seq                41707  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4281  3 snd_seq_dummy,snd_seq_oss,snd_seq
joydev                  7800  0 
snd_pcm_oss            33469  0 
snd_mixer_oss          14523  1 snd_pcm_oss
vboxnetflt             12202  0 
snd_hda_intel          19497  0 
snd_hda_codec          60521  3 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hda_intel
snd_hwdep               5006  1 snd_hda_codec
ipw2200               126981  0 
libipw                 22884  1 ipw2200
snd_pcm                57233  4 snd_hda_codec_si3054,snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              15758  2 snd_seq,snd_pcm
snd                    43328  12 snd_seq_oss,snd_hda_codec_realtek,snd_hda_codec_si3054,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
vboxdrv               135116  1 vboxnetflt
soundcore               5071  1 snd
cfg80211              107930  2 ipw2200,libipw
wmi                     5065  0 
uhci_hcd               18932  0 
r8169                  30372  0 
rfkill                 12388  1 cfg80211
acpi_cpufreq            5667  0 
rtc_cmos                7614  0 
firewire_ohci          20236  0 
iTCO_wdt                7481  0 
video                  15398  0 
rtc_core               11883  1 rtc_cmos
iTCO_vendor_support     1485  1 iTCO_wdt
firewire_core          38097  1 firewire_ohci
psmouse                50367  0 
freq_table              1987  2 cpufreq_ondemand,acpi_cpufreq
ehci_hcd               31266  0 
rtc_lib                 1450  1 rtc_core
output                  1404  1 video
intel_agp              23353  0 
sg                     20921  0 
lib80211                3210  3 lib80211_crypt_wep,ipw2200,libipw
serio_raw               3716  0 
battery                 7488  0 
mii                     3218  1 r8169
snd_page_alloc          5841  2 snd_hda_intel,snd_pcm
crc_itu_t               1041  1 firewire_core
ac                      2319  0 
i2c_i801                7090  0 
evdev                   6845  15 
thermal                 9579  0 
usbcore               120133  4 usbhid,uhci_hcd,ehci_hcd
button                  3702  0 
pcspkr                  1379  0 
processor              25831  2 acpi_cpufreq
ext4                  302861  3 
mbcache                 4278  1 ext4
jbd2                   63609  1 ext4
crc16                   1041  1 ext4
sr_mod                 12969  0 
cdrom                  30915  1 sr_mod
ata_generic             2139  0 
sd_mod                 25060  5 
ata_piix               17661  0 
pata_acpi               2264  0 
sata_via                6073  4 
libata                137056  4 ata_generic,ata_piix,pata_acpi,sata_via
scsi_mod               80405  4 sg,sr_mod,sd_mod,libata
radeon                652731  2 
ttm                    39074  1 radeon
drm_kms_helper         23433  1 radeon
drm                   131653  4 radeon,ttm,drm_kms_helper
agpgart                23480  3 intel_agp,ttm,drm
i2c_algo_bit            4251  1 radeon
i2c_core               14770  5 i2c_i801,radeon,drm_kms_helper,drm,i2c_algo_bit
             total       used       free     shared    buffers     cached
Mem:       1028668     363228     665440          0      43256     186400
-/+ buffers/cache:     133572     895096
Swap:      2000084          0    2000084
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Thu Apr 15 01:01:11 CEST 2010: performing suspend
[dani@danix log]$

Today I did a new upgrade today as I saw it included new version 1.3.0-1 of package pm-utils (1.2.6.1-4 -> 1.3.0-1) and I wondered of this new version of package pm-utils could solve issue. However it did not solve the issue either.

Is there anyone having the same problem or knowing how to solve it?

Thanks!!

Daniel

Last edited by daniel.yuste.aroca (2010-04-14 23:24:36)

Offline

#2 2010-04-15 00:03:31

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Unable to suspend after kernel upgrade to 2.6.33.2-1

I suspend multiple times a day, have not had any problems.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-04-15 00:11:26

daniel.yuste.aroca
Member
Registered: 2009-12-18
Posts: 7

Re: Unable to suspend after kernel upgrade to 2.6.33.2-1

Some good news:

In the ArchWiki about pm-utils there is the following link towards an Ubuntu article: https://wiki.ubuntu.com/UnderstandingSuspend

In this Ubuntu article it is said that graphic hardware is usually creating problems to suspend. Then I have realized that KMS is enabled by default in kernel 2.6.33.2-1 and I have decided to disable it (as explained in  http://wiki.archlinux.org/index.php/ATI#Disable_KMS)

Interestingly enough,  with KMS disabled in this way the system is able again to suspend without any problem. However, resume is not working yet: hard disk, fan and LEDs start working and the screen turns on again, but I only get a black screen with the mouse pointer. Nothing else. Then, I swtich to console and kill the Xorg process then graphics start perfectly again in the login screen.

At the bottom of pm-suspend.log I have now the following lines:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
Allocated buffer at 0x2010 (base is 0x0)
ES: 0x0201 EBX: 0x0000
success.
Thu Apr 15 01:55:53 CEST 2010: performing suspend
Thu Apr 15 01:56:05 CEST 2010: Awake.
Thu Apr 15 01:56:05 CEST 2010: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend:Function not supported
success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
/usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/75modules resume suspend:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg resume suspend:success.
/usr/lib/pm-utils/sleep.d/01grub resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend:success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend:success.
Thu Apr 15 01:56:07 CEST 2010: Finished.

Any suggestion now to solve the problem to resume?

Daniel.

Last edited by daniel.yuste.aroca (2010-04-15 00:14:32)

Offline

#4 2010-04-15 00:51:47

daniel.yuste.aroca
Member
Registered: 2009-12-18
Posts: 7

Re: Unable to suspend after kernel upgrade to 2.6.33.2-1

Just for information:

I have tried removing the hook "autodetect" from /etc/mkinitcpio.conf as suggested in http://wiki.archlinux.org/index.php/Pm- … reen_issue but it did not help in my case

Daniel

Offline

#5 2010-04-18 23:28:52

daniel.yuste.aroca
Member
Registered: 2009-12-18
Posts: 7

Re: Unable to suspend after kernel upgrade to 2.6.33.2-1

Hi again,

Now, with KMS disabled, I am able to suspend and resume. However, after resume, I was getting only a black screen with the mouse pointer but nothing else.

I have been checking everything.log and I have found this line during a resume sequence:

Apr 19 01:06:46 danix gnome-session[2824]: WARNING: Could not launch application 'polkit-gnome-authentication-agent-1.desktop': Unable to start application: Failed to execute child process "/usr/lib/gdm/polkit-gnome-authentication-agent-1" (No such file or directory)

Reading this line I recall I had switched on the option "Lock screen when screensaver is active" in screensaver settings. I have switched off this option and tried suspend/resume again and now the problem of the black screen is disappeared.

Daniel.

Offline

#6 2010-04-20 03:22:59

flay0303
Member
Registered: 2010-01-26
Posts: 29

Re: Unable to suspend after kernel upgrade to 2.6.33.2-1

success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.

===============
remove or erase which not applicable
for example  /usr/lib/pm-utils/sleep.d/01grub suspend suspend:not applicable.
sudo mv /usr/lib/pm-utils/sleep.d/01grub ~

Offline

#7 2010-04-20 05:55:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unable to suspend after kernel upgrade to 2.6.33.2-1

flay0303 - "not applicable" means that the suspend process does not run that particular script, so removing it will make no difference.

Offline

#8 2010-04-22 18:08:48

psrivats
Member
Registered: 2010-03-21
Posts: 23

Re: Unable to suspend after kernel upgrade to 2.6.33.2-1

daniel.yuste.aroca wrote:

Reading this line I recall I had switched on the option "Lock screen when screensaver is active" in screensaver settings. I have switched off this option and tried suspend/resume again and now the problem of the black screen is disappeared.

Daniel.

Thanks for the tip, this worked for me as well.

Offline

Board footer

Powered by FluxBB