* Re: ANNOUNCE: JAVA jdk116 for ALPHA
[not found] <199809131052.LAA09786@killala.koala.ie>
@ 1998-09-16 13:00 ` Uncle George
1998-09-16 13:31 ` Simon Kenyon
0 siblings, 1 reply; 5+ messages in thread
From: Uncle George @ 1998-09-16 13:00 UTC (permalink / raw)
To: Simon Kenyon; +Cc: axp-list@redhat.com, java-linux@java.blackdown.org
i have no access to 1.2, other than the 386 ports that javasoft beta's
out.
RH 4.1 ???, i'm surprised that 116, built on redhat 5.0 would work at
all??? The library call dladdr() wasn't even avail at 4.1 time, which is
now used to figure out where the parentage of the .so library is
anyway - where can i find the molecule viewer/demo - THE ONE U ARE
USING.
gat
Simon Kenyon wrote:
> can i just say thank you very much for that
> i've just got an alpha and was wondering what i would do about 1.1.6
> trying demo/MoleculeViewer gives very strange results
> 4 windows pop up with nothing in any of them
> i'm running rh4.1 (all updates applied), linux-2.1.121(pre1) and
> lesstiff-current (downloaded this morning)
>
> any ideas?
> thanks once again
> --
> simon
> ps do you have access to 1.2?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ANNOUNCE: JAVA jdk116 for ALPHA
1998-09-16 13:00 ` ANNOUNCE: JAVA jdk116 for ALPHA Uncle George
@ 1998-09-16 13:31 ` Simon Kenyon
1998-09-16 14:24 ` Uncle George
0 siblings, 1 reply; 5+ messages in thread
From: Simon Kenyon @ 1998-09-16 13:31 UTC (permalink / raw)
To: axp-list
> anyway - where can i find the molecule viewer/demo - THE ONE U ARE
> USING.
it is the one that comes with the jdk (the stuff you didn't ship as part of
the alpha port in demos/MolecularViewer
--
simon
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ANNOUNCE: JAVA jdk116 for ALPHA
1998-09-16 13:31 ` Simon Kenyon
@ 1998-09-16 14:24 ` Uncle George
1998-10-27 2:14 ` So Whats Wrong with the JAVA demo/molecule program Uncle George
0 siblings, 1 reply; 5+ messages in thread
From: Uncle George @ 1998-09-16 14:24 UTC (permalink / raw)
To: axp-list, Simon Kenyon
its not surprising to me, but there is no demos directory that comes with the
jdk source from javasoft et al. if its packaged somewhere else, can u tell me?
There are probably other things that are missing from the jdk bin's, but that
is what javasoft gave to me, and thats how its build proceeds.
gat
Simon Kenyon wrote:
> > anyway - where can i find the molecule viewer/demo - THE ONE U ARE
> > USING.
>
> it is the one that comes with the jdk (the stuff you didn't ship as part of
> the alpha port in demos/MolecularViewer
> --
> simon
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* So Whats Wrong with the JAVA demo/molecule program.
1998-09-16 14:24 ` Uncle George
@ 1998-10-27 2:14 ` Uncle George
1998-10-27 2:30 ` Richard Henderson
0 siblings, 1 reply; 5+ messages in thread
From: Uncle George @ 1998-10-27 2:14 UTC (permalink / raw)
To: Simon Kenyon
Cc: axp-list@redhat.com, java-linux@java.blackdown.org,
Jay.Estabrook@digital.com, Richard Henderson
well in essence there is nothing wrong with the demo/molecule program as it is run
on the JDK that I produce for the ALPHA. You get a blank screen because the client
( appletviewer ), and the X server are unable to communicate SHM ( shared memory
info ) to each other !!!.
This is simply due to the kernel ( 2.0.33) , or glibc's ( 2.0.7 - i think -19 )
incompatible definition of struct ipc_perm. The kernel thinks that most of the
members are ushort, whereas glibc thinks that most of the members are unsigned
int. Anyway, when X asks for the size of the shared segment, it appears to get a
size of 0 bytes, and gives a EACCESS boo boo - refusing to get the image that is
to be painted.
Changing the ipc_perm in linux/include/linux/ipc.h to
#if 0
struct ipc_perm
{
key_t key;
ushort uid; /* owner euid and egid */
ushort gid;
ushort cuid; /* creator euid and egid */
ushort cgid;
ushort mode; /* access modes see mode flags below */
ushort seq; /* sequence number */\x7f
};
#else
struct ipc_perm
{
key_t key;
unsigned int uid; /* owner euid and egid */
unsigned int gid;
unsigned int cuid; /* creator euid and egid */
unsigned int cgid;
unsigned int mode; /* access modes see mode flags below */
unsigned short int seq; /* sequence number */
};
#endif
and then rebuilding the kernel made my java/demo working again.
It also makes the program ipcs also work again.
I cannot tell u who is right, but it is easier to change 1 kernel, than rebuild
all sorts of other peripheral programs quickly.
gat
BTW the demo's are now a part of the JDK 117 src pkg.
Uncle George wrote:
> its not surprising to me, but there is no demos directory that comes with the
> jdk source from javasoft et al. if its packaged somewhere else, can u tell me?
> There are probably other things that are missing from the jdk bin's, but that
> is what javasoft gave to me, and thats how its build proceeds.
> gat
>
> Simon Kenyon wrote:
>
> > > anyway - where can i find the molecule viewer/demo - THE ONE U ARE
> > > USING.
> >
> > it is the one that comes with the jdk (the stuff you didn't ship as part of
> > the alpha port in demos/MolecularViewer
> > --
> > simon
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: So Whats Wrong with the JAVA demo/molecule program.
1998-10-27 2:14 ` So Whats Wrong with the JAVA demo/molecule program Uncle George
@ 1998-10-27 2:30 ` Richard Henderson
0 siblings, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1998-10-27 2:30 UTC (permalink / raw)
To: Uncle George, Simon Kenyon
Cc: axp-list@redhat.com, java-linux@java.blackdown.org,
Jay.Estabrook@digital.com, Richard Henderson
On Mon, Oct 26, 1998 at 09:14:21PM -0500, Uncle George wrote:
> This is simply due to the kernel ( 2.0.33) , or glibc's ( 2.0.7 - i
> think -19 ) incompatible definition of struct ipc_perm. The kernel
> thinks that most of the members are ushort, whereas glibc thinks that
> most of the members are unsigned int.
Glibc is correct. The axp kernel patch sets that have been floating
about throughout the life of the 2.0 series fix this, among other things.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-10-27 2:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199809131052.LAA09786@killala.koala.ie>
1998-09-16 13:00 ` ANNOUNCE: JAVA jdk116 for ALPHA Uncle George
1998-09-16 13:31 ` Simon Kenyon
1998-09-16 14:24 ` Uncle George
1998-10-27 2:14 ` So Whats Wrong with the JAVA demo/molecule program Uncle George
1998-10-27 2:30 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox