Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2011 15:02:49 GMT
From:      Robert Millan <rmh@debian.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/159646: [PATCH] bump Linux version in linuxulator
Message-ID:  <201108101502.p7AF2neA030712@red.freebsd.org>
Resent-Message-ID: <201108101510.p7AFABIL047937@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108101502.p7AF2neA030712>