[ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

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

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

marcel.taeumel
Hi there,

here are new builds:
http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/

Note that the VM version in the file name is true for 32-bit but not so true for 64-bit because the 64-bit Windows VM is different but the version comes from the macOS VM, which is used to update the image.

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Hannes Hirzel
Hello

On Ubuntu 14.04.1 I get an error with All-in-one-64bit,

user8@user8-Latitude:~$ chmod +x squeak.sh
user8@user8-Latitude:~$ ./squeak.sh
/home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
pthread_setschedparam failed: Operation not permitted
Read e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
user8@user8-Latitude:~$ uname -a
Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
user8@user8-Latitude:~$


The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.

Best wishes

Hannes

On 8/13/16, marcel.taeumel <[hidden email]> wrote:

> Hi there,
>
> here are new builds:
> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>
> Note that the VM version in the file name is true for 32-bit but not so
> true
> for 64-bit because the 64-bit Windows VM is different but the version comes
> from the macOS VM, which is used to update the image.
>
> Best,
> Marcel
>
>
>
> --
> View this message in context:
> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Levente Uzonyi
Hi Hannes,

It's a VM bug that it prints the wrong URL. You get this error message,
because you haven't allowed Squeak to use higher process priorities.
Try this link: http://www.mirandabanda.org/files/Cog/VM/latest/README.3732

Levente

On Sat, 13 Aug 2016, H. Hirzel wrote:

> Hello
>
> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>
> user8@user8-Latitude:~$ chmod +x squeak.sh
> user8@user8-Latitude:~$ ./squeak.sh
> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
> pthread_setschedparam failed: Operation not permitted
> Read e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
> user8@user8-Latitude:~$ uname -a
> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> user8@user8-Latitude:~$
>
>
> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
> was not found on this server.
>
> Additionally, a 404 Not Found error was encountered while trying to
> use an ErrorDocument to handle the request.
>
> Best wishes
>
> Hannes
>
> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>> Hi there,
>>
>> here are new builds:
>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>
>> Note that the VM version in the file name is true for 32-bit but not so
>> true
>> for 64-bit because the 64-bit Windows VM is different but the version comes
>> from the macOS VM, which is used to update the image.
>>
>> Best,
>> Marcel
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Hannes Hirzel
Hello Levente

I can not figure out what to by reading
http://www.mirandabanda.org/files/Cog/VM/latest/README.3732

For example I do not know which VM I have as they seem to be renamed
to just squeak.
/home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak


So it is difficult to find out which of the remarks in
http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
apply.

I think it is the task of the script
     squeak.sh

to tell me more what to do (script copied in below)

--Hannes



On 8/13/16, Levente Uzonyi <[hidden email]> wrote:

> Hi Hannes,
>
> It's a VM bug that it prints the wrong URL. You get this error message,
> because you haven't allowed Squeak to use higher process priorities.
> Try this link: http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>
> Levente
>
> On Sat, 13 Aug 2016, H. Hirzel wrote:
>
>> Hello
>>
>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>
>> user8@user8-Latitude:~$ chmod +x squeak.sh
>> user8@user8-Latitude:~$ ./squeak.sh
>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>> pthread_setschedparam failed: Operation not permitted
>> Read e.g.
>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>> user8@user8-Latitude:~$ uname -a
>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>> user8@user8-Latitude:~$
>>
>>
>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>> was not found on this server.
>>
>> Additionally, a 404 Not Found error was encountered while trying to
>> use an ErrorDocument to handle the request.
>>
>> Best wishes
>>
>> Hannes
>>
>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>>> Hi there,
>>>
>>> here are new builds:
>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>
>>> Note that the VM version in the file name is true for 32-bit but not so
>>> true
>>> for 64-bit because the 64-bit Windows VM is different but the version
>>> comes
>>> from the macOS VM, which is used to update the image.
>>>
>>> Best,
>>> Marcel
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Hannes Hirzel
Note: squeak.sh should come with a version number and a modification date.

#!/usr/bin/env bash
# File:        squeak.sh (All-in-One version)
# Authors:     Bert Freudenberg, Paul DeBruicker, Craig Latta, Chris Muller,
#              Fabio Niephaus
# Description: Script to run Squeak from the all-in-one app structure
#              (based on Etoys-To-Go)

APP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}"
)/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app" && pwd )"
IMAGE="${APP_DIR}/Contents/Resources/Squeak5.1beta-16420-64bit.image"
IMAGE_BITS="64"
CPU="$(uname -m)"

case "${CPU}" in
  "x86_64")
    if [[ "${IMAGE_BITS}" == "32" ]]; then
      CPU="i686"
      echo "Running 32-bit Squeak on a 64-bit System. install-libs32
may install them."
    fi
    ;;
  "armv6l"|"armv7l")
    CPU="ARM"
    ;;
esac

VM="${APP_DIR}/Contents/Linux-${CPU}/bin/squeak"
echo "${VM}"

showerror() {
  if [[ -n "${DISPLAY}" ]] && [[ -x "$(which kdialog 2>/dev/null)" ]]; then
    kdialog --error "$1"
  elif [[ -n "${DISPLAY}" ]] && [[ -x "$(which zenity 2>/dev/null)" ]]; then
    zenity --error --text "$1"
  else
    dialog --msgbox "$1" 0 0
  fi
}

if [[ ! -x "${VM}" ]]; then
  if [[ ! -r "${VM}" ]]; then
    showerror "This Squeak version does not support $(uname -s)-${CPU}"
  else
    showerror "Squeak does not have permissions to execute"
  fi
fi

exec "${VM}" "${IMAGE}"

On 8/13/16, H. Hirzel <[hidden email]> wrote:

> Hello Levente
>
> I can not figure out what to by reading
> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>
> For example I do not know which VM I have as they seem to be renamed
> to just squeak.
> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>
>
> So it is difficult to find out which of the remarks in
> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
> apply.
>
> I think it is the task of the script
>      squeak.sh
>
> to tell me more what to do (script copied in below)
>
> --Hannes
>
>
>
> On 8/13/16, Levente Uzonyi <[hidden email]> wrote:
>> Hi Hannes,
>>
>> It's a VM bug that it prints the wrong URL. You get this error message,
>> because you haven't allowed Squeak to use higher process priorities.
>> Try this link:
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>
>> Levente
>>
>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>
>>> Hello
>>>
>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>>
>>> user8@user8-Latitude:~$ chmod +x squeak.sh
>>> user8@user8-Latitude:~$ ./squeak.sh
>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>> pthread_setschedparam failed: Operation not permitted
>>> Read e.g.
>>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>>> user8@user8-Latitude:~$ uname -a
>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>> user8@user8-Latitude:~$
>>>
>>>
>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>>> was not found on this server.
>>>
>>> Additionally, a 404 Not Found error was encountered while trying to
>>> use an ErrorDocument to handle the request.
>>>
>>> Best wishes
>>>
>>> Hannes
>>>
>>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>>>> Hi there,
>>>>
>>>> here are new builds:
>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>>
>>>> Note that the VM version in the file name is true for 32-bit but not so
>>>> true
>>>> for 64-bit because the 64-bit Windows VM is different but the version
>>>> comes
>>>> from the macOS VM, which is used to update the image.
>>>>
>>>> Best,
>>>> Marcel
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Levente Uzonyi
In reply to this post by Hannes Hirzel
Hi Hannes,

Only ht VMs require higher process priorities, so you're using an ht VM,
and the following applies to you:

      Linux
      There are two variants of the Linux VMs; those ending in "ht" have a
      heartbeat thread, while those that don't use an interval timer for the
      heartbeat (the Windows and Mac VMs have a threaded heartbeat).  The
      threaded heartbeat is better (for example, signals from the interval timer
      interfere with system calls, etc), but to use it one must have a kernel
      later than 2.6.12 and configure linux to allow the VM to use multiple
      thread priorities.  To do so, create a file called VM.conf where VM is
      the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for
      the Newspeak vm) in /etc/security/limits.d/ with contents:
*       hard    rtprio  2
*       soft    rtprio  2

      e.g.

sudo cat >/etc/security/limits.d/squeak.conf <<END
*       hard    rtprio  2
*       soft    rtprio  2
END
sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf

      Only new processes will have the new security settings. Users must log
      out and log back in for the limits to take effect.  Services must stop
      and then restart for the changes to take effect.  To use this VM as a
      daemon, e.g. under daemontools, you'll need to raise the limit manually.
      Make sure you're using bash and before your launch command, raise the max
      thread priority limit with ulimit -r 2, e.g. versions of the following
      script will work on ubuntu
         #!/bin/bash
         cd /path/to/squeak/directory
         ulimit -r 2
         exec setuidgid <account> ./coglinuxht/squeak -vm display-null -vm sound-null squeak.image


Levente


On Sat, 13 Aug 2016, H. Hirzel wrote:

> Hello Levente
>
> I can not figure out what to by reading
> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>
> For example I do not know which VM I have as they seem to be renamed
> to just squeak.
> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>
>
> So it is difficult to find out which of the remarks in
> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
> apply.
>
> I think it is the task of the script
>     squeak.sh
>
> to tell me more what to do (script copied in below)
>
> --Hannes
>
>
>
> On 8/13/16, Levente Uzonyi <[hidden email]> wrote:
>> Hi Hannes,
>>
>> It's a VM bug that it prints the wrong URL. You get this error message,
>> because you haven't allowed Squeak to use higher process priorities.
>> Try this link: http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>
>> Levente
>>
>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>
>>> Hello
>>>
>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>>
>>> user8@user8-Latitude:~$ chmod +x squeak.sh
>>> user8@user8-Latitude:~$ ./squeak.sh
>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>> pthread_setschedparam failed: Operation not permitted
>>> Read e.g.
>>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>>> user8@user8-Latitude:~$ uname -a
>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>> user8@user8-Latitude:~$
>>>
>>>
>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>>> was not found on this server.
>>>
>>> Additionally, a 404 Not Found error was encountered while trying to
>>> use an ErrorDocument to handle the request.
>>>
>>> Best wishes
>>>
>>> Hannes
>>>
>>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>>>> Hi there,
>>>>
>>>> here are new builds:
>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>>
>>>> Note that the VM version in the file name is true for 32-bit but not so
>>>> true
>>>> for 64-bit because the 64-bit Windows VM is different but the version
>>>> comes
>>>> from the macOS VM, which is used to update the image.
>>>>
>>>> Best,
>>>> Marcel
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Hannes Hirzel
Hello Levente

The following on  did the job. The 64bit all-in-one runs fine on Ubuntu 14.04.1.

Thank you

Hannes

sudo cat >/etc/security/limits.d/squeak.conf <<END
*       hard    rtprio  2
*       soft    rtprio  2
END


(log out and log in)

On 8/14/16, Levente Uzonyi <[hidden email]> wrote:

> Hi Hannes,
>
> Only ht VMs require higher process priorities, so you're using an ht VM,
> and the following applies to you:
>
>       Linux
>       There are two variants of the Linux VMs; those ending in "ht" have a
>       heartbeat thread, while those that don't use an interval timer for
> the
>       heartbeat (the Windows and Mac VMs have a threaded heartbeat).  The
>       threaded heartbeat is better (for example, signals from the interval
> timer
>       interfere with system calls, etc), but to use it one must have a
> kernel
>       later than 2.6.12 and configure linux to allow the VM to use multiple
>       thread priorities.  To do so, create a file called VM.conf where VM
> is
>       the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for
>       the Newspeak vm) in /etc/security/limits.d/ with contents:
> *       hard    rtprio  2
> *       soft    rtprio  2
>
>       e.g.
>
> sudo cat >/etc/security/limits.d/squeak.conf <<END
> *       hard    rtprio  2
> *       soft    rtprio  2
> END
> sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf
>
>       Only new processes will have the new security settings. Users must
> log
>       out and log back in for the limits to take effect.  Services must
> stop
>       and then restart for the changes to take effect.  To use this VM as a
>       daemon, e.g. under daemontools, you'll need to raise the limit
> manually.
>       Make sure you're using bash and before your launch command, raise the
> max
>       thread priority limit with ulimit -r 2, e.g. versions of the
> following
>       script will work on ubuntu
>          #!/bin/bash
>          cd /path/to/squeak/directory
>          ulimit -r 2
>          exec setuidgid <account> ./coglinuxht/squeak -vm display-null -vm
> sound-null squeak.image
>
>
> Levente
>
>
> On Sat, 13 Aug 2016, H. Hirzel wrote:
>
>> Hello Levente
>>
>> I can not figure out what to by reading
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>
>> For example I do not know which VM I have as they seem to be renamed
>> to just squeak.
>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>
>>
>> So it is difficult to find out which of the remarks in
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>> apply.
>>
>> I think it is the task of the script
>>     squeak.sh
>>
>> to tell me more what to do (script copied in below)
>>
>> --Hannes
>>
>>
>>
>> On 8/13/16, Levente Uzonyi <[hidden email]> wrote:
>>> Hi Hannes,
>>>
>>> It's a VM bug that it prints the wrong URL. You get this error message,
>>> because you haven't allowed Squeak to use higher process priorities.
>>> Try this link:
>>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>>
>>> Levente
>>>
>>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>>
>>>> Hello
>>>>
>>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>>>
>>>> user8@user8-Latitude:~$ chmod +x squeak.sh
>>>> user8@user8-Latitude:~$ ./squeak.sh
>>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>>> pthread_setschedparam failed: Operation not permitted
>>>> Read e.g.
>>>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>>>> user8@user8-Latitude:~$ uname -a
>>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>>> user8@user8-Latitude:~$
>>>>
>>>>
>>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>>>> was not found on this server.
>>>>
>>>> Additionally, a 404 Not Found error was encountered while trying to
>>>> use an ErrorDocument to handle the request.
>>>>
>>>> Best wishes
>>>>
>>>> Hannes
>>>>
>>>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>>>>> Hi there,
>>>>>
>>>>> here are new builds:
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>>>
>>>>> Note that the VM version in the file name is true for 32-bit but not
>>>>> so
>>>>> true
>>>>> for 64-bit because the 64-bit Windows VM is different but the version
>>>>> comes
>>>>> from the macOS VM, which is used to update the image.
>>>>>
>>>>> Best,
>>>>> Marcel
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

fniephaus
Heartbeat threaded vms seem to be better, but they require a kernel later than 2.6.12 and Linux needs to be reconfigured by creating a file.

I wonder, would it be better to use vms with interval timer in the Linux bundles instead?
Or shall we extend the squeak.sh launcher script, so that it helps with the Linux setup?

It feels like ht vms are for power users and I think it might be better to trade performance for ease of use in this case (having beginners in mind). Any other opinions?

Best,
Fabio

--

On Sun, Aug 14, 2016 at 9:43 AM H. Hirzel <[hidden email]> wrote:
Hello Levente

The following on  did the job. The 64bit all-in-one runs fine on Ubuntu 14.04.1.

Thank you

Hannes

sudo cat >/etc/security/limits.d/squeak.conf <<END
*       hard    rtprio  2
*       soft    rtprio  2
END


(log out and log in)

On 8/14/16, Levente Uzonyi <[hidden email]> wrote:
> Hi Hannes,
>
> Only ht VMs require higher process priorities, so you're using an ht VM,
> and the following applies to you:
>
>       Linux
>       There are two variants of the Linux VMs; those ending in "ht" have a
>       heartbeat thread, while those that don't use an interval timer for
> the
>       heartbeat (the Windows and Mac VMs have a threaded heartbeat).  The
>       threaded heartbeat is better (for example, signals from the interval
> timer
>       interfere with system calls, etc), but to use it one must have a
> kernel
>       later than 2.6.12 and configure linux to allow the VM to use multiple
>       thread priorities.  To do so, create a file called VM.conf where VM
> is
>       the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for
>       the Newspeak vm) in /etc/security/limits.d/ with contents:
> *       hard    rtprio  2
> *       soft    rtprio  2
>
>       e.g.
>
> sudo cat >/etc/security/limits.d/squeak.conf <<END
> *       hard    rtprio  2
> *       soft    rtprio  2
> END
> sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf
>
>       Only new processes will have the new security settings. Users must
> log
>       out and log back in for the limits to take effect.  Services must
> stop
>       and then restart for the changes to take effect.  To use this VM as a
>       daemon, e.g. under daemontools, you'll need to raise the limit
> manually.
>       Make sure you're using bash and before your launch command, raise the
> max
>       thread priority limit with ulimit -r 2, e.g. versions of the
> following
>       script will work on ubuntu
>          #!/bin/bash
>          cd /path/to/squeak/directory
>          ulimit -r 2
>          exec setuidgid <account> ./coglinuxht/squeak -vm display-null -vm
> sound-null squeak.image
>
>
> Levente
>
>
> On Sat, 13 Aug 2016, H. Hirzel wrote:
>
>> Hello Levente
>>
>> I can not figure out what to by reading
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>
>> For example I do not know which VM I have as they seem to be renamed
>> to just squeak.
>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>
>>
>> So it is difficult to find out which of the remarks in
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>> apply.
>>
>> I think it is the task of the script
>>     squeak.sh
>>
>> to tell me more what to do (script copied in below)
>>
>> --Hannes
>>
>>
>>
>> On 8/13/16, Levente Uzonyi <[hidden email]> wrote:
>>> Hi Hannes,
>>>
>>> It's a VM bug that it prints the wrong URL. You get this error message,
>>> because you haven't allowed Squeak to use higher process priorities.
>>> Try this link:
>>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>>
>>> Levente
>>>
>>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>>
>>>> Hello
>>>>
>>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>>>
>>>> user8@user8-Latitude:~$ chmod +x squeak.sh
>>>> user8@user8-Latitude:~$ ./squeak.sh
>>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>>> pthread_setschedparam failed: Operation not permitted
>>>> Read e.g.
>>>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>>>> user8@user8-Latitude:~$ uname -a
>>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>>> user8@user8-Latitude:~$
>>>>
>>>>
>>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>>>> was not found on this server.
>>>>
>>>> Additionally, a 404 Not Found error was encountered while trying to
>>>> use an ErrorDocument to handle the request.
>>>>
>>>> Best wishes
>>>>
>>>> Hannes
>>>>
>>>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>>>>> Hi there,
>>>>>
>>>>> here are new builds:
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>>>
>>>>> Note that the VM version in the file name is true for 32-bit but not
>>>>> so
>>>>> true
>>>>> for 64-bit because the 64-bit Windows VM is different but the version
>>>>> comes
>>>>> from the macOS VM, which is used to update the image.
>>>>>
>>>>> Best,
>>>>> Marcel
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

marcel.taeumel
fniephaus wrote
Heartbeat threaded vms seem to be better, but they require a kernel later
than 2.6.12 and Linux needs to be reconfigured by creating a file.

I wonder, would it be better to use vms with interval timer in the Linux
bundles instead?
Or shall we extend the squeak.sh launcher script, so that it helps with the
Linux setup?

It feels like ht vms are for power users and I think it might be better to
trade performance for ease of use in this case (having beginners in mind).
Any other opinions?

Best,
Fabio

--

On Sun, Aug 14, 2016 at 9:43 AM H. Hirzel <[hidden email]> wrote:

> Hello Levente
>
> The following on  did the job. The 64bit all-in-one runs fine on Ubuntu
> 14.04.1.
>
> Thank you
>
> Hannes
>
> sudo cat >/etc/security/limits.d/squeak.conf <<END
> *       hard    rtprio  2
> *       soft    rtprio  2
> END
>
>
> (log out and log in)
>
> On 8/14/16, Levente Uzonyi <[hidden email]> wrote:
> > Hi Hannes,
> >
> > Only ht VMs require higher process priorities, so you're using an ht VM,
> > and the following applies to you:
> >
> >       Linux
> >       There are two variants of the Linux VMs; those ending in "ht" have
> a
> >       heartbeat thread, while those that don't use an interval timer for
> > the
> >       heartbeat (the Windows and Mac VMs have a threaded heartbeat).  The
> >       threaded heartbeat is better (for example, signals from the
> interval
> > timer
> >       interfere with system calls, etc), but to use it one must have a
> > kernel
> >       later than 2.6.12 and configure linux to allow the VM to use
> multiple
> >       thread priorities.  To do so, create a file called VM.conf where VM
> > is
> >       the name of the vm executable ("squeak" for the Squeak vm, "nsvm"
> for
> >       the Newspeak vm) in /etc/security/limits.d/ with contents:
> > *       hard    rtprio  2
> > *       soft    rtprio  2
> >
> >       e.g.
> >
> > sudo cat >/etc/security/limits.d/squeak.conf <<END
> > *       hard    rtprio  2
> > *       soft    rtprio  2
> > END
> > sudo cp /etc/security/limits.d/squeak.conf
> /etc/security/limits.d/nsvm.conf
> >
> >       Only new processes will have the new security settings. Users must
> > log
> >       out and log back in for the limits to take effect.  Services must
> > stop
> >       and then restart for the changes to take effect.  To use this VM
> as a
> >       daemon, e.g. under daemontools, you'll need to raise the limit
> > manually.
> >       Make sure you're using bash and before your launch command, raise
> the
> > max
> >       thread priority limit with ulimit -r 2, e.g. versions of the
> > following
> >       script will work on ubuntu
> >          #!/bin/bash
> >          cd /path/to/squeak/directory
> >          ulimit -r 2
> >          exec setuidgid <account> ./coglinuxht/squeak -vm display-null
> -vm
> > sound-null squeak.image
> >
> >
> > Levente
> >
> >
> > On Sat, 13 Aug 2016, H. Hirzel wrote:
> >
> >> Hello Levente
> >>
> >> I can not figure out what to by reading
> >> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
> >>
> >> For example I do not know which VM I have as they seem to be renamed
> >> to just squeak.
> >>
> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
> >>
> >>
> >> So it is difficult to find out which of the remarks in
> >> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
> >> apply.
> >>
> >> I think it is the task of the script
> >>     squeak.sh
> >>
> >> to tell me more what to do (script copied in below)
> >>
> >> --Hannes
> >>
> >>
> >>
> >> On 8/13/16, Levente Uzonyi <[hidden email]> wrote:
> >>> Hi Hannes,
> >>>
> >>> It's a VM bug that it prints the wrong URL. You get this error message,
> >>> because you haven't allowed Squeak to use higher process priorities.
> >>> Try this link:
> >>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
> >>>
> >>> Levente
> >>>
> >>> On Sat, 13 Aug 2016, H. Hirzel wrote:
> >>>
> >>>> Hello
> >>>>
> >>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
> >>>>
> >>>> user8@user8-Latitude:~$ chmod +x squeak.sh
> >>>> user8@user8-Latitude:~$ ./squeak.sh
> >>>>
> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
> >>>> pthread_setschedparam failed: Operation not permitted
> >>>> Read e.g.
> >>>>
> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
> >>>> user8@user8-Latitude:~$ uname -a
> >>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
> >>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> >>>> user8@user8-Latitude:~$
> >>>>
> >>>>
> >>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
> >>>> was not found on this server.
> >>>>
> >>>> Additionally, a 404 Not Found error was encountered while trying to
> >>>> use an ErrorDocument to handle the request.
> >>>>
> >>>> Best wishes
> >>>>
> >>>> Hannes
> >>>>
> >>>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
> >>>>> Hi there,
> >>>>>
> >>>>> here are new builds:
> >>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
> >>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
> >>>>>
> >>>>> Note that the VM version in the file name is true for 32-bit but not
> >>>>> so
> >>>>> true
> >>>>> for 64-bit because the 64-bit Windows VM is different but the version
> >>>>> comes
> >>>>> from the macOS VM, which is used to update the image.
> >>>>>
> >>>>> Best,
> >>>>> Marcel
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> View this message in context:
> >>>>>
> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
> >>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
>
>
We should extend the squeak.sh launcher script, so that it helps with the Linux setup. :)

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Eliot Miranda-2
In reply to this post by fniephaus
Hi Fabio,

On Aug 14, 2016, at 2:57 AM, Fabio Niephaus <[hidden email]> wrote:

Heartbeat threaded vms seem to be better, but they require a kernel later than 2.6.12 and Linux needs to be reconfigured by creating a file.

I wonder, would it be better to use vms with interval timer in the Linux bundles instead?
Or shall we extend the squeak.sh launcher script, so that it helps with the Linux setup?

It feels like ht vms are for power users and I think it might be better to trade performance for ease of use in this case (having beginners in mind). Any other opinions?

The way I think of it is that the interval timer is a mechanism with bad side effects (interrupting system calls potentially affecting foreign code).  So I think of it as a poor man's solution.  Since Linux is often personal, in that the user usually owns the system, it seems worth guiding the user through being able to use the GT VM if possible.  If we go this route I recommend we pull the logic for setting up the files into a separate script so that it can be modified independently of squeak.sh to leave squeak.sh relatively stable as we evolve the setup script.

I agree that the itimer VMs are simpler, but in this case not better :-/


Best,
Fabio

--

On Sun, Aug 14, 2016 at 9:43 AM H. Hirzel <[hidden email]> wrote:
Hello Levente

The following on  did the job. The 64bit all-in-one runs fine on Ubuntu 14.04.1.

Thank you

Hannes

sudo cat >/etc/security/limits.d/squeak.conf <<END
*       hard    rtprio  2
*       soft    rtprio  2
END


(log out and log in)

On 8/14/16, Levente Uzonyi <[hidden email]> wrote:
> Hi Hannes,
>
> Only ht VMs require higher process priorities, so you're using an ht VM,
> and the following applies to you:
>
>       Linux
>       There are two variants of the Linux VMs; those ending in "ht" have a
>       heartbeat thread, while those that don't use an interval timer for
> the
>       heartbeat (the Windows and Mac VMs have a threaded heartbeat).  The
>       threaded heartbeat is better (for example, signals from the interval
> timer
>       interfere with system calls, etc), but to use it one must have a
> kernel
>       later than 2.6.12 and configure linux to allow the VM to use multiple
>       thread priorities.  To do so, create a file called VM.conf where VM
> is
>       the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for
>       the Newspeak vm) in /etc/security/limits.d/ with contents:
> *       hard    rtprio  2
> *       soft    rtprio  2
>
>       e.g.
>
> sudo cat >/etc/security/limits.d/squeak.conf <<END
> *       hard    rtprio  2
> *       soft    rtprio  2
> END
> sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf
>
>       Only new processes will have the new security settings. Users must
> log
>       out and log back in for the limits to take effect.  Services must
> stop
>       and then restart for the changes to take effect.  To use this VM as a
>       daemon, e.g. under daemontools, you'll need to raise the limit
> manually.
>       Make sure you're using bash and before your launch command, raise the
> max
>       thread priority limit with ulimit -r 2, e.g. versions of the
> following
>       script will work on ubuntu
>          #!/bin/bash
>          cd /path/to/squeak/directory
>          ulimit -r 2
>          exec setuidgid <account> ./coglinuxht/squeak -vm display-null -vm
> sound-null squeak.image
>
>
> Levente
>
>
> On Sat, 13 Aug 2016, H. Hirzel wrote:
>
>> Hello Levente
>>
>> I can not figure out what to by reading
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>
>> For example I do not know which VM I have as they seem to be renamed
>> to just squeak.
>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>
>>
>> So it is difficult to find out which of the remarks in
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>> apply.
>>
>> I think it is the task of the script
>>     squeak.sh
>>
>> to tell me more what to do (script copied in below)
>>
>> --Hannes
>>
>>
>>
>> On 8/13/16, Levente Uzonyi <[hidden email]> wrote:
>>> Hi Hannes,
>>>
>>> It's a VM bug that it prints the wrong URL. You get this error message,
>>> because you haven't allowed Squeak to use higher process priorities.
>>> Try this link:
>>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>>
>>> Levente
>>>
>>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>>
>>>> Hello
>>>>
>>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>>>
>>>> user8@user8-Latitude:~$ chmod +x squeak.sh
>>>> user8@user8-Latitude:~$ ./squeak.sh
>>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>>> pthread_setschedparam failed: Operation not permitted
>>>> Read e.g.
>>>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>>>> user8@user8-Latitude:~$ uname -a
>>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>>> user8@user8-Latitude:~$
>>>>
>>>>
>>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>>>> was not found on this server.
>>>>
>>>> Additionally, a 404 Not Found error was encountered while trying to
>>>> use an ErrorDocument to handle the request.
>>>>
>>>> Best wishes
>>>>
>>>> Hannes
>>>>
>>>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>>>>> Hi there,
>>>>>
>>>>> here are new builds:
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>>>
>>>>> Note that the VM version in the file name is true for 32-bit but not
>>>>> so
>>>>> true
>>>>> for 64-bit because the 64-bit Windows VM is different but the version
>>>>> comes
>>>>> from the macOS VM, which is used to update the image.
>>>>>
>>>>> Best,
>>>>> Marcel
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>




Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Eliot Miranda-2
In reply to this post by marcel.taeumel
Hi Marcel,

> On Aug 14, 2016, at 3:30 AM, marcel.taeumel <[hidden email]> wrote:
>
> fniephaus wrote
>> Heartbeat threaded vms seem to be better, but they require a kernel later
>> than 2.6.12 and Linux needs to be reconfigured by creating a file.
>>
>> I wonder, would it be better to use vms with interval timer in the Linux
>> bundles instead?
>> Or shall we extend the squeak.sh launcher script, so that it helps with
>> the
>> Linux setup?
>>
>> It feels like ht vms are for power users and I think it might be better to
>> trade performance for ease of use in this case (having beginners in mind).
>> Any other opinions?
>>
>> Best,
>> Fabio
>>
>> --
>>
>> On Sun, Aug 14, 2016 at 9:43 AM H. Hirzel &lt;
>
>> hannes.hirzel@
>
>> &gt; wrote:
>>
>>> Hello Levente
>>>
>>> The following on  did the job. The 64bit all-in-one runs fine on Ubuntu
>>> 14.04.1.
>>>
>>> Thank you
>>>
>>> Hannes
>>>
>>> sudo cat >/etc/security/limits.d/squeak.conf <
>> <END
>> *       hard    rtprio  2
>>> *       soft    rtprio  2
>>> END
>>>
>>>
>>> (log out and log in)
>>>
>>> On 8/14/16, Levente Uzonyi &lt;
>
>> leves@.elte
>
>> &gt; wrote:
>>>> Hi Hannes,
>>>>
>>>> Only ht VMs require higher process priorities, so you're using an ht
>>> VM,
>>>> and the following applies to you:
>>>>
>>>>      Linux
>>>>      There are two variants of the Linux VMs; those ending in "ht"
>>> have
>>> a
>>>>      heartbeat thread, while those that don't use an interval timer
>>> for
>>>> the
>>>>      heartbeat (the Windows and Mac VMs have a threaded heartbeat).
>>> The
>>>>      threaded heartbeat is better (for example, signals from the
>>> interval
>>>> timer
>>>>      interfere with system calls, etc), but to use it one must have a
>>>> kernel
>>>>      later than 2.6.12 and configure linux to allow the VM to use
>>> multiple
>>>>      thread priorities.  To do so, create a file called VM.conf where
>>> VM
>>>> is
>>>>      the name of the vm executable ("squeak" for the Squeak vm, "nsvm"
>>> for
>>>>      the Newspeak vm) in /etc/security/limits.d/ with contents:
>>>> *       hard    rtprio  2
>>>> *       soft    rtprio  2
>>>>
>>>>      e.g.
>>>>
>>>> sudo cat >/etc/security/limits.d/squeak.conf <
>> <END
>>>
>>> *       hard    rtprio  2
>>>> *       soft    rtprio  2
>>>> END
>>>> sudo cp /etc/security/limits.d/squeak.conf
>>> /etc/security/limits.d/nsvm.conf
>>>>
>>>>      Only new processes will have the new security settings. Users
>>> must
>>>> log
>>>>      out and log back in for the limits to take effect.  Services must
>>>> stop
>>>>      and then restart for the changes to take effect.  To use this VM
>>> as a
>>>>      daemon, e.g. under daemontools, you'll need to raise the limit
>>>> manually.
>>>>      Make sure you're using bash and before your launch command, raise
>>> the
>>>> max
>>>>      thread priority limit with ulimit -r 2, e.g. versions of the
>>>> following
>>>>      script will work on ubuntu
>>>>         #!/bin/bash
>>>>         cd /path/to/squeak/directory
>>>>         ulimit -r 2
>>>>         exec setuidgid
>> <account>
>> ./coglinuxht/squeak -vm display-null
>>> -vm
>>>> sound-null squeak.image
>>>>
>>>>
>>>> Levente
>>>>
>>>>
>>>>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>>>>
>>>>> Hello Levente
>>>>>
>>>>> I can not figure out what to by reading
>>>>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>>>>
>>>>> For example I do not know which VM I have as they seem to be renamed
>>>>> to just squeak.
>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>>>>
>>>>>
>>>>> So it is difficult to find out which of the remarks in
>>>>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>>>> apply.
>>>>>
>>>>> I think it is the task of the script
>>>>>    squeak.sh
>>>>>
>>>>> to tell me more what to do (script copied in below)
>>>>>
>>>>> --Hannes
>>>>>
>>>>>
>>>>>
>>>>> On 8/13/16, Levente Uzonyi &lt;
>
>> leves@.elte
>
>> &gt; wrote:
>>>>>> Hi Hannes,
>>>>>>
>>>>>> It's a VM bug that it prints the wrong URL. You get this error
>>> message,
>>>>>> because you haven't allowed Squeak to use higher process priorities.
>>>>>> Try this link:
>>>>>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>>>>>
>>>>>> Levente
>>>>>>
>>>>>>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>>>>>>
>>>>>>> Hello
>>>>>>>
>>>>>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>>>>>>
>>>>>>> user8@user8-Latitude:~$ chmod +x squeak.sh
>>>>>>> user8@user8-Latitude:~$ ./squeak.sh
>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>>>>>> pthread_setschedparam failed: Operation not permitted
>>>>>>> Read e.g.
>>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>>>>>>> user8@user8-Latitude:~$ uname -a
>>>>>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>>>>>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>>>>>> user8@user8-Latitude:~$
>>>>>>>
>>>>>>>
>>>>>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>>>>>>> was not found on this server.
>>>>>>>
>>>>>>> Additionally, a 404 Not Found error was encountered while trying to
>>>>>>> use an ErrorDocument to handle the request.
>>>>>>>
>>>>>>> Best wishes
>>>>>>>
>>>>>>> Hannes
>>>>>>>
>>>>>>> On 8/13/16, marcel.taeumel &lt;
>
>> Marcel.Taeumel@
>
>> &gt; wrote:
>>>>>>>> Hi there,
>>>>>>>>
>>>>>>>> here are new builds:
>>>>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>>>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>>>>>>
>>>>>>>> Note that the VM version in the file name is true for 32-bit but
>>> not
>>>>>>>> so
>>>>>>>> true
>>>>>>>> for 64-bit because the 64-bit Windows VM is different but the
>>> version
>>>>>>>> comes
>>>>>>>> from the macOS VM, which is used to update the image.
>>>>>>>>
>>>>>>>> Best,
>>>>>>>> Marcel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>>>>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
> We should extend the squeak.sh launcher script, so that it helps with the
> Linux setup. :)

I'm glad you think so!  My only suggestion is that the logic be in its own script, called from squeak.sh so that we can keep squeak.sh as stable as possible while we evolve the setup script.

> Best,
> Marcel


_,,,^..^,,,_ (phone)
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Eliot Miranda-2
In reply to this post by timrowledge
Hi Tim,

> On Aug 11, 2016, at 11:14 AM, tim Rowledge <[hidden email]> wrote:
[snip]

> The image is frikkin’ huge. How on earth do we have 22Mb of ByteArray/BitMap/ByteString around? And it looks like we are keeping a very large amount of MC stuff; 13018 instances of MCVersionInfo/MCVersionName/DateAndTime/Date/Time/UUID. Is that smart? Simply flushing the cached ancestry from the MC browser gets rid of 60% of them and appears to save 3Mb. Except the damn saved image afterwards is exactly the same size! Sigh.

Sorry about this.  This is due to the immaturity (brokenness) of the Spur compactor. There is a reasonable solution for the release process, which is to modify the 32- to 64-bit bootstrap to allow the VM simulator to clone a 32-bit image having squeezed the free space out of it.  I'll try and get in this asap.  By year end I hope that Clément and I will have rewritten the compactor to eliminate this embarrassingly bad behaviour.


>
>
> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Strange OpCodes: RDR: Rotate Disk Right
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Eliot Miranda-2
In reply to this post by Karl Ramberg


On Aug 1, 2016, at 12:20 PM, karl ramberg <[hidden email]> wrote:

I suggest a mention dedication of the late Seymour Papert in this release. So much of what has founded and driven Smalltalk and Squeak development is related to his ideas on teaching and education. 

Nice idea


Best,
Karl

On Mon, Aug 1, 2016 at 2:55 PM, marcel.taeumel <[hidden email]> wrote:
Hi, there!

It's "feature freeze" time. :-) Please do not try out new features in the
Trunk for now. If you forgot something, please ask first. We'll find a way.

@Chris: What is needed in the image for the MC History function? There was
at least one fix for the ServiceEntry left in your inbox, right?

We will now work on correcting some in-image texts, release information,
etc. We will also work on the release automation scripts using TravisCI,
smalltalkCI, and GitHub.

The next dates are:
  * Code Freeze on August 14, 23:59 AOE
  * Release between August 15 and 19

Let's hope that this will work out as expected. :-)

Best,
Marcel



--
View this message in context: http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.





Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] [squeak-dev] [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

EstebanLM
In reply to this post by Eliot Miranda-2

> On 14 Aug 2016, at 13:03, Eliot Miranda <[hidden email]> wrote:
>
>
> Hi Tim,
>
>> On Aug 11, 2016, at 11:14 AM, tim Rowledge <[hidden email]> wrote:
> [snip]
>
>> The image is frikkin’ huge. How on earth do we have 22Mb of ByteArray/BitMap/ByteString around? And it looks like we are keeping a very large amount of MC stuff; 13018 instances of MCVersionInfo/MCVersionName/DateAndTime/Date/Time/UUID. Is that smart? Simply flushing the cached ancestry from the MC browser gets rid of 60% of them and appears to save 3Mb. Except the damn saved image afterwards is exactly the same size! Sigh.
>
> Sorry about this.  This is due to the immaturity (brokenness) of the Spur compactor. There is a reasonable solution for the release process, which is to modify the 32- to 64-bit bootstrap to allow the VM simulator to clone a 32-bit image having squeezed the free space out of it.  I'll try and get in this asap.  By year end I hope that Clément and I will have rewritten the compactor to eliminate this embarrassingly bad behaviour.

+1

>
>
>>
>>
>> tim
>> --
>> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
>> Strange OpCodes: RDR: Rotate Disk Right
>>
>>
>>


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Hannes Hirzel
In reply to this post by Eliot Miranda-2
On 8/14/16, Eliot Miranda <[hidden email]> wrote:
>
>
>> On Aug 1, 2016, at 12:20 PM, karl ramberg <[hidden email]> wrote:
>>
>> I suggest a mention dedication of the late Seymour Papert in this release.
>> So much of what has founded and driven Smalltalk and Squeak development is
>> related to his ideas on teaching and education.
>
> Nice idea

And maybe StarSqueak ** could be made to work again as well (as a
loadable package from SqueakMap)

E.g.  StarSqueakAntColony new openInWorld

I wonder where the code is?  ***

--Hannes

** http://wiki.squeak.org/squeak/2292  (January 2006)
StarSqueak consists of some morphs to do turtle graphics with several
turtles at once.

*** No entry found in http://map.squeak.org/packagesbyname


>>
>> Best,
>> Karl
>>
>>> On Mon, Aug 1, 2016 at 2:55 PM, marcel.taeumel <[hidden email]>
>>> wrote:
>>> Hi, there!
>>>
>>> It's "feature freeze" time. :-) Please do not try out new features in
>>> the
>>> Trunk for now. If you forgot something, please ask first. We'll find a
>>> way.
>>>
>>> @Chris: What is needed in the image for the MC History function? There
>>> was
>>> at least one fix for the ServiceEntry left in your inbox, right?
>>>
>>> We will now work on correcting some in-image texts, release information,
>>> etc. We will also work on the release automation scripts using TravisCI,
>>> smalltalkCI, and GitHub.
>>>
>>> The next dates are:
>>>   * Code Freeze on August 14, 23:59 AOE
>>>   * Release between August 15 and 19
>>>
>>> Let's hope that this will work out as expected. :-)
>>>
>>> Best,
>>> Marcel
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004.html
>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

fniephaus
In reply to this post by Eliot Miranda-2


--

On Sun, Aug 14, 2016 at 12:52 PM Eliot Miranda <[hidden email]> wrote:
Hi Fabio,

On Aug 14, 2016, at 2:57 AM, Fabio Niephaus <[hidden email]> wrote:

Heartbeat threaded vms seem to be better, but they require a kernel later than 2.6.12 and Linux needs to be reconfigured by creating a file.

I wonder, would it be better to use vms with interval timer in the Linux bundles instead?
Or shall we extend the squeak.sh launcher script, so that it helps with the Linux setup?

It feels like ht vms are for power users and I think it might be better to trade performance for ease of use in this case (having beginners in mind). Any other opinions?

The way I think of it is that the interval timer is a mechanism with bad side effects (interrupting system calls potentially affecting foreign code).  So I think of it as a poor man's solution.  Since Linux is often personal, in that the user usually owns the system, it seems worth guiding the user through being able to use the GT VM if possible.  If we go this route I recommend we pull the logic for setting up the files into a separate script so that it can be modified independently of squeak.sh to leave squeak.sh relatively stable as we evolve the setup script.

I agree that the itimer VMs are simpler, but in this case not better :-/

Thanks for the clarification. :)
For the Squeak release (see [1]), I think it would make sense to check for the Linux kernel and fail with a useful error message when it's too old. Then, check if a squeak.conf exists and if it doesn't, help to create one, inform the user to logout and log back in, and then quit.
Since these checks should just be a couple of lines of code, I don't see why it needs to be in a separate script file which will be executed anyway. I hope you agree.

Best,
Fabio

 



Best,
Fabio

--

--

On Sun, Aug 14, 2016 at 9:43 AM H. Hirzel <[hidden email]> wrote:
Hello Levente

The following on  did the job. The 64bit all-in-one runs fine on Ubuntu 14.04.1.

Thank you

Hannes

sudo cat >/etc/security/limits.d/squeak.conf <<END
*       hard    rtprio  2
*       soft    rtprio  2
END


(log out and log in)

On 8/14/16, Levente Uzonyi <[hidden email]> wrote:
> Hi Hannes,
>
> Only ht VMs require higher process priorities, so you're using an ht VM,
> and the following applies to you:
>
>       Linux
>       There are two variants of the Linux VMs; those ending in "ht" have a
>       heartbeat thread, while those that don't use an interval timer for
> the
>       heartbeat (the Windows and Mac VMs have a threaded heartbeat).  The
>       threaded heartbeat is better (for example, signals from the interval
> timer
>       interfere with system calls, etc), but to use it one must have a
> kernel
>       later than 2.6.12 and configure linux to allow the VM to use multiple
>       thread priorities.  To do so, create a file called VM.conf where VM
> is
>       the name of the vm executable ("squeak" for the Squeak vm, "nsvm" for
>       the Newspeak vm) in /etc/security/limits.d/ with contents:
> *       hard    rtprio  2
> *       soft    rtprio  2
>
>       e.g.
>
> sudo cat >/etc/security/limits.d/squeak.conf <<END
> *       hard    rtprio  2
> *       soft    rtprio  2
> END
> sudo cp /etc/security/limits.d/squeak.conf /etc/security/limits.d/nsvm.conf
>
>       Only new processes will have the new security settings. Users must
> log
>       out and log back in for the limits to take effect.  Services must
> stop
>       and then restart for the changes to take effect.  To use this VM as a
>       daemon, e.g. under daemontools, you'll need to raise the limit
> manually.
>       Make sure you're using bash and before your launch command, raise the
> max
>       thread priority limit with ulimit -r 2, e.g. versions of the
> following
>       script will work on ubuntu
>          #!/bin/bash
>          cd /path/to/squeak/directory
>          ulimit -r 2
>          exec setuidgid <account> ./coglinuxht/squeak -vm display-null -vm
> sound-null squeak.image
>
>
> Levente
>
>
> On Sat, 13 Aug 2016, H. Hirzel wrote:
>
>> Hello Levente
>>
>> I can not figure out what to by reading
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>
>> For example I do not know which VM I have as they seem to be renamed
>> to just squeak.
>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>
>>
>> So it is difficult to find out which of the remarks in
>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>> apply.
>>
>> I think it is the task of the script
>>     squeak.sh
>>
>> to tell me more what to do (script copied in below)
>>
>> --Hannes
>>
>>
>>
>> On 8/13/16, Levente Uzonyi <[hidden email]> wrote:
>>> Hi Hannes,
>>>
>>> It's a VM bug that it prints the wrong URL. You get this error message,
>>> because you haven't allowed Squeak to use higher process priorities.
>>> Try this link:
>>> http://www.mirandabanda.org/files/Cog/VM/latest/README.3732
>>>
>>> Levente
>>>
>>> On Sat, 13 Aug 2016, H. Hirzel wrote:
>>>
>>>> Hello
>>>>
>>>> On Ubuntu 14.04.1 I get an error with All-in-one-64bit,
>>>>
>>>> user8@user8-Latitude:~$ chmod +x squeak.sh
>>>> user8@user8-Latitude:~$ ./squeak.sh
>>>> /home/user8/Squeak5.1beta-16420-64bit-r201608051639-All-in-One.app/Contents/Linux-x86_64/bin/squeak
>>>> pthread_setschedparam failed: Operation not permitted
>>>> Read e.g.
>>>> http://www.mirandabanda.org/files/Cog/VM/VM.r201608051639/README.201608051639
>>>> user8@user8-Latitude:~$ uname -a
>>>> Linux user8-Latitude-E6410 3.19.0-25-generic #26~14.04.1-Ubuntu SMP
>>>> Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>>> user8@user8-Latitude:~$
>>>>
>>>>
>>>> The requested URL /files/Cog/VM/VM.r201608051639/README.201608051639
>>>> was not found on this server.
>>>>
>>>> Additionally, a 404 Not Found error was encountered while trying to
>>>> use an ErrorDocument to handle the request.
>>>>
>>>> Best wishes
>>>>
>>>> Hannes
>>>>
>>>> On 8/13/16, marcel.taeumel <[hidden email]> wrote:
>>>>> Hi there,
>>>>>
>>>>> here are new builds:
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-32bit/
>>>>> http://files.squeak.org/5.1beta/Squeak5.1beta-16420-64bit/
>>>>>
>>>>> Note that the VM version in the file name is true for 32-bit but not
>>>>> so
>>>>> true
>>>>> for 64-bit because the 64-bit Windows VM is different but the version
>>>>> comes
>>>>> from the macOS VM, which is used to update the image.
>>>>>
>>>>> Best,
>>>>> Marcel
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://forum.world.st/ANN-Squeak-5-1-Feature-Freeze-Trunk-closed-for-new-features-only-bug-fixes-or-text-updates-tp4909004p4910909.html
>>>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>




Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

timrowledge
In reply to this post by Hannes Hirzel

> On 14-08-2016, at 12:43 AM, H. Hirzel <[hidden email]> wrote:
>
> Hello Levente
>
> The following on  did the job. The 64bit all-in-one runs fine on Ubuntu 14.04.1.

I guess an obvious question here is why on earth ubuntu is using such an old kernel. Raspbian (based on debian and so very conservative) got past that point at least 18 months ago.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: BBL: Branch on Burned out Light



Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Levente Uzonyi
On Sun, 14 Aug 2016, tim Rowledge wrote:

>
>> On 14-08-2016, at 12:43 AM, H. Hirzel <[hidden email]> wrote:
>>
>> Hello Levente
>>
>> The following on  did the job. The 64bit all-in-one runs fine on Ubuntu 14.04.1.
>
> I guess an obvious question here is why on earth ubuntu is using such an old kernel. Raspbian (based on debian and so very conservative) got past that point at least 18 months ago.

It doesn't. 14.04 uses 3.13 by default, but you can install 4.2 o 4.4 if
you want to.

Levente

>
>
> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Strange OpCodes: BBL: Branch on Burned out Light
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Hannes Hirzel
For the case I reported

    uname -r

gives

    3.19.0-25-generic

for the kernel version

--Hannes

On 8/14/16, Levente Uzonyi <[hidden email]> wrote:

> On Sun, 14 Aug 2016, tim Rowledge wrote:
>
>>
>>> On 14-08-2016, at 12:43 AM, H. Hirzel <[hidden email]> wrote:
>>>
>>> Hello Levente
>>>
>>> The following on  did the job. The 64bit all-in-one runs fine on Ubuntu
>>> 14.04.1.
>>
>> I guess an obvious question here is why on earth ubuntu is using such an
>> old kernel. Raspbian (based on debian and so very conservative) got past
>> that point at least 18 months ago.
>
> It doesn't. 14.04 uses 3.13 by default, but you can install 4.2 o 4.4 if
> you want to.
>
> Levente
>
>>
>>
>> tim
>> --
>> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
>> Strange OpCodes: BBL: Branch on Burned out Light
>>
>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

fniephaus
Here are the helper functions I came up with for the squeak.sh launcher to ensure that the kernel is newer than 2.6.12 and that a squeak.conf exists:
https://gist.github.com/fniephaus/84dc1e065b2694cf9beafed5920f8cfe

Best,
Fabio

--

On Sun, Aug 14, 2016 at 11:03 PM H. Hirzel <[hidden email]> wrote:
For the case I reported

    uname -r

gives

    3.19.0-25-generic

for the kernel version

--Hannes

On 8/14/16, Levente Uzonyi <[hidden email]> wrote:
> On Sun, 14 Aug 2016, tim Rowledge wrote:
>
>>
>>> On 14-08-2016, at 12:43 AM, H. Hirzel <[hidden email]> wrote:
>>>
>>> Hello Levente
>>>
>>> The following on  did the job. The 64bit all-in-one runs fine on Ubuntu
>>> 14.04.1.
>>
>> I guess an obvious question here is why on earth ubuntu is using such an
>> old kernel. Raspbian (based on debian and so very conservative) got past
>> that point at least 18 months ago.
>
> It doesn't. 14.04 uses 3.13 by default, but you can install 4.2 o 4.4 if
> you want to.
>
> Levente
>
>>
>>
>> tim
>> --
>> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
>> Strange OpCodes: BBL: Branch on Burned out Light
>>
>>
>>
>>
>
>



123