Après une installation fraiche d'archlinux + xfce, la mise en veille ne fonctionne pas. L'ordinateur se met bien en veille (même s'il prend bien 30s pour y arriver) mais n'y reste pas (il se réveille dès que la veille est atteinte). J'ai essayé la méthode pm-utils (avec la commande pm-suspend) et aussi uswsusp (avec s2ram -f). Le problème semble exactement le même pour les deux méthodes.
Je soupçonne que le problème vient de ma carte graphique qui fonctionne avec les pilotes propriétaire catalyst de chez ATI.
J'ai essayé d'obliger les modules uhci_hd, button et ehci_hd a être explicitement déchargés en les ajoutant à SUSPEND_MODULES dans /etc/pm/config.d/modules. J'ai aussi essayé d'ajouter au démarrage du kernel (/boot/grub/menu.lst) les options acpi_sleep=nonvs et vga=0. Rien de cela n'a marché.
Pourtant, sous debian unstable, la mise en veille marchait bien (même avec les drivers catalyst). Ça doit donc être possible de la faire marcher sous arch.
Voici ce que me dit dmesg quand je met en veille :
Code : Tout sélectionner
[ 1716.761955] EXT4-fs (sda3): re-mounted. Opts: commit=0
[ 1717.612246] EXT4-fs (sda4): re-mounted. Opts: commit=0
[ 1717.999915] wlan0: deauthenticating from 00:23:5e:79:86:b2 by local choice (reason=3)
[ 1718.081092] cfg80211: Calling CRDA for country: FR
[ 1721.938180] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1722.175872] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1726.068161] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1730.144801] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1730.216594] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1731.061490] Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_r6xx.c at line: 79
[ 1731.074646] Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_r6xx.c at line: 79
[ 1731.084926] Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_r6xx.c at line: 79
[ 1731.329620] PM: Syncing filesystems ... done.
[ 1731.416344] PM: Preparing system for mem sleep
[ 1731.417636] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 1731.429933] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 1731.443217] PM: Entering mem sleep
[ 1731.443245] Suspending console(s) (use no_console_suspend to debug)
[ 1731.464488] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1731.464761] ------------[ cut here ]------------
[ 1731.464785] WARNING: at net/mac80211/driver-ops.h:10 ieee80211_do_stop+0x7e5/0x800 [mac80211]()
[ 1731.464788] Hardware name: W760SUA
[ 1731.464790] Modules linked in: aes_x86_64 cryptd aes_generic fuse usbhid hid arc4 rtl8187 eeprom_93cx6 mac80211 cfg80211 joydev snd_hda_codec_realtek rfkill fglrx(PO) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media amd_iommu_v2 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer snd soundcore radeon i2c_algo_bit drm_kms_helper sis190 ttm mii microcode drm sdhci_pci sdhci i2c_core mmc_core sis_agp serio_raw psmouse pcspkr jmb38x_ms memstick battery ac processor wmi coretemp evdev video thermal button 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
[ 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 ]---
[ 1731.475133] sd 0:0:0:0: [sda] Stopping disk
[ 1731.514500] ACPI handle has no context!
[ 1731.514518] ACPI handle has no context!
[ 1731.515708] [fglrx] IRQ 40 Disabled
[ 1731.515771] [fglrx] Preparing suspend fglrx in kernel.
[ 1731.593190] usb 1-2: reset high-speed USB device number 2 using ehci_hcd
[ 1731.683438] [fglrx] Suspending fglrx in kernel completed.
[ 1731.683447] [fglrx] Power down the ASIC .
[ 1731.826605] ACPI handle has no context!
[ 1732.425053] PM: suspend of devices complete after 981.470 msecs
[ 1732.425333] PM: late suspend of devices complete after 0.274 msecs
[ 1732.425702] ehci_hcd 0000:00:03.3: wake-up capability enabled by ACPI
[ 1732.436566] ohci_hcd 0000:00:03.1: wake-up capability enabled by ACPI
[ 1732.436594] ohci_hcd 0000:00:03.0: wake-up capability enabled by ACPI
[ 1732.436697] PM: noirq suspend of devices complete after 11.359 msecs
[ 1732.437037] ACPI: Preparing to enter system sleep state S3
[ 1732.454761] PM: Saving platform NVS memory
[ 1732.454769] Disabling non-boot CPUs ...
[ 1732.454804] Extended CMOS year: 2000
[ 1732.454804] ACPI: Low-level resume complete
[ 1732.454804] PM: Restoring platform NVS memory
[ 1732.454804] Extended CMOS year: 2000
[ 1732.454804] ACPI: Waking up from system sleep state S3
[ 1732.613392] ohci_hcd 0000:00:03.0: wake-up capability disabled by ACPI
[ 1732.613423] ohci_hcd 0000:00:03.1: wake-up capability disabled by ACPI
[ 1732.626560] ehci_hcd 0000:00:03.3: wake-up capability disabled by ACPI
[ 1732.627239] PM: noirq resume of devices complete after 14.026 msecs
[ 1732.627345] PM: early resume of devices complete after 0.081 msecs
[ 1732.627441] sis190 0000:00:04.0: setting latency timer to 64
[ 1732.627476] snd_hda_intel 0000:00:0f.0: setting latency timer to 64
[ 1732.630111] [fglrx] Power up the ASIC
[ 1732.630129] [fglrx] Preparing resume fglrx in kernel.
[ 1732.648259] [fglrx] Resuming fglrx in kernel completed.
[ 1732.648496] [fglrx] IRQ 40 Enabled
[ 1732.671241] Extended CMOS year: 2000
[ 1732.816739] ata2.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[ 1732.816744] ata2.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
[ 1732.870070] ata2.00: configured for UDMA/100
[ 1732.913189] usb 1-2: reset high-speed USB device number 2 using ehci_hcd
[ 1733.196529] usb 2-2: reset full-speed USB device number 2 using ohci_hcd
[ 1734.196738] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[ 1734.196742] ata1.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
[ 1734.220174] ata1.00: configured for UDMA/133
[ 1734.220250] sd 0:0:0:0: [sda] Starting disk
[ 1734.230862] PM: resume of devices complete after 1603.510 msecs
[ 1734.491146] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 1734.491408] ieee80211 phy5: hwaddr 1c:4b:d6:26:c3:30, RTL8187BvE V0 + rtl8225z2, rfkill mask 2
[ 1734.512874] rtl8187: Customer ID is 0x00
[ 1734.512911] Registered led device: rtl8187-phy5::radio
[ 1734.512936] Registered led device: rtl8187-phy5::tx
[ 1734.512961] Registered led device: rtl8187-phy5::rx
[ 1734.513613] rtl8187: wireless switch is on
[ 1734.513870] PM: Finishing wakeup.
[ 1734.513873] Restarting tasks ... done.
[ 1734.533531] video LNXVIDEO:00: Restoring backlight state
[ 1738.463129] EXT4-fs (sda3): re-mounted. Opts: commit=0
[ 1738.588531] EXT4-fs (sda4): re-mounted. Opts: commit=0
Code : Tout sélectionner
$ tail -f /var/log/pm-suspend.log
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.
mer. juin 20 11:03:25 CEST 2012: Finished.
Initial commandline parameters:
mer. juin 20 11:13:17 CEST 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux arch 3.4.3-1-ARCH #1 SMP PREEMPT Mon Jun 18 08:28:29 CEST 2012 x86_64 GNU/Linux
Module Size Used by
aes_x86_64 7508 1
cryptd 8741 0
aes_generic 26138 1 aes_x86_64
fuse 68768 2
usbhid 36430 0
hid 85285 1 usbhid
arc4 1410 2
rtl8187 52527 0
eeprom_93cx6 2175 1 rtl8187
mac80211 395680 1 rtl8187
cfg80211 170074 2 mac80211,rtl8187
joydev 9991 0
snd_hda_codec_realtek 60377 1
rfkill 15604 1 cfg80211
fglrx 3198535 112
uvcvideo 69437 0
videobuf2_vmalloc 2468 1 uvcvideo
videobuf2_memops 2246 1 videobuf2_vmalloc
videobuf2_core 20415 1 uvcvideo
videodev 93086 1 uvcvideo
media 10213 2 uvcvideo,videodev
amd_iommu_v2 7359 1 fglrx
snd_hda_intel 24053 0
snd_hda_codec 94273 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6300 1 snd_hda_codec
snd_pcm 74958 2 snd_hda_codec,snd_hda_intel
snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
snd_timer 18966 1 snd_pcm
snd 58997 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore 5410 1 snd
radeon 852002 0
i2c_algo_bit 5391 1 radeon
drm_kms_helper 33051 1 radeon
sis190 17362 0
ttm 64320 1 radeon
mii 4123 1 sis190
microcode 12185 0
drm 208958 3 ttm,drm_kms_helper,radeon
sdhci_pci 10833 0
sdhci 23854 1 sdhci_pci
i2c_core 20369 5 drm,drm_kms_helper,i2c_algo_bit,radeon,videodev
mmc_core 82070 2 sdhci,sdhci_pci
sis_agp 4189 0
serio_raw 4653 0
psmouse 70792 0
pcspkr 1899 0
jmb38x_ms 8417 0
memstick 7016 1 jmb38x_ms
battery 6517 0
ac 2376 0
processor 26567 1
wmi 8475 0
coretemp 5654 0
evdev 9754 9
video 11307 0
thermal 7959 0
button 4502 1 fglrx
ext4 424175 3
crc16 1359 1 ext4
jbd2 73919 1 ext4
mbcache 5977 1 ext4
sd_mod 29239 5
sr_mod 14823 0
cdrom 35648 1 sr_mod
pata_acpi 3408 0
sata_sis 3969 4
pata_sis 10975 1 sata_sis
ata_generic 3295 0
ohci_hcd 21720 0
ehci_hcd 41154 0
libata 167611 4 pata_acpi,sata_sis,pata_sis,ata_generic
scsi_mod 132942 3 libata,sd_mod,sr_mod
usbcore 147533 6 uvcvideo,rtl8187,ohci_hcd,ehci_hcd,usbhid
usb_common 954 1 usbcore
total used free shared buffers cached
Mem: 2053104 1237756 815348 0 36964 334776
-/+ buffers/cache: 866016 1187088
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.
mer. juin 20 11:13:31 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
mer. juin 20 11:13:39 CEST 2012: Awake.
mer. juin 20 11:13:39 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:
Lecture données brutes '/dev/zero' : Unsigned 8 bit, Fréquence 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.
mer. juin 20 11:13:43 CEST 2012: Finished.
Code : Tout sélectionner
(null): Error in configuration file, line 1
(null): Could not parse config file
Des idées ?
Merci d'avance