Active Topics

 


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#1
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:
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `hildon-application-framework-packages')
dpkg: also configuring `desktop-file-utils' (required by `hildon-application-framework-packages')
Setting up hildon-update-category-database (1.10.1-1) ...
mmap: Permission denied
dpkg: error processing hildon-update-category-database (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `libhildonmime0')
Setting up shared-mime-info (0.19-1) ...
mmap: Permission denied
dpkg: error processing shared-mime-info (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `shared-mime-info' (required by `libosso-gnomevfs2-common')
Setting up libsdl-image1.2-dev (1.2.4-5) ...
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `sudo' (required by `maemo-core-runtime')
Setting up ifupdown (0.6.7osso) ...
mkdir wrapper: /dev/shm/network -> /targets/CHINOOK_ARMEL/dev/shm/network
/scratchbox/tools/bin/mkdir: cannot create directory `/targets/CHINOOK_ARMEL/dev/shm/network': File exists
dpkg: error processing ifupdown (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `ifupdown' (required by `netbase')
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `sudo' (required by `osso-af-startup')
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `sudo' (required by `osso-app-killer')
Setting up hildon-update-category-database (1.10.1-1) ...
mmap: Permission denied
dpkg: error processing hildon-update-category-database (--install):
subprocess post-installation script returned error exit status 255
Setting up desktop-file-utils (0.12-1osso2) ...
mmap: Permission denied
dpkg: error processing desktop-file-utils (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `hildon-application-framework-packages')
dpkg: also configuring `desktop-file-utils' (required by `hildon-application-framework-packages')
Setting up hildon-update-category-database (1.10.1-1) ...
mmap: Permission denied
dpkg: error processing hildon-update-category-database (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `libhildonmime0')
Setting up shared-mime-info (0.19-1) ...
mmap: Permission denied
dpkg: error processing shared-mime-info (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `shared-mime-info' (required by `libosso-gnomevfs2-common')
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
lock
partial
shared-mime-info
sudo
desktop-file-utils
hildon-update-category-database
ifupdown
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
Basically, it failed.

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

Last edited by qwerty12; 2008-04-27 at 15:15.
 

The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
OSEmuTech's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#2
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.)
__________________
16-Bit x86 DOS: DOSBox
Amiga 68k: UAE
Apple II: Winapple
Apple 68k Mac: Basilisk II
Commodore 64: Frodo
Palm OS: Access GarnetVM
TI-89 Calculator: TiEmu 2
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
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?
 
OSEmuTech's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#4
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.
__________________
16-Bit x86 DOS: DOSBox
Amiga 68k: UAE
Apple II: Winapple
Apple 68k Mac: Basilisk II
Commodore 64: Frodo
Palm OS: Access GarnetVM
TI-89 Calculator: TiEmu 2
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
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 :/
 
Posts: 1 | Thanked: 1 time | Joined on Apr 2008
#6
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
 

The Following User Says Thank You to pjohnsen For This Useful Post:
Posts: 88 | Thanked: 63 times | Joined on Feb 2008 @ Solingen; Germany
#7
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

Last edited by thopiekar; 2009-02-14 at 10:27.
 
Posts: 43 | Thanked: 6 times | Joined on Feb 2009 @ Saint Paul, mn
#8
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.
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#9
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).
 
Posts: 2 | Thanked: 0 times | Joined on Mar 2009
#10
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).

 
Reply


 
Forum Jump


All times are GMT. The time now is 15:16.