From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 10 15:10:11 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2E0F1065675 for ; Wed, 10 Aug 2011 15:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 772328FC0C for ; Wed, 10 Aug 2011 15:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7AFABsl047938 for ; Wed, 10 Aug 2011 15:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7AFABIL047937; Wed, 10 Aug 2011 15:10:11 GMT (envelope-from gnats) Resent-Date: Wed, 10 Aug 2011 15:10:11 GMT Resent-Message-Id: <201108101510.p7AFABIL047937@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Millan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BACE2106564A for ; Wed, 10 Aug 2011 15:02:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AAEE78FC15 for ; Wed, 10 Aug 2011 15:02:49 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7AF2nTw030718 for ; Wed, 10 Aug 2011 15:02:49 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7AF2neA030712; Wed, 10 Aug 2011 15:02:49 GMT (envelope-from nobody) Message-Id: <201108101502.p7AF2neA030712@red.freebsd.org> Date: Wed, 10 Aug 2011 15:02:49 GMT From: Robert Millan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/159646: [PATCH] bump Linux version in linuxulator X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 15:10:11 -0000 >Number: 159646 >Category: misc >Synopsis: [PATCH] bump Linux version in linuxulator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 10 15:10:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Robert Millan >Release: FreeBSD 8.1 >Organization: >Environment: GNU/kFreeBSD thorin 8.1-1-amd64 #0 Wed Aug 10 13:58:08 CEST 2011 x86_64 amd64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ GNU/kFreeBSD >Description: When compiled for Linux, the Glibc version released with Debian "squeeze" requires Linux 2.6.18 or later. The one currently in yet-to-be-released "wheezy" requires Linux 2.6.26 or later. If the running kernel identifies itself as older than the required version, all programs refuse to run with "FATAL: kernel too old" message. Please consider bumping to a more recent version. Even if not all new features are supported, limited support is much better than not being able to run the binaries at all. I've succesfully tested this patch with Debian "squeeze" environment. >How-To-Repeat: >Fix: Patch attached with submission follows: --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -59,7 +59,7 @@ static struct linux_prison lprison0 = { .pr_osname = "Linux", - .pr_osrelease = "2.6.16", + .pr_osrelease = "2.6.32", .pr_oss_version = 0x030600, .pr_osrel = 2006016 }; >Release-Note: >Audit-Trail: >Unformatted: