Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-12-03 Thread tz
That was the problem.  It is documented under "maintenance" in the
scratchbox install near the bottom (after all those things which would
break the maemo/nokia install).

I filed a documentation bug report so they add that to the manual/64
bit install section of INSTALL.txt.  Apparently the debs will do it
automatically, but they are i386 so get a wrong architecture message I
did not want to override, and the tarballs worked fine - at least
until you reboot.  I knew about the mounts, and binfmt_misc.ko was
being loaded, but I didn't know about the script, so I just did the
mount-all.

On Mon, Dec 1, 2008 at 2:15 PM, Graham Cobb <[EMAIL PROTECTED]> wrote:
> On Friday 28 November 2008 00:40:17 tz wrote:
>> I'm running Intrepid and Scratchbox.
>>
>> I needed to add vdso32=0 to the kernel command line (in grub's menu.lst
>> file)
>>
>> I had to download the right versions (in the install.txt, manual
>> install) of the scratchbox tarballs and unarchive them manually (and
>> add the sb_mount_all to /etc/rc.local).  But it works.
>
> Could this be the root of your problem using scratchbox for running ARM
> programs?
>
> I do not believe you should need to run sb_mount_all -- I certainly don't.  I
> use:
>
> /scratchbox/sbin/sbox_ctl start
>
> to start scratchbox.
>
> If you just use sbox_mount_all you are missing the invocation of
> register_misc_runner, which would explain why you can't run ARM programs as
> that sets up the QEMU interpreter for binfmt_misc.
>
> Graham
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-12-01 Thread Graham Cobb
On Friday 28 November 2008 00:40:17 tz wrote:
> I'm running Intrepid and Scratchbox.
>
> I needed to add vdso32=0 to the kernel command line (in grub's menu.lst
> file)
>
> I had to download the right versions (in the install.txt, manual
> install) of the scratchbox tarballs and unarchive them manually (and
> add the sb_mount_all to /etc/rc.local).  But it works.

Could this be the root of your problem using scratchbox for running ARM 
programs?

I do not believe you should need to run sb_mount_all -- I certainly don't.  I 
use:

/scratchbox/sbin/sbox_ctl start

to start scratchbox.

If you just use sbox_mount_all you are missing the invocation of 
register_misc_runner, which would explain why you can't run ARM programs as 
that sets up the QEMU interpreter for binfmt_misc.

Graham
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-27 Thread tz
On Fri, Nov 21, 2008 at 2:18 PM, Andrea Grandi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was thinking about installing Ubuntu 64 bit instead of 32 bit, since
> I've an Intel Core 2 Duo that supports 64 bit OS. Is a 64 bit Linux OS
> supported by Scratchbox+MaemoSDK?

I'm running Intrepid and Scratchbox.

I needed to add vdso32=0 to the kernel command line (in grub's menu.lst file)

I had to download the right versions (in the install.txt, manual
install) of the scratchbox tarballs and unarchive them manually (and
add the sb_mount_all to /etc/rc.local).  But it works.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-24 Thread Eero Tamminen
Hi,

ext Andrea Grandi wrote:
> I was thinking about installing Ubuntu 64 bit instead of 32 bit, since
> I've an Intel Core 2 Duo that supports 64 bit OS. Is a 64 bit Linux OS
> supported by Scratchbox+MaemoSDK?

See also:
https://bugs.maemo.org/show_bug.cgi?id=3479


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-22 Thread Martin Thierer
> Is a 64 bit Linux OS supported by Scratchbox+MaemoSDK?

Don't know about Ubuntu, but it works fine on 64 bit Gentoo.

The only caveat is that you probably have to run the installation script 
through setarch.

Good luck!

Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-22 Thread Kamen Bundev
I didn't. Used several times Xephyr (didn't test i386, only arm), but i
don't use it anymore - have and prefer to use external IDE and scripts to
build the file in scratchbox, then copy the file through SSH on my tablet
and run it.

On Sat, Nov 22, 2008 at 10:43 AM, Kees Jongenburger <
[EMAIL PROTECTED]> wrote:

> On Fri, Nov 21, 2008 at 10:09 PM, Andrea Grandi <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > 2008/11/21 Kamen Bundev <[EMAIL PROTECTED]>:
> >> Not supported officially, but doable :) I have openSUSE 11.1-RC1 64bit
> and
> >> working scratchbox on it (though i installed it while it was still 11.0)
> :)
> >
> > do you use a special Scratchbox version? Or does it work just
> > "out-of-box" without any tweak?
>
> I had problems when running graphical apps. I think is
> has to do with Xephyr and using shared memory
>
> greetings
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-22 Thread Kees Jongenburger
On Fri, Nov 21, 2008 at 10:09 PM, Andrea Grandi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 2008/11/21 Kamen Bundev <[EMAIL PROTECTED]>:
>> Not supported officially, but doable :) I have openSUSE 11.1-RC1 64bit and
>> working scratchbox on it (though i installed it while it was still 11.0) :)
>
> do you use a special Scratchbox version? Or does it work just
> "out-of-box" without any tweak?

I had problems when running graphical apps. I think is
has to do with Xephyr and using shared memory

greetings
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-21 Thread Kamen Bundev
On Ubuntu probably will be even easier since you can use the 32bit debs, i
had to use the scripts. Search in ITT, there's at least one thread about
this.

On Fri, Nov 21, 2008 at 11:09 PM, Andrea Grandi <[EMAIL PROTECTED]> wrote:

> Hi,
>
> 2008/11/21 Kamen Bundev <[EMAIL PROTECTED]>:
> > Not supported officially, but doable :) I have openSUSE 11.1-RC1 64bit
> and
> > working scratchbox on it (though i installed it while it was still 11.0)
> :)
>
> do you use a special Scratchbox version? Or does it work just
> "out-of-box" without any tweak?
>
> --
> Andrea Grandi
> email: a.grandi [AT] gmail [DOT] com
> website: http://www.andreagrandi.it
> PGP Key: http://www.andreagrandi.it/pgp_key.asc
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-21 Thread Andrea Grandi
Hi,

2008/11/21 Kamen Bundev <[EMAIL PROTECTED]>:
> Not supported officially, but doable :) I have openSUSE 11.1-RC1 64bit and
> working scratchbox on it (though i installed it while it was still 11.0) :)

do you use a special Scratchbox version? Or does it work just
"out-of-box" without any tweak?

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-21 Thread Kamen Bundev
Not supported officially, but doable :) I have openSUSE 11.1-RC1 64bit and
working scratchbox on it (though i installed it while it was still 11.0) :)

On Fri, Nov 21, 2008 at 10:18 PM, Andrea Grandi <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I was thinking about installing Ubuntu 64 bit instead of 32 bit, since
> I've an Intel Core 2 Duo that supports 64 bit OS. Is a 64 bit Linux OS
> supported by Scratchbox+MaemoSDK?
>
> Thanks for your help!
>
> --
> Andrea Grandi
> email: a.grandi [AT] gmail [DOT] com
> website: http://www.andreagrandi.it
> PGP Key: http://www.andreagrandi.it/pgp_key.asc
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?

2008-11-21 Thread Andrea Grandi
Hi,

I was thinking about installing Ubuntu 64 bit instead of 32 bit, since
I've an Intel Core 2 Duo that supports 64 bit OS. Is a 64 bit Linux OS
supported by Scratchbox+MaemoSDK?

Thanks for your help!

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers