Bug 594 - pm-suspend sometimes does not work
Summary: pm-suspend sometimes does not work
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-03-30 09:37 CEST by Jerome Quelin
Modified: 2011-09-08 18:29 CEST (History)
2 users (show)

See Also:
Source RPM: kernel
CVE:
Status comment:


Attachments
dmesg output when non-working. (107.24 KB, text/plain)
2011-06-01 10:43 CEST, Jerome Quelin
Details

Description Jerome Quelin 2011-03-30 09:37:04 CEST
running pm-suspend sometimes does not work.
sometimes as in works the 1st time (always), then wakes up ok, then either works or not.

in those cases, i'm killing it with ctrl+c

it used to work reliably before (kernel 2.6.37?)

$ uname -a
Linux igor 2.6.38.2-desktop-1.mga #1 SMP Mon Mar 28 11:42:53 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

here are some logs from /var/log/messages, i don't know if they are related or not:
Mar 28 14:08:48 igor kernel: rtl8192_hw_sleep_down(): RF Change in progress!
Mar 28 14:09:02 igor kernel: rtl8192_hw_sleep_down(): RF Change in progress!
Mar 28 14:09:17 igor kernel: rtl8192_hw_sleep_down(): RF Change in progress!
Mar 28 14:09:20 igor kernel: LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
Mar 28 14:09:43 igor kernel: ata2.00: configured for UDMA/100
Mar 28 14:09:43 igor kernel: ata2: EH complete
Mar 28 14:09:43 igor kernel: EXT4-fs (sda1): re-mounted. Opts: commit=0
Mar 28 14:09:44 igor kernel: EXT4-fs (sda6): re-mounted. Opts: commit=0
Mar 28 14:09:44 igor kernel: ===>rtllib_wx_set_power(): power disable
Mar 28 14:09:44 igor kernel: =====>rtllib_sta_ps(): no need to ps,wake up!! ieee->ps is 0,ieee->iw_mode is 2,ieee->state is 5
Mar 28 14:09:44 igor kernel: =====>rtllib_sta_ps(): no need to ps,wake up!! ieee->ps is 0,ieee->iw_mode is 2,ieee->state is 5
Mar 28 14:09:44 igor kernel: =====>rtllib_sta_ps(): no need to ps,wake up!! ieee->ps is 0,ieee->iw_mode is 2,ieee->state is 5
Mar 28 14:09:44 igor kernel: =====>rtllib_sta_ps(): no need to ps,wake up!! ieee->ps is 0,ieee->iw_mode is 2,ieee->state is 5
Mar 28 14:09:44 igor ifplugd(eth0)[12644]: Exiting.
Mar 28 14:09:45 igor kernel: rtl8192_hw_sleep_down(): RF Change in progress!


Reproducible: 

Steps to Reproduce:
Ahmad Samir 2011-03-30 17:58:02 CEST

CC: (none) => tmb

Comment 1 Thierry Vignaud 2011-04-28 14:22:39 CEST
Please attach dmesg output in both working and not working cases

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud
Source RPM: kernel? => kernel

Comment 2 Jerome Quelin 2011-05-02 18:30:35 CEST
it's much less frequent nowadays, maybe due to new kernel?

previously, at report time (2.6.38.2-desktop-1.mga), i could have 1 suspend ok and the later ones were not working, need reboot.

now (2.6.38.4-desktop-1.mga), i had no problem suspending.

i propose to leave the bug open just in case.
Comment 3 Jerome Quelin 2011-06-01 10:42:39 CEST
2.6.38.6-desktop-1.mga and 2.6.38.7-desktop-1.mga trigger the problem.
Comment 4 Jerome Quelin 2011-06-01 10:43:14 CEST
Created attachment 500 [details]
dmesg output when non-working.
Comment 5 Jerome Quelin 2011-06-11 16:38:21 CEST
hmm, in fact it seemed to be related to a network script that took too much time. keeping open just in case.
Comment 6 Jerome Quelin 2011-09-08 18:29:43 CEST
it was definitely the case, closing bug.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.