Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2016 17:10:26 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307677 - head/sys/modules/geom
Message-ID:  <201610201710.u9KHAQqg000883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Thu Oct 20 17:10:26 2016
New Revision: 307677
URL: https://svnweb.freebsd.org/changeset/base/307677

Log:
  Disable geom_eli module build on MIPS64 as it has alignment
  issues and causes kernel panic.
  ELI metadata is also not aligned properly for MIPS64 case.
  
  Sponsored by:	DARPA, AFRL
  Sponsored by:	HEIF5

Modified:
  head/sys/modules/geom/Makefile

Modified: head/sys/modules/geom/Makefile
==============================================================================
--- head/sys/modules/geom/Makefile	Thu Oct 20 15:14:21 2016	(r307676)
+++ head/sys/modules/geom/Makefile	Thu Oct 20 17:10:26 2016	(r307677)
@@ -6,7 +6,6 @@ SYSDIR?=${.CURDIR}/../..
 SUBDIR=	geom_bde \
 	geom_cache \
 	geom_concat \
-	geom_eli \
 	geom_gate \
 	geom_journal \
 	geom_label \
@@ -30,4 +29,9 @@ SUBDIR=	geom_bde \
 SUBDIR+=	geom_ccd
 .endif
 
+# Alignment issues in g_eli_auth_run() on MIPS64 causes kernel panic
+.if ${MACHINE_ARCH} != "mips64" && ${MACHINE_ARCH} != "mips64el"
+SUBDIR+=	geom_eli
+.endif
+
 .include <bsd.subdir.mk>



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