On Wed, Jan 23, 2013 at 4:11 PM, Lars-Göran Nordh
<lars-goran.no...@ericsson.com> wrote:
> Hello,
>
> I have built a couple of kernel modules and successfully loaded them using
> modprobe.
> Since I needed more memory i changed MEM=1024MB to the kernel start line.
> The module that earlier was loaded without any problem now give me this
> response:
>
> root@localhost[]:/root> modprobe xcrp
> overflow in relocation type 11 val 813d6980
> `xcrp' likely not compiled with -mcmodel=kernel
> FATAL: Error inserting xcrp (/lib/modules/3.0.49-604-g222f5c6-dirty/xcrp.ko):
> Invalid module format
>
> arch/x86/kernel/module.c:156, evaluating R_X86_64_32S sign extends 64bit
> values  ?
> case R_X86_64_32S:
>         *(s32 *)loc = val;
>          if ((s64)val != *(s32 *)loc)
>                 goto overflow;
> I found out that if I configure less than 460MB of memory the module is loaded
> without any memory overflow.
> Any one that have a solution or workaround to this problem ?
> I desperately need this to work, so please someone help me.

Please upgrade your kernel or apply commit 12783aa0.

-- 
Thanks,
//richard

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to