Subject: Re: Broken linux emulation
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Scott Ellis <scotte@warped.com>
List: current-users
Date: 02/17/2002 19:00:07
That doesn't seem to work here.

I get the same behavior with 2.4.18 or 2.0.38 defined as the linux version.
;-/

Java 1.3.1, _01, or _02 all segfault immediately when using the classic JVM.
When using server, client, or hotspot, they all behave erratically (usually
sucking 100% CPU, and not responding to signals).

Before the recent compat_linux thrash, the classic JVM worked exceptionally
well.

    ScottE

----- Original Message -----
From: "Jaromir Dolecek" <jdolecek@netbsd.org>
To: "Murray Armfield" <murray@river-styx.org>
Cc: <current-users@netbsd.org>
Sent: Sunday, February 17, 2002 3:22 AM
Subject: Re: Broken linux emulation


> Murray Armfield wrote:
> > I've just updated and installed an new current kernel as of 17/02/02.
Now
> > LimeWire which runs under sun-java in linux emulation just seg faults
dumping
> > core on java.
>
> A broken change has been mistakely committed to the linux emulation
> code. Can you please edit
>
> compat/linux/common/linux_misc.c
>
> around line 348 there should be definition of
>
> char linux_release[] = "..."
>
> Change it so that it's:
>
> char linux_release[] = "2.0.38";
>
> If you compile kernel with this, it should work again.
> This change will be committed to the tree as soon as possible.
>
> Jaromir
> --
> Jaromir Dolecek <jdolecek@NetBSD.org>
http://www.NetBSD.org/Ports/i386/ps2.html
> -=  Those who would give up liberty for a little temporary safety deserve
=-
> -=  neither liberty nor safety, and will lose both.  -- Benjamin Franklin
=-
>
>