Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2018 14:54:11 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Daniel Bretoi <daniel@bretoi.com>
Cc:        "java@freebsd.org" <java@freebsd.org>
Subject:   Re: linux-oracle-jdk18-8.162 - FATAL: kernel too old
Message-ID:  <cfbde691-552d-3272-3c3c-e780fdf12ca2@FreeBSD.org>
In-Reply-To: <CAK0G6ck4J25kMA_EohuvnRwgePuYTOsJux4VJXt7Xj_AA3Dx=w@mail.gmail.com>
References:  <CAK0G6cmqvsyhMU_nwmrzYEU1G3qzeoc=stph=A7Yyafd13HFow@mail.gmail.com> <5d57fd25-88c4-43c9-52c1-acaa26cbee40@FreeBSD.org> <CAK0G6cnfkp3RnNvJ8pGQ1HDSPuuY8Nne2kG%2B2268LcrY=zb5Jw@mail.gmail.com> <f4ad0dd5-9bc0-9ad6-1a73-5266b91a512b@FreeBSD.org> <CAK0G6ck4J25kMA_EohuvnRwgePuYTOsJux4VJXt7Xj_AA3Dx=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--8eljJyRknb11yXxapyiXdAoKhi5FcXPDC
Content-Type: multipart/mixed; boundary="h493bJgYRc1oeZOAhXXQNLTkdaUG5FgHF";
 protected-headers="v1"
From: Jung-uk Kim <jkim@FreeBSD.org>
To: Daniel Bretoi <daniel@bretoi.com>
Cc: "java@freebsd.org" <java@freebsd.org>
Message-ID: <cfbde691-552d-3272-3c3c-e780fdf12ca2@FreeBSD.org>
Subject: Re: linux-oracle-jdk18-8.162 - FATAL: kernel too old
References: <CAK0G6cmqvsyhMU_nwmrzYEU1G3qzeoc=stph=A7Yyafd13HFow@mail.gmail.com>
 <5d57fd25-88c4-43c9-52c1-acaa26cbee40@FreeBSD.org>
 <CAK0G6cnfkp3RnNvJ8pGQ1HDSPuuY8Nne2kG+2268LcrY=zb5Jw@mail.gmail.com>
 <f4ad0dd5-9bc0-9ad6-1a73-5266b91a512b@FreeBSD.org>
 <CAK0G6ck4J25kMA_EohuvnRwgePuYTOsJux4VJXt7Xj_AA3Dx=w@mail.gmail.com>
In-Reply-To: <CAK0G6ck4J25kMA_EohuvnRwgePuYTOsJux4VJXt7Xj_AA3Dx=w@mail.gmail.com>

--h493bJgYRc1oeZOAhXXQNLTkdaUG5FgHF
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 02/02/2018 14:02, Daniel Bretoi wrote:
> Thank you :) Yes it was set to an older version. I had tried asking wha=
t
> the latest was not realizing it would use the latest if I comment it
> out. I don't remember why I had commented at this point. I commented it=

> out and reloaded all the linux kernel modules (including linproc) and
> verified that the version is correct with sysctl.
>=20
> Now I get this error instead
>=20
> java -version
> /usr/local/linux-oracle-jdk1.8.0/bin/java: error while loading shared
> libraries: libjli.so: cannot open shared object file: No such file or
> directory
>=20
> they seem to exist:
>=20
> find /usr/local/linux-oracle-jdk1.8.0 | ag libjli
> /usr/local/linux-oracle-jdk1.8.0/lib/i386/jli/libjli.so
> /usr/local/linux-oracle-jdk1.8.0/jre/lib/i386/jli/libjli.so

I guess you haven't mounted linprocfs(5).  Please see pkg-message.

Jung-uk Kim

> On Thu, Feb 1, 2018 at 1:51 PM Jung-uk Kim <jkim@freebsd.org
> <mailto:jkim@freebsd.org>> wrote:
>=20
>     On 02/01/2018 15:41, Daniel Bretoi wrote:
>     > Thanks for the quick response
>     >
>     > $ uname -a
>     > FreeBSD luffy 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov=
 14
>     > 06:12:40 UTC 2017=C2=A0 =C2=A0
>     > =C2=A0root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GEN=
ERIC=C2=A0
>     amd64
>     >
>     > $ sysctl=C2=A0 compat.linux.osrelease
>     > compat.linux.osrelease: 2.6.18
>=20
>     Ah, current default is 2.6.32.=C2=A0 I guess you're downgrading the=
 release
>     for some reason?=C2=A0 Maybe it's a leftover from old version?=C2=A0=
 Can you check
>     your /etc/sysctl.conf?
>=20
>     Jung-uk Kim
>=20
>     > On Thu, Feb 1, 2018 at 12:17 PM Jung-uk Kim <jkim@freebsd.org
>     <mailto:jkim@freebsd.org>
>     > <mailto:jkim@freebsd.org <mailto:jkim@freebsd.org>>> wrote:
>     >
>     >=C2=A0 =C2=A0 =C2=A0On 02/01/2018 13:44, Daniel Bretoi wrote:
>     >=C2=A0 =C2=A0 =C2=A0> hi,
>     >=C2=A0 =C2=A0 =C2=A0>
>     >=C2=A0 =C2=A0 =C2=A0> I've reached out on the forums but I've rece=
ived no response.
>     >=C2=A0 =C2=A0 =C2=A0>
>     >=C2=A0 =C2=A0 =C2=A0> Does anyone on this list know why this the f=
ollowing is
>     happening?
>     >=C2=A0 =C2=A0 =C2=A0>
>     >=C2=A0 =C2=A0 =C2=A0> $ java -version
>     >=C2=A0 =C2=A0 =C2=A0> FATAL: kernel too old
>     >
>     >=C2=A0 =C2=A0 =C2=A0I guess your kernel is too old as it says:
>     >
>     >=C2=A0 =C2=A0 =C2=A0% /usr/local/linux-oracle-jre1.8.0/bin/java -v=
ersion
>     >=C2=A0 =C2=A0 =C2=A0java version "1.8.0_162"
>     >=C2=A0 =C2=A0 =C2=A0Java(TM) SE Runtime Environment (build 1.8.0_1=
62-b12)
>     >=C2=A0 =C2=A0 =C2=A0Java HotSpot(TM) Server VM (build 25.162-b12, =
mixed mode)
>     >
>     >=C2=A0 =C2=A0 =C2=A0What's your FreeBSD version?


--h493bJgYRc1oeZOAhXXQNLTkdaUG5FgHF--

--8eljJyRknb11yXxapyiXdAoKhi5FcXPDC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlp0weMACgkQfJ+WJvzb
8UbQ+wf5AZtSoctWRK8hnt6w6qxxuxBC/ZkYPRCHBPrsHtGW8R/XsyB2XmjzYZhq
lUq/v9vi+LvSC+6NG/RC9KPRul4t0byT2I61nVpMu3zGu/aOGKdXgtzK/McanMGQ
w+znzJSWEX8x0GExZCABBrFPpoQg8GNS/kaNJEfslMGAf6cQJLZORGIzMiSx4Bv2
2Qf5viTyz2RiygGyYknyCt/z7tdsxtUDZIu9XnFzoMl0W+6h9rwXhjSmYMnW7DeV
tPNXKHv6dipmsqJWhO7UmtTcEqAkpOjprPnyzR4dwH63/2fLm++2GjqxoeLpYtMK
UPCjfZ9j2jNtimigCp9B+gzDvbMh/A==
=nvfx
-----END PGP SIGNATURE-----

--8eljJyRknb11yXxapyiXdAoKhi5FcXPDC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cfbde691-552d-3272-3c3c-e780fdf12ca2>