From owner-freebsd-ports-bugs@freebsd.org Tue Nov 21 14:07:47 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 123E6DEFEE7 for ; Tue, 21 Nov 2017 14:07:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB14A70179 for ; Tue, 21 Nov 2017 14:07:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vALE7ku2070136 for ; Tue, 21 Nov 2017 14:07:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223780] linux_base-c7 does not work with latest 10.4 (FreeBSD 10.4-RELEASE-p3) - "FATAL: kernel too old" Date: Tue, 21 Nov 2017 14:07:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jnn@synfin.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 14:07:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223780 Bug ID: 223780 Summary: linux_base-c7 does not work with latest 10.4 (FreeBSD 10.4-RELEASE-p3) - "FATAL: kernel too old" Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jnn@synfin.org After installing linux_base-c7, mounting the /compat/linux/proc and /compat/linux/dev/shm mounts, and loading the linux & linux64 modules, all Linux binaries fail to run with the following error message: root@wintermute .../linux/usr/bin# /compat/linux/usr/bin/uname FATAL: kernel too old This particular error is indicative in Linux that the glibc in use was comp= iled with/for a kernel greater than the one currently in use.=20 Here is the status of installed modules, mounts, loaded modules, etc at the time of the error - ------------------------------------------------------------ ------------------------------------------------------------ root@wintermute .../linux/usr/bin # kldstat | grep linux 9 3 0xffffffff82064000 7566 linux_common.ko 11 1 0xffffffff82073000 3d0b3 linux.ko 12 1 0xffffffff820b1000 37e1a linux64.ko root@wintermute .../linux/usr/bin # mount | grep compat tmpfs on /usr/compat/linux/dev/shm (tmpfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) root@wintermute .../linux/usr/bin # pkg query %v linux_base-c7 7.4.1708_2 root@wintermute .../linux/usr/bin # uname -a FreeBSD wintermute.synfin.org 10.4-RELEASE-p3 FreeBSD 10.4-RELEASE-p3 #0: T= ue Nov 14 09:43:55 UTC 2017=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 ------------------------------------------------------------ ------------------------------------------------------------ The good news is that the latest linux_base-c6 works just fine with FreeBSD 10.4-RELEASE-p3. All the same setup info as documented above, except linux_base-c7 has been removed and linux_base-c6 has been installed (version 6.9_4). Sample output of a successful command - root@wintermute .../linux/usr/bin # /compat/linux/bin/uname -a Linux wintermute.synfin.org 2.6.18 FreeBSD 10.4-RELEASE-p3 #0: Tue Nov 14 09:43:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I suspect that the latest linux_base-c7 has glibc kernel requirement that, = for whatever reason, the linux/linux64 modules do not meet. thanks, John Newman jnn@synfin.org --=20 You are receiving this mail because: You are the assignee for the bug.=