![]() |
Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Hi,
Anyone who goes on IRC knows about my scratchbox problems. Sbox worked great for me in Ubuntu 7.10 but when I upgraded to 8.04, that's when the problems started. 1. Problem 1. faheem@faheem-desktop:~$ scratchbox Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dos' failed! VDSO needs to be disabled. Thanks to pH5's blog: http://poh9.blogspot.com/ I found this: su -i echo 0 > /proc/sys/vm/vdso_enabled Now, that will disable it for that session afaik. To set it permanently add vdso=0 to your kernel line in menu.lst (for grub). Problem 2: (This affects you when you are installing the maemo-sdk, under Ubuntu Hardy at least). Quick cut: Quote:
Thanks to inz here: http://maemo.org/news/planet-maemo/c...4d5d8a3e5c362/ the solution is (do this before you install) : su - echo 4096 > /proc/sys/vm/mmap_min_add echo 4096 > /proc/sys/vm/mmap_min_addr |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
I tried for a couple hours last night to copy/paste that error into a post here asking for assistance or confirmation. I figured someone else would before I woke up and tried again. :(
"Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dos' failed!" (I am using VMware on Windows to run Hardy and Scratchbox.) |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Did you get it to work? :)
Disabling VDSO did it for me. But, if you don't mind me asking, isn't it easier to use the indt image that has the sdk with it? :) |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
I have the Maemo SDK VMware image, but disk space on my hard drives are limited and I wanted to be able to use Ubuntu 8.04 for all my Linux\developmental\experimental needs.
I see that you got Scratchbox at least to run. I have low-speed Internet, so maybe I'll hold off tying up my bandwidth for hours downloading\installing the Maemo SDK as apparently even that has problems installing on Hardy. |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Ah, I'd recommend (if you can get the bandwidth) to install it on 7.10. IMO, 7.10 is perfect for the sdk as the install works out of the box.
8.10 works fine with the tweaks above but it still needs tweaks :/ |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
For making the tweaks permanent you can also edit /etc/sysctl.conf:
Change: vm.mmap_min_addr = 65536 to vm.mmap_min_addr = 4096 and add vm.vdso_enabled = 0 -Pelle |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
try sb_fix from my project easy-sdk...
I think it should fix all problems if not contact me on irc.. https://garage.maemo.org/projects/esdk/ https://garage.maemo.org/frs/?group_...elease_id=2435 start the program by -$ python sb_fix.py greetings :) |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Thopiekar, I tried to use sb_fix and I get this:
Traceback (most recent call last): File "sb_fix.py", line 115, in <module> sb_fix('all') File "sb_fix.py", line 24, in sb_fix if chkcfg('sb_fix'): NameError: global name 'chkcfg' is not defined I think I'll find the prebuilt vmware build instead. |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Anyone get SB installed on 64-bit Ubuntu 8.10? That's what I've got running here...(for one, the installer script doesn't work).
|
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
hi,
Anyone get SB installed on 64-bit Ubuntu 8.10? That's what I've got running here...(for one, the installer script doesn't work). http://sentersoftech.com/senter/happy.gif |
All times are GMT. The time now is 14:41. |
vBulletin® Version 3.8.8