From owner-freebsd-java@freebsd.org Fri Feb 2 20:45:39 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 CC3A8EC8F4B for ; Fri, 2 Feb 2018 20:45:39 +0000 (UTC) (envelope-from daniel@otherware.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 5F1BC7F880 for ; Fri, 2 Feb 2018 20:45:39 +0000 (UTC) (envelope-from daniel@otherware.org) Received: by mailman.ysv.freebsd.org (Postfix) id 18044EC8F4A; Fri, 2 Feb 2018 20:45:39 +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 CC983EC8F49 for ; Fri, 2 Feb 2018 20:45:38 +0000 (UTC) (envelope-from daniel@otherware.org) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 655597F87D for ; Fri, 2 Feb 2018 20:45:38 +0000 (UTC) (envelope-from daniel@otherware.org) Received: by mail-ua0-x22d.google.com with SMTP id n2so15044649uak.9 for ; Fri, 02 Feb 2018 12:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bretoi-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9843+GSPUf6gZ+fAiW6QgsXHrTIqI+p2BJZbcKVXjKo=; b=Mx4WUw6N1PRapIE7xhaFf4x9faokGlIB64n2wDOGeq1LE3w562aOd+8RXgOc/qbxlt AfGcsSTD8+z59Ix7djso2FqL8DHl7ifMyzqsB5qBts6WsUfKoAzp6HbzEVwUHQNDbhCu 8Zz6aqW1AHrBf0LxfximPaq3Ui7lMMcCv+RUNcoCwCp/71X+a9nFWJOImDd9MTK0Nsww RblfN+brnF80tFlrL2fvbZyZbOuasht/GhiOvb28wQ3j02kxF8eJT8zPwOTAN8lo21sz oHWKj1lkqB9+msUZj8nhV4I/c0KUnn06yGaNkYOrPlEcbHcxBGmQL2fGnsYEMa/JIhyB 4+5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9843+GSPUf6gZ+fAiW6QgsXHrTIqI+p2BJZbcKVXjKo=; b=EbpjMCoDiBzn9RbZTYVSuV2EYORofwdTqjiIA5RzUBJEmX39JXcsyYegsAMjZUmoHg 1TC0NxcQHd8w3gxasB3sxhgD98Z0dfe1r5Rx5m38b0aJaTKqvp0FoGbO38OZZUrxTuwR E6CPekNcGWW3LPVzKqsc5EAKUWmrQW6eNjXbaqcRmyH25bGk0iii1NRXoY9fMraiDQuf o04luGRwbRmzp8o5SpFtvNl98fhrJMosjr6SzDuL8nz3r6lX9SgvFdDdtHf7VYbVo3XZ dGhoy6HNVxjqOD3XUwd+jcJTXZWJUAJ0R0+sEoU/RwQpVg/1nPFyg6gRyT+p/aVBCRuc qaXQ== X-Gm-Message-State: APf1xPCjtb51ZnjNRXYxZe06SiDjIVU9ChOKBd73WqnXWKQJCQ9qDJ6h D18ctpcEXZ2+UefPAx+krXqqYUSKVtkOVTxrdzvR3g== X-Google-Smtp-Source: AH8x2278/EeJPTTH+PqL2vonwBwJXJfbSbt1h3pmeEPIDiZyXJbo8GidBCtzw2yLkxqCwD8LoypIf0BNIEmqQyaTRHo= X-Received: by 10.176.79.136 with SMTP id m8mr752565uah.93.1517604337417; Fri, 02 Feb 2018 12:45:37 -0800 (PST) MIME-Version: 1.0 References: <5d57fd25-88c4-43c9-52c1-acaa26cbee40@FreeBSD.org> In-Reply-To: From: Daniel Bretoi Date: Fri, 02 Feb 2018 20:45:26 +0000 Message-ID: Subject: Re: linux-oracle-jdk18-8.162 - FATAL: kernel too old To: Jung-uk Kim Cc: "java@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 20:45:40 -0000 Ah, must have become unmounted as I unloaded the kernel mods :) Thanks! everything works now On Fri, Feb 2, 2018 at 11:54 AM Jung-uk Kim wrote: > On 02/02/2018 14:02, Daniel Bretoi wrote: > > Thank you :) Yes it was set to an older version. I had tried asking what > > 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. > > > > Now I get this error instead > > > > 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 > > > > they seem to exist: > > > > 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: > > > > 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 > > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > > amd64 > > > > > > $ sysctl compat.linux.osrelease > > > compat.linux.osrelease: 2.6.18 > > > > Ah, current default is 2.6.32. I guess you're downgrading the > release > > for some reason? Maybe it's a leftover from old version? Can you > check > > your /etc/sysctl.conf? > > > > Jung-uk Kim > > > > > On Thu, Feb 1, 2018 at 12:17 PM Jung-uk Kim > > > > >> wrote: > > > > > > On 02/01/2018 13:44, Daniel Bretoi wrote: > > > > hi, > > > > > > > > I've reached out on the forums but I've received no response. > > > > > > > > Does anyone on this list know why this the following is > > happening? > > > > > > > > $ java -version > > > > FATAL: kernel too old > > > > > > I guess your kernel is too old as it says: > > > > > > % /usr/local/linux-oracle-jre1.8.0/bin/java -version > > > java version "1.8.0_162" > > > Java(TM) SE Runtime Environment (build 1.8.0_162-b12) > > > Java HotSpot(TM) Server VM (build 25.162-b12, mixed mode) > > > > > > What's your FreeBSD version? > >