linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Ernst de Ha » Thu, 08 Mar 2001 20:13:50



Tim,

When I compare the versions of linux_base, both boxes have the same version.
On the first machine I don't see the warning:

   bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version
   heinz.jollem.com: linux_base-6.1      The base set of packages needed in Linux mode
   java version "1.3.0_02"
   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
   Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)

But on the second I do:

   bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version
   catbert.jollem.com: linux_base-6.1      The base set of packages needed in Linux mode
   java version "1.3.0_02"
   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
   Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)
   Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack

Perhaps it is the kernel version. I have recently recompiled the kernel on the
first machine (heinz), but it's been a while since I recompiled the kernel on
the second (catbert).

Anyway, I will try deinstalling and reinstalling linux_base and try again
after that.

--
Ernst


> > Replying to myself again :) Well, I installed the Sun JDK 1.3.0_02 for Linux
> > from the ports on a different FreeBSD 4.2-STABLE system as well, and this
> > time I get a warning when running java -version:

> >    bash-2.04$ java -version
> >    java version "1.3.0_02"
> >    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> >    Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)
> >    Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack

> > This gives me a baaaaad feeling... HotSpot is not enabled, so I wonder if this
> > 1.3.0_02 version will introduce problems that the 1.3.0 version did not have.

> It looks like this machine does not have the recent patches to the linux
> emulator installed.  They were only recently committed... though the patch
> had been available on the web for quite a while in various forms...

>   - Tim


with "unsubscribe freebsd-java" in the body of the message
 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Ernst de Ha » Thu, 08 Mar 2001 20:37:49


I have just reinstalled the emulators/linux_base port on both systems, and
then ran java -version again, but the results are the same as before. Seems
it's not a linux_base issue.

--
Ernst


> Tim,

> When I compare the versions of linux_base, both boxes have the same version.
> On the first machine I don't see the warning:

>    bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version
>    heinz.jollem.com: linux_base-6.1      The base set of packages needed in Linux mode
>    java version "1.3.0_02"
>    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
>    Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)

> But on the second I do:

>    bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version
>    catbert.jollem.com: linux_base-6.1      The base set of packages needed in Linux mode
>    java version "1.3.0_02"
>    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
>    Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)
>    Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack

> Perhaps it is the kernel version. I have recently recompiled the kernel on the
> first machine (heinz), but it's been a while since I recompiled the kernel on
> the second (catbert).

> Anyway, I will try deinstalling and reinstalling linux_base and try again
> after that.

> --
> Ernst


> > > Replying to myself again :) Well, I installed the Sun JDK 1.3.0_02 for Linux
> > > from the ports on a different FreeBSD 4.2-STABLE system as well, and this
> > > time I get a warning when running java -version:

> > >    bash-2.04$ java -version
> > >    java version "1.3.0_02"
> > >    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> > >    Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)
> > >    Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack

> > > This gives me a baaaaad feeling... HotSpot is not enabled, so I wonder if this
> > > 1.3.0_02 version will introduce problems that the 1.3.0 version did not have.

> > It looks like this machine does not have the recent patches to the linux
> > emulator installed.  They were only recently committed... though the patch
> > had been available on the web for quite a while in various forms...

> >   - Tim


> with "unsubscribe freebsd-java" in the body of the message


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Greg Lew » Fri, 09 Mar 2001 00:02:13



> Uhm

> Replying to myself again :) Well, I installed the Sun JDK 1.3.0_02 for Linux
> >from the ports on a different FreeBSD 4.2-STABLE system as well, and this
> time I get a warning when running java -version:

>    bash-2.04$ java -version
>    java version "1.3.0_02"
>    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
>    Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)
>    Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack

> This gives me a baaaaad feeling... HotSpot is not enabled, so I wonder if this
> 1.3.0_02 version will introduce problems that the 1.3.0 version did not have.

You have altered jre/lib/jvm.cfg right?  The order it should try JVMs
needs to be:

-classic
-client
-hotspot
-server

--

Eyes Beyond                           Mobile: 0419 868 494
Information Technology                Web   : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Greg Lew » Fri, 09 Mar 2001 00:47:27


Replying to my own mail...


> You have altered jre/lib/jvm.cfg right?  The order it should try JVMs
> needs to be:

> -classic
> -client
> -hotspot
> -server

I'll submit a patch for the port to do this tomorrow if noone beats me
to it.  This is certainly how the port needs to be configured, at least
for now.

--

Eyes Beyond                           Mobile: 0419 868 494
Information Technology                Web   : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Ernst de Ha » Fri, 09 Mar 2001 01:02:53


Hi Greg,

Quote:> You have altered jre/lib/jvm.cfg right?  The order it should try JVMs

Nope, I haven't modified anything, I just installed the port, nothing else.
But it seems the JVM is running in interpreted mode anyway:

Quote:> >    Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode)

It *does* say "HotSpot" though. Hmm... This is confusing me. Isn't
"interpreted mode" a different mode than "hotspot client mode" ?

Anyway, I tried running a real-world Swing application (BugSeeker for Java 2,
v1.0.2), on the box where I didn't get the error message (heinz) and it runs
just fine. No problemo. I can't say it's blazing fast, but it's not slow
either.

--
Ernst


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Ernst de Ha » Fri, 09 Mar 2001 01:16:49


Greg,

Quote:> I'll submit a patch for the port to do this tomorrow if noone beats me
> to it.  This is certainly how the port needs to be configured, at least
> for now.

Just a minute. It seems HotSpot Client VM is actually working on my system,
isn't it? Perhaps the latest version of -STABLE solves the problem we were
having with HotSpot in the past?

/me crosses his fingers

--
Ernst


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Thomas T. Veldhous » Fri, 09 Mar 2001 01:43:11


Not likely.  Last I heard it requires kernel threads which are still in
development on FreeBSD 5.0.

Tom Veldhouse

----- Original Message -----



Sent: Wednesday, March 07, 2001 10:15 AM
Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

> Greg,

> > I'll submit a patch for the port to do this tomorrow if noone beats me
> > to it.  This is certainly how the port needs to be configured, at least
> > for now.

> Just a minute. It seems HotSpot Client VM is actually working on my
system,
> isn't it? Perhaps the latest version of -STABLE solves the problem we were
> having with HotSpot in the past?

> /me crosses his fingers

> --
> Ernst


> with "unsubscribe freebsd-java" in the body of the message


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Tim Zingelm » Fri, 09 Mar 2001 03:09:41



> I have just reinstalled the emulators/linux_base port on both systems, and
> then ran java -version again, but the results are the same as before. Seems
> it's not a linux_base issue.

> --
> Ernst



Sorry I was 1/2 asleep when I wrote that... I was talking about kernel
patches, not in the port.

Here's a bit from the commit email:

gallatin    2001/02/21 15:01:58 PST

  Modified files:        (Branch: RELENG_4)
    sys/i386/linux       syscalls.master linux.h linux_dummy.c
                         linux_genassym.c linux_locore.s
                         linux_machdep.c linux_sysvec.c
  Log:
  MFC: Linux signal handling fixes from current.  This should improve
  emulation of signal intensive Linux apps (such as Java).  This allows an
  older version of the IBM JDK to run on -stable and gets rid of the
  "cannot uninstall sigaltstack" message from the Sun Linux JDK 1.3

  Reviewed by: marcel
  Approved by: marcel

  Revision  Changes    Path
  1.30.2.3  +4 -4      src/sys/i386/linux/syscalls.master
  1.41.2.2  +134 -6    src/sys/i386/linux/linux.h
  1.21.2.4  +1 -2      src/sys/i386/linux/linux_dummy.c
  1.13.2.1  +5 -2      src/sys/i386/linux/linux_genassym.c
  1.5.2.2   +17 -5     src/sys/i386/linux/linux_locore.s
  1.6.2.2   +64 -10    src/sys/i386/linux/linux_machdep.c
  1.55.2.4  +295 -27   src/sys/i386/linux/linux_sysvec.c

  - Tim


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Mikhail Kr » Fri, 09 Mar 2001 04:09:15


Do I read this correctly? Does it mean that 4.2-STABLE after February
21st should run IBM JDK 1.1.8?
Can anyone confirm this? (i.e. success running jdk?)

Sounds like somebody will be doing build world today ;)


> > I have just reinstalled the emulators/linux_base port on both systems, and
> > then ran java -version again, but the results are the same as before. Seems
> > it's not a linux_base issue.

> > --
> > Ernst


> Sorry I was 1/2 asleep when I wrote that... I was talking about kernel
> patches, not in the port.

> Here's a bit from the commit email:

> gallatin    2001/02/21 15:01:58 PST

>   Modified files:        (Branch: RELENG_4)
>     sys/i386/linux       syscalls.master linux.h linux_dummy.c
>                          linux_genassym.c linux_locore.s
>                          linux_machdep.c linux_sysvec.c
>   Log:
>   MFC: Linux signal handling fixes from current.  This should improve
>   emulation of signal intensive Linux apps (such as Java).  This allows an
>   older version of the IBM JDK to run on -stable and gets rid of the
>   "cannot uninstall sigaltstack" message from the Sun Linux JDK 1.3

>   Reviewed by: marcel
>   Approved by: marcel

>   Revision  Changes    Path
>   1.30.2.3  +4 -4      src/sys/i386/linux/syscalls.master
>   1.41.2.2  +134 -6    src/sys/i386/linux/linux.h
>   1.21.2.4  +1 -2      src/sys/i386/linux/linux_dummy.c
>   1.13.2.1  +5 -2      src/sys/i386/linux/linux_genassym.c
>   1.5.2.2   +17 -5     src/sys/i386/linux/linux_locore.s
>   1.6.2.2   +64 -10    src/sys/i386/linux/linux_machdep.c
>   1.55.2.4  +295 -27   src/sys/i386/linux/linux_sysvec.c

>   - Tim


> with "unsubscribe freebsd-java" in the body of the message


with "unsubscribe freebsd-java" in the body of the message
 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Greg Lew » Fri, 09 Mar 2001 07:14:42



> Here's a bit from the commit email:

> gallatin    2001/02/21 15:01:58 PST

>   Modified files:        (Branch: RELENG_4)
>     sys/i386/linux       syscalls.master linux.h linux_dummy.c
>                          linux_genassym.c linux_locore.s
>                          linux_machdep.c linux_sysvec.c
>   Log:
>   MFC: Linux signal handling fixes from current.  This should improve
>   emulation of signal intensive Linux apps (such as Java).  This allows an
>   older version of the IBM JDK to run on -stable and gets rid of the
>   "cannot uninstall sigaltstack" message from the Sun Linux JDK 1.3

Ok, so maybe the port doesn't need patches...but thats definitely the
message Ernst was getting.  Whne was your 4.2-STABLE system last rebuilt
Ernst?  If its before this commit, you prolly need to rebuild and try
again.

--

Eyes Beyond                           Mobile: 0419 868 494
Information Technology                Web   : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

Post by Ernst de Ha » Fri, 09 Mar 2001 07:46:21


Hi Greg and all,

Quote:> Ok, so maybe the port doesn't need patches...but thats definitely the
> message Ernst was getting.  Whne was your 4.2-STABLE system last rebuilt
> Ernst?  If its before this commit, you prolly need to rebuild and try
> again.

The system that didn't give an error message:

   FreeBSD heinz.jollem.com 4.2-STABLE FreeBSD 4.2-STABLE #8:
   Sat Mar  3 16:58:33 CET 2001

The system that did give an error message:

   FreeBSD catbert.jollem.com 4.2-STABLE FreeBSD 4.2-STABLE #21:
   Sat Jan  2 02:11:48 CET 1999

Gonna rebuild my kernel and make world again, and then I'll let the list know
:)

--
Ernst


with "unsubscribe freebsd-java" in the body of the message

 
 
 

1. JDK1.1.8 segfaults

Dear Ernst,

Ok. That'd be great.

Umm... Not that I recall. I think I asked about that vmwrapper port thing
that noone knows what it's for, but that's all I can think of.

    Kees Jan

================================================
 You are only young once,
       but you can stay immature all your life.


with "unsubscribe freebsd-java" in the body of the message

2. compiler error

3. On Solaris 2.6, are patches for JDK1.1.8 necessary for JRE1.1.8?

4. problem with 2nd modem

5. On Solaris 2.6, are patches for JDK1.1.8 still helpful if I only use JRE1.1.8?

6. Sort & sections

7. Problem with Sun Jdk1.3.0_02 on RH7.1

8. IBM17v Screen

9. jdk1.3.1_02 on OpenBSD 3.0

10. JDK1.1.8 for LINUX from IBM site

11. compiling openJIT without jdk1.1.8

12. Help running jdk1.1.8

13. unstall jdk1.1.8