linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Olaf Hering <olh@suse.de>
Cc: mikpe@csd.uu.se, linuxppc-dev@lists.linuxppc.org
Subject: Re: 2.4.20-ben8 vmlinux.coff CLAIM error on PowerMac 4400
Date: 13 Mar 2003 17:11:40 +0100	[thread overview]
Message-ID: <1047571900.827.80.camel@zion.wanadoo.fr> (raw)
In-Reply-To: <20030313160724.GA10742@suse.de>


On Thu, 2003-03-13 at 17:07, Olaf Hering wrote:
>  On Thu, Mar 13, Benjamin Herrenschmidt wrote:
>
> > what are the respective sizes of the working 2.4.6 kernel
> > and my non working 2.4.20 ? Can you try to shrink the 2.4.20
> > down to the 2.4.6 size (removing drivers etc...) and see if
> > that helps ?
>
> There are 2 problems.
> My 'loading data' failure must be fixed by page alignment.
>
> diff -purN linux_ppc.orig/arch/ppc/boot/ld.script linux_ppc/arch/ppc/boot/ld.script
> --- linux_ppc.orig/arch/ppc/boot/ld.script      2002-11-27 14:42:42.000000000 +0000
> +++ linux_ppc/arch/ppc/boot/ld.script   2002-11-27 18:53:34.000000000 +0000
> @@ -39,7 +39,8 @@ SECTIONS
>    PROVIDE (etext = .);
>
>    /* Read-write section, merged into data segment: */
> -  . = ALIGN(8);
> +  /* this must be page aligned for OF 1.05 in old Macs, for coff boot */
> +  . = ALIGN(0x1000);
>    .data    :
>    {
>      *(.data)
>
> The second problem might be related, I remember Eddie can not boot
> anymore with recent kernels and the patch above doesnt fix it. It is
> probably still unfixed, and the cause unknown.

Ok. I'll do some experiments with floppies on the 8500 then

Ben.


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

  reply	other threads:[~2003-03-13 16:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 14:53 2.4.20-ben8 vmlinux.coff CLAIM error on PowerMac 4400 mikpe
2003-03-13 15:25 ` Olaf Hering
2003-03-13 15:58   ` mikpe
2003-03-13 16:00     ` Olaf Hering
2003-03-13 16:05     ` Benjamin Herrenschmidt
2003-03-13 16:07       ` Olaf Hering
2003-03-13 16:11         ` Benjamin Herrenschmidt [this message]
2003-03-13 17:08       ` mikpe
2003-03-13 17:23         ` Benjamin Herrenschmidt
2003-03-13 23:13           ` mikpe
2003-03-13 23:18             ` Olaf Hering
2003-03-13 23:25             ` Benjamin Herrenschmidt
2003-03-14 13:32             ` Benjamin Herrenschmidt
2003-03-14 16:01               ` mikpe
2003-03-14 16:13                 ` Benjamin Herrenschmidt

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=1047571900.827.80.camel@zion.wanadoo.fr \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=mikpe@csd.uu.se \
    --cc=olh@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).