[ian@icjohnson.com: GeDevKit Pharo 7 Image]

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

[ian@icjohnson.com: GeDevKit Pharo 7 Image]

Gemstone/S mailing list
I think I may have post this on the wrong list...

----- Forwarded message from ian <[hidden email]> -----

Date: Tue, 30 Jul 2019 07:27:30 -0400
From: ian <[hidden email]>
To: [hidden email]
Subject: GeDevKit Pharo 7 Image
User-Agent: Mutt/1.10.1 (2018-07-13)

All,

After installing GsDevKit via the github instructions I tried
to create a tode client via the pharo 7 options as per:

# /home/GemStone/GsDevKit_home$ createClient -t pharo64 pharoClient -v Pharo7.0

When doing so I get the folowing:

-----

=================
   GsDevKit script: createClient -t pharo64 pharoClient -v Pharo7.0
              path: /home/ian/Downloads/GemStone/GsDevKit_home/bin/createClient
=================
=================
   GsDevKit script: createClient -t 64 -c -v Pharo7.0 pharoClient
              path: /home/ian/Downloads/GemStone/GsDevKit_home/dev/todeClient/bin/createClient
=================
=================
   GsDevKit script: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
              path: /home/ian/Downloads/GemStone/GsDevKit_home/dev/todeClient/bin/createPharoTodeClient
=================
pthread_setschedparam failed: Operation not permitted
This VM uses a separate heartbeat thread to update its internal clock
and handle events.  For best operation, this thread should run at a
higher priority, however the VM was unable to change the priority.  The
effect is that heavily loaded systems may experience some latency
issues.  If this occurs, please create the appropriate configuration
file in /etc/security/limits.d/ as shown below:

cat <<END | sudo tee /etc/security/limits.d/pharo.conf
*      hard    rtprio  2
*      soft    rtprio  2
END

and report to the pharo mailing list whether this improves behaviour.

You will need to log out and log back in for the limits to take effect.
For more information please see
https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux
pharoClient image not updated --- update manually :: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
...finished :: createClient -t 64 -c -v Pharo7.0 pharoClient
...finished :: createClient -t pharo64 pharoClient -v Pharo7.0

-----

To which I create the pharo.conf file as described (which never seems to be recognized
even after logging out and back in).

Nevertheless, following the instructions to create manually as per:

$GS_HOME/dev/todeClient/bin/createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient

results in the following:

-----

=================
   GsDevKit script: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
              path: dev/todeClient/bin/createPharoTodeClient
=================
pthread_setschedparam failed: Operation not permitted
This VM uses a separate heartbeat thread to update its internal clock
and handle events.  For best operation, this thread should run at a
higher priority, however the VM was unable to change the priority.  The
effect is that heavily loaded systems may experience some latency
issues.  If this occurs, please create the appropriate configuration
file in /etc/security/limits.d/ as shown below:

cat <<END | sudo tee /etc/security/limits.d/pharo.conf
*      hard    rtprio  2
*      soft    rtprio  2
END

and report to the pharo mailing list whether this improves behaviour.

You will need to log out and log back in for the limits to take effect.
For more information please see
https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux
pharoClient image not updated --- update manually :: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient

-----

As the startClient script will invoke the creation of the client image itself I tried to create thus:

$GS_HOME/startClient pharoClient

Which results in:

-----

=================
   GsDevKit script: startClient pharoClient
              path: /home/ian/Downloads/GemStone/GsDevKit_home/bin/startClient
=================
=================
   GsDevKit script: startClient pharoClient
              path: /home/ian/Downloads/GemStone/GsDevKit_home/dev/clients/pharoClient/startClient
=================
The requested client image: /home/ian/Downloads/GemStone/GsDevKit_home/dev/clients/pharoClient/pharoClient.image does not exist
Do you wish to create pharoClient? [y/n]

-----

Upon entering yes I get the following:

-----

Fetched -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
Loaded -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
Fetched -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
Loaded -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
Loading baseline of BaselineOfMetacello...'Errors in script loaded from /home/ian/Downloads/GemStone/GsDevKit_home/sys/default/pharo/todeLoad.st'
MetacelloNameNotDefinedError: project group, or package named: 'FileTree' not found when used in requires: or includes: field of package: 'Metacello-FileTree' for version: baseline of BaselineOfMetacello.
[ MetacelloNameNotDefinedError
signal:
 'project group, or package named: ' , specName printString
 , ' not found when used in requires: or includes: field of package: '
 , self name printString , ' for version: '

....
....

Error on or near line 180 :: createPharoTodeClient -f pharoClient :: createPharoTodeClient -f pharoClient
Error on or near line 99 :: startClient pharoClient :: startClient pharoClient                                
Error on or near line 70 :: startClient pharoClient :: startClient pharoClient

Any help would be greatly appreciated.

Kindly,

Ian

----- End forwarded message -----
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [ian@icjohnson.com: GeDevKit Pharo 7 Image]

Gemstone/S mailing list
Seems that the customClientLoad.st file is not created for some reason (set perms to 777 and still).

If I manually create this file I get:

-----

Error on or near line 274 :: createPharoTodeClient -c -v Pharo7.0 pharoClient :: createPharoTodeClient -c -v Pharo7.0 pharoClient
Error on or near line 111 :: createClient -c -v Pharo7.0 pharoClient :: createClient -c -v Pharo7.0 pharoClient
Error on or near line 157 :: createClient -t pharo pharoClient -v Pharo7.0 :: createClient -t pharo pharoClient -v Pharo7.0

----

Which in the script reads:

-----

267 EOF                                                                                                    
268   else
269       if [ ! -e "$directoryPath/customClientLoad.st" ] ; then
270     echo $directoryPath
271       exit_0_banner "${imageName} image not updated --- update manually"
272     fi
273   fi
*** 274   $createPharoCmd $directoryPath/clientTmp.image --quit --save $directoryPath/customClientLoad.st
275   $pharoCmd $directoryPath/clientTmp.image save $imageName

-----

Do not know where to take this and can't find anything in the forums.

Thanks again!


On Tue, Jul 30, 2019 at 07:53:57AM -0400, ian wrote:

> I think I may have post this on the wrong list...
>
> ----- Forwarded message from ian <[hidden email]> -----
>
> Date: Tue, 30 Jul 2019 07:27:30 -0400
> From: ian <[hidden email]>
> To: [hidden email]
> Subject: GeDevKit Pharo 7 Image
> User-Agent: Mutt/1.10.1 (2018-07-13)
>
> All,
>
> After installing GsDevKit via the github instructions I tried
> to create a tode client via the pharo 7 options as per:
>
> # /home/GemStone/GsDevKit_home$ createClient -t pharo64 pharoClient -v Pharo7.0
>
> When doing so I get the folowing:
>
> -----
>
> =================
>    GsDevKit script: createClient -t pharo64 pharoClient -v Pharo7.0
>               path: /home/ian/Downloads/GemStone/GsDevKit_home/bin/createClient
> =================
> =================
>    GsDevKit script: createClient -t 64 -c -v Pharo7.0 pharoClient
>               path: /home/ian/Downloads/GemStone/GsDevKit_home/dev/todeClient/bin/createClient
> =================
> =================
>    GsDevKit script: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
>               path: /home/ian/Downloads/GemStone/GsDevKit_home/dev/todeClient/bin/createPharoTodeClient
> =================
> pthread_setschedparam failed: Operation not permitted
> This VM uses a separate heartbeat thread to update its internal clock
> and handle events.  For best operation, this thread should run at a
> higher priority, however the VM was unable to change the priority.  The
> effect is that heavily loaded systems may experience some latency
> issues.  If this occurs, please create the appropriate configuration
> file in /etc/security/limits.d/ as shown below:
>
> cat <<END | sudo tee /etc/security/limits.d/pharo.conf
> *      hard    rtprio  2
> *      soft    rtprio  2
> END
>
> and report to the pharo mailing list whether this improves behaviour.
>
> You will need to log out and log back in for the limits to take effect.
> For more information please see
> https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux
> pharoClient image not updated --- update manually :: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
> ...finished :: createClient -t 64 -c -v Pharo7.0 pharoClient
> ...finished :: createClient -t pharo64 pharoClient -v Pharo7.0
>
> -----
>
> To which I create the pharo.conf file as described (which never seems to be recognized
> even after logging out and back in).
>
> Nevertheless, following the instructions to create manually as per:
>
> $GS_HOME/dev/todeClient/bin/createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
>
> results in the following:
>
> -----
>
> =================
>    GsDevKit script: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
>               path: dev/todeClient/bin/createPharoTodeClient
> =================
> pthread_setschedparam failed: Operation not permitted
> This VM uses a separate heartbeat thread to update its internal clock
> and handle events.  For best operation, this thread should run at a
> higher priority, however the VM was unable to change the priority.  The
> effect is that heavily loaded systems may experience some latency
> issues.  If this occurs, please create the appropriate configuration
> file in /etc/security/limits.d/ as shown below:
>
> cat <<END | sudo tee /etc/security/limits.d/pharo.conf
> *      hard    rtprio  2
> *      soft    rtprio  2
> END
>
> and report to the pharo mailing list whether this improves behaviour.
>
> You will need to log out and log back in for the limits to take effect.
> For more information please see
> https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux
> pharoClient image not updated --- update manually :: createPharoTodeClient -c -t 64 -v Pharo7.0 pharoClient
>
> -----
>
> As the startClient script will invoke the creation of the client image itself I tried to create thus:
>
> $GS_HOME/startClient pharoClient
>
> Which results in:
>
> -----
>
> =================
>    GsDevKit script: startClient pharoClient
>               path: /home/ian/Downloads/GemStone/GsDevKit_home/bin/startClient
> =================
> =================
>    GsDevKit script: startClient pharoClient
>               path: /home/ian/Downloads/GemStone/GsDevKit_home/dev/clients/pharoClient/startClient
> =================
> The requested client image: /home/ian/Downloads/GemStone/GsDevKit_home/dev/clients/pharoClient/pharoClient.image does not exist
> Do you wish to create pharoClient? [y/n]
>
> -----
>
> Upon entering yes I get the following:
>
> -----
>
> Fetched -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
> Loaded -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
> Fetched -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
> Loaded -> BaselineOfMetacello-EstebanLorenzano.97 --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository [:] --- filetree:///home/ian/Downloads/GemStone/GsDevKit_home/shared/repos/metacello-work/repository
> Loading baseline of BaselineOfMetacello...'Errors in script loaded from /home/ian/Downloads/GemStone/GsDevKit_home/sys/default/pharo/todeLoad.st'
> MetacelloNameNotDefinedError: project group, or package named: 'FileTree' not found when used in requires: or includes: field of package: 'Metacello-FileTree' for version: baseline of BaselineOfMetacello.
> [ MetacelloNameNotDefinedError
> signal:
>  'project group, or package named: ' , specName printString
>  , ' not found when used in requires: or includes: field of package: '
>  , self name printString , ' for version: '
>
> ....
> ....
>
> Error on or near line 180 :: createPharoTodeClient -f pharoClient :: createPharoTodeClient -f pharoClient
> Error on or near line 99 :: startClient pharoClient :: startClient pharoClient                                
> Error on or near line 70 :: startClient pharoClient :: startClient pharoClient
>
> Any help would be greatly appreciated.
>
> Kindly,
>
> Ian
>
> ----- End forwarded message -----
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk