Public bug reported:

MacBookPro5,5 resume and suspend works, but resume takes 24 seconds.

"dmesg | tail" reports the following WARNING:


[44421.253436] sd 0:0:0:0: [sda] Starting disk
[44421.449351] applesmc: device has already been initialized (0xe0, 0x00).
[44421.515436] PM: resume devices took 23.880 seconds
[44421.515438] ------------[ cut here ]------------
[44421.515451] WARNING: at 
/build/buildd/linux-2.6.31/kernel/power/suspend_test.c:52 
suspend_test_finish+0x7c/0x80()
[44421.515453] Hardware name: MacBookPro5,5
[44421.515454] Component: resume devices
[44421.515455] Modules linked in: binfmt_misc ppdev bridge stp bnep 
snd_hda_codec_cirrus nls_iso8859_1 nls_cp437 vfat fat iptable_filter 
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm nvidia_bl btusb snd_seq ip_tables 
lib80211_crypt_tkip bcm5974 nvidia(P) uvcvideo x_tables joydev snd_timer 
snd_seq_device snd wl(P) videodev lib80211 v4l1_compat soundcore 
v4l2_compat_ioctl32 snd_page_alloc i2c_nforce
2 shpchp applesmc led_class input_polldev lp parport dm_raid45 xor hid_apple 
usbhid usb_storage ohci1394 ieee1394 forcedeth
[44421.515483] Pid: 13843, comm: pm-suspend Tainted: P        W  
2.6.31-14-generic #48-Ubuntu
[44421.515485] Call Trace:
[44421.515490]  [<ffffffff8105e788>] warn_slowpath_common+0x78/0xb0
[44421.515492]  [<ffffffff8105e81c>] warn_slowpath_fmt+0x3c/0x40
[44421.515495]  [<ffffffff810934dc>] suspend_test_finish+0x7c/0x80
[44421.515497]  [<ffffffff81093289>] suspend_devices_and_enter+0xa9/0xe0
[44421.515500]  [<ffffffff81093398>] enter_state+0xd8/0x110
[44421.515502]  [<ffffffff81092952>] state_store+0x92/0x100
[44421.515506]  [<ffffffff81274197>] kobj_attr_store+0x17/0x20
[44421.515510]  [<ffffffff81184780>] sysfs_write_file+0xe0/0x160
[44421.515513]  [<ffffffff8111ede8>] vfs_write+0xb8/0x1a0
[44421.515517]  [<ffffffff8152bf74>] ? do_page_fault+0x194/0x370
[44421.515519]  [<ffffffff8111f89c>] sys_write+0x4c/0x80
[44421.515523]  [<ffffffff81012002>] system_call_fastpath+0x16/0x1b
[44421.515525] ---[ end trace e129ce6cc80da5f1 ]---
[44421.515880] PM: Finishing wakeup.
[44421.515881] Restarting tasks ... done.
[44421.604678] forcedeth 0000:00:0a.0: irq 27 for MSI/MSI-X
[44421.604895] eth0: no link during initialization.
[44421.605562] ADDRCONF(NETDEV_UP): eth0: link is not ready


I would expect the resume to take anywhere between 1 and 5 seconds. Not 24.
In the same machine, MacOSX resumes in about a second (this machine has a 256 
Gb SSD).

Help appreciated understanding the above dmesg and working around
whatever problem this is.

This machine runs Ubuntu 9.10 dist-upgraded to yesterday 2009-11-22


$ uname -a
Linux mac 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 
GNU/Linux

ProblemType: Bug
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  albert     2036 F.... pulseaudio
 /dev/snd/pcmC0D0p:   albert     2036 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
   Mixer name   : 'Cirrus Logic CS4206'
   Components   : 'HDA:10134206,106b4d00,00100301'
   Controls      : 16
   Simple ctrls  : 9
Date: Sun Nov 22 12:32:55 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=84867975-813b-436f-a344-c059243705d8
MachineType: Apple Inc. MacBookPro5,5
NonfreeKernelModules: nvidia wl
Package: linux-image-2.6.31-14-generic 2.6.31-14.48 [modified: 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-analog.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-atihdmi.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-ca0110.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-cmedia.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-conexant.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-idt.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-intelhdmi.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-nvhdmi.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-realtek.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-si3054.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec-via.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-codec.ko 
lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko]
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic 
root=UUID=ab55d2f6-2838-4a17-9665-5ffc1f60e190 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic N/A
 linux-firmware 1.24
RfKill:
 0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
SourcePackage: linux
Uname: Linux 2.6.31-14-generic x86_64
dmi.bios.date: 06/15/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP55.88Z.00AC.B03.0906151708
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-F2268AC8
dmi.board.vendor: Apple Inc.
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F2268AC8
dmi.modalias: 
dmi:bvnAppleInc.:bvrMBP55.88Z.00AC.B03.0906151708:bd06/15/09:svnAppleInc.:pnMacBookPro5,5:pvr1.0:rvnAppleInc.:rnMac-F2268AC8:rvr:cvnAppleInc.:ct10:cvrMac-F2268AC8:
dmi.product.name: MacBookPro5,5
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
MacBookPro5,5 takes 24 seconds to resume from suspend
https://bugs.launchpad.net/bugs/486737
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to