|
From: richard -r. w. <ric...@gm...> - 2013-03-06 14:59:54
|
On Wed, Jan 23, 2013 at 4:11 PM, Lars-Göran Nordh <lar...@er...> 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 |