linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] mcmodel=kernel and mem=512M
@ 2009-05-17 11:28 Shlomo Pongratz
  0 siblings, 0 replies; only message in thread
From: Shlomo Pongratz @ 2009-05-17 11:28 UTC (permalink / raw)
  To: user-mode-linux-devel


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-17 11:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17 11:28 [uml-devel] mcmodel=kernel and mem=512M Shlomo Pongratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox