You are not logged in.
Hey friends,
I'm having problems with my MBP 8,2 waking after suspending it to ram via pm-suspend. This is output in pm-suspend.log:
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Tue Oct 9 09:40:28 PDT 2012: performing suspend
Get video state buffer size failed
Allocated buffer at 0x11000 (base is 0x0)
ES: 0x1100 EBX: 0x0000
Save video state failed
Real mode call failed
/usr/lib/pm-utils/functions: line 53: 938 Hangup s2ram --force $OPTS
Basically the MBP looks like it is suspending successfully, the light goes to the normal slow blink as it does in OSX, however when you try to wake it reboots.
Linux mbp-arch 3.6.1-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:23:11 CEST 2012 x86_64 GNU/Linux
Edit: Suspend works w/o issue on Ubuntu 12.04
Please let me know what other information I can provide.
Thanks.
Last edited by noisufnoc (2012-10-09 23:38:03)
Offline
for the time being i'm just shutting down when the lid is closed. better than nothing.
Offline
Anything relevent in dmesg output.
Offline
Here's the entire pm-suspend.log from when I issue the pm-suspend
Initial commandline parameters:
Wed Oct 10 13:08:57 PDT 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux mbp-arch 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:30:49 CEST 2012 x86_64 GNU/Linux
Module Size Used by
nls_cp437 5953 1
vfat 10119 1
fat 49770 1 vfat
snd_hda_codec_hdmi 23704 1
snd_hda_codec_cirrus 17229 1
arc4 1410 2
b43 353794 0
ssb 49827 1 b43
pcmcia 35785 2 b43,ssb
mmc_core 81526 2 b43,ssb
mac80211 416423 1 b43
cfg80211 173210 2 b43,mac80211
iTCO_wdt 5989 0
snd_hda_intel 25700 0
i915 473326 0
iTCO_vendor_support 1929 1 iTCO_wdt
snd_hda_codec 97464 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
uvcvideo 72339 0
pcmcia_core 12253 1 pcmcia
joydev 9991 0
snd_hwdep 6300 1 snd_hda_codec
videobuf2_vmalloc 2468 1 uvcvideo
tg3 137514 0
snd_pcm 74926 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
videobuf2_memops 2246 1 videobuf2_vmalloc
videobuf2_core 20575 1 uvcvideo
microcode 12377 0
firewire_ohci 31685 0
lpc_ich 10545 0
snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
videodev 100564 2 uvcvideo,videobuf2_core
firewire_core 52837 1 firewire_ohci
acpi_cpufreq 5933 0
applesmc 11701 0
snd_timer 18966 1 snd_pcm
aesni_intel 42907 1
aes_x86_64 7508 1 aesni_intel
btusb 11892 0
aes_generic 26138 2 aesni_intel,aes_x86_64
bluetooth 193756 2 btusb
ghash_clmulni_intel 4237 0
input_polldev 2882 1 applesmc
cryptd 8741 2 ghash_clmulni_intel,aesni_intel
rfkill 15604 3 cfg80211,bluetooth
kvm_intel 124013 0
bcm5974 8794 0
evdev 10266 15
kvm 363746 1 kvm_intel
coretemp 6006 0
media 10405 2 uvcvideo,videodev
pcspkr 1899 0
i2c_i801 8212 0
crc_itu_t 1363 1 firewire_core
mfd_core 2833 1 lpc_ich
bcma 25146 1 b43
libphy 16923 1 tg3
snd 60021 7 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
soundcore 5442 1 snd
mperf 1299 1 acpi_cpufreq
apple_gmux 2270 0
intel_agp 11096 1 i915
mei 32583 0
intel_gtt 14478 3 i915,intel_agp
video 11308 2 i915,apple_gmux
battery 6517 0
ac 2376 0
apple_bl 3040 1 apple_gmux
processor 27015 1 acpi_cpufreq
button 4502 1 i915
ext4 438999 1
jbd2 78720 1 ext4
mbcache 5977 1 ext4
crc16 1359 2 ext4,bluetooth
hid_generic 1113 0
hid_apple 5546 0
usbhid 36812 0
hid 85672 3 hid_generic,usbhid,hid_apple
uhci_hcd 23436 0
crc32c_intel 1987 0
ehci_hcd 41090 0
usbcore 147498 6 btusb,uhci_hcd,uvcvideo,ehci_hcd,usbhid,bcm5974
usb_common 954 1 usbcore
radeon 854584 0
i2c_algo_bit 5391 2 i915,radeon
drm_kms_helper 32749 2 i915,radeon
ttm 64448 1 radeon
drm 220900 4 ttm,i915,drm_kms_helper,radeon
i2c_core 20508 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon,videodev
sd_mod 29271 3
ahci 20581 2
libahci 20023 1 ahci
libata 167739 2 ahci,libahci
scsi_mod 133216 2 libata,sd_mod
total used free shared buffers cached
Mem: 8092628 359624 7733004 0 16548 110592
-/+ buffers/cache: 232484 7860144
Swap: 0 0 0
/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/50netcfg suspend suspend:
/usr/lib/pm-utils/sleep.d/50netcfg suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55wicd suspend suspend:
Unable to connect to wicd daemon - is it running?
/usr/lib/pm-utils/sleep.d/55wicd 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.
/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:
No quirk database entry for this system, using default.
/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.
Wed Oct 10 13:08:58 PDT 2012: performing suspend
Get video state buffer size failed
Allocated buffer at 0x11000 (base is 0x0)
ES: 0x1100 EBX: 0x0000
Save video state failed
Real mode call failed
Offline
Should I be using the intel or the radeon driver?
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series]
Offline
...or systemd?
Offline
Tried systemd today, same result. Does systemctl log somewhere?
Offline
This https://wiki.archlinux.org/index.php/Ma … cbook_Pro) says everything works out of the box with kernel 3.6r2, installed 3.6-1.1 from testing repo with same result.
Offline
from another machine I was able to connect to my macbook while it is in the no-display resume state. I'm booted with systemd and issued systemctl suspend
dmesg output
[ 23.692369] PM: Syncing filesystems ... done.
[ 23.694939] PM: Preparing system for mem sleep
[ 23.696574] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 23.708597] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 23.721986] PM: Entering mem sleep
[ 23.722038] Suspending console(s) (use no_console_suspend to debug)
[ 23.762267] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 23.762447] apple-gmux 00:08: wake-up capability disabled by ACPI
[ 23.763479] sd 0:0:0:0: [sda] Stopping disk
[ 25.419434] PM: suspend of devices complete after 1700.125 msecs
[ 25.419906] PM: late suspend of devices complete after 0.467 msecs
[ 25.432233] ehci_hcd 0000:00:1d.7: wake-up capability enabled by ACPI
[ 25.445270] ehci_hcd 0000:00:1a.7: wake-up capability enabled by ACPI
[ 25.471901] PM: noirq suspend of devices complete after 52.090 msecs
[ 25.472685] ACPI: Preparing to enter system sleep state S3
[ 25.505156] PM: Saving platform NVS memory
[ 25.506558] Disabling non-boot CPUs ...
[ 25.508680] smpboot: CPU 1 is now offline
[ 25.611449] smpboot: CPU 2 is now offline
[ 25.714586] smpboot: CPU 3 is now offline
[ 25.817716] smpboot: CPU 4 is now offline
[ 25.819840] smpboot: CPU 5 is now offline
[ 25.821964] smpboot: CPU 6 is now offline
[ 25.924172] smpboot: CPU 7 is now offline
[ 25.924724] Extended CMOS year: 2000
[ 25.926577] ACPI: Low-level resume complete
[ 25.926619] PM: Restoring platform NVS memory
[ 25.926915] Extended CMOS year: 2000
[ 25.926969] Enabling non-boot CPUs ...
[ 25.933771] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 25.949383] CPU1 is up
[ 25.956963] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 25.972768] CPU2 is up
[ 25.974770] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 26.000771] CPU3 is up
[ 26.002090] smpboot: Booting Node 0 Processor 4 APIC 0x1
[ 26.016414] CPU4 is up
[ 26.017709] smpboot: Booting Node 0 Processor 5 APIC 0x3
[ 26.034036] CPU5 is up
[ 26.035458] smpboot: Booting Node 0 Processor 6 APIC 0x5
[ 26.052015] CPU6 is up
[ 26.053546] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 26.070302] CPU7 is up
[ 26.078668] ACPI: Waking up from system sleep state S3
[ 27.027652] ehci_hcd 0000:00:1a.7: wake-up capability disabled by ACPI
[ 27.041144] pcieport 0000:00:1c.1: power state changed by ACPI to D0
[ 27.054266] ehci_hcd 0000:00:1d.7: wake-up capability disabled by ACPI
[ 27.107756] PM: noirq resume of devices complete after 106.943 msecs
[ 27.108135] PM: early resume of devices complete after 0.293 msecs
[ 27.108240] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[ 27.108247] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[ 27.108322] usb usb3: root hub lost power or was reset
[ 27.108355] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 27.108400] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 27.108408] ahci 0000:00:1f.2: setting latency timer to 64
[ 27.108427] usb usb4: root hub lost power or was reset
[ 27.108439] mei 0000:00:16.0: irq 46 for MSI/MSI-X
[ 27.108482] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[ 27.108993] snd_hda_intel 0000:01:00.1: irq 48 for MSI/MSI-X
[ 27.110460] mei 0000:00:16.0: wd: failed to find the client
[ 27.161117] firewire_ohci 0000:04:00.0: irq 49 for MSI/MSI-X
[ 27.440225] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 27.446866] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 27.451690] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 27.452092] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 27.456764] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 27.456773] ata2.00: configured for UDMA/133
[ 27.461739] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 27.462300] ata1.00: configured for UDMA/133
[ 27.462449] sd 0:0:0:0: [sda] Starting disk
[ 27.616671] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 27.659731] firewire_core 0000:04:00.0: rediscovered device fw0
[ 28.139241] PM: resume of devices complete after 1033.111 msecs
[ 28.139768] PM: Finishing wakeup.
[ 28.139771] Restarting tasks ... done.
[ 28.399012] EXT4-fs (sda3): re-mounted. Opts: data=ordered,commit=0
Offline
this part looks curious
[ 26.078668] ACPI: Waking up from system sleep state S3
[ 27.027652] ehci_hcd 0000:00:1a.7: wake-up capability disabled by ACPI
[ 27.041144] pcieport 0000:00:1c.1: power state changed by ACPI to D0
[ 27.054266] ehci_hcd 0000:00:1d.7: wake-up capability disabled by ACPI
Offline
I also noticed that when I try pm-suspend, upon resume the cpu usage is high and this command is top in top s2ram --force --vbe_post --vbe_save --vbe_mode
Offline
enabed debug for the pm_suspend log, noticed this
+ s2ram --force --vbe_post --vbe_save --vbe_mode
Get video state buffer size failed
Allocated buffer at 0x11000 (base is 0x0)
ES: 0x1100 EBX: 0x0000
Save video state failed
Real mode call failed
Offline
Also tried this quirk, w/o success
--quirk-dpms-on
This option forces the video hardware to turn on the screen during resume. Most video adapters turn on the screen themselves, but if you get a blank screen on resume that can be turned back on by moving the mouse or typing then this option may be useful.
Offline
giving up for today, leaving it booting with systemd now, so i'm just looking to successfully suspend that way.
Offline
i'm also seeing some complaints like this in dmesg
[ 55.497221] [drm:drm_pci_agp_init] *ERROR* Cannot initialize the agpgart module.
Offline
i can provide any other information required.
Offline