All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Collins <ben.collins@ubuntu.com>
To: sparclinux@vger.kernel.org
Subject: Re: How to load 2.6.22 kernel (image too large to fit ...)
Date: Sat, 19 May 2007 12:23:36 +0000	[thread overview]
Message-ID: <1179577416.6510.374.camel@cunning> (raw)
In-Reply-To: <464d3ea78cfe8@wp.pl>

On Sun, 2007-05-20 at 06:54 +0200, Krzysztof Helt wrote:
> Ben Collins wrote:
> > On Sat, 2007-05-19 at 23:44 +0200, Krzysztof Helt wrote:
> >> Hi again,
> >>
> >> I overcame the problem with too big kernel with the attached patch, but 
> >> I run into another problem. Now, the silo says:
> >>
> >> "Your kernel cannot fit into the memory destination. This
> >> can be resolved by recompiling the kernel with more devices
> >> built as modules, or upgrading your kernel to one that
> >> supports being loaded to higher memory areas (currently
> >> 2.6.3+ or 2.4.26+)."
> >>
> >> Does it mean, that 2.6.22-rc1 for sparc32 cannot be relocated?
> > 
> > The patch isn't complete. SILO checks to make sure that the kernel can
> > be relocated. You probably also need to patch up sparc kernel to allow
> > itself to be loaded at an alternate location. Whole lot of work.
> > 
> 
> The silo patch seems complete. It is now kernel hHdrS version, which 
> says it is not relocatable.
> If the kernel fits 2.5MB size, the patch does not hurts (just allocate 
> memory and copy kernel back to 2.5MB area).

Sure, SILO side is complete, but the kernel side is a little more
difficult. It's not just HdrS that needs fixing, the kernel needs to
actually support being loaded to arbitrary locations in memory.

I'd be happy for someone to do this work, though.

-- 
Ubuntu   : http://www.ubuntu.com/
Linux1394: http://wiki.linux1394.org/


      parent reply	other threads:[~2007-05-19 12:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18  5:50 How to load 2.6.22 kernel (image too large to fit ...) Krzysztof Helt
2007-05-18  6:09 ` Jan Engelhardt
2007-05-18  6:43 ` David Miller
2007-05-18  9:14 ` Krzysztof Helt
2007-05-18 13:26 ` Tom "spot" Callaway
2007-05-18 21:34 ` Krzysztof Helt
2007-05-18 21:45 ` David Miller
2007-05-18 22:01 ` Ben Collins
2007-05-19  4:44 ` Krzysztof Helt
2007-05-19 11:16 ` Meelis Roos
2007-05-19 12:23 ` Ben Collins [this message]

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=1179577416.6510.374.camel@cunning \
    --to=ben.collins@ubuntu.com \
    --cc=sparclinux@vger.kernel.org \
    /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.