vm on ubuntu

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

Re: vm on ubuntu

johnmci

>> Agreed that naming it Pharo would be better, but the
>> name is of less interest to me than the vm sources.  If there are
>> Pharo-specific changes, I do not see them anywere??

There are no Pharo specific changes in the VM source.

linux/unix/windows/mac platform support source at

http://squeakvm.org/cgi-bin/viewcvs.cgi/

iphone source at

http://svn.isqueak.org/vm/   (However I will be merging this back into  
the squeakvm.org tree later this fall.

vmmaker at
http://www.squeaksource.com/VMMaker

detailed build instructions at
http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto

For os-x you may find that people take the Squeak.app, alter the name,  
info.plist settings, the binary name
for their one-click experiences, but in general they do not build a  
new binary.


--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: vm on ubuntu

Schwab,Wilhelm K
In reply to this post by Michael Roberts-2
 
Mike,

A link would be great.  A zip file would no doubt help some too, though

  http://squeakvm.org/cgi-bin/viewcvs.cgi/

linked from

  http://squeakvm.org/unix/

is perhaps better than a zip.  I _think_ users of a zip would want to see an individual file or two to check a theory about a bug or to see how something works; anyone setting out to build a vm would probably want to grab the latest source.

Thanks!

Bill


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Michael Roberts
Sent: Tuesday, November 03, 2009 1:27 PM
To: [hidden email]
Subject: Re: [Pharo-project] vm on ubuntu

The vm sources are in svn. You want them snapshotted in a zip?

Perhaps just a link to the vm web page would do.

Cheers mike

On Tuesday, November 3, 2009, Mariano Martinez Peck <[hidden email]> wrote:

>
>
> 2009/10/31 Schwab,Wilhelm K <[hidden email] <javascript:_e({},
> 'cvml', '[hidden email]');>>
>
>
>
>
>
>
> Agreed that naming it Pharo would be better, but the name is of less
> interest to me than the vm sources.  If there are Pharo-specific
> changes, I do not see them anywere??
>
> +1  This was discussed in another thread, but I cannot find it right now. It would be VERY useful to have VM sources uploaded to the webpage. The problem is I don't know where to get the VM sources neither the plugins.
>
> I know a lot of people that stands "I won't put something in production if I cannot build it by myself". So, having the sources in the webpage is something good I think.
>
> Cheers
>
> Mariano
>
>
> Bill
>
>
>
> From:
> [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Mariano Martinez Peck
> Sent: Saturday, October 31, 2009 11:44 AM
> To:
> [hidden email]
> Subject: Re: [Pharo-project] vm on
> ubuntu
>
>
> Hi Doru: In a wonderful world, you would have latest PharoVM in the
> Ubuntu repositories and for all Ubuntu verions. In the real world,
> this is not done. The squeak or Pharo VM that usually are at the
> repositories are old and not for all Ubuntu versions. Thus, I think
> the easiest way to install it, is this (as Dale said):
>
> 1) Download the VM from here
> http://gforge.inria.fr/frs/download.php/22745/pharo-vm-0.15.2d-linux.z
> ip
>
> 2) Unzip it somewhere.
> 3) And then you can just execute VM. Suppose you uncompress the zip in
> /home/doru/pharoVM/pharo-vm-0.15.2d-linux/
> Then you
> can open a terminal an do
> /home/doru/pharoVM/pharo-vm-0.15.2d-linux/squeak
>   /home/doru/pharo-images/myxxximage.image
>
> Now I notice that it
> would be better if the executable file is called pharo instead of
> squeak
>
> That's all.
>
> Best
>
> Mariano
>
> On Sat, Oct 31, 2009 at 9:09 AM, Tudor Girba <[hidden email] 
> <javascript:_e({}, 'cvml', '[hidden email]');>>
> wrote:
> Hi,
>
> What
>   is the preferred way to install a Pharo vm on
>   Ubuntu?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
>
> "From an abstract enough point of
>   view, any two things are
>   similar."
>
>
>
>
> _______________________________________________
> Pharo-project
>   mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: vm on ubuntu

Schwab,Wilhelm K
In reply to this post by johnmci
John,

I would be happy to give a reproducible example, but one eludes me at present.  To add to the fun, I have now seen the image quit on a second Linux box; this time, my laptop.  I am fairly certain that it crashed over a mouse wheel event.

Both machines are running Ubuntu 9.10, which might be the trigger of my new-found hassles.

Bill



-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of John M McIntosh
Sent: Tuesday, November 03, 2009 1:49 PM
To: [hidden email]
Subject: Re: [Pharo-project] vm on ubuntu


>> Agreed that naming it Pharo would be better, but the name is of less
>> interest to me than the vm sources.  If there are Pharo-specific
>> changes, I do not see them anywere??

There are no Pharo specific changes in the VM source.

linux/unix/windows/mac platform support source at

http://squeakvm.org/cgi-bin/viewcvs.cgi/

iphone source at

http://svn.isqueak.org/vm/   (However I will be merging this back into  
the squeakvm.org tree later this fall.

vmmaker at
http://www.squeaksource.com/VMMaker

detailed build instructions at
http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto

For os-x you may find that people take the Squeak.app, alter the name, info.plist settings, the binary name for their one-click experiences, but in general they do not build a new binary.


--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: vm on ubuntu

johnmci
Well beyond the simple memory access violation (seg fault) type of  
failure then.

(a) if you have configured your vm to use a limited amount of memory  
and you enter a recursive loop the VM likely will
thrash thru the available memory in a small number of milliseconds on  
a fast machine then exit(). I believe by default
it's 1GB, but if there is no paging involved to find 1GB of ram it can  
happen quite quickly.

(b) Older unix/linux vm are susceptible to crashing if they expand  
image memory over the 2GB address boundary.
I can't say exactly what version that would be, but if you supply the  
build information for your VM

SmalltalkImage current getSystemAttribute: 1004
and
SmalltalkImage current getSystemAttribute: 1006

That might give a clue to if the fixes for the problem are in the VM  
you are using.



On 2009-11-03, at 11:08 AM, Schwab,Wilhelm K wrote:

> John,
>
> I would be happy to give a reproducible example, but one eludes me  
> at present.  To add to the fun, I have now seen the image quit on a  
> second Linux box; this time, my laptop.  I am fairly certain that it  
> crashed over a mouse wheel event.
>
> Both machines are running Ubuntu 9.10, which might be the trigger of  
> my new-found hassles.
>
> Bill
>

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: vm on ubuntu

Michael Roberts-2
In reply to this post by Schwab,Wilhelm K
well i was being slightly rhetorical. I don't think it makes sense to
zip the sources, it has no value to me. If you are going to be
building VMs then you must learn how that sub-community & process
works.   We should link the information John has provided somewhere. I
would suggest detail on a wiki page, and a link off the pharo-project
page for those too curious.

cheers,
Mike

On Tue, Nov 3, 2009 at 6:56 PM, Schwab,Wilhelm K <[hidden email]> wrote:

>
> Mike,
>
> A link would be great.  A zip file would no doubt help some too, though
>
>  http://squeakvm.org/cgi-bin/viewcvs.cgi/
>
> linked from
>
>  http://squeakvm.org/unix/
>
> is perhaps better than a zip.  I _think_ users of a zip would want to see an individual file or two to check a theory about a bug or to see how something works; anyone setting out to build a vm would probably want to grab the latest source.
>
> Thanks!
>
> Bill
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Michael Roberts
> Sent: Tuesday, November 03, 2009 1:27 PM
> To: [hidden email]
> Subject: Re: [Pharo-project] vm on ubuntu
>
> The vm sources are in svn. You want them snapshotted in a zip?
>
> Perhaps just a link to the vm web page would do.
>
> Cheers mike
>
> On Tuesday, November 3, 2009, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> 2009/10/31 Schwab,Wilhelm K <[hidden email] <javascript:_e({},
>> 'cvml', '[hidden email]');>>
>>
>>
>>
>>
>>
>>
>> Agreed that naming it Pharo would be better, but the name is of less
>> interest to me than the vm sources.  If there are Pharo-specific
>> changes, I do not see them anywere??
>>
>> +1  This was discussed in another thread, but I cannot find it right now. It would be VERY useful to have VM sources uploaded to the webpage. The problem is I don't know where to get the VM sources neither the plugins.
>>
>> I know a lot of people that stands "I won't put something in production if I cannot build it by myself". So, having the sources in the webpage is something good I think.
>>
>> Cheers
>>
>> Mariano
>>
>>
>> Bill
>>
>>
>>
>> From:
>> [hidden email]
>> [mailto:[hidden email]] On Behalf Of
>> Mariano Martinez Peck
>> Sent: Saturday, October 31, 2009 11:44 AM
>> To:
>> [hidden email]
>> Subject: Re: [Pharo-project] vm on
>> ubuntu
>>
>>
>> Hi Doru: In a wonderful world, you would have latest PharoVM in the
>> Ubuntu repositories and for all Ubuntu verions. In the real world,
>> this is not done. The squeak or Pharo VM that usually are at the
>> repositories are old and not for all Ubuntu versions. Thus, I think
>> the easiest way to install it, is this (as Dale said):
>>
>> 1) Download the VM from here
>> http://gforge.inria.fr/frs/download.php/22745/pharo-vm-0.15.2d-linux.z
>> ip
>>
>> 2) Unzip it somewhere.
>> 3) And then you can just execute VM. Suppose you uncompress the zip in
>> /home/doru/pharoVM/pharo-vm-0.15.2d-linux/
>> Then you
>> can open a terminal an do
>> /home/doru/pharoVM/pharo-vm-0.15.2d-linux/squeak
>>   /home/doru/pharo-images/myxxximage.image
>>
>> Now I notice that it
>> would be better if the executable file is called pharo instead of
>> squeak
>>
>> That's all.
>>
>> Best
>>
>> Mariano
>>
>> On Sat, Oct 31, 2009 at 9:09 AM, Tudor Girba <[hidden email]
>> <javascript:_e({}, 'cvml', '[hidden email]');>>
>> wrote:
>> Hi,
>>
>> What
>>   is the preferred way to install a Pharo vm on
>>   Ubuntu?
>>
>> Cheers,
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "From an abstract enough point of
>>   view, any two things are
>>   similar."
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project
>>   mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

FW: vm on ubuntu

Schwab,Wilhelm K
In reply to this post by Tudor Girba


-----Original Message-----
From: Schwab,Wilhelm K
Sent: Tuesday, November 03, 2009 4:12 PM
To: [hidden email]
Subject: RE: [Pharo-project] vm on ubuntu

John,

My ageing image that did the mouse wheel crash is as follows:

SmalltalkImage current getSystemAttribute: 1004
 'Pharo0.1 of 16 May 2008 [latest update: #10074]'

The system dictionary/error handling failure was the RC1 web image.

Both quit using the following vm:

SmalltalkImage current getSystemAttribute: 1006  'Unix built on Feb  5 2009 19:38:30 Compiler: 4.1.2 (Gentoo 4.1.2 p1.3)'

I had bad experiences with newer images, but the old image has been very stable.  One could argue that both have been flaky since I upgraded to 9.10.  My laptop chipset seems to like the new kernel, especially in terms of reliable access to the full native resolution, and sound works where it did not on 9.04.  My desktop did not do so well.  The upgrade was quite slow.  It soon presented me with a black screen.  With no response, I finally killed the power, which apparently corrupted the swap partition.  I finally got it back by removing and re-creating the swap partition, followed by a certain amount of forced checking that might or might not have fixed something.   Suspecting power management, I disabled putting the display to sleep, and have not had a problem since.  The package manager crashed once on my laptop, so I do not rule out problems with the Koala.

Bill



________________________________________
From: John M McIntosh [[hidden email]]
Sent: Tuesday, November 03, 2009 2:21 PM
To: Schwab,Wilhelm K
Cc: [hidden email]
Subject: Re: [Pharo-project] vm on ubuntu

Well beyond the simple memory access violation (seg fault) type of failure then.

(a) if you have configured your vm to use a limited amount of memory and you enter a recursive loop the VM likely will thrash thru the available memory in a small number of milliseconds on a fast machine then exit(). I believe by default it's 1GB, but if there is no paging involved to find 1GB of ram it can happen quite quickly.

(b) Older unix/linux vm are susceptible to crashing if they expand image memory over the 2GB address boundary.
I can't say exactly what version that would be, but if you supply the build information for your VM

SmalltalkImage current getSystemAttribute: 1004 and SmalltalkImage current getSystemAttribute: 1006

That might give a clue to if the fixes for the problem are in the VM you are using.



On 2009-11-03, at 11:08 AM, Schwab,Wilhelm K wrote:

> John,
>
> I would be happy to give a reproducible example, but one eludes me at
> present.  To add to the fun, I have now seen the image quit on a
> second Linux box; this time, my laptop.  I am fairly certain that it
> crashed over a mouse wheel event.
>
> Both machines are running Ubuntu 9.10, which might be the trigger of
> my new-found hassles.
>
> Bill
>

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: FW: vm on ubuntu

johnmci
Mmm, well assuming you compiled/linked your own VM, then in the
interp.c  it would have something like

/* Automatically generated from Squeak on 17 September 2009 10:11:02 am
    by VMMaker 3.11.3
  */

at the top, what does the one you have say?  Oddly both supplied  
attributes speak of the image used, when build and compiler but speak  
nothing about
what version the VM is, er like is this one 32/64bit clean, or 32bit  
address clean...  An non-informed answer should be it's ok since it  
was compiled  in feb, but
without the VMMaker version number it's an uknown.


On 2009-11-03, at 1:23 PM, Schwab,Wilhelm K wrote:

>
>
> -----Original Message-----
> From: Schwab,Wilhelm K
> Sent: Tuesday, November 03, 2009 4:12 PM
> To: [hidden email]
> Subject: RE: [Pharo-project] vm on ubuntu
>
> John,
>
> My ageing image that did the mouse wheel crash is as follows:
>
> SmalltalkImage current getSystemAttribute: 1004
> 'Pharo0.1 of 16 May 2008 [latest update: #10074]'
>
> The system dictionary/error handling failure was the RC1 web image.
>
> Both quit using the following vm:
>
> SmalltalkImage current getSystemAttribute: 1006  'Unix built on Feb  
> 5 2009 19:38:30 Compiler: 4.1.2 (Gentoo 4.1.2 p1.3)'
>
> I had bad experiences with newer images, but the old image has been  
> very stable.  One could argue that both have been flaky since I  
> upgraded to 9.10.  My laptop chipset seems to like the new kernel,  
> especially in terms of reliable access to the full native  
> resolution, and sound works where it did not on 9.04.  My desktop  
> did not do so well.  The upgrade was quite slow.  It soon presented  
> me with a black screen.  With no response, I finally killed the  
> power, which apparently corrupted the swap partition.  I finally got  
> it back by removing and re-creating the swap partition, followed by  
> a certain amount of forced checking that might or might not have  
> fixed something.   Suspecting power management, I disabled putting  
> the display to sleep, and have not had a problem since.  The package  
> manager crashed once on my laptop, so I do not rule out problems  
> with the Koala.
>
> Bill

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: FW: vm on ubuntu

Schwab,Wilhelm K
John,

I did not compile the vm; it is the second most recent from the Pharo web site.

Bill


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of John M McIntosh
Sent: Tuesday, November 03, 2009 5:14 PM
To: [hidden email]
Subject: Re: [Pharo-project] FW: vm on ubuntu

Mmm, well assuming you compiled/linked your own VM, then in the interp.c  it would have something like

/* Automatically generated from Squeak on 17 September 2009 10:11:02 am
    by VMMaker 3.11.3
  */

at the top, what does the one you have say?  Oddly both supplied attributes speak of the image used, when build and compiler but speak nothing about what version the VM is, er like is this one 32/64bit clean, or 32bit address clean...  An non-informed answer should be it's ok since it was compiled  in feb, but without the VMMaker version number it's an uknown.


On 2009-11-03, at 1:23 PM, Schwab,Wilhelm K wrote:

>
>
> -----Original Message-----
> From: Schwab,Wilhelm K
> Sent: Tuesday, November 03, 2009 4:12 PM
> To: [hidden email]
> Subject: RE: [Pharo-project] vm on ubuntu
>
> John,
>
> My ageing image that did the mouse wheel crash is as follows:
>
> SmalltalkImage current getSystemAttribute: 1004
> 'Pharo0.1 of 16 May 2008 [latest update: #10074]'
>
> The system dictionary/error handling failure was the RC1 web image.
>
> Both quit using the following vm:
>
> SmalltalkImage current getSystemAttribute: 1006  'Unix built on Feb  
> 5 2009 19:38:30 Compiler: 4.1.2 (Gentoo 4.1.2 p1.3)'
>
> I had bad experiences with newer images, but the old image has been
> very stable.  One could argue that both have been flaky since I
> upgraded to 9.10.  My laptop chipset seems to like the new kernel,
> especially in terms of reliable access to the full native resolution,
> and sound works where it did not on 9.04.  My desktop did not do so
> well.  The upgrade was quite slow.  It soon presented me with a black
> screen.  With no response, I finally killed the power, which
> apparently corrupted the swap partition.  I finally got it back by
> removing and re-creating the swap partition, followed by a certain
> amount of forced checking that might or might not have
> fixed something.   Suspecting power management, I disabled putting  
> the display to sleep, and have not had a problem since.  The package
> manager crashed once on my laptop, so I do not rule out problems with
> the Koala.
>
> Bill

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
12