misc/159646: [PATCH] bump Linux version in linuxulator

Robert Millan rmh at debian.org
Wed Aug 10 15:10:11 UTC 2011


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


More information about the freebsd-bugs mailing list