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.

Regards/
Lars-Göran Nordh



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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