[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-devel
Subject:    Re: [uml-devel] BUGFIX : insmod fail with message "overflow in relocation type 11..." for mem=504M a
From:       richard -rw- weinberger <richard.weinberger () gmail ! com>
Date:       2012-01-23 23:33:05
Message-ID: CAFLxGvww1okUVX5ccotPUBXjEoN4fjq7Yo0JuHqJg7j3ut82rA () mail ! gmail ! com
[Download RAW message or body]

Hi!

On Wed, Jan 18, 2012 at 3:31 PM, 전하늘 <allskyee@gmail.com> wrote:
> I found the problem while transitioning to a 64bit machine
>
> The problem seems to exist for physical memory exceeding 504MB because that
> is the precise limit which tips VMALLOC_START with MSB being 1
>
> That would be a problem for 64bit machines since in symbol relocation
> function, namely apply_relocate_add in arch/x86/kernel/module.c:249,
> evaluating R_X86_64_32S sign extends 64bit values
>
> The root of the problem though, is that  VMALLOC_START  start is too big to
> begin with since START is too big in Makefile-x86_64
>
> Changing to a smaller value, like say 0x8048000 used for i386 machines seems
> to do the trick
>
> Any reason it was 0x60000000 ??

Thanks for the bug report.
VMALLOC_START isn't hardcoded, which kernel are you using?

-- 
Thanks,
//richard

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic