by ftcodes » Sun Jan 22, 2012 8:26 am
$this->bbcode_second_pass_quote('WarheadsSE', ':')facepalm:
I've been looking for an answer for a week. Dammit. My googlefu is weakening
In the .config:
Kernel Features > default mmap min addr ( CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 )
I have patched both defconfigs, as this is where they had it set.
It was already set in my config (but to that 65536 value). I got the issue, so I put that sysctl in sysctl.conf.
I have made that test binary to have enough specific words to find something.

NB: On my system, I disabled that proled stuff since I got the /sys/class/leds support and it was pointing to the wrong GPIOs anyways.
I check that variable with the 32768 value. Seems the kernel 3.1 does not like the 65536.
Update: CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 is the correct line and it works without sysctl.
The value can be lowered to 4096 which was the value within 2.6.31 kernels.