public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander Holler <holler@ahsoftware.de>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: linux-kernel@vger.kernel.org, linux@arm.linux.org.uk
Subject: Re: ARM: relocation out of range (when loading a module)
Date: Tue, 11 Jan 2011 16:17:24 +0100	[thread overview]
Message-ID: <4D2C7484.3050309@ahsoftware.de> (raw)
In-Reply-To: <4D2BFA08.5030104@ahsoftware.de>

Am 11.01.2011 07:34, schrieb Alexander Holler:
> Am 10.01.2011 23:26, schrieb Nicolas Pitre:
>> On Mon, 10 Jan 2011, Alexander Holler wrote:
>>
>>> I've build a kernel 2.6.37 for an armv5-device which includes an
>>> initramfs of
>>> about 16MB (uncompressed, result is a kernel of about 6MB) and I now
>>> getting
>>> errors when trying to load a module (which is included in that
>>> initramfs):
>>
>> Do you really need to have such a bit initramfs?
>
> Not really, but it is handier to use than a separate file.
>
>> What you can do to work around this issue is to load your initramfs
>> separately as a initrd ramdisk image. , and not combine it with the
>> kernel image.
>
> Point is that I would like to understand why including an initramfs has
> such consequences.
>
> I have to search for some pictures which are explaining the memory
> layout (never had any interested in that before).
>
> I assume some memory near the kernel is reserved for the modules and an
> initramfs will come inbetween the kernel and the reserved memory for
> modules.

Thinking a bit more about that (for me unexcpected) "relocation out of 
range" error when loading a module, I'm curious if there could be other 
conditions which would lead to that error. Especially conditions which 
could be generated by the userspace or remote from some network.

Regards,

Alexander

  reply	other threads:[~2011-01-11 15:17 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10 18:16 ARM: relocation out of range (when loading a module) Alexander Holler
2011-01-10 22:26 ` Nicolas Pitre
2011-01-11  6:34   ` Alexander Holler
2011-01-11 15:17     ` Alexander Holler [this message]
2011-01-11 15:57       ` Russell King - ARM Linux
2011-01-11 16:02       ` Nicolas Pitre
2011-01-11 15:46     ` Rabin Vincent
2011-01-11 15:59       ` Russell King - ARM Linux
2011-01-12  3:00         ` Alexander Holler
2011-01-12 16:05           ` Dave Martin
2011-01-12 16:23             ` Russell King - ARM Linux
2011-01-12 18:28             ` Nicolas Pitre
2011-01-12 18:42               ` Russell King - ARM Linux
2011-01-12 18:55                 ` Nicolas Pitre
2011-01-25  8:44                   ` Sachin Verma
2011-01-25 13:23                     ` Catalin Marinas
2011-01-27  5:43                     ` Nicolas Pitre
2011-02-10 15:43                       ` Russell King - ARM Linux
2011-02-10 19:41                         ` Nicolas Pitre
2011-02-11  9:31                           ` Dave Martin
2011-02-11  9:38                             ` Russell King - ARM Linux
2011-02-11  9:45                               ` Dave Martin
2011-02-11 13:55                                 ` Nicolas Pitre
2011-02-11 13:51                             ` Nicolas Pitre
2011-02-11 14:25                               ` Dave Martin
2011-02-11 14:42                                 ` Russell King - ARM Linux
2011-02-12 19:52                                   ` Nicolas Pitre
2011-01-13  5:50                 ` Alexander Holler
2011-01-13 10:04                   ` Russell King - ARM Linux
2011-01-13 14:36                     ` Alexander Holler
2011-01-12 16:25         ` Matthieu CASTET
2011-01-12 16:38           ` Russell King - ARM Linux
2011-01-11 16:01     ` Nicolas Pitre

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=4D2C7484.3050309@ahsoftware.de \
    --to=holler@ahsoftware.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nico@fluxnic.net \
    /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