[Jaunty] MacBook 5.1 will not reboot (Restart).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mactel Support |
Confirmed
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As of Jaunty (Ubuntu 9.04) Alpha 5, with kernel 2.6.28-8-generic, the MacBook 5.1 will hang upon attempts to reboot (restart). The screen will go blank black, and the system will hang indefinitely. I suppose this is an improvement over Intrepid (Ubuntu 8.10), where the computer would both hang and make very loud beeping noises. :-) Still, I'm marking this as a bug since reboot is currently not possible.
P. Dunbar (vigilcode) wrote : | #1 |
Eli L (flclfan) wrote : | #2 |
It is well known that Linux will not reboot on the macbook 5,1.
So it is confirmed.
Changed in mactel-support: | |
status: | New → Confirmed |
P. Dunbar (vigilcode) wrote : | #3 |
Is there any further debugging needed to move this bug along? Or is it well understood and just a matter of the resource/time needed to implement a fix?
I can run any debug needed if any dev has a use.
P. Dunbar (vigilcode) wrote : | #4 |
Following this bug [https:/
Colin D Bennett (colinb) wrote : | #5 |
As of a couple days ago, my MacBook Pro 5,1 on Jaunty suddenly started rebooting properly! Yay! I am now on Linux 2.6.28-11-generic. Has anyone else updated their Ubuntu packages and had this problem fixed?
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #6 |
Hi Colin!
It does _not_ work on MBP5,1 under Jaunty (64-bit) with kernel 2.6.28-11-generic :-(
Regards, Nikos
Chris Lasher (chris.lasher) wrote : | #7 |
To echo Nikos, this does not work on a MacBook 5.1 (aluminum MacBook) under 64-bit Jaunty with the 2.6.28-11-generic kernel.
Colin D Bennett (colinb) wrote : | #8 |
@Νίκος and Chris:
That is weird that it works for me now, but not for you. Just like Nikos, I am running 64-bit Jaunty on a MacBook Pro 5,1 with that kernel. And I have tried it multiple times: Reboot from Ubuntu works! I have not idea why it started working for me.
Ricky Campbell (cyberdork33) wrote : | #9 |
Can you guys compare /var/log/messages.0 after you each try to reboot? That may lead us to something.
Also, is shutdown working OK? This only effects reboot?
Alex Murray (alexmurray) wrote : | #10 |
I can also confirm my MBP5,1 with latest Jaunty updates (uname -rv: 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009) does not reboot either .
@Colin: there must be something different in your setup I guess... have you changed anything which may have got it working?
Colin D Bennett (colinb) wrote : | #11 |
I haven't actually done anything to try to fix the reboot problem. My /var/log/messages unfortunately doesn't show anything interesting after a reboot. It just looks like this:
Apr 22 08:42:53 svelte kernel: [76362.012307] PM: resume devices took 3.096 seconds
Apr 22 08:42:53 svelte kernel: [76362.013151] Restarting tasks ... done.
Apr 22 08:42:53 svelte kernel: [76362.776528] eth0: no link during initialization.
Apr 22 08:42:53 svelte kernel: [76362.777333] ADDRCONF(
Apr 22 09:02:20 svelte exiting on signal 15
Apr 22 09:04:50 svelte syslogd 1.5.0#5ubuntu3: restart.
Apr 22 09:04:50 svelte kernel: Inspecting /boot/System.
Apr 22 09:04:50 svelte kernel: Cannot find map file.
Apr 22 09:04:50 svelte kernel: Loaded 76599 symbols from 48 modules.
Apr 22 09:04:50 svelte kernel: [ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00
Apr 22 09:04:50 svelte kernel: [ 0.000000] Initializing cgroup subsys cpuset
Apr 22 09:04:50 svelte kernel: [ 0.000000] Initializing cgroup subsys cpu
Apr 22 09:04:50 svelte kernel: [ 0.000000] Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 (Ubuntu 2.6.28-
Apr 22 09:04:50 svelte kernel: [ 0.000000] Command line: root=UUID=
There's no entry regarding the reboot itself, only messages from the kernel as it was booting up again after reboot. I do get a weird screen right before Linux reboots that has a bunch of green vertical lines and the message "Restarting system" behind the lines. This screen shows for about one second before the machine actually reboots.
I'm not sure what else could be different on my machine. I did add the modprobe options needed to get sound partially working (right speaker only):
options snd-hda-intel model=mbp3
I wonder if I'm the only one whose machine decided to start working?
Jim Rorie (jfrorie) wrote : Re: [Bug 338083] Re: [Jaunty] MacBook 5.1 will not reboot (Restart). | #12 |
FYI, I think he wanted
/var/log/messages.0
Which would be the archive from the previous session....
-
Jim Rorie, PhD
Logisys
<email address hidden>
IM: jfrorie (XMPP/GoogleTalk)
On Wed, 2009-04-22 at 16:20 +0000, Colin D Bennett wrote:
> I haven't actually done anything to try to fix the reboot problem. My
> /var/log/messages unfortunately doesn't show anything interesting after
> a reboot. It just looks like this:
>
> Apr 22 08:42:53 svelte kernel: [76362.012307] PM: resume devices took 3.096 seconds
> Apr 22 08:42:53 svelte kernel: [76362.013151] Restarting tasks ... done.
> Apr 22 08:42:53 svelte kernel: [76362.776528] eth0: no link during initialization.
> Apr 22 08:42:53 svelte kernel: [76362.777333] ADDRCONF(
> Apr 22 09:02:20 svelte exiting on signal 15
> Apr 22 09:04:50 svelte syslogd 1.5.0#5ubuntu3: restart.
> Apr 22 09:04:50 svelte kernel: Inspecting /boot/System.
> Apr 22 09:04:50 svelte kernel: Cannot find map file.
> Apr 22 09:04:50 svelte kernel: Loaded 76599 symbols from 48 modules.
> Apr 22 09:04:50 svelte kernel: [ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Initializing cgroup subsys cpuset
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Initializing cgroup subsys cpu
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 (Ubuntu 2.6.28-
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Command line: root=UUID=
>
> There's no entry regarding the reboot itself, only messages from the
> kernel as it was booting up again after reboot. I do get a weird screen
> right before Linux reboots that has a bunch of green vertical lines and
> the message "Restarting system" behind the lines. This screen shows for
> about one second before the machine actually reboots.
>
> I'm not sure what else could be different on my machine. I did add the
> modprobe options needed to get sound partially working (right speaker
> only):
>
> options snd-hda-intel model=mbp3
>
> I wonder if I'm the only one whose machine decided to start working?
>
Ricky Campbell (cyberdork33) wrote : Re: [Mactel-support] [Bug 338083] Re: [Jaunty] MacBook 5.1 will not reboot (Restart). | #13 |
You have to look at /var/log/messages.0
(this is the log from the previous boot. )
Ricky
On Apr 22, 2009, at 11:20 AM, Colin D Bennett <email address hidden> wrote:
> I haven't actually done anything to try to fix the reboot problem. My
> /var/log/messages unfortunately doesn't show anything interesting
> after
> a reboot. It just looks like this:
>
> Apr 22 08:42:53 svelte kernel: [76362.012307] PM: resume devices
> took 3.096 seconds
> Apr 22 08:42:53 svelte kernel: [76362.013151] Restarting tasks ...
> done.
> Apr 22 08:42:53 svelte kernel: [76362.776528] eth0: no link during
> initialization.
> Apr 22 08:42:53 svelte kernel: [76362.777333] ADDRCONF(
> eth0: link is not ready
> Apr 22 09:02:20 svelte exiting on signal 15
> Apr 22 09:04:50 svelte syslogd 1.5.0#5ubuntu3: restart.
> Apr 22 09:04:50 svelte kernel: Inspecting /boot/System.
> generic
> Apr 22 09:04:50 svelte kernel: Cannot find map file.
> Apr 22 09:04:50 svelte kernel: Loaded 76599 symbols from 48 modules.
> Apr 22 09:04:50 svelte kernel: [ 0.000000] BIOS EBDA/lowmem at:
> 0009fc00/0009fc00
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Initializing cgroup
> subsys cpuset
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Initializing cgroup
> subsys cpu
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Linux version
> 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu
> 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009
> (Ubuntu 2.6.28-
> Apr 22 09:04:50 svelte kernel: [ 0.000000] Command line:
> root=UUID=
>
> There's no entry regarding the reboot itself, only messages from the
> kernel as it was booting up again after reboot. I do get a weird
> screen
> right before Linux reboots that has a bunch of green vertical lines
> and
> the message "Restarting system" behind the lines. This screen shows
> for
> about one second before the machine actually reboots.
>
> I'm not sure what else could be different on my machine. I did add
> the
> modprobe options needed to get sound partially working (right speaker
> only):
>
> options snd-hda-intel model=mbp3
>
> I wonder if I'm the only one whose machine decided to start working?
>
> --
> [Jaunty] MacBook 5.1 will not reboot (Restart).
> https:/
> You received this bug notification because you are a member of Mactel
> Support, which is the registrant for Mactel Support.
>
> Status in Mactel Support: Confirmed
> Status in “linux-meta” source package in Ubuntu: New
>
> Bug description:
> As of Jaunty (Ubuntu 9.04) Alpha 5, with kernel 2.6.28-8-generic,
> the MacBook 5.1 will hang upon attempts to reboot (restart). The
> screen will go blank black, and the system will hang indefinitely. I
> suppose this is an improvement over Intrepid (Ubuntu 8.10), where
> the computer would both hang and make very loud beeping noises. :-)
> Still, I'm marking this as a bug since reboot is currently not
> possible.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>...
Colin D Bennett (colinb) wrote : | #14 |
@Ricky, Jim:
My /var/log/messages.0 hasn't been modified for about a week. The 'messages' files are not rotated every boot, but once per week. Here's a listing of my /var/log/messages*
-rw-r----- 1 syslog adm 339444 2009-04-22 10:04 /var/log/messages
-rw-r----- 1 syslog adm 207454 2009-04-16 05:13 /var/log/messages.0
-rw-r----- 1 syslog adm 198544 2009-04-09 01:28 /var/log/
-rw-r----- 1 syslog adm 11422 2009-04-02 13:15 /var/log/
As you can see from the following excerpt, all the messages in messages.0 are old:
cdb@svelte:~$ tail /var/log/messages.0
Apr 16 02:13:37 svelte -- MARK --
Apr 16 02:31:06 svelte kernel: [15466.089053] ACPI: EC: missing confirmations, switch off interrupt mode.
Apr 16 02:53:37 svelte -- MARK --
Apr 16 03:13:37 svelte -- MARK --
Apr 16 03:33:37 svelte -- MARK --
Apr 16 03:53:37 svelte -- MARK --
Apr 16 04:13:37 svelte -- MARK --
Apr 16 04:33:37 svelte -- MARK --
Apr 16 04:53:37 svelte -- MARK --
Apr 16 05:13:37 svelte -- MARK --
I have rebooted a number of times since 16 April.
Ricky Campbell (cyberdork33) wrote : | #15 |
Colin, I wouldn't expect to see anything interesting in your log since it is working for you. It would be helpful for comparison to others though.
To get the log, you can try this:
do a reboot, and when your system reboots into the refit screen, turn it off (there is a menu item for shutdown here).
then put in a linux liveCD and boot from that.
mount your filesystem and make a copy of /mounted/
That should get you a log that is untouched after shutdown that you can attach here.
Then if someone else, who cannot reboot would try, then use the livecd as above to get their log file, they can be compared.
Jim Rorie (jfrorie) wrote : | #16 |
Heres mine around the point of interest, I think. It was actually in /var/log/messages. Not very exciting....
Apr 22 16:01:00 medusa -- MARK --
Apr 22 16:08:15 medusa kernel: [23312.736309] CE: hpet increasing min_delta_ns to 22500 nsec
Apr 22 16:08:15 medusa kernel: [23312.736446] CE: hpet increasing min_delta_ns to 33750 nsec
Apr 22 16:08:15 medusa kernel: [23312.736578] CE: hpet increasing min_delta_ns to 50624 nsec
Apr 22 16:17:56 medusa exiting on signal 15
# I think this is the restart. I had to do a power reset
Apr 22 16:22:23 medusa syslogd 1.5.0#5ubuntu3: restart.
Apr 22 16:22:23 medusa kernel: Inspecting /boot/System.
Apr 22 16:22:23 medusa kernel: Cannot find map file.
Apr 22 16:22:23 medusa kernel: Loaded 76489 symbols from 47 modules.
Apr 22 16:22:23 medusa kernel: [ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00
Apr 22 16:22:23 medusa kernel: [ 0.000000] Initializing cgroup subsys cpuset
Apr 22 16:22:23 medusa kernel: [ 0.000000] Initializing cgroup subsys cpu
messages doesn't seem to be recording anything on mine.
Chris Lasher (chris.lasher) wrote : | #17 |
It seems that rebooting now works successfully for me. Perhaps I was missing a kernel update. I just tried it, though and it rebooted fine. So for me, this bug is fixed now.
P. Dunbar (vigilcode) wrote : | #18 |
Rebooting still doesn't work for me as of today. I'm on Jaunty with all latest updates 64-bit.
Chris, does it still work for you? what hardware? do you just reboot through gnome or 'shutdown -r now'?
Chris Lasher (chris.lasher) wrote : | #19 |
I was about to come back and comment on here myself. No, reboot does *not* work for me now... again... I don't know. It could be perhaps installation of one of the Apple hardware packages from the PPA that kicked it out again. I actually haven't tried shutting down using ``shutdown``. For a brief period in time, however, reboot really did work.
Andy Whitcroft (apw) wrote : | #20 |
This is not a bug in the linux-meta package, moving to the linux package.
affects: | linux-meta (Ubuntu) → linux (Ubuntu) |
M Carns (mike-carns) wrote : | #21 |
Try adding "reboot=pci" to the kernel command line. That fixed the issue for me. I'm running 2.6.30-gentoo-r1 (x86_64) on a late 2008 MacBook Pro. Yes, I know it's not an Ubuntu kernel, but you guys appear to be the only folks on the planet with an actual bug filed about this!
In my testing, reboot=kbd (the default) did not work, nor did reboot=acpi, or reboot=efi. I didn't try reboot=triple since a triple-fault reset seems like an ugly way to recycle the system. reboot=bios might be another option if you're running 32-bit.
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #22 |
@M Cams:
Can you describe where exactly this "parameter" should go? In which file/script should this go?
Thanks, Nikos
dberger (dberger) wrote : | #23 |
it needs to go at the end of the kernel command line (in /boot/grub/
rather than editing the menu file each time, you can press e on the grub screen that offers you boot choices, then select the line with the kernel and press e again, and add the reboot parameter.
I've tried many variations of the reboot parameter on my macbook pro 5,1 - none work for me.
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #24 |
Yep, though so (that it goes to menu.lst) but often we write thing and forget that beginners or even average users (like me) will understand right away what we mean.
Thanks dberger, Nikos
M Carns (mike-carns) wrote : | #25 |
@Nikos:
Here's my menu.lst entry. I've provided a "before" and "after" so you can see the differences (since it's not an Ubuntu-based menu.lst).
Before:
title Gentoo Linux 2.6.30-r1
root (hd0,2)
kernel /boot/vmlinuz-
initrd /boot/initramfs
After:
title Gentoo Linux 2.6.30-r1
root (hd0,2)
kernel /boot/vmlinuz-
initrd /boot/initramfs
The only difference should be "reboot=pci" after "root=/dev/ram0" on the kernel line.
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #26 |
Thank you for your time M Carns :-)
Nikos
aGeorgo (ageorgo) wrote : | #27 |
reboot=pci nor other of reboot alternatives did not help to fix this issue on my system. is there anything that I can do to help to trace the origin of the issue? - run some debugging/logging kernel build etc.?
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #28 |
The parameter "reboot=pci" did not help me either.
Nikos
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #29 |
I just want to report that I have reboot working on the MB-P5,1. Don't know what exactly was the fix. All i did is:
* updates/ dist-upgrades
* latest PulseAudio stuff
* drop Xinerama and user TwinView (much more faster/ smoother)
Best regards, Nikos
Jim Rorie (jfrorie) wrote : | #30 |
I just upgraded as well, however I am not able to reboot. The only difference is that I'm using separate X for the display, not twinview. (I can't change it to test because I had so much trouble getting it to work the first time.)
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #31 |
To all,
sorry for the previous post of success. It does _not_ work again and I can't tell what is the difference since yesterday :-(
Νίκος Αλεξανδρής (nikos.alexandris) wrote : | #32 |
The "reboot" problem is present also in Karmic (using the "alpha 3" live-cd) for MBP5,1.
Philippe Veber (philippe-veber) wrote : | #33 |
Hi,
I'm also a Gentoo user (kernel 2.6.30-gentoo-r4), so maybe that comment is not of interest for you, but I also solved the reboot issue on a macbook pro 5,1 following comment #21. It seems that the kernel is going to be patched:
http://
So maybe it's worth digging deeper in that direction ...
my two cents,
ph.
Jon Ramvi (ramvi) wrote : | #34 |
It works in karmic alpha 6
Jim Rorie (jfrorie) wrote : | #35 |
> It works in karmic alpha 6
Confirmed. Hope it stays that way....
David D Miller (justdave) wrote : | #36 |
Does *not* work for me on 2.6.28-15-generic. I suspect that option was added/fixed upstream in a newer kernel.
David D Miller (justdave) wrote : | #37 |
er, that's on a MacMini3,1 (nvidia). I followed the wrong link on the bugmail, sorry. (meant to add that comment on bug 343781)
ercoppa (ercoppa) wrote : | #38 |
Restart doesn't work on karmic beta. I tested also with "reboot=pci" that under ArchLinux with 2.6.30 works.
Greets, ercoppa.
Jim Rorie (jfrorie) wrote : | #39 |
Karmic beta still reboots here.
Alex Murray (alexmurray) wrote : | #40 |
Yep I can also confirm Karmic beta successfully reboots on my MacBook Pro 5,1 too.
ercoppa (ercoppa) wrote : | #41 |
Ok, you are right, reboot works also for me (I need to uninstall kexec-tools).
Greets, ercoppa.
Tony Espy (awe) wrote : | #42 |
Working fine for me with Karmic Beta.
Jim Rorie (jfrorie) wrote : | #43 |
On a related note, suspend is working reliably under Karmic Beta. :D
Hiberate appears to work, but might be slower than booting.
Jeremy Foshee (jeremyfoshee) wrote : | #44 |
Hi Chris,
This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://
If it remains an issue, could you run the following command from a Terminal (Applications-
apport-collect -p linux 338083
Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https:/
Thanks in advance.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]
tags: | added: needs-kernel-logs |
tags: | added: needs-upstream-testing |
tags: | added: kj-triage |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Olivier Tilloy (osomon) wrote : | #45 |
I can confirm that reboot works on my MacBook 5.1 ever since I upgraded to Karmic.
Jeremy Foshee (jeremyfoshee) wrote : | #46 |
Chris,
Can you verify that this is resolved for you as well? Please adjust the status if you still encounter this.
Thanks!
~JFo
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
Chris Lasher (chris.lasher) wrote : | #47 |
This bug has been resolved for me in Ubuntu 9.04 Karmic Koala. Thanks for checking. Bug can be closed.
Jeremy Foshee (jeremyfoshee) wrote : | #48 |
Thanks for the follow up Chris. :-)
~JFo
I turned on verbose in /boot/grub/menu.1st just to see where it gets stuck and it gets all the way to the end where it says
[ 74.88548] Restarting system....
_
Then just sits there with a blinking cursor.