From owner-freebsd-java@freebsd.org Fri Feb 2 19:54:13 2018 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C21A6EC20A5 for ; Fri, 2 Feb 2018 19:54:13 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 574957CFA7 for ; Fri, 2 Feb 2018 19:54:13 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 15392EC209A; Fri, 2 Feb 2018 19:54:13 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1F03EC2099 for ; Fri, 2 Feb 2018 19:54:12 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDA97CFA6; Fri, 2 Feb 2018 19:54:12 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: linux-oracle-jdk18-8.162 - FATAL: kernel too old To: Daniel Bretoi Cc: "java@freebsd.org" References: <5d57fd25-88c4-43c9-52c1-acaa26cbee40@FreeBSD.org> From: Jung-uk Kim Message-ID: Date: Fri, 2 Feb 2018 14:54:11 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8eljJyRknb11yXxapyiXdAoKhi5FcXPDC" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 19:54:14 -0000 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 To: Daniel Bretoi Cc: "java@freebsd.org" Message-ID: Subject: Re: linux-oracle-jdk18-8.162 - FATAL: kernel too old References: <5d57fd25-88c4-43c9-52c1-acaa26cbee40@FreeBSD.org> In-Reply-To: --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 > 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 > > >> 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--