From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 31 10:20:08 2011 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 964F21065673 for ; Mon, 31 Jan 2011 10:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2A58FC0A for ; Mon, 31 Jan 2011 10:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0VAK8dX037000 for ; Mon, 31 Jan 2011 10:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0VAK83F036999; Mon, 31 Jan 2011 10:20:08 GMT (envelope-from gnats) Date: Mon, 31 Jan 2011 10:20:08 GMT Message-Id: <201101311020.p0VAK83F036999@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Alexander Best Cc: Subject: Re: kern/145024: [linux] kernel crash by linux.ko module with nooptions COMPAT_FREEBSD32 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 10:20:08 -0000 The following reply was made to PR kern/145024; it has been noted by GNATS. From: Alexander Best To: bug-followup@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--