All of lore.kernel.org
 help / color / mirror / Atom feed
From: gimli <gimli@dark-green.com>
To: Marco Gerards <mgerards@xs4all.nl>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>, xen-devel@lists.xensource.com
Subject: Re: [PATCH] Disable SMP on the MacBook by default
Date: Thu, 14 Sep 2006 00:19:55 +0200	[thread overview]
Message-ID: <4508840B.5040506@dark-green.com> (raw)
In-Reply-To: <87fyevzaae.fsf@xs4all.nl>

Marco Gerards schrieb:
> "Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> writes:
> 
> [...]
> 
>>> The SMP issue can be avoided from GRUB when you press the "right
>>> arrow" key instead of "enter" to boot.  Someone mentioned this on the
>>> mailinglist, perhaps that is why you mixed up the two?
>> This does kinda suggest that a further Grub patch might be part of the
>> solution, no?
> 
> This is something I looked at, of course.  The GRUB code doesn't make
> a difference between "right arrow" and return.  Besides that, it
> doesn't work with the timeout either.

Hm... The strange thing is, hitting the "Return" key crashed xen every time.
Using the "Rigth arrow" key made xen bootable evry time from grub. So there must
be a difference.

>> Are there any issues with SMP linux 2.6.16 at all?
> 
> No, unless you disable ACPI.
> 
> The FreeBSD and NetBSD hackers have encountered the same problem.
> They were not able to come up with a patch yet.
> 
>> Any idea what's going on?
> 
> The second core can not be initialized because the INIT IPI does not
> arrive.  It only happens on the MacBook and not on the desktop Intel
> Macs.  On the MacBook the second core is put into deep sleep mode.  It
> should get out of sleep mode when an IPI or interrupt is received.
> 
> That does not happen.  It looks like the keyboard interrupt does
> wakeup the second core, after which the IPI is received.
> 
> The annoying thing is that both the keyboard handling and ACPI on the
> Intel Mac is a big mess.  There are a lot of bugs.  It could also be a
> bug in the processor itself.  The reason why Windows and Linux work is
> that the ACPI interpreter is used, perhaps this also has a side effect
> of waking up the second core.
> 
>> What are distros link Ubuntu using for booting on MacBook? Do they go
>> with bootcamp/grub, or elilo?
> 
> Sorry, I am not sure what you mean.  English is not my native
> language.  Do you mean which bootloaders they use by default?
> 
> When I was installing Ubuntu for the first time on the MacBook, it
> tried installing GRUB and failed.  First I tried lilo which worked.
> Later I started using GRUB.  I haven't seen ELILO being used anywhere.

I use the patched grub and elilo.

> --
> Marco
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

  reply	other threads:[~2006-09-13 22:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-13 20:45 [PATCH] Disable SMP on the MacBook by default Marco Gerards
2006-09-13 20:57 ` Ian Pratt
2006-09-13 21:38   ` Marco Gerards
2006-09-13 21:38     ` Ian Pratt
2006-09-13 22:11       ` Marco Gerards
2006-09-13 22:19         ` gimli [this message]
2006-09-13 22:30           ` gimli
2006-09-13 22:39             ` Ian Pratt
2006-09-13 22:34           ` Marco Gerards
2006-09-14 14:48         ` Keir Fraser
2006-09-14 17:15           ` Marco Gerards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4508840B.5040506@dark-green.com \
    --to=gimli@dark-green.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=mgerards@xs4all.nl \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.