Switch to emulating Linux 2.6 on default.

Approved by:	kib (mentor)
This commit is contained in:
rdivacky 2008-06-03 17:50:13 +00:00
parent 9b4be0280d
commit 25a34fb524
2 changed files with 8 additions and 2 deletions

View File

@ -22,6 +22,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.x IS SLOW:
to maximize performance. (To disable malloc debugging, run
ln -s aj /etc/malloc.conf.)
20080606:
The version that Linuxulator emulates was changed from 2.4.2
to 2.6.16. If you experience any problems with Linux binaries
please try to set sysctl compat.linux.osrelease to 2.4.2 and
if it fixes the problem contact emulation mailing list.
20080525:
ISDN4BSD (I4B) was removed from the src tree. You may need to
update a your kernel configuration and remove relevant entries.

View File

@ -82,8 +82,8 @@ SYSCTL_PROC(_compat_linux, OID_AUTO, osname,
0, 0, linux_sysctl_osname, "A",
"Linux kernel OS name");
static char linux_osrelease[LINUX_MAX_UTSNAME] = "2.4.2";
static int linux_use_linux26 = 0;
static char linux_osrelease[LINUX_MAX_UTSNAME] = "2.6.16";
static int linux_use_linux26 = 1;
static int
linux_sysctl_osrelease(SYSCTL_HANDLER_ARGS)