Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29541 - x86_64, laptop, pm-suspend - resume not working

Attached to Project: Arch Linux
Opened by artix (sundoctor) - Friday, 20 April 2012, 07:42 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 27 August 2012, 00:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

Notebook Sony Vaio SZ7RXN. pm-suspend - works, resume - not, black screen instead.
pm-hibernate - works without problems. I tried LMDE live-cd - pm-suspend works fine.

Additional info:

My system: Arch + Openbox from official repositories: [core], [community], [extra]

Video drivers: extra/xf86-video-nouveau 0.0.16_git20120210-1

# uname -a
Linux machine 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz GenuineIntel GNU/Linux

# zgrep PM_ /proc/config.gz
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_RUNTIME=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_CAN_PM_TRACE=y
# CONFIG_PM_TRACE_RTC is not set
CONFIG_X86_PM_TIMER=y
# CONFIG_PCIEASPM_DEBUG is not set
# CONFIG_PM_DEVFREQ is not set

# zgrep 'SUSPEND' /proc/config.gz
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_USB_SUSPEND=y

# zgrep 'HIBERNATION' /proc/config.gz
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_HIBERNATION=y

/etc/rc.conf
DAEMONS=(hwclock syslog-ng net-auto-wireless net-auto-wired netfs cpufreq crond dbus acpid sshd)

/etc/mkinitcpio.conf
HOOKS="base udev pata scsi sata encrypt lvm2 resume filesystems usbinput"

/etc/pm/config.d/modules
SUSPEND_MODULES="uhci_hcd ehci_hcd firewire_ohci usbcore firewire_core button vboxdrv vboxnetadp vboxnetflt"

/var/log/pm-suspend.log
Wed. Apr. 18 23:31:33 MSK 2012: performing suspend
Initial commandline parameters:
Чт. апр. 19 15:50:57 MSK 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux machine 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz GenuineIntel GNU/Linux
Module Size Used by
ext4 424947 1
jbd2 71704 1 ext4
mbcache 5977 1 ext4
btusb 11579 0
vboxnetflt 16935 0
vboxnetadp 5843 0
vboxdrv 1791206 2 vboxnetadp,vboxnetflt
bluetooth 171310 1 btusb
arc4 1410 2
iwl3945 56510 0
crc16 1359 2 bluetooth,ext4
pcmcia 36073 0
iwlegacy 49922 1 iwl3945
battery 6485 0
nouveau 768618 1
usb_storage 44530 0
uas 8026 0
mxm_wmi 1425 1 nouveau
wmi 8475 2 mxm_wmi,nouveau
drm_kms_helper 26947 1 nouveau
ttm 64384 1 nouveau
i2c_i801 8116 0
joydev 9991 0
drm 204375 3 ttm,drm_kms_helper,nouveau
mac80211 391455 2 iwlegacy,iwl3945
sony_laptop 29162 0
cpufreq_powersave 990 0
acpi_cpufreq 5941 1
mperf 1275 1 acpi_cpufreq
cfg80211 176857 3 mac80211,iwlegacy,iwl3945
firewire_ohci 31522 0
yenta_socket 21109 0
ac 2376 0
firewire_core 51466 1 firewire_ohci
pcmcia_rsrc 8857 1 yenta_socket
intel_agp 10872 0
snd_hda_codec_idt 56346 1
intel_gtt 14007 1 intel_agp

iTCO_wdt 12877 0
pcmcia_core 12189 3 pcmcia_rsrc,yenta_socket,pcmcia
crc_itu_t 1363 1 firewire_core
iTCO_vendor_support 1929 1 iTCO_wdt
sky2 48995 0
snd_hda_intel 23989 0
snd_hda_codec 92713 2 snd_hda_intel,snd_hda_codec_idt
snd_hwdep 6556 1 snd_hda_codec
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
tifm_7xx1 4482 0
pcspkr 1835 0
serio_raw 4653 0
thermal 7959 0
video 11243 1 nouveau
processor 26144 3 acpi_cpufreq
i2c_core 20593 4 drm,i2c_i801,drm_kms_helper,nouveau
rfkill 15604 3 cfg80211,sony_laptop,bluetooth
tifm_core 5017 1 tifm_7xx1
snd 59656 6 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_idt
soundcore 6082 1 snd
psmouse 69539 0
evdev 9402 9
fuse 68162 0
button 4502 1 nouveau
aes_x86_64 7508 5
cryptd 8383 0
aes_generic 26138 1 aes_x86_64
xts 3101 2
gf128mul 6050 1 xts
usbhid 36142 0
hid 84549 1 usbhid
dm_crypt 16464 1
dm_mod 71398 12 dm_crypt
sr_mod 14823 0
cdrom 35744 1 sr_mod
sd_mod 28059 3
pata_acpi 3408 0
ata_generic 3295 0
ahci 20261 2
libahci 19999 1 ahci
ata_piix 22136 0
uhci_hcd 23372 0
libata 167019 5 ata_piix,libahci,ahci,ata_generic,pata_acpi
scsi_mod 133422 5 libata,sd_mod,sr_mod,uas,usb_storage
ehci_hcd 43944 0
usbcore 146687 7 ehci_hcd,uhci_hcd,usbhid,uas,usb_storage,btusb
usb_common 954 1 usbcore
reiserfs 240101 2
total used free shared buffers cached
Mem: 4052676 128732 3923944 0 2896 30472
-/+ buffers/cache: 95364 3957312
Swap: 8388604 0 8388604

/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:
:: wifi-stk down [BUSY] [DONE]

/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /etc/pm/sleep.d/20usb suspend suspend:

/etc/pm/sleep.d/20usb 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 /etc/pm/sleep.d/50vbetool suspend suspend:

/etc/pm/sleep.d/50vbetool suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
Unloading kernel module uhci_hcd...Done.
Unloading kernel module ehci_hcd...Done.
Unloading kernel module firewire_ohci...Done.
Unloading kernel module usbcore...Done.
Unloading kernel module firewire_core...Done.
Unloading kernel module button...FATAL: Module nouveau is in use.
/usr/lib/pm-utils/functions: line 89: log: команда не найдена
Failed.
Unloading kernel module vboxdrv...Done.
Unloading kernel module vboxnetadp...Done.
Unloading kernel module vboxnetflt...Done.

/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:
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:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Чт. апр. 19 15:50:59 MSK 2012: performing suspend

KERNEL:
kernel /vmlinuz-linux cryptdevice=/dev/sda2:crypt root=/dev/mapper/lvm-root resume=/dev/mapper/lvm-swap acpi_osi=Linux acpi_backlight=vendor hpet=disable pcie_aspm=force ro

and the same
kernel /vmlinuz-linux cryptdevice=/dev/sda2:crypt root=/dev/mapper/lvm-root resume=/dev/mapper/lvm-swap acpi_osi=Linux acpi_backlight=vendor hpet=disable pcie_aspm=force acpi_sleep=s3_bios,s3_mode ro


Steps to reproduce:
# pm-suspend
in urxvt or console

This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 27 August 2012, 00:46 GMT
Reason for closing:  Upstream
Comment by artix (sundoctor) - Tuesday, 24 April 2012, 10:31 GMT
pm-suspend-hybrid not working too...
and without nouveau not working...
Comment by artix (sundoctor) - Tuesday, 24 April 2012, 16:16 GMT
With the secords video cards - all works fine:

# lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400M GS] (rev a1) (SPEED)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c) (STAMINA)

So, the problem with pm-suspend (and with backlight brightness on GeForce 8400M too) is in "nouveau"!

I use:

$ yaourt -Q | grep nouve
extra/nouveau-dri 8.0.2-1
extra/xf86-video-nouveau 0.0.16_git20120210-1

Comment by dani (dk) - Wednesday, 04 July 2012, 06:47 GMT
I had this problem on a Thinkpad W510. I Donwgraded nvidia-302.17-1-x86_64 to nvidia-295.53-1-x86_64 and linux-3.4.4-2-x86_64 to linux-3.3.8-1-x86_64 and suspend resumed without a hitch so my guess is that the problem lies in the new nvidia module.
Comment by kriz (kriz) - Sunday, 15 July 2012, 20:20 GMT
nope, im using intel graphics xf86-video-intel-uxa 2.19.0-6, and pm-suspend doesn't work. seems to be a kernel issue
Comment by Viktor Bruder (bruder.victor) - Wednesday, 18 July 2012, 17:26 GMT
I have same problem with xf86-video-ati 1:6.14.6-1. (Radeon x1250 / RS690)
Comment by Jelle van der Waa (jelly) - Saturday, 25 August 2012, 07:50 GMT
Since it's probably a driver / kernel issue, report it upstream
Comment by kriz (kriz) - Sunday, 26 August 2012, 08:56 GMT
found a workaround: using systemd suspend works for me

Loading...