You are not logged in.

#1 2012-06-08 21:17:35

ppr
Member
Registered: 2011-10-04
Posts: 32

Suspend command which restart directly after suspending

Hey,

When I try to suspend my system, both with s2ram and pm-suspend, the system suspends and wakes up straight. Everything seems to be good expect than the system wake up just after suspending.

Any idea ?

Last edited by ppr (2012-06-15 11:20:38)

Offline

#2 2012-06-09 14:51:24

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: Suspend command which restart directly after suspending

up,

if you need logs, just tell me which ones.

Offline

#3 2012-06-09 16:46:32

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: Suspend command which restart directly after suspending

/var/log/pm-suspend.log, the output of dmesg after attempting to suspend, and the output of lspci may be relevant.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#4 2012-06-09 16:46:49

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Suspend command which restart directly after suspending

what have you done to solve this issue other than bumping this thread?

Have you read the wiki pages for pm-utils and laptop-mode-tools?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2012-06-10 21:34:56

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: Suspend command which restart directly after suspending

@Inxsible

Of course, I read the wiki and I tried another solution than pm-utils with s2ram. I added vga=0 to my grub lign because I use catalyst. I tried to add lots of suspend modules... nothing worked. This is why I posted. There is no case which correspond to my problem on the pm-utils wikipage, ...

And laptop-mode-tools is really not related to suspend on ram.

And you, what have you done to answer to my question? I hate wasting my time to answer to such useless post. I like to be quick and efficient so I describe my problem in the case someone has an idea how to fix it, I will not list everything I done in order to solve it .

@Stebalien: thanks here are the logs:

# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4500/5100 Series]
03:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 20)
03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 20)
03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 20)
 

demesg

 [  754.704129] wlan0: moving STA 00:24:d4:e0:16:a8 to state 1
[  754.704132] wlan0: moving STA 00:24:d4:e0:16:a8 to state 2
[  754.704135] wlan0: moving STA 00:24:d4:e0:16:a8 to state 3
[  754.710314] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  765.536618] wlan0: no IPv6 routers present
[  831.344586] EXT4-fs (sda3): re-mounted. Opts: commit=0
[  831.601795] EXT4-fs (sda4): re-mounted. Opts: commit=0
[  831.936575] wlan0: deauthenticating from 00:24:d4:e0:16:a8 by local choice (reason=3)
[  831.936966] wlan0: moving STA 00:24:d4:e0:16:a8 to state 2
[  831.936969] wlan0: moving STA 00:24:d4:e0:16:a8 to state 1
[  831.936972] wlan0: moving STA 00:24:d4:e0:16:a8 to state 0
[  831.997833] cfg80211: Calling CRDA to update world regulatory domain
[  835.804940] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  836.098074] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  839.901559] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  843.731572] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  843.770307] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  844.775300] Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_r6xx.c at line: 79
[  844.787480] Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_r6xx.c at line: 79
[  845.035947] PM: Syncing filesystems ... done.
[  845.197667] PM: Preparing system for mem sleep
[  845.198670] Freezing user space processes ... (elapsed 0.01 seconds) done.
[  845.210029] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[  845.223309] PM: Entering mem sleep
[  845.223335] Suspending console(s) (use no_console_suspend to debug)
[  845.244358] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  845.244657] ------------[ cut here ]------------
[  845.244680] WARNING: at net/mac80211/driver-ops.h:10 ieee80211_do_stop+0x67c/0x6a0 [mac80211]()
[  845.244682] Hardware name: W760SUA                         
[  845.244684] Modules linked in: aes_x86_64 cryptd aes_generic fuse arc4 rtl8187 eeprom_93cx6 mac80211 cfg80211 rfkill joydev fglrx(PO) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev v4l2_compat_ioctl32 media snd_hda_codec_realtek amd_iommu_v2 radeon snd_hda_intel snd_hda_codec snd_hwdep i2c_algo_bit snd_pcm snd_page_alloc snd_timer drm_kms_helper ttm serio_raw drm sdhci_pci sdhci mmc_core snd psmouse i2c_core wmi pcspkr jmb38x_ms soundcore sis_agp sis190 thermal evdev memstick ac button video battery processor mii ext4 crc16 jbd2 mbcache sd_mod sr_mod cdrom pata_acpi sata_sis pata_sis ata_generic ohci_hcd ehci_hcd libata scsi_mod usbcore usb_common
[  845.244738] Pid: 1266, comm: kworker/u:23 Tainted: P        W  O 3.3.8-1-ARCH #1
[  845.244741] Call Trace:
[  845.244750]  [<ffffffff8104f86f>] warn_slowpath_common+0x7f/0xc0
[  845.244754]  [<ffffffff8104f8ca>] warn_slowpath_null+0x1a/0x20
[  845.244764]  [<ffffffffa0a5641c>] ieee80211_do_stop+0x67c/0x6a0 [mac80211]
[  845.244770]  [<ffffffff81382989>] ? dev_deactivate_many+0x209/0x260
[  845.244780]  [<ffffffffa0a5645a>] ieee80211_stop+0x1a/0x20 [mac80211]
[  845.244786]  [<ffffffff81361fc5>] __dev_close_many+0x85/0xd0
[  845.244789]  [<ffffffff81362100>] dev_close_many+0xa0/0x110
[  845.244793]  [<ffffffff81362258>] rollback_registered_many+0xe8/0x260
[  845.244797]  [<ffffffff813623eb>] unregister_netdevice_many+0x1b/0x80
[  845.244807]  [<ffffffffa0a55a30>] ieee80211_remove_interfaces+0xd0/0x110 [mac80211]
[  845.244816]  [<ffffffffa0a3f133>] ieee80211_unregister_hw+0x53/0x120 [mac80211]
[  845.244820]  [<ffffffffa0aca3da>] rtl8187_disconnect+0x36/0x73 [rtl8187]
[  845.244835]  [<ffffffffa0046240>] usb_unbind_interface+0x50/0x180 [usbcore]
[  845.244842]  [<ffffffff8130ae0c>] __device_release_driver+0x7c/0xe0
[  845.244845]  [<ffffffff8130ae9c>] device_release_driver+0x2c/0x40
[  845.244853]  [<ffffffffa0046400>] usb_driver_release_interface+0x90/0xa0 [usbcore]
[  845.244859]  [<ffffffff8108610f>] ? __dequeue_entity+0x2f/0x50
[  845.244867]  [<ffffffffa00464a4>] usb_forced_unbind_intf+0x24/0x30 [usbcore]
[  845.244875]  [<ffffffffa004652a>] usb_suspend+0x7a/0x140 [usbcore]
[  845.244882]  [<ffffffffa00391a0>] ? usb_dev_freeze+0x20/0x20 [usbcore]
[  845.244888]  [<ffffffffa00391b3>] usb_dev_suspend+0x13/0x20 [usbcore]
[  845.244894]  [<ffffffff81311eab>] dpm_run_callback.isra.4+0x3b/0x70
[  845.244898]  [<ffffffff8131243e>] __device_suspend+0xae/0x240
[  845.244901]  [<ffffffff813125ef>] async_suspend+0x1f/0xa0
[  845.244906]  [<ffffffff810795ce>] async_run_entry_fn+0x7e/0x170
[  845.244910]  [<ffffffff8106be9a>] process_one_work+0x12a/0x440
[  845.244914]  [<ffffffff81079550>] ? async_schedule+0x20/0x20
[  845.244917]  [<ffffffff8106c6fe>] worker_thread+0x12e/0x2d0
[  845.244920]  [<ffffffff8106c5d0>] ? manage_workers.isra.25+0x1f0/0x1f0
[  845.244925]  [<ffffffff81071bc3>] kthread+0x93/0xa0
[  845.244930]  [<ffffffff81461664>] kernel_thread_helper+0x4/0x10
[  845.244934]  [<ffffffff81071b30>] ? kthread_freezable_should_stop+0x70/0x70
[  845.244937]  [<ffffffff81461660>] ? gs_change+0x13/0x13
[  845.244939] ---[ end trace 01e7e25f2dbbb07f ]---
[  845.252893] sd 0:0:0:0: [sda] Stopping disk
[  845.295758] ACPI handle has no context!
[  845.295778] ACPI handle has no context!
[  845.296971] [fglrx] IRQ 40 Disabled
[  845.297020] [fglrx] Preparing suspend fglrx in kernel.
[  845.300000] ACPI handle has no context!
[  845.373282] usb 1-2: reset high-speed USB device number 2 using ehci_hcd
[  845.465882] [fglrx] Suspending fglrx in kernel completed.
[  845.465892] [fglrx] Power down the ASIC .
[  846.193105] PM: suspend of devices complete after 969.443 msecs
[  846.193629] ehci_hcd 0000:00:03.3: wake-up capability enabled by ACPI
[  846.206638] ohci_hcd 0000:00:03.1: wake-up capability enabled by ACPI
[  846.206667] ohci_hcd 0000:00:03.0: wake-up capability enabled by ACPI
[  846.206811] PM: late suspend of devices complete after 13.700 msecs
[  846.207154] ACPI: Preparing to enter system sleep state S3
[  846.224852] PM: Saving platform NVS memory
[  846.224860] Disabling non-boot CPUs ...
[  846.224895] Extended CMOS year: 2000
[  846.224895] ACPI: Low-level resume complete
[  846.224895] PM: Restoring platform NVS memory
[  846.224895] Extended CMOS year: 2000
[  846.224895] ACPI: Waking up from system sleep state S3
[  846.400786] ohci_hcd 0000:00:03.0: wake-up capability disabled by ACPI
[  846.400817] ohci_hcd 0000:00:03.1: wake-up capability disabled by ACPI
[  846.413314] ehci_hcd 0000:00:03.3: wake-up capability disabled by ACPI
[  846.413981] PM: early resume of devices complete after 13.374 msecs
[  846.414099] sis190 0000:00:04.0: setting latency timer to 64
[  846.414133] snd_hda_intel 0000:00:0f.0: setting latency timer to 64
[  846.416776] [fglrx] Power up the ASIC
[  846.416794] [fglrx] Preparing resume fglrx in kernel.
[  846.434838] [fglrx] Resuming fglrx in kernel completed.
[  846.435036] [fglrx] IRQ 40 Enabled
[  846.603495] ata2.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[  846.603500] ata2.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
[  846.656828] ata2.00: configured for UDMA/100
[  846.696612] usb 1-2: reset high-speed USB device number 2 using ehci_hcd
[  846.979952] usb 2-2: reset full-speed USB device number 2 using ohci_hcd
[  847.663492] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[  847.663496] ata1.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
[  847.686930] ata1.00: configured for UDMA/133
[  847.687007] sd 0:0:0:0: [sda] Starting disk
[  847.692368] PM: resume of devices complete after 1278.360 msecs
[  847.952768] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[  847.953374] ieee80211 phy2: hwaddr 1c:4b:d6:26:c3:30, RTL8187BvE V0 + rtl8225z2, rfkill mask 2
[  847.974865] rtl8187: Customer ID is 0x00
[  847.974908] Registered led device: rtl8187-phy2::radio
[  847.974935] Registered led device: rtl8187-phy2::tx
[  847.974960] Registered led device: rtl8187-phy2::rx
[  847.975729] rtl8187: wireless switch is on
[  847.975964] PM: Finishing wakeup.
[  847.975979] Restarting tasks ... done.
[  848.028378] video LNXVIDEO:00: Restoring backlight state
[  851.946503] EXT4-fs (sda3): re-mounted. Opts: commit=0
[  851.953658] EXT4-fs (sda4): re-mounted. Opts: commit=0
[  855.488224] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  861.461528] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  861.498735] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  865.404897] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  870.001351] wlan0: authenticate with 00:24:d4:e0:16:a8 (try 1)
[  870.003705] wlan0: authenticated
[  870.127837] wlan0: associate with 00:24:d4:e0:16:a8 (try 1)
[  870.150745] wlan0: RX AssocResp from 00:24:d4:e0:16:a8 (capab=0x411 status=0 aid=1)
[  870.150750] wlan0: associated
[  870.150755] wlan0: moving STA 00:24:d4:e0:16:a8 to state 1
[  870.150758] wlan0: moving STA 00:24:d4:e0:16:a8 to state 2
[  870.150760] wlan0: moving STA 00:24:d4:e0:16:a8 to state 3
[  870.156465] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  880.549940] wlan0: no IPv6 routers present

/var/log/pm-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/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55wicd suspend suspend:

/usr/lib/pm-utils/sleep.d/55wicd 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 /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:
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:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
ven. juin  8 23:16:30 CEST 2012: performing suspend
(null): Error in configuration file, line 1
(null): Could not parse config file
switching from vt7 to vt1... succeeded
switching back to vt7... succeeded
ven. juin  8 23:16:35 CEST 2012: Awake.
ven. juin  8 23:16:35 CEST 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/95led resume suspend:

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

/usr/lib/pm-utils/sleep.d/55wicd resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:

/usr/lib/pm-utils/sleep.d/01grub 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.
ven. juin  8 23:16:38 CEST 2012: Finished.
Initial commandline parameters: 
Sun Jun 10 23:12:46 CEST 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux arch 3.3.8-1-ARCH #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 2012 x86_64 GNU/Linux
Module                  Size  Used by
aes_x86_64              7508  2 
cryptd                  8383  0 
aes_generic            26138  1 aes_x86_64
fuse                   68162  2 
arc4                    1410  2 
rtl8187                51907  0 
eeprom_93cx6            2175  1 rtl8187
mac80211              391455  1 rtl8187
cfg80211              176857  2 mac80211,rtl8187
rfkill                 15604  1 cfg80211
joydev                  9991  0 
fglrx                3199719  82 
uvcvideo               67853  0 
videobuf2_vmalloc       2276  1 uvcvideo
videobuf2_memops        2182  1 videobuf2_vmalloc
videobuf2_core         20415  1 uvcvideo
videodev               83373  1 uvcvideo
v4l2_compat_ioctl32     8348  1 videodev
media                  10469  2 videodev,uvcvideo
snd_hda_codec_realtek   114123  1 
amd_iommu_v2            7303  1 fglrx
radeon                788124  0 
snd_hda_intel          24021  0 
snd_hda_codec          92713  2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep               6556  1 snd_hda_codec
i2c_algo_bit            5359  1 radeon
snd_pcm                74812  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              19222  1 snd_pcm
drm_kms_helper         26947  1 radeon
ttm                    64384  1 radeon
serio_raw               4653  0 
drm                   204375  3 ttm,drm_kms_helper,radeon
sdhci_pci              10535  0 
sdhci                  23662  1 sdhci_pci
mmc_core               82735  2 sdhci,sdhci_pci
snd                    59656  6 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
psmouse                69539  0 
i2c_core               20593  5 drm,drm_kms_helper,i2c_algo_bit,radeon,videodev
wmi                     8475  0 
pcspkr                  1835  0 
jmb38x_ms               8417  0 
soundcore               6082  1 snd
sis_agp                 4189  0 
sis190                 17394  0 
thermal                 7959  0 
evdev                   9402  8 
memstick                7016  1 jmb38x_ms
ac                      2376  0 
button                  4502  1 fglrx
video                  11243  0 
battery                 6485  0 
processor              26144  1 
mii                     4091  1 sis190
ext4                  424467  3 
crc16                   1359  1 ext4
jbd2                   71704  1 ext4
mbcache                 5977  1 ext4
sd_mod                 28059  5 
sr_mod                 14823  0 
cdrom                  35744  1 sr_mod
pata_acpi               3408  0 
sata_sis                3969  4 
pata_sis               10975  1 sata_sis
ata_generic             3295  0 
ohci_hcd               21816  0 
ehci_hcd               44136  0 
libata                167083  4 ata_generic,pata_sis,sata_sis,pata_acpi
scsi_mod              133422  3 libata,sr_mod,sd_mod
usbcore               147077  5 ehci_hcd,ohci_hcd,uvcvideo,rtl8187
usb_common               954  1 usbcore
             total       used       free     shared    buffers     cached
Mem:       2053184     804744    1248440          0      32144     277412
-/+ buffers/cache:     495188    1557996
Swap:      2104508          0    2104508

/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/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55wicd suspend suspend:

/usr/lib/pm-utils/sleep.d/55wicd 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:
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:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Sun Jun 10 23:12:59 CEST 2012: performing suspend
(null): Error in configuration file, line 1
(null): Could not parse config file
switching from vt7 to vt1... succeeded
switching back to vt7... succeeded
Sun Jun 10 23:13:05 CEST 2012: Awake.
Sun Jun 10 23:13:05 CEST 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/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led 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: success.
Running hook /etc/pm/sleep.d/90alsa resume suspend:
Playing raw data '/dev/zero' : Unsigned 8 bit, Rate 8000 Hz, Mono

/etc/pm/sleep.d/90alsa resume suspend: success.
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/55wicd resume suspend:

/usr/lib/pm-utils/sleep.d/55wicd resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:

/usr/lib/pm-utils/sleep.d/01grub 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.
Sun Jun 10 23:13:09 CEST 2012: Finished.

Offline

#6 2012-06-11 04:39:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Suspend command which restart directly after suspending

ppr wrote:

And you, what have you done to answer to my question? I hate wasting my time to answer to such useless post. I like to be quick and efficient so I describe my problem in the case someone has an idea how to fix it,

If you were quick and efficient, you would have posted what you did in your first post rather than wasting other people's time giving you advice about things that you have already tried.

ppr wrote:

I will not list everything I done in order to solve it

That is the douchiest thing I have seen anyone say who requires help in a forum. Remember you need help, we don't "need" to help you.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2012-06-11 20:46:01

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: Suspend command which restart directly after suspending

Please stop spaming this thread "administrator". You didn't bring anything to it and you create problems where there are none (I though your job was the contrary).

Last edited by ppr (2012-06-11 20:47:19)

Offline

#8 2012-06-11 20:50:17

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Suspend command which restart directly after suspending

I haven't brought anything to the thread because you think you can demand help from others without providing details about what you have done. You think your time is important but not other people's.

Read this : https://wiki.archlinux.org/index.php/Fo … way_Street


As to my job, my job is to keep the signal/noise ratio at check. You have been more noise than signal.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2012-06-11 22:25:04

hesse
Member
Registered: 2011-12-08
Posts: 88

Re: Suspend command which restart directly after suspending

Does the restarting issue happen when running pm-suspend and s2ram manually from the command line? Are you by any chance using acpid to monitor events? If so, post your event handler script(s) from /etc/acpi/actions or your /etc/acpi/handler.sh script. Does the following command, run as root, suspend your system correctly?

# echo -n 'mem' > /sys/power/state

As an aside - as Inxsible pointed out you should try to provide as much information as possible so that less time is spent on ruling out problems that don't exist. Change your title to something that explains your particular problem, not just 'Suspend'.

Last edited by hesse (2012-06-11 22:26:56)

Offline

#10 2012-06-15 11:20:14

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: Suspend command which restart directly after suspending

Hey

Thanks for your answers and sorry for these last posts.

So, when I tried to run pm-suspend or s2ram manually from the command lign, the same restart issue happens. I don't use acpid to monitor events.

About the commande

# echo -n 'mem' > /sys/power/state

, it does the same (suspend but wake up directly after).

On debian, I didn't have this suspend issue but it was with gnome (now it's arch with xfce). Maybe this issue is caused by modules/daemons I forget to put launch. I am a little lost because I'm use to debian and I just installed arch few week ago.

Here is my rc.conf:

[pierre@arch ~]$ cat /etc/rc.conf 
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#

# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Paris"
KEYMAP="fr-pc"
CONSOLEFONT=
CONSOLEMAP=
LOCALE=fr_FR.utf8
DAEMON_LOCALE="yes"
USECOLOR="yes"

# HARDWARE
# --------
MODULES=()
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"

# NETWORKING
# ----------
HOSTNAME=arch

interface=!eth0
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

# DAEMONS
# -------
#
DAEMONS=(syslog-ng !network dbus wicd @samba @crond @cupsd @alsa)

Offline

#11 2012-06-22 10:31:21

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: Suspend command which restart directly after suspending

So, it seems this problem is linked with a kernel error :

Dmesg says :

[ 1731.464845] Pid: 3246, comm: kworker/u:0 Tainted: P        W  O 3.4.3-1-ARCH #1
[ 1731.464848] Call Trace:
[ 1731.464857]  [<ffffffff810515cf>] warn_slowpath_common+0x7f/0xc0
[ 1731.464861]  [<ffffffff8105162a>] warn_slowpath_null+0x1a/0x20
[ 1731.464871]  [<ffffffffa0a6b3d5>] ieee80211_do_stop+0x7e5/0x800 [mac80211]
[ 1731.464877]  [<ffffffff8138cdf9>] ? dev_deactivate_many+0x209/0x260
[ 1731.464887]  [<ffffffffa0a6b40a>] ieee80211_stop+0x1a/0x20 [mac80211]
[ 1731.464892]  [<ffffffff8136c585>] __dev_close_many+0x85/0xd0
[ 1731.464895]  [<ffffffff8136c6c0>] dev_close_many+0xa0/0x110
[ 1731.464898]  [<ffffffff8136c818>] rollback_registered_many+0xe8/0x260
[ 1731.464902]  [<ffffffff8136c9ab>] unregister_netdevice_many+0x1b/0x80
[ 1731.464911]  [<ffffffffa0a6a860>] ieee80211_remove_interfaces+0xd0/0x110 [mac80211]
[ 1731.464919]  [<ffffffffa0a5a133>] ieee80211_unregister_hw+0x53/0x120 [mac80211]
[ 1731.464924]  [<ffffffffa0ae65da>] rtl8187_disconnect+0x36/0x73 [rtl8187]
[ 1731.464940]  [<ffffffffa0011470>] usb_unbind_interface+0x50/0x180 [usbcore]
[ 1731.464946]  [<ffffffff8130f58c>] __device_release_driver+0x7c/0xe0
[ 1731.464949]  [<ffffffff8130f61c>] device_release_driver+0x2c/0x40
[ 1731.464958]  [<ffffffffa0011630>] usb_driver_release_interface+0x90/0xa0 [usbcore]
[ 1731.464966]  [<ffffffffa0011664>] usb_forced_unbind_intf+0x24/0x30 [usbcore]
[ 1731.464973]  [<ffffffffa00117ba>] usb_suspend+0x7a/0x140 [usbcore]
[ 1731.464980]  [<ffffffffa0004180>] ? usb_dev_freeze+0x20/0x20 [usbcore]
[ 1731.464987]  [<ffffffffa0004193>] usb_dev_suspend+0x13/0x20 [usbcore]
[ 1731.464993]  [<ffffffff81316a4b>] dpm_run_callback.isra.4+0x3b/0x70
[ 1731.464996]  [<ffffffff8131748e>] __device_suspend+0xae/0x240
[ 1731.465000]  [<ffffffff8131763f>] async_suspend+0x1f/0xa0
[ 1731.465006]  [<ffffffff8107ab7e>] async_run_entry_fn+0x7e/0x170
[ 1731.465011]  [<ffffffff8106d4ca>] process_one_work+0x12a/0x440
[ 1731.465014]  [<ffffffff8107ab00>] ? async_schedule+0x20/0x20
[ 1731.465018]  [<ffffffff8106dd2e>] worker_thread+0x12e/0x2d0
[ 1731.465021]  [<ffffffff8106dc00>] ? manage_workers.isra.25+0x1f0/0x1f0
[ 1731.465024]  [<ffffffff810731d3>] kthread+0x93/0xa0
[ 1731.465030]  [<ffffffff8146bae4>] kernel_thread_helper+0x4/0x10
[ 1731.465033]  [<ffffffff81073140>] ? kthread_freezable_should_stop+0x70/0x70
[ 1731.465036]  [<ffffffff8146bae0>] ? gs_change+0x13/0x13
[ 1731.465038] ---[ end trace b8312b8ee83d9dce ]---

Offline

Board footer

Powered by FluxBB