From nobody@FreeBSD.org  Wed Aug 10 15:02:49 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BACE2106564A
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <rmh@debian.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] bump Linux version in linuxulator
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159646
>Category:       kern
>Synopsis:       [linux] [patch] bump Linux version in linuxulator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-emulation
>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:  Wed Aug 10 15:28:35 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Aug 10 15:28:17 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159646 
>Unformatted:
