kern/145024: [linux] kernel crash by linux.ko module with
nooptions COMPAT_FREEBSD32
Alexander Best
arundel at freebsd.org
Mon Jan 31 10:20:08 UTC 2011
The following reply was made to PR kern/145024; it has been noted by GNATS.
From: Alexander Best <arundel at freebsd.org>
To: bug-followup at freebsd.org
Cc:
Subject: Re: kern/145024: [linux] kernel crash by linux.ko module with nooptions COMPAT_FREEBSD32
Date: Mon, 31 Jan 2011 10:14:20 +0000
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
this patch should solve the issue.
cheers.
alex
--
a13x
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="linux-module.diff"
Index: sys/modules/linux/Makefile
===================================================================
--- sys/modules/linux/Makefile (revision 218125)
+++ sys/modules/linux/Makefile (working copy)
@@ -2,7 +2,7 @@
.if ${MACHINE_CPUARCH} == "amd64"
SFX= 32
-CFLAGS+=-DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32
+CFLAGS+=-DCOMPAT_LINUX32
.endif
.PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_CPUARCH}/linux${SFX}
--yrj/dFKFPuw6o+aM--
More information about the freebsd-emulation
mailing list