Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2011 10:20:08 GMT
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-emulation@FreeBSD.org
Subject:   Re: kern/145024: [linux] kernel crash by linux.ko module with nooptions COMPAT_FREEBSD32
Message-ID:  <201101311020.p0VAK83F036999@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/145024; it has been noted by GNATS.

From: Alexander Best <arundel@freebsd.org>
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--



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