This is just a bunch of info around scratchbox
In order to disable VSDO on debian lenny AMD 64:
sudo sysctl abi.vsyscall32=2
sudo sysctl abi.vsyscall32=0
Both work, but when changint the vsdo to 2 i belieave its called compat mode, I have no idea what that actually is but I think i read somewhere that its a bit better in some ways than 0.
It might be possible that changing the mmapminaddr also is nescesary:
sudo sysctl vm.mmap_min_addr=65536
I read somewhere that 4096 should suffice, but I have as of yet not run into any problems with the mmapminaddr at 65536.
To start xehpyr
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac
-kb & at the end, however -kb doesn't exist in the
version provided with lenny
And in scratchbox, set the right display
Starting the maemo environment inside scratchbox/xephyr af-sb-init.sh start
Had some troubles connecting to the internet through scratchbox, found out it
was related to me not using my normal configuration (I'm tethering instead of
using my wlan). When running
ifconfig I got this error:
SIOCGIFCONF: Bad address
Through some IRC-logs (thx Lateralus for having the same issue :)) i found out resolv.conf in scratchbox used the wrong nameserver. I corrected the following three files to get it to work:
/scratchbox/etc/resolv.conf /scratchbox/users/xun/targets/FREMANTLE_X86/etc/resolv.conf /scratchbox/users/xun/targets/FREMANTLE_ARMEL/etc/resolv.conf
Where xun is my scratchbox user, ofc.