Some of you may have noticed this already, but for those who do not yet know, from linux kernels 2.6.23 onward there's support for additional security check for mmap operations which is used for example in kernel that ships with latest Ubuntu, Hardy Heron.

Ubuntu ships with 65536 as a default value for mmap_min_addr, which prevents qemu from mmapping the low address spaces it wants, thus breaking the qemu based cpu transparencies inside Scratchbox as well.

The problem can fixed with [1] (worked for me when doing a quick hello world testing with debian lenny and 2.6.24 kernel), others [2] have used smaller values too...

Regards,

  Jussi

[1] sudo 'echo 32768 > /proc/sys/vm/mmap_min_addr'
[2] http://inz.fi/blog/2008/01/17/scratchbox-on-hardy/

_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to