RE: 64 bit Squeak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: 64 bit Squeak

barger

Thanks for your quick answer...

>I think that you are trying to run a 64 bit image with a 32 bit VM.

I have both of this 64bit MIX. First i compiled on my AMD64 hw version with
src=32bit and this VM can run images from /dev3 old link and also my current
image, but i got the seg. fault on NetNameResolver because i thing there was
no 64bit support for SocketPlugin.

So i decided to compile as suggested full 64 VM ( with no src=xxbit option
aj Ian mentioned on some web page in config script ) with the latest sources
from svn from squeakvm. This produced incompatible version of image error
and i am now no able to prepare new 64 bit image from 32, maybe it will take
much more to study and investigate/

I run debian 64 bit OS on AMD64 and i can do quick switch to Intel CPU too
because i sell hardware.


>The 64 bit image requires a separate VM executable, which you need
>to build by generating sources with the "64 bit VM?" check box selected
>in VMMaker. This VM is required in order to run an image with 64 bit
>Smalltalk word size.

For do this i will need to solve all the chicken-egg problem. I first need
to run on my 64bit Linux some system with at least net support ( 32 bit
version fail on NetNameResolver and 64 bit on incopatible image )


>I run a 64 bit image occasionally, but only for the fun of seeing
>it work. I also use it for updating various plugins that I maintain,
>so they are 64 bit clean (OSPP, etc). Otherwise, I don't know of
>anyone running 64 bit images right now.

At least one person which is able to help somehow, thanks.

>One other important thing that you need to know is that the original
>64 bit image on the "dist3" site does not work with a current VM.

I know because this was my first try.

>I have attached a change set to show the method that has changed,
>but it's a bit of a trick to actually do the update (I made a
>custom hacked VM that tolerated either version of the image, and
>used that to update the image to match the current VM).


I will try to look at it too, but i think pure 64bit and proved-working
image will be more helpfull at this time.

>I think someone announced a web site for distributing useful images.
>I guess I can upload a patched 64 bit image there if noone else is
>has a better plan.

I dont want to judge someone else plan to serve images, but i know that the
best solution is always to do as much as i can by myself. So i can offer
10Mbit line with ftp and http access if you will be so kind and upload it
there - to my machine. I can run it for years and i also run seaside web so
maybe it can be interesting in future. Now there is only hardware e-shop at
www.barnet.sk ,but i can build it all tomorow. Please let me know if you can
upload your 64 bit image if i will do some web support for 64 bit squeak in
future.

>My understanding is that the system tracer only works on big-ender
>machines (i.e. pre-Intel Macs).

Maybe the problem is also in this big-endian, i dont look so deeply to image
and vm sources. This was just my first try and one day testing.

>There is now a "Squeak 64 bit" category on Mantis for tracking
>64 bit Squeak issues. Currently there are three items that you
>should read:

I will check this too, thanks :

>http://bugs.impara.de/view.php?id=5240
>http://bugs.impara.de/view.php?id=5239
>http://bugs.impara.de/view.php?id=5238
>
>Dave


Jan Barger



Reply | Threaded
Open this post in threaded view
|

Re: RE: 64 bit Squeak

David T. Lewis
On Tue, Oct 31, 2006 at 04:17:39PM +0100, barger wrote:

>
> Thanks for your quick answer...
>
> >The 64 bit image requires a separate VM executable, which you need
> >to build by generating sources with the "64 bit VM?" check box selected
> >in VMMaker. This VM is required in order to run an image with 64 bit
> >Smalltalk word size.
>
> For do this i will need to solve all the chicken-egg problem. I first need
> to run on my 64bit Linux some system with at least net support ( 32 bit
> version fail on NetNameResolver and 64 bit on incopatible image )

You can generate the 64 bit sources for this with any existing 32 bit
image and VM. If you run configure/make on a 32 bit machine, you get
a VM for 64 bit images that runs on 32 bit hardware. If you run configure/make
on a 64 bit machine, you get a VM for 64 bit imagse that runs on a 64
bit host.

Note that many plugins have not been updated for 64 bit VMs. Start with
the bare minimum (BalloonEnginePlugin, BitBltSimulation, FilePlugin,
and SocketPlugin) until you get a working VM. You can also safely
add OSProcessPlugin, XDisplayControlPlugin, and AioPlugin, but these
are not necessary to get a working VM.

> I dont want to judge someone else plan to serve images, but i know that the
> best solution is always to do as much as i can by myself. So i can offer
> 10Mbit line with ftp and http access if you will be so kind and upload it
> there - to my machine. I can run it for years and i also run seaside web so
> maybe it can be interesting in future. Now there is only hardware e-shop at
> www.barnet.sk ,but i can build it all tomorow. Please let me know if you can
> upload your 64 bit image if i will do some web support for 64 bit squeak in
> future.

Give me an ftp account and password and I'll send you a working image
within 24 hours.

Dave