Can't run squeak under amd64 ubuntu

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

Can't run squeak under amd64 ubuntu

Timmy Douglas-3

I downloaded the sources and image from:
http://squeakvm.org/squeak64/dist3/

Then I compiled with make WIDTH=64. A few steps later:

timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
...


ldd /usr/local/lib/squeak/3.8a-2/vm-display-X11
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00002b37236d5000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002b3723892000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002b3723aa4000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002b3723cae000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b3723ec9000)
        libm.so.6 => /lib/libm.so.6 (0x00002b37240ce000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002b3724350000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b3724568000)
        libc.so.6 => /lib/libc.so.6 (0x00002b3724876000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00002b3724bc7000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00002b37254fb000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b37255fd000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b37257ff000)

ldd /usr/local/bin/squeak
        libutil.so.1 => /lib/libutil.so.1 (0x00002b0ea60df000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b0ea62e2000)
        libm.so.6 => /lib/libm.so.6 (0x00002b0ea64e6000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002b0ea6768000)
        libc.so.6 => /lib/libc.so.6 (0x00002b0ea6981000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b0ea5ec2000)


It seems to work if I use the null display device. What should I do?
Thanks.

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Nicolas Petton
Hi,

I don't use Ubuntu anymore but I think there are Squeak packages in universe (or multiverse maybe), including a VM and a 3.8 image.

Am I wrong ?

Nicolas

2007/7/11, Timmy Douglas < [hidden email]>:

I downloaded the sources and image from:
http://squeakvm.org/squeak64/dist3/

Then I compiled with make WIDTH=64. A few steps later:

timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
X error
...


ldd /usr/local/lib/squeak/3.8a-2/vm-display-X11
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00002b37236d5000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002b3723892000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002b3723aa4000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002b3723cae000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b3723ec9000)
        libm.so.6 => /lib/libm.so.6 (0x00002b37240ce000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002b3724350000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b3724568000)
        libc.so.6 => /lib/libc.so.6 (0x00002b3724876000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00002b3724bc7000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00002b37254fb000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b37255fd000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b37257ff000)

ldd /usr/local/bin/squeak
        libutil.so.1 => /lib/libutil.so.1 (0x00002b0ea60df000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b0ea62e2000)
        libm.so.6 => /lib/libm.so.6 (0x00002b0ea64e6000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002b0ea6768000)
        libc.so.6 => /lib/libc.so.6 (0x00002b0ea6981000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b0ea5ec2000)


It seems to work if I use the null display device. What should I do?
Thanks.




Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Timmy Douglas-3

# apt-get install squeak
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  squeak: Depends: squeak-vm but it is not installable
E: Broken packages

$ grep -v \# /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted

deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe

deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse


deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse

$ uname -a
Linux timmy-desktop 2.6.20-16-generic #2 SMP Thu Jun 7 19:00:28 UTC 2007 x86_64 GNU/Linux





"nicolas petton" <[hidden email]> writes:

> Hi,
>
> I don't use Ubuntu anymore but I think there are Squeak packages in universe
> (or multiverse maybe), including a VM and a 3.8 image.
>
> Am I wrong ?
>
> Nicolas
>
> 2007/7/11, Timmy Douglas <[hidden email]>:
>>
>>
>> I downloaded the sources and image from:
>> http://squeakvm.org/squeak64/dist3/
>>
>> Then I compiled with make WIDTH=64. A few steps later:
>>
>> timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> ...
>>
>>
>> ldd /usr/local/lib/squeak/3.8a-2/vm-display-X11
>>         libGL.so.1 => /usr/lib/libGL.so.1 (0x00002b37236d5000)
>>         libXext.so.6 => /usr/lib/libXext.so.6 (0x00002b3723892000)
>>         libSM.so.6 => /usr/lib/libSM.so.6 (0x00002b3723aa4000)
>>         libICE.so.6 => /usr/lib/libICE.so.6 (0x00002b3723cae000)
>>         libdl.so.2 => /lib/libdl.so.2 (0x00002b3723ec9000)
>>         libm.so.6 => /lib/libm.so.6 (0x00002b37240ce000)
>>         libnsl.so.1 => /lib/libnsl.so.1 (0x00002b3724350000)
>>         libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b3724568000)
>>         libc.so.6 => /lib/libc.so.6 (0x00002b3724876000)
>>         libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00002b3724bc7000)
>>         libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1(0x00002b37254fb000)
>>         libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b37255fd000)
>>         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
>>         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b37257ff000)
>>
>> ldd /usr/local/bin/squeak
>>         libutil.so.1 => /lib/libutil.so.1 (0x00002b0ea60df000)
>>         libdl.so.2 => /lib/libdl.so.2 (0x00002b0ea62e2000)
>>         libm.so.6 => /lib/libm.so.6 (0x00002b0ea64e6000)
>>         libnsl.so.1 => /lib/libnsl.so.1 (0x00002b0ea6768000)
>>         libc.so.6 => /lib/libc.so.6 (0x00002b0ea6981000)
>>         /lib64/ld-linux-x86-64.so.2 (0x00002b0ea5ec2000)
>>
>>
>> It seems to work if I use the null display device. What should I do?
>> Thanks.
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Alexander Lazarevic'
Shouldn't the plain i386 debian packages at http://squeakvm.org/unix
work? Or are you determined to get a 64bit version?

Alex

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Timmy Douglas-3
Alexander Lazarevic' <[hidden email]> writes:

> Shouldn't the plain i386 debian packages at http://squeakvm.org/unix
> work? Or are you determined to get a 64bit version?

I'm determined to only use 64 bit programs on this machine.

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Alexander Lazarevic'
Timmy Douglas schrieb:
> I'm determined to only use 64 bit programs on this machine.

Just curious: A 64bit version of squeak would make a difference to you,
because ...?

Alex

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Robert Marcano
On Thu, 2007-07-12 at 15:30 +0200, Alexander Lazarevic' wrote:
> Timmy Douglas schrieb:
> > I'm determined to only use 64 bit programs on this machine.
>
> Just curious: A 64bit version of squeak would make a difference to you,
> because ...?

maybe to avoid a lot of 32 libraries installed in parallel to the 64
versions and using more RAM when used

>
> Alex
>
________________________________________
Robert Marcano
マルカノ・ロバート。日本語の学生。

web: http://www.marcanoonline.com/
gpg --keyserver hkp://pgp.mit.edu/ --recv-key 72A0DCFD




Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Bert Freudenberg

On Jul 12, 2007, at 17:37 , Robert Marcano wrote:

> On Thu, 2007-07-12 at 15:30 +0200, Alexander Lazarevic' wrote:
>> Timmy Douglas schrieb:
>>> I'm determined to only use 64 bit programs on this machine.
>>
>> Just curious: A 64bit version of squeak would make a difference to  
>> you,
>> because ...?
>
> maybe to avoid a lot of 32 libraries installed in parallel to the 64
> versions and using more RAM when used

I can see how RAM and disk space is an issue on a 64 bit machine, sure.

SCNR

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Timmy Douglas-3
In reply to this post by Timmy Douglas-3


Well it doesn't sound like anyone is interested in fixing this.
I made a change in sqUnixX11.c to print something better than "X
error" when there is an error:

static int xError(Display *dpy, XErrorEvent *evt)
{
  char buffer[500];
  XGetErrorText(dpy, evt->error_code, buffer, sizeof(buffer));
  fprintf(stderr, "%s\n", buffer);
  return 0;
}


Now I get:

$ ./squeak
BadValue (integer parameter out of range for operation)
BadColor (invalid Colormap parameter)
BadWindow (invalid Window parameter)
BadWindow (invalid Window parameter)
BadWindow (invalid Window parameter)
BadWindow (invalid Window parameter)
BadWindow (invalid Window parameter)
BadWindow (invalid Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadWindow (invalid Window parameter)
BadWindow (invalid Window parameter)
BadWindow (invalid Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)
BadDrawable (invalid Pixmap or Window parameter)


I don't have a lot of time to look into this now but if someone
doesn't pick it up I'll take a look again later when I have more
time.


Timmy Douglas <[hidden email]> writes:

> I downloaded the sources and image from:
> http://squeakvm.org/squeak64/dist3/
>
> Then I compiled with make WIDTH=64. A few steps later:
>
> timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> X error
> ...
>
>
> ldd /usr/local/lib/squeak/3.8a-2/vm-display-X11
>         libGL.so.1 => /usr/lib/libGL.so.1 (0x00002b37236d5000)
>         libXext.so.6 => /usr/lib/libXext.so.6 (0x00002b3723892000)
>         libSM.so.6 => /usr/lib/libSM.so.6 (0x00002b3723aa4000)
>         libICE.so.6 => /usr/lib/libICE.so.6 (0x00002b3723cae000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00002b3723ec9000)
>         libm.so.6 => /lib/libm.so.6 (0x00002b37240ce000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x00002b3724350000)
>         libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b3724568000)
>         libc.so.6 => /lib/libc.so.6 (0x00002b3724876000)
>         libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00002b3724bc7000)
>         libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00002b37254fb000)
>         libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b37255fd000)
>         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
>         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b37257ff000)
>
> ldd /usr/local/bin/squeak
>         libutil.so.1 => /lib/libutil.so.1 (0x00002b0ea60df000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00002b0ea62e2000)
>         libm.so.6 => /lib/libm.so.6 (0x00002b0ea64e6000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x00002b0ea6768000)
>         libc.so.6 => /lib/libc.so.6 (0x00002b0ea6981000)
>         /lib64/ld-linux-x86-64.so.2 (0x00002b0ea5ec2000)
>
>
> It seems to work if I use the null display device. What should I do?
> Thanks.

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Bert Freudenberg
On Jul 15, 2007, at 1:39 , Timmy Douglas wrote:

>
>
> Well it doesn't sound like anyone is interested in fixing this.

Seems you are? ;)

> I made a change in sqUnixX11.c to print something better than "X
> error" when there is an error:
>
> static int xError(Display *dpy, XErrorEvent *evt)
> {
>   char buffer[500];
>   XGetErrorText(dpy, evt->error_code, buffer, sizeof(buffer));
>   fprintf(stderr, "%s\n", buffer);
>   return 0;
> }


Looks like you are not using current SVN sources which have

static int xError(Display *dpy, XErrorEvent *evt)
{
   char buf[1024];
   XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
   fprintf(stderr,
          "X Error: %s\n"
          "  Major opcode of failed request:  %lu\n"
          "  Minor opcode of failed request:  %lu\n"
          "  Serial number of failed request: %d\n",
          buf,
          evt->request_code,
          evt->minor_code,
          evt->serial);
   return 0;
}


>
> Now I get:
>
> $ ./squeak
> BadValue (integer parameter out of range for operation)
> BadColor (invalid Colormap parameter)
> BadWindow (invalid Window parameter)
> BadWindow (invalid Window parameter)
> BadWindow (invalid Window parameter)
> BadWindow (invalid Window parameter)
> BadWindow (invalid Window parameter)
> BadWindow (invalid Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadWindow (invalid Window parameter)
> BadWindow (invalid Window parameter)
> BadWindow (invalid Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
> BadDrawable (invalid Pixmap or Window parameter)
>
>
> I don't have a lot of time to look into this now but if someone
> doesn't pick it up I'll take a look again later when I have more
> time.
>
>
> Timmy Douglas <[hidden email]> writes:
>
>> I downloaded the sources and image from:
>> http://squeakvm.org/squeak64/dist3/
>>
>> Then I compiled with make WIDTH=64. A few steps later:
>>
>> timmy@timmy-desktop:~/src/squeak/seaside-test$ squeak
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> X error
>> ...
>>
>>
>> ldd /usr/local/lib/squeak/3.8a-2/vm-display-X11
>>         libGL.so.1 => /usr/lib/libGL.so.1 (0x00002b37236d5000)
>>         libXext.so.6 => /usr/lib/libXext.so.6 (0x00002b3723892000)
>>         libSM.so.6 => /usr/lib/libSM.so.6 (0x00002b3723aa4000)
>>         libICE.so.6 => /usr/lib/libICE.so.6 (0x00002b3723cae000)
>>         libdl.so.2 => /lib/libdl.so.2 (0x00002b3723ec9000)
>>         libm.so.6 => /lib/libm.so.6 (0x00002b37240ce000)
>>         libnsl.so.1 => /lib/libnsl.so.1 (0x00002b3724350000)
>>         libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b3724568000)
>>         libc.so.6 => /lib/libc.so.6 (0x00002b3724876000)
>>         libGLcore.so.1 => /usr/lib/libGLcore.so.1  
>> (0x00002b3724bc7000)
>>         libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1  
>> (0x00002b37254fb000)
>>         libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b37255fd000)
>>         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
>>         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b37257ff000)
>>
>> ldd /usr/local/bin/squeak
>>         libutil.so.1 => /lib/libutil.so.1 (0x00002b0ea60df000)
>>         libdl.so.2 => /lib/libdl.so.2 (0x00002b0ea62e2000)
>>         libm.so.6 => /lib/libm.so.6 (0x00002b0ea64e6000)
>>         libnsl.so.1 => /lib/libnsl.so.1 (0x00002b0ea6768000)
>>         libc.so.6 => /lib/libc.so.6 (0x00002b0ea6981000)
>>         /lib64/ld-linux-x86-64.so.2 (0x00002b0ea5ec2000)
>>
>>
>> It seems to work if I use the null display device. What should I do?
>> Thanks.
>

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Timmy Douglas-3
Bert Freudenberg <[hidden email]> writes:

> Looks like you are not using current SVN sources which have

Is this out of date?

http://squeakvm.org/squeak64/


Should I be getting the sources from somewhere else?

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Bert Freudenberg
On Jul 15, 2007, at 21:10 , Timmy Douglas wrote:

> Bert Freudenberg <[hidden email]> writes:
>
>> Looks like you are not using current SVN sources which have
>
> Is this out of date?
>
> http://squeakvm.org/squeak64/

I'd call "31-Mar-2005" out of date, yes. This is just a snapshot. If  
I am informed correctly, the regular Squeak sources should support 64  
bits now.

> Should I be getting the sources from somewhere else?

See http://squeakvm.org/unix/ and in particular the "For the very  
latest sources ..." part.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

David T. Lewis
In reply to this post by Timmy Douglas-3
On Sun, Jul 15, 2007 at 03:10:41PM -0400, Timmy Douglas wrote:

> Bert Freudenberg <[hidden email]> writes:
>
> > Looks like you are not using current SVN sources which have
>
> Is this out of date?
>
> http://squeakvm.org/squeak64/
>
>
> Should I be getting the sources from somewhere else?

Yes. The material on that site is a snapshot of the original
64bit port development work. Those sources are now out of date
with respect to VMMaker sources, and definitely will not work.
You can get up to date platform sources from http://squeakvm.org.
The command to use on a Linux system is:
 "svn co http://squeakvm.org/svn/squeak/trunk squeak-svn-source"

Along with the platform sources, you need VMMaker from SqueakMap.
There are also some other change sets that you may need, but
that have not yet been included in VMMaker. These are currently
floating around the vm-dev mailing list and/or Mantis.

Dave


Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Timmy Douglas-3
"David T. Lewis" <[hidden email]> writes:

> On Sun, Jul 15, 2007 at 03:10:41PM -0400, Timmy Douglas wrote:
>> Bert Freudenberg <[hidden email]> writes:
>>
>> > Looks like you are not using current SVN sources which have
>>
>> Is this out of date?
>>
>> http://squeakvm.org/squeak64/
>>
>>
>> Should I be getting the sources from somewhere else?
>
> Yes. The material on that site is a snapshot of the original
> 64bit port development work. Those sources are now out of date
> with respect to VMMaker sources, and definitely will not work.
> You can get up to date platform sources from http://squeakvm.org.
> The command to use on a Linux system is:
>  "svn co http://squeakvm.org/svn/squeak/trunk squeak-svn-source"

Ok I tried running it again after building it:

timmy@timmy-desktop:~/src/squeak/seaside-test/squeak-svn-source/platforms/unix/bld$ ./squeak ../../../../Squeak3
0alpha.7121.image
X Error: BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  78
  Minor opcode of failed request:  0
  Serial number of failed request: 7
X Error: BadColor (invalid Colormap parameter)
  Major opcode of failed request:  1
  Minor opcode of failed request:  0
  Serial number of failed request: 8
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  1
  Minor opcode of failed request:  0
  Serial number of failed request: 9
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 11
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 12
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 13
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 14
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 15
X Error: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  55
  Minor opcode of failed request:  0
  Serial number of failed request: 16
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  18
  Minor opcode of failed request:  0
  Serial number of failed request: 41
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  8
  Minor opcode of failed request:  0
  Serial number of failed request: 42
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  8
  Minor opcode of failed request:  0
  Serial number of failed request: 43
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  2
  Minor opcode of failed request:  0
  Serial number of failed request: 58
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  2
  Minor opcode of failed request:  0
  Serial number of failed request: 71
X Error: BadWindow (invalid Window parameter)
  Major opcode of failed request:  2
  Minor opcode of failed request:  0
  Serial number of failed request: 84
X Error: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  72
  Minor opcode of failed request:  0
  Serial number of failed request: 86


If I try to use that old 64 bit image I get an error like:


This interpreter (vers. 6502) cannot read image file (vers. 0).
Press CR to quit...

(I guess the current build always expects a 32 bit image?)

> Along with the platform sources, you need VMMaker from SqueakMap.
> There are also some other change sets that you may need, but
> that have not yet been included in VMMaker. These are currently
> floating around the vm-dev mailing list and/or Mantis.

how do I get VMMaker from SqueakMap if I can't run squeak? It sounds
sort of complicated...

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

David T. Lewis
On Sun, Jul 15, 2007 at 07:44:25PM -0400, Timmy Douglas wrote:

> "David T. Lewis" <[hidden email]> writes:
>
> > On Sun, Jul 15, 2007 at 03:10:41PM -0400, Timmy Douglas wrote:
> >> Bert Freudenberg <[hidden email]> writes:
> >>
> >> > Looks like you are not using current SVN sources which have
> >>
> >> Is this out of date?
> >>
> >> http://squeakvm.org/squeak64/
> >>
> >>
> >> Should I be getting the sources from somewhere else?
> >
> > Yes. The material on that site is a snapshot of the original
> > 64bit port development work. Those sources are now out of date
> > with respect to VMMaker sources, and definitely will not work.
> > You can get up to date platform sources from http://squeakvm.org.
> > The command to use on a Linux system is:
> >  "svn co http://squeakvm.org/svn/squeak/trunk squeak-svn-source"
>
> Ok I tried running it again after building it:
>
> timmy@timmy-desktop:~/src/squeak/seaside-test/squeak-svn-source/platforms/unix/bld$ ./squeak ../../../../Squeak3
> 0alpha.7121.image
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  78
>   Minor opcode of failed request:  0
>   Serial number of failed request: 7

Sorry, I don't know what is causing this.

> If I try to use that old 64 bit image I get an error like:
>
>
> This interpreter (vers. 6502) cannot read image file (vers. 0).
> Press CR to quit...
>
> (I guess the current build always expects a 32 bit image?)

All of the images that you are interested in are 32 bit images. You are
trying to build a VM for 64 bit host hardware that will run the existing
32 bit images. If you try to run a 64 bit image on either 32 bit or
64 bit host hardware, you will see the above error message.

> > Along with the platform sources, you need VMMaker from SqueakMap.
> > There are also some other change sets that you may need, but
> > that have not yet been included in VMMaker. These are currently
> > floating around the vm-dev mailing list and/or Mantis.
>
> how do I get VMMaker from SqueakMap if I can't run squeak? It sounds
> sort of complicated...

Start with any working Squeak on any operating system, and use it to
load VMMaker. That image will run on *any* platform, regardless of OS,
regardless of 64/32 bit stuff. You can use it to generate the sources
that you need, then compile on your target platform (configure/make on
your AMD 64 system).

Dave


Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Timmy Douglas-3
"David T. Lewis" <[hidden email]> writes:

> On Sun, Jul 15, 2007 at 07:44:25PM -0400, Timmy Douglas wrote:
>
>> timmy@timmy-desktop:~/src/squeak/seaside-test/squeak-svn-source/platforms/unix/bld$ ./squeak ../../../../Squeak3
>> 0alpha.7121.image
>> X Error: BadValue (integer parameter out of range for operation)
>>   Major opcode of failed request:  78
>>   Minor opcode of failed request:  0
>>   Serial number of failed request: 7
>
> Sorry, I don't know what is causing this.

XInternAtoms might be.

BadValue: Some numeric value falls outside the range of values
accepted by the request. Unless a specific range is specified for an
argument, the full range defined by the argument's type is
accepted. Any argument defined as a set of alternatives can generate
this error.


(gdb)
2036      XInternAtoms(stDisplay, selectionAtomNames, SELECTION_ATOM_COUNT, False, selectionAtoms);
(gdb)

Breakpoint 3, xError (dpy=0x736d70, evt=0x7fff40a13940)
    at /home/timmy/src/squeak/seaside-test/squeak-svn-source/platforms/unix/vm-display-X11/sqUnixX11.c:1753
1753    {
(gdb)
1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
(gdb)
1753    {
(gdb)
1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
(gdb)
1756      fprintf(stderr,
(gdb)
X Error: BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  78
  Minor opcode of failed request:  0
  Serial number of failed request: 7
1766    }
(gdb) print selectionAtoms
$21 = {18446744073709551599, 18446744073709551562, 18446744073709551589, 18446744073709551571,
  18446744073709551586, 18446744073709551606, 18446744073709551563, 18446744073709551600}


then I get a lot of Xerrors printed before it resumes execution. My
gdb doesn't seem to support threads beceause 'info threads' is blank.
here is another run:

Breakpoint 5, initWindow (displayName=<value optimized out>)
    at /home/timmy/src/squeak/seaside-test/squeak-svn-source/platforms/unix/vm-display-X11/sqUnixX11.c:2036
2036      XInternAtoms(stDisplay, selectionAtomNames, SELECTION_ATOM_COUNT, False, selectionAtoms);
(gdb) print stDisplay
$23 = (Display *) 0x736d70
(gdb) print *stDisplay
$24 = <incomplete type>
(gdb) print selectionAtomNames
$25 = {0x2b32917b67ec "CLIPBOARD", 0x2b32917b67f6 "CUT_BUFFER0", 0x2b32917b6802 "TARGETS",
  0x2b32917b680a "MULTIPLE", 0x2b32917b6813 "UTF8_STRING", 0x2b32917b681f "COMPOUND_TEXT",
  0x2b32917b682d "TIMESTAMP", 0x2b32917b6837 "SQUEAK_SELECTION"}
(gdb) print SELECTION_ATOM_COUNT
No symbol "SELECTION_ATOM_COUNT" in current context. (This is 8)
(gdb) print False
No symbol "False" in current context.
(gdb) print selection
selection           selectionAtomNames  selectionAtoms      
(gdb) print selectionAtoms
$26 = {0, 0, 0, 0, 0, 0, 0, 0}
(gdb) ptype Display
type = struct _XDisplay {
    <incomplete type>
}



Does that help at all?

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

David T. Lewis
Timmy,

Sorry, I don't have a clue as to what's causing this. The only other thing
that I might suggest, since it's giving you an error on an xlib call, would
be to try running under some different window manager and see if the symptoms
change. Just a shot in the dark, but that's about all I can think of.

Dave


On Tue, Jul 17, 2007 at 08:57:15PM -0400, Timmy Douglas wrote:

> "David T. Lewis" <[hidden email]> writes:
>
> > On Sun, Jul 15, 2007 at 07:44:25PM -0400, Timmy Douglas wrote:
> >
> >> timmy@timmy-desktop:~/src/squeak/seaside-test/squeak-svn-source/platforms/unix/bld$ ./squeak ../../../../Squeak3
> >> 0alpha.7121.image
> >> X Error: BadValue (integer parameter out of range for operation)
> >>   Major opcode of failed request:  78
> >>   Minor opcode of failed request:  0
> >>   Serial number of failed request: 7
> >
> > Sorry, I don't know what is causing this.
>
> XInternAtoms might be.
>
> BadValue: Some numeric value falls outside the range of values
> accepted by the request. Unless a specific range is specified for an
> argument, the full range defined by the argument's type is
> accepted. Any argument defined as a set of alternatives can generate
> this error.
>
>
> (gdb)
> 2036      XInternAtoms(stDisplay, selectionAtomNames, SELECTION_ATOM_COUNT, False, selectionAtoms);
> (gdb)
>
> Breakpoint 3, xError (dpy=0x736d70, evt=0x7fff40a13940)
>     at /home/timmy/src/squeak/seaside-test/squeak-svn-source/platforms/unix/vm-display-X11/sqUnixX11.c:1753
> 1753    {
> (gdb)
> 1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
> (gdb)
> 1753    {
> (gdb)
> 1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
> (gdb)
> 1756      fprintf(stderr,
> (gdb)
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  78
>   Minor opcode of failed request:  0
>   Serial number of failed request: 7
> 1766    }
> (gdb) print selectionAtoms
> $21 = {18446744073709551599, 18446744073709551562, 18446744073709551589, 18446744073709551571,
>   18446744073709551586, 18446744073709551606, 18446744073709551563, 18446744073709551600}
>
>
> then I get a lot of Xerrors printed before it resumes execution. My
> gdb doesn't seem to support threads beceause 'info threads' is blank.
> here is another run:
>
> Breakpoint 5, initWindow (displayName=<value optimized out>)
>     at /home/timmy/src/squeak/seaside-test/squeak-svn-source/platforms/unix/vm-display-X11/sqUnixX11.c:2036
> 2036      XInternAtoms(stDisplay, selectionAtomNames, SELECTION_ATOM_COUNT, False, selectionAtoms);
> (gdb) print stDisplay
> $23 = (Display *) 0x736d70
> (gdb) print *stDisplay
> $24 = <incomplete type>
> (gdb) print selectionAtomNames
> $25 = {0x2b32917b67ec "CLIPBOARD", 0x2b32917b67f6 "CUT_BUFFER0", 0x2b32917b6802 "TARGETS",
>   0x2b32917b680a "MULTIPLE", 0x2b32917b6813 "UTF8_STRING", 0x2b32917b681f "COMPOUND_TEXT",
>   0x2b32917b682d "TIMESTAMP", 0x2b32917b6837 "SQUEAK_SELECTION"}
> (gdb) print SELECTION_ATOM_COUNT
> No symbol "SELECTION_ATOM_COUNT" in current context. (This is 8)
> (gdb) print False
> No symbol "False" in current context.
> (gdb) print selection
> selection           selectionAtomNames  selectionAtoms      
> (gdb) print selectionAtoms
> $26 = {0, 0, 0, 0, 0, 0, 0, 0}
> (gdb) ptype Display
> type = struct _XDisplay {
>     <incomplete type>
> }
>
>
>
> Does that help at all?

Reply | Threaded
Open this post in threaded view
|

Re: Can't run squeak under amd64 ubuntu

Bert Freudenberg
Me neither, but you may get better help at the vm-dev list. Try.

- Bert -


On Jul 19, 2007, at 2:46 , David T. Lewis wrote:

> Timmy,
>
> Sorry, I don't have a clue as to what's causing this. The only  
> other thing
> that I might suggest, since it's giving you an error on an xlib  
> call, would
> be to try running under some different window manager and see if  
> the symptoms
> change. Just a shot in the dark, but that's about all I can think of.
>
> Dave
>
>
> On Tue, Jul 17, 2007 at 08:57:15PM -0400, Timmy Douglas wrote:
>> "David T. Lewis" <[hidden email]> writes:
>>
>>> On Sun, Jul 15, 2007 at 07:44:25PM -0400, Timmy Douglas wrote:
>>>
>>>> timmy@timmy-desktop:~/src/squeak/seaside-test/squeak-svn-source/
>>>> platforms/unix/bld$ ./squeak ../../../../Squeak3
>>>> 0alpha.7121.image
>>>> X Error: BadValue (integer parameter out of range for operation)
>>>>   Major opcode of failed request:  78
>>>>   Minor opcode of failed request:  0
>>>>   Serial number of failed request: 7
>>>
>>> Sorry, I don't know what is causing this.
>>
>> XInternAtoms might be.
>>
>> BadValue: Some numeric value falls outside the range of values
>> accepted by the request. Unless a specific range is specified for an
>> argument, the full range defined by the argument's type is
>> accepted. Any argument defined as a set of alternatives can generate
>> this error.
>>
>>
>> (gdb)
>> 2036      XInternAtoms(stDisplay, selectionAtomNames,  
>> SELECTION_ATOM_COUNT, False, selectionAtoms);
>> (gdb)
>>
>> Breakpoint 3, xError (dpy=0x736d70, evt=0x7fff40a13940)
>>     at /home/timmy/src/squeak/seaside-test/squeak-svn-source/
>> platforms/unix/vm-display-X11/sqUnixX11.c:1753
>> 1753    {
>> (gdb)
>> 1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
>> (gdb)
>> 1753    {
>> (gdb)
>> 1755      XGetErrorText(dpy, evt->error_code, buf, sizeof(buf));
>> (gdb)
>> 1756      fprintf(stderr,
>> (gdb)
>> X Error: BadValue (integer parameter out of range for operation)
>>   Major opcode of failed request:  78
>>   Minor opcode of failed request:  0
>>   Serial number of failed request: 7
>> 1766    }
>> (gdb) print selectionAtoms
>> $21 = {18446744073709551599, 18446744073709551562,  
>> 18446744073709551589, 18446744073709551571,
>>   18446744073709551586, 18446744073709551606,  
>> 18446744073709551563, 18446744073709551600}
>>
>>
>> then I get a lot of Xerrors printed before it resumes execution. My
>> gdb doesn't seem to support threads beceause 'info threads' is blank.
>> here is another run:
>>
>> Breakpoint 5, initWindow (displayName=<value optimized out>)
>>     at /home/timmy/src/squeak/seaside-test/squeak-svn-source/
>> platforms/unix/vm-display-X11/sqUnixX11.c:2036
>> 2036      XInternAtoms(stDisplay, selectionAtomNames,  
>> SELECTION_ATOM_COUNT, False, selectionAtoms);
>> (gdb) print stDisplay
>> $23 = (Display *) 0x736d70
>> (gdb) print *stDisplay
>> $24 = <incomplete type>
>> (gdb) print selectionAtomNames
>> $25 = {0x2b32917b67ec "CLIPBOARD", 0x2b32917b67f6 "CUT_BUFFER0",  
>> 0x2b32917b6802 "TARGETS",
>>   0x2b32917b680a "MULTIPLE", 0x2b32917b6813 "UTF8_STRING",  
>> 0x2b32917b681f "COMPOUND_TEXT",
>>   0x2b32917b682d "TIMESTAMP", 0x2b32917b6837 "SQUEAK_SELECTION"}
>> (gdb) print SELECTION_ATOM_COUNT
>> No symbol "SELECTION_ATOM_COUNT" in current context. (This is 8)
>> (gdb) print False
>> No symbol "False" in current context.
>> (gdb) print selection
>> selection           selectionAtomNames  selectionAtoms
>> (gdb) print selectionAtoms
>> $26 = {0, 0, 0, 0, 0, 0, 0, 0}
>> (gdb) ptype Display
>> type = struct _XDisplay {
>>     <incomplete type>
>> }
>>
>>
>>
>> Does that help at all?
>