From: Shlomo Pongratz <shlomopongratz@gmail.com>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] mcmodel=kernel and mem=512M
Date: Sun, 17 May 2009 14:28:38 +0300 [thread overview]
Message-ID: <88ea9a580905170428g2e6fd26ck205e38962a5eded3@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 706 bytes --]
Hi all,
I know that this is an old issue but I can't find the solution no matter how
much I've Googled.
I've build a 2.6.27 64 bit kernel and build modules with make modules
ARCH=um.
When I run the linux binary with mem=256M I can "insmod" the module loop.ko
without any problem.
However if I use mem=512M and try to "insmod" loop.ko I'm getting the
message;
# cd /lib/modules
# insmod loop.ko
overflow in relocation type 11 val 848351e2
`loop' likely not compiled with -mcmodel=kernel
insmod: cannot insert 'loop.ko': Invalid module format (-1): Exec format
error
#
My host is;
$ uname -a
Linux lnx6004 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64
x86_64 x86_64 GNU/Linux
Thanks,
S.P.
[-- Attachment #1.2: Type: text/html, Size: 933 bytes --]
[-- Attachment #2: Type: text/plain, Size: 334 bytes --]
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
reply other threads:[~2009-05-17 11:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=88ea9a580905170428g2e6fd26ck205e38962a5eded3@mail.gmail.com \
--to=shlomopongratz@gmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.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