[gutsy] CD boot loader doesn't detect macbook's (core 2 duo) keyboard

Bug #79172 reported by mon
8
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
syslinux (Fedora)
Expired
Medium
syslinux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hi

if I run herd2 x86 on a macbook core 2 duo, the keyboard isn't usable until the kernel has booted, i.e. it doesn't work in grub.

Steps to reproduce:
1. Turn on the macbook (NO reboot)
2. press c on macbook startup. (right after the startup sound)
3. boot from cd ubuntu 7.04 herd2 x86
4. grub doesn't detect the keyboard (i.e. you can't change to other boot options like safe mode)

thanks

Tags: gutsy macbook
Revision history for this message
Colin Watson (cjwatson) wrote :

That's not grub ...

It works for me on an Intel iMac.

description: updated
Revision history for this message
Timothy Smith (tas50) wrote : Re: herd2 CD boot loader doesn't detect macbook's keyboard

Can you test this with a new LiveCD so we can see if this is till an issue?

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

This is still happening in herd3. I've also booted fedora core 7 test 1 live cd and it has the same issue.

Currently, there's a workaround that's not perfect. if you boot osx and the reboot into the live cd, the keyboard is detected, but if you boot from scratch it isn't until linux boots, so you can't select any of the boot options the live has.

thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : Re: CD boot loader doesn't detect macbook's keyboard

I would like to add that this issue is quite important, since if somehow the loading of default kernel goes wrong (into kernel panic) soon before the keyboard is detected you'll get into a loop in which you couldn't repair/debug the error. Other issues like booting into safe-mode or booting another os other than grub's defafult entry would be imposible from a cold startup.

thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

This has been reported in debian's wiki:
http://wiki.debian.org/MacBook

section install debian: "If you cannot type anything in the CD/DVD boot prompt (found this problem on MacBook Core 2 Duo), you can fix this with an external USB keyboard or by booting into OS X and restarting while holding the C button pressed (boots directly from CD)."

description: updated
Revision history for this message
In , Ra (ra-redhat-bugs) wrote :

Hi

if I run fedora core 7 test1 live cd x86 on a macbook core 2 duo, the keyboard
isn't usable until the kernel has booted, i.e. it doesn't work in grub. I've
tried ubuntu feisty (development) herd3 and this also happens.

Steps to reproduce:
1. press c on macbook startup.
2. boot from live cd
3. grub doesn't detect the keyboard and you can't change the kernel live
cd boots.

workaround:
4. let the cd start, and once gdm has started the keyboard works.
5. reboot.
6. the keyboard works on grub

this bug has also been reported in ubuntu bug tracker:
https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/79172

thanks

Changed in syslinux:
status: Unknown → Confirmed
Revision history for this message
In , Andrew (andrew-redhat-bugs) wrote :

I wonder if this is related to the MacBook's BIOS(/EFI layer)
On the Core 2 Duo's it's easily reproducable.

This doesn't just happen on Live CD's it also happens with grub once the OS is
installed.
However this doesn't happen 100% of the time - I'd say that 3/4 of the time the
keyboard doesn't work in grub, I've not managed to work out the exact steps that
allow the keyboard to work.

Plugging in an external keyboard works but - you must plugin the USB keyboard
AFTER grub starts - not before.

This happens with and without rEFIt intall.ed

Revision history for this message
Adam McMaster (adammc) wrote :

This seems to also affect Edgy. A friend of mine has Ubuntu tripple-booting on a MacBook (along with Windows XP). Grub was unresponsive on the Edgy LiveCD, and the installed version of Grub is also unresponsive.

Revision history for this message
In , Bill (bill-redhat-bugs) wrote :
Revision history for this message
Tribe (boikot+ubuntu) wrote :

Same here with a Kubuntu Feisty Herd 4 daily build in a MacBook Pro Core 2 Duo.

Changed in syslinux:
status: Unconfirmed → Confirmed
Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

this issue remains in Herd5

Revision history for this message
In , Ra (ra-redhat-bugs) wrote :

this also happens on fedora core 6. I thought reporting on the lastest
development snapshot was more correct.

Revision history for this message
burnmw (burnmw1987) wrote : Re: CD boot loader doesn't detect macbook's (core 2 duo) keyboard

Hi, I boot my MacBook using rEFIt and have the same problem. However, if I leave rEFIt to count down about 10secs or so from when it auto-loads the default (OS X) and THEN select Ubuntu/Windows it immediately recognizes my keyboard. Might help some of you?
Cheers

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi burnmw

do you mean you load os x, reboot and keyboard is detected on grub or that you select in refit os x and then (without leaving refit) you can select ubuntu?

thanks

Revision history for this message
burnmw (burnmw1987) wrote :

Hi kmon,

Cold boot the Mac, then you should get the rEFIt screen asking which OS to load, it'll count down from 20sec, at about 10secs choose Linux or Windows. When GRUB loads it should also have had long enough to load the keyboard. Or at least, thats how mine works.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

burnmw: do you have an core 2 duo macbook?

Revision history for this message
burnmw (burnmw1987) wrote :

Yes I do, 2Ghz model...

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

thanks.

let's see if any developer can help out.

Revision history for this message
Zach (uid000) wrote :

I can confirm burnmw's result:
Running refit, If I cold boot, and wait several (10-15) seconds, keyboard works in cd bootloader. Otherwise it does not.

Revision history for this message
Zach (uid000) wrote :

Forgot to mention, I am using 7.04 beta

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

This problem is not limited to MacBooks. I see the same thing happening on a
Dell Precision 690 Workstation. If I am using a USB keyboard, you cannot switch
option in the bootloader for the LiveCD 7 test4. If you use a PS2 keyboard, it
works fine.

Also, the keyboard works fine with the BIOS since I can use it to select all the
options needed to boot from CD. So keyboard operation and connectivity through a
USB hub and plugged directly into the machine have all been verified and all do
not work with the bootloader.

Revision history for this message
GNUdental (launchpad-gnosys) wrote :

This problem exists in grub as installed on the HDD with 7.04 final also.

The work-around (of waiting 10-15 seconds) works only part of the time for me. I've waited as long as 19 seconds and still found an unresponsive keyboard in grub. But sometimes, the work-around does work for me. I've also waited for 19 seconds at the refit screen, then as much as an additional 60 seconds (after touching the arrow key to avoid booting the default OS), then selected Windows in refit, and still found grub unresponsive to keyboard input. I've also used a USB keyboard and found the same thing. Any other work-arounds or fixes available in the last month?

Revision history for this message
GNUdental (launchpad-gnosys) wrote :

I should've included that this is on a 17" MBP.

Revision history for this message
In , Jeremy (jeremy-redhat-bugs) wrote :

*** Bug 238354 has been marked as a duplicate of this bug. ***

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

This seems to happen in lastest macbooks, both the pro and non-pro edition.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

This problem has been mentioned on the debian wiki, but not sure if they have a bug for it. I'll check

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Any clue on what's happening here?

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

I've just booted my macbook with gutsy tribe 1 x86 live cd and the problem is still happening.

thanks

Revision history for this message
In , Ra (ra-redhat-bugs) wrote :

Hi

this bug still happens on fedora 7 live x86

thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

For the record this also happens in fedora 7 and opensuse 10.3 alpha 5.

Can someone fill this bug in upstream bugtracker?

thanks

Revision history for this message
Christer Edwards (christer.edwards) wrote :

this happens to me as well. I haven't been able to track down a pattern but it'll work sometimes. After a few power-downs and restarts I can get it to work long enough for the kernel to load and then I'm ok. It does work within the rEFIt boot loader, just has trouble after booting directly to a CD.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

I've just read this on digg: http://polishlinux.org/reviews/macbook-and-linux-beauty-and-the-beast/

and this reviewer says Mepis 6.5 64 bits has a working grub on macbook. I have'nt tried yet, so if anyone can please share your experience. I'll try to do so when I have some time.

bye

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi again

Good news is that mephis 6.5 64bits boot loader (I think it's a customized grub) doesn't suffer this bug. Can someone look into mephis changes?

thanks

Revision history for this message
In , Ra (ra-redhat-bugs) wrote :

Hi again

Good news is that mephis 6.5 64bits boot loader (I think it's a customized grub)
doesn't suffer this bug. Can someone look into mephis changes?

thanks

Revision history for this message
burnmw (burnmw1987) wrote :

Hi all,

I've discovered that (and yes I know this is slightly different) that whilst playing around with Windows Vista on my MacBook (I tried tri-booting) I tried to access Safe Mode, but alas, the keyboard doesn't work! It appears that it isn't a problem specific to Linux distro's running on a MacBook. Purely it's to do with the way the MacBook loads itself. If that makes sense. Hope it helps someone!

Cheers all

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi burnmw

can you try the mephis live cd? I works here fine.

thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

I've subscribed kamion, since he's the one in charge of the spec: https://wiki.ubuntu.com/IntelMacSupport

Feel free to correct this if it's not the appropiate way to work.

thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Robert Millan wrote (private mail):
>On Thu, Jun 21, 2007 at 12:35:25AM +0200, Javier Monteagudo wrote:
>>
>> Hi again
>>
>> Good news is that mephis 6.5 64bits boot loader (I think it's a
>> customized grub) doesn't suffer this bug. Can someone look into mephis
>> changes?
>
>Your problem sounds like broken BIOS. Does it work when you try GRUB in
>EFI mode? (grub-efi package)
>
>Also, do you know what kind of keyboard is this? Is it a standard AT
>keyboard?

AFAIK this happens on al macbooks with core 2 duo. It may be a bios bug, but apple hasn't released any updates so far.

I haven't tried grub-efi package since I'm booting from the live cd. My plan is to replace OSX with linux, but until this is solved I can't do it (I consider this bug a mayor problem: imagine a kernel panic on normal boot. With this bug I could not boot into safe mode as I could not select that option from grub).
I know I can dual (and triple) boot osx with linux, but I really don't like it and I would rather use the disk space for my music than for that other propietary o.s.

thanks.

description: updated
Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

I think this is also fixed in elive 1.0. Elive also uses a customized grub, so maybe it's a patch or somethng similar... don't know.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

This bug is still happening in tribe 2 ubuntu x86 cd.

thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

FYI thisd still happens in tribe 3 ubuntu x86 cd.

thanks

Revision history for this message
In , Ra (ra-redhat-bugs) wrote :

Any new on this?

Changed in syslinux:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

I know that it is still a problem with my Dell Precision 690 Workstation using
F8test1 LiveCD.

PS2 keyboard works fine, USB keyboard does not.

The workaround in the original bug report doesn't work for me though. Always
dead once grub pops up but does work after it boots to the default.

Revision history for this message
Colin Watson (cjwatson) wrote :

mepis don't seem to use their own grub version; or if they do, it's grub-gfxboot, and I don't see any prospect of extracting some unknown patch from that to make syslinux work. I'm afraid I don't see that it's viable to fix this for beta.

Revision history for this message
emil.s (emil.s) wrote :

haha, lol. I have a very strange solution.
When you choose Linux in the rEFIt menu, use the "down arrow (page)" key. NOT the "Right arrow (end)". Then you can change OS to boot in Grub.

Works for me anyhow. :)

Revision history for this message
Steve Langasek (vorlon) wrote :
Revision history for this message
Stefano Rivera (stefanor) wrote :

I don't get this when I boot Gutsy Beta (amd64) by holding down the C key (boot from CD).

Revision history for this message
Colin Watson (cjwatson) wrote :

Unmilestoning; there seem to be some possible workarounds, and no candidate fix is available or likely to be available for 7.10.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

I've recently updated my macbook's firmware[1] and this issue seems to be fixed. If anyone can confirm we could close the bug

thanks

[1]: http://www.apple.com/support/downloads/macbookefifirmwareupdate11.html

Revision history for this message
juanogcx (juanogcx) wrote :

Completely confirmed kmon. today i installed de firmware update, and the keyboard is recognized finally.

Revision history for this message
Christer Edwards (christer.edwards) wrote :

I have not run into this issue since updating the firmware available from Apple. I *believe* it was since the EFI firmware update. I have recently done three fresh installs (this week) using Ubuntu 7.10 alternate and LiveCD and the keyboard has worked as expected.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

The bug seems to be fixed in the firmware update

Changed in syslinux:
status: Triaged → Invalid
Revision history for this message
Ricky Campbell (cyberdork33) wrote :

The firmware update seemed to fix this problem for me on a C2D 20" iMac, but it is again broken.

Revision history for this message
Ricky Campbell (cyberdork33) wrote :

Ok, this should be the last for this. The keyboard still does not work in grub and such if it conflicts with something else plugged into the USB ports. I switched my devices around in the ports, and now it works again.

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Changed in syslinux:
status: Confirmed → Incomplete
Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

This bug has been in NEEDINFO for more than 30 days since feedback was
first requested. As a result we are closing it.

If you can reproduce this bug in the future against a maintained Fedora
version please feel free to reopen it against that version.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

Changed in syslinux:
status: Incomplete → Invalid
Changed in syslinux (Fedora):
importance: Unknown → Medium
status: Invalid → Expired
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.