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


 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.


Gruss Olaf

--
A: No.
Q: Should I include quotations after my reply?

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

  reply	other threads:[~2003-03-13 16:07 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 [this message]
2003-03-13 16:11         ` Benjamin Herrenschmidt
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=20030313160724.GA10742@suse.de \
    --to=olh@suse.de \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=mikpe@csd.uu.se \
    /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).