Reply
Thread Tools
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#11
Same problem as above - even with setarch i386, apt-get update insists on looking for arm64 binaries instead of i386 binaries.
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#12
Originally Posted by tz1 View Post
Same problem as above - even with setarch i386, apt-get update insists on looking for arm64 binaries instead of i386 binaries.
It must be an APT related problem.

Type this: $ setarch i386 uname -m

It should return i686.

There are 2 solutions:

1) Download the packages manually instead of using APT, then use setarch.

2) Build a 32 bit chroot. Guide.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#13
Or 3) Install from tarballs instead of debs (-s option to installer script)
 

The Following User Says Thank You to lma For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#14
Reviving thread alert!!!

I'm trying to install scratchbox on 64-bit kubuntu and I've got stuck. This is what happens when I run the ./maemo-sdk-install_4.1.2.sh script:

Code:
brent@ubuntu:~/Desktop$ ./maemo-sdk-install_4.1.2.sh 
This script will install maemo SDK 4.1.2 diablo release to your computer.

Install options
Do not download or install Nokia EUSA binaries (no)
Force remove of existing targets (no)              
Alternative sources.list ('')                      

Target configuration for armel (DIABLO_ARMEL)
compiler=cs2005q3.2-glibc2.5-arm             
devkits=perl:debian-etch:maemo3-tools:cputransp
cputransp=qemu-arm-0.8.2-sb2                   

Target configuration for i386 (DIABLO_X86)
compiler=cs2005q3.2-glibc2.5-i386         
devkits=perl:debian-etch:maemo3-tools     

Checking for prerequisites
--------------------------

wget tool in path... /usr/bin/wget
Checking for dpkg tool in path... /usr/bin/dpkg
Running outside of scratchbox... yes           
Script not run as user root... yes
Scratchbox installation found... yes
Scratchbox home directory... yes
Scratchbox sb-conf tool... yes
Scratchbox user's bind mount... yes
Scratchbox user's /dev set up... yes
Scratchbox home directory... yes
Scratchbox login... yes
Scratchbox login executable... yes
Scratchbox sb-conf tool works... yes
Scratchbox version requirement met... yes
Scratchbox CPU transparency method for ARMEL is present... yes
Scratchbox toolchains... yes
Scratchbox required devkits... yes
Host kernel VDSO support... yes
Check for scratchbox sessions running...
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
E: You must close your other scratchbox sessions first
E: Specify an alternative installation path using '-s PATH' option.
brent@ubuntu:~/Desktop$
This is after manually installing scratchbox with dpkg.

TIA.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#15
use search to learn how to disable vdso32
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#16
Originally Posted by allnameswereout View Post
use search to learn how to disable vdso32
I searched and I learned, but nothing works.

If I add "vm.vdso_enabled = 0" to /etc/sysctl.conf, running sysctl -p gives this:

Code:
error: "vm.vdso_enabled" is an unknown key
If I try "echo 0 > /proc/sys/vm/vdso_enabled" I get:

Code:
bash: /proc/sys/vm/vdso_enabled: No such file or directory
And if I try the Python sb_fix program, I get:

Code:
Traceback (most recent call last):
  File "sb_fix.py", line 117, in <module>
    sb_fix('all')
  File "sb_fix.py", line 26, in sb_fix
    if chkcfg('sb_fix'):
NameError: global name 'chkcfg' is not defined
I'm out of ideas...
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#17
From http://repository.maemo.org/stable/4.1.2/INSTALL.txt:
64 bit Linux kernels starting from version 2.6.25 enable VDSO by default and
do not offer a /proc filesystem option to turn it off. Notably Debian Lenny
and Fedora9 are using such kernels. However, a kernel boot parameter has been
verified to work on a 64 bit system. If you run into this problem, please
add 'vdso32=0' to your kernel boot parameters.
 

The Following User Says Thank You to lma For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Feb 2010
#18
Originally Posted by BrentDC View Post
I searched and I learned, but nothing works.

If I add "vm.vdso_enabled = 0" to /etc/sysctl.conf, running sysctl -p gives this:

Code:
error: "vm.vdso_enabled" is an unknown key
If I try "echo 0 > /proc/sys/vm/vdso_enabled" I get:

Code:
bash: /proc/sys/vm/vdso_enabled: No such file or directory
And if I try the Python sb_fix program, I get:

Code:
Traceback (most recent call last):
  File "sb_fix.py", line 117, in <module>
    sb_fix('all')
  File "sb_fix.py", line 26, in sb_fix
    if chkcfg('sb_fix'):
NameError: global name 'chkcfg' is not defined
I'm out of ideas...
So what worked finally ?
 
slobodsky's Avatar
Posts: 63 | Thanked: 41 times | Joined on Feb 2010 @ Moscow
#19
Hmm, I'm using scratchbox on Ubuntu 9.10 x64 for a long time without problems (my "timeshop" is just in 4 thumbs from extras). AFAIR all I've done is "vdso32=0" "kernel" line parameter in grub config.
__________________
Sorry for bad English. If you can point out mistakes in this post, send me a private message.
 
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#20
Could anybody be of assisstance with getting scratchbox to work on Ubuntu (Oneiric) 64 bit. Tried following instructions from the wiki's and here to no avail.
Any help would be great, thanks.

Code:
(lenny)paul@crash:/etc/apt$ sh maemo-sdk-install_5.0.sh
This script will install maemo SDK 5.0 fremantle release to your computer.

Install options
Force remove of existing targets (no)
Alternative sources.list ('')

Target configuration for armel (FREMANTLE_ARMEL)
compiler=cs2007q3-glibc2.5-arm7
devkits=perl:debian-etch:qemu:doctools:autotools-legacy:python-legacy:svn:git
cputransp=qemu-arm-sb

Target configuration for i386 (FREMANTLE_X86)
compiler=cs2007q3-glibc2.5-i486
devkits=perl:debian-etch:doctools:autotools-legacy:python-legacy:svn:git

Checking for prerequisites
--------------------------

wget tool in path... /usr/bin/wget
Checking for dpkg tool in path... /usr/bin/dpkg
Running outside of scratchbox... yes
Script not run as user root... yes
Scratchbox installation found... yes
Scratchbox home directory... yes
Scratchbox sb-conf tool... yes
Scratchbox user's bind mount... yes
Scratchbox user's /dev set up... no
E: Scratchbox user's /dev is not properly set up. Couldn't read /dev/null.
E: Start scratchbox service with 'sudo /scratchbox/sbin/sbox_ctl start'.
E: Specify an alternative installation path using '-s PATH' option.
(lenny)paul@crash:/etc/apt$
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:31.