Hi all,

I'm running into an issue where my modules frequently fail to load if I boot with more than 32 MB of memory. For example if I boot with 256 MB and try to load two modules, the second one will always report a "relocation out of range" error as shown below (with debug enabled in module.c):

First module loaded at ~27MB:

Init section allocation order:
final section addresses:
   0x1b10000 .text
   0x1b12de0 .rodata
   0x1b12dec .rodata.str1.1
   0x1b137c0 .data
   0x1b13840 .gnu.linkonce.this_module
   0x1b139c0 .bss
   0x1b13140 .symtab
   0x1b13610 .strtab

Second module loaded at ~252MB:

Init section allocation order:
final section addresses:
   0xfce0000 .text
   0xfcf1e94 .rodata
   0xfcf2098 .rodata.str1.1
   0xfcf4ddf __ksymtab_strings
   0xfcf4e18 __ksymtab
   0xfcf4e38 __param
   0xfcf6954 .data
   0xfcf6a40 .gnu.linkonce.this_module
   0xfcf6bc0 .bss
   0xfcf4e4c .symtab
   0xfcf60cc .strtab
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
mipio: relocation out of range, section 2 reloc 0 sym 'printk'

Note that each module loads fine if its the first one loaded after boot. Does anyone have any suggestions on how to make this work (such as forcing the allocation to be in low memory)? I'm using 2.6.23-uc0 on a non-MMU ARM platform. For reference, this used to work fine on a 2.4 kernel as we regularly ran with 512 MB.

Thanks,
Lance

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to