Macbook C2D fails to suspend under 2.6.20-16

Bug #117864 reported by Jonathan Lange
10
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20

Since upgrading to 2.6.20-16, I've been unable to suspend my Macbook. Suspending and resuming worked fine with 2.6.20-15.

When I try to suspend with 2.6.20-16, I get some disk activity, then the screen and disk both shutdown. The only indication that the computer is on is that the white LED at the front turns on when I close the lid. I can't wake the computer up from this state, either by hitting keys or pressing the power button.

I believe this is a failure in suspend, not in resuming. Under OS X and 2.6.20-15, the white LED pulses when the computer is in suspend mode. That doesn't happen when suspending under 2.6.20-16.

jml@rhino:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Unknown device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
02:00.0 Network controller: Atheros Communications, Inc. AR5418 802.11a/b/g/n Wireless PCI Express Adapter (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

I can confirm that this is true on my Macbook C2D as well. -15 works, -16 doesn't.

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

Upon further investigation, I *can't* confirm it. My experimental methodology was flawed (I thought I was testing a different kernel than I was, and my module configuration had changed due to the upgrade), and upon re-testing with -15 and -16 kernels, I can now suspend fine with both.

Revision history for this message
Alex Levy (mesozoic) wrote :

I can confirm this. I cannot suspend *or* hibernate on either 2.6.20-15 or on 2.6.20-16.

My experience with suspend is the same as Jonathan's: "When I try to suspend ... I get some disk activity, then the screen and disk both shutdown. The only indication that the computer is on is that the white LED at the front turns on when I close the lid. I can't wake the computer up from this state, either by hitting keys or pressing the power button."

 I've tried the "if(0)" patch suggested on the Ubuntu MacBook wiki, to no avail. I also saw the note on Friendly Linux (http://friendlylinux.org/2007/06/03/ubuntu-704-on-a-macbook/) that suspend only works after changing Power Management settings; that doesn't solve the issue for me either.

With hibernate, it will load the saved image from disk into RAM, and then the last message written to the screen is "Suspending console(s)". After that, it hangs indefinitely.

Revision history for this message
Jonathan Lange (jml) wrote :

 * I hadn't heard about the requirement to have the power icon visible in order to make suspend work. That seems like a newly introduced bug.
 * It wouldn't surprise me if we all have different versions of ndiswrapper
 * I will experiment with the icon and ndiswrapper, try to reproduce the bug and post a dmesg for the broken case.

Revision history for this message
Alex Levy (mesozoic) wrote :

I'm using ndiswrapper 1.44 -- I'll try a few other versions as well.

Revision history for this message
Jonathan Lange (jml) wrote :

Since the recent update, I no longer have this problem.

Revision history for this message
grim1234 (gmsmith-chem) wrote :

I have the same problem with a white macbook (1.83, v1) and ubuntu 7.04 (i386).

Suspend and hibernate both do not work on a fresh install. When the computer suspends the lcd goes off, but the fan is still on (low speed), and the led at the front does not come on. This is with kernel 2.6.20-15generic and 2.6.20-16generic from apt.

Revision history for this message
ruebezahl (ruebezahl) wrote :

same as grim1234
with macbook core 2 duo ubuntu gutsy and 2.6.22 kernel...

Revision history for this message
ruebezahl (ruebezahl) wrote :

same as grim1234
with macbook pro
 core 2 duo ubuntu gutsy and 2.6.22 kernel...

Revision history for this message
ruebezahl (ruebezahl) wrote :

ok, sorry for the wierd posts... browser crashed
the same post in readable english:

I've got the same problem like grim1234 with a macbook cor, 2 duo and a macbook pro core 2 duo
with ubuntu gutsy and kernel 2.6.22

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

*This is an automated response*

This bug report is being closed because we received no response to the previous request for information. Please reopen this if it is still an issue in the actively developed pre-release of Jaunty Jackalope 9.04 - http://cdimage.ubuntu.com/releases/jaunty . To reopen the bug report simply change the Status of the "linux" task back to "New".

Changed in linux:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.