All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: Michael Schmitz <schmitz@opal.biophys.uni-duesseldorf.de>
Cc: paulus@linuxcare.com, linuxppc-dev@lists.linuxppc.org
Subject: Re: PPC should not use -fno-builtin (was Re: 2.3.47 imac build?)
Date: Tue, 29 Feb 2000 19:24:30 +0100	[thread overview]
Message-ID: <20000229192430.018647@mailhost.mipsys.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10002291744130.4907-100000@opal.biophys.uni-duesseldorf.de>


On Tue, Feb 29, 2000, Michael Schmitz
<schmitz@opal.biophys.uni-duesseldorf.de> wrote:

>Fails to compile (drivers/char/n_tty.c uses asm/spinlock.h, should use
>linux/spinlock.h perhaps). After forcing it, it fails to boot on Lombard.
>The way it fails booting is a bit entertaining: using BootX 1.1.3, it will
>show a little more than half a page of messages (arch_exit or similar in
>the last), then starts drawing funny color fringes on the screen until I
>reset. Using BootX 1.2b3, it locks up after the first six or so lines of
>text (before getting to the early console output). 2.3.29 worked fine. Any
>ideas?

I think I know what's going on:

 - make sure setting the display BAT in arch/ppc/mm/init.c (MMU_Init) is
commented out, this is a hack and need some alignement tricks to work in
all cases. It should already be in #if 0/#endif

 - in arch/ppc/kernel/pmac_setup.c, comment out the content of the
function pmac_progress. (Or change pmac_init() so that it sets
ppc_md.progress to NULL, and set it to pmac_progress only pmac_setup_arch()).

The problem is that pmac_progress will try to print to the framebuffer at
a time where it's not mapped (MMU_Init).

I've hacked a fix which should be in the current bk tree.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2000-02-29 18:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <38BAF958.E31D88A3@mandrakesoft.com>
2000-02-29  0:49 ` PPC should not use -fno-builtin (was Re: 2.3.47 imac build?) Paul Mackerras
2000-02-29 17:03   ` Michael Schmitz
2000-02-29 17:51     ` Jeff Garzik
2000-02-29 18:24     ` Benjamin Herrenschmidt [this message]
2000-02-29 19:21       ` Michael Schmitz
2000-02-29 23:07         ` Andreas Tobler
2000-03-01  8:49           ` Michael Schmitz

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=20000229192430.018647@mailhost.mipsys.com \
    --to=bh40@calva.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=paulus@linuxcare.com \
    --cc=schmitz@opal.biophys.uni-duesseldorf.de \
    /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.