CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 00:26:32 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Disable more COMPAT_xx stuff for the NOCOMPAT config
cvs: --


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.8 src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.9
--- src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.8	Tue Jan 22 21:24:01 2019
+++ src/sys/arch/amd64/conf/NOCOMPAT	Thu Jan 24 00:26:32 2019
@@ -1,18 +1,19 @@
 include "arch/amd64/conf/GENERIC"
 
-#ident		"NOCOMPAT-$Revision: 1.1.2.8 $"
+#ident		"NOCOMPAT-$Revision: 1.1.2.9 $"
 
 no options 	SYSVMSG		# System V-like message queues
 no options 	SYSVSEM		# System V-like semaphores
 no options 	SYSVSHM		# System V-like memory sharing
- 
+
+no options	COMPAT_43
+no options	COMPAT_44
+no options	COMPAT_BSDPTY
+
 # We only to use ``no options COMPAT_15'' because only COMPAT_15 is
 # explicitly enabled.  (The others are pulled in by statements in
 # sys/conf/files)
 
-#no options	COMPAT_43
-#no options	COMPAT_44
-#no options	COMPAT_BSDPTY
 #no options	COMPAT_09
 #no options	COMPAT_10
 #no options	COMPAT_11



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 22 21:24:01 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Only explicitly disable COMPAT_15, it is the only compat option that
is actually set.  The others are "pulled in" by statements in
sys/conf/files

This avoids numerous noisy but unnecessary warnings from nbconfig.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.7 src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.8
--- src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.7	Tue Jan 22 12:02:05 2019
+++ src/sys/arch/amd64/conf/NOCOMPAT	Tue Jan 22 21:24:01 2019
@@ -1,29 +1,33 @@
 include "arch/amd64/conf/GENERIC"
 
-#ident		"NOCOMPAT-$Revision: 1.1.2.7 $"
+#ident		"NOCOMPAT-$Revision: 1.1.2.8 $"
 
 no options 	SYSVMSG		# System V-like message queues
 no options 	SYSVSEM		# System V-like semaphores
 no options 	SYSVSHM		# System V-like memory sharing
  
-no options	COMPAT_43
-no options	COMPAT_44
-no options	COMPAT_BSDPTY
-no options	COMPAT_09
-no options	COMPAT_10
-no options	COMPAT_11
-no options	COMPAT_12
-no options	COMPAT_13
-no options	COMPAT_14
+# We only to use ``no options COMPAT_15'' because only COMPAT_15 is
+# explicitly enabled.  (The others are pulled in by statements in
+# sys/conf/files)
+
+#no options	COMPAT_43
+#no options	COMPAT_44
+#no options	COMPAT_BSDPTY
+#no options	COMPAT_09
+#no options	COMPAT_10
+#no options	COMPAT_11
+#no options	COMPAT_12
+#no options	COMPAT_13
+#no options	COMPAT_14
 no options	COMPAT_15
-no options	COMPAT_16
-no options	COMPAT_20
-no options	COMPAT_30
-no options	COMPAT_40
-no options	COMPAT_50
-no options	COMPAT_60
-no options	COMPAT_70
-no options	COMPAT_80
+#no options	COMPAT_16
+#no options	COMPAT_20
+#no options	COMPAT_30
+#no options	COMPAT_40
+#no options	COMPAT_50
+#no options	COMPAT_60
+#no options	COMPAT_70
+#no options	COMPAT_80
  
 no options 	COMPAT_OSSAUDIO
 no options 	COMPAT_NETBSD32



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 22 12:02:05 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Rather than having to track changes in GENERIC and incorporate them
into NOCOMPAT, just include GENERIC and then turn off the various
COMPAT options.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.6 src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.7
--- src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.6	Tue Jan 22 11:48:31 2019
+++ src/sys/arch/amd64/conf/NOCOMPAT	Tue Jan 22 12:02:05 2019
@@ -1,1199 +1,33 @@
-# $NetBSD: NOCOMPAT,v 1.1.2.6 2019/01/22 11:48:31 pgoyette Exp $
-#
-# GENERIC machine description file
-#
-# This machine description file is used to generate the default NetBSD
-# kernel.  The generic kernel does not include all options, subsystems
-# and device drivers, but should be useful for most applications.
-#
-# The machine description file can be customised for your specific
-# machine to reduce the kernel size and improve its performance.
-#
-# For further information on compiling NetBSD kernels, see the config(8)
-# man page.
-#
-# For further information on hardware support for this architecture, see
-# the intro(4) man page.  For further information about kernel options
-# for this architecture, see the options(4) man page.  For an explanation
-# of each device driver in this file see the section 4 man page for the
-# device.
+include "arch/amd64/conf/GENERIC"
 
-include 	"arch/amd64/conf/std.amd64"
+#ident		"NOCOMPAT-$Revision: 1.1.2.7 $"
 
-options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
-
-#ident		"NOCOMPAT-$Revision: 1.1.2.6 $"
-
-maxusers	64		# estimated number of users
-
-# delay between "rebooting ..." message and hardware reset, in milliseconds
-#options 	CPURESET_DELAY=2000
-
-# This option allows you to force a serial console at the specified
-# I/O address.   see console(4) for details.
-#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
-#	you don't want the option below ON iff you are using the
-#	serial console option of the new boot strap code.
-#options 	CONS_OVERRIDE	# Always use above! independent of boot info
-
-# The following options override the memory sizes passed in from the boot
-# block.  Use them *only* if the boot block is unable to determine the correct
-# values.  Note that the BIOS may *correctly* report less than 640k of base
-# memory if the extended BIOS data area is located at the top of base memory
-# (as is the case on most recent systems).
-#options 	REALBASEMEM=639		# size of base memory (in KB)
-#options 	REALEXTMEM=15360	# size of extended memory (in KB)
-
-# The following options limit the overall size of physical memory
-# and/or the maximum address used by the system.
-# Contrary to REALBASEMEM and REALEXTMEM, they still use the BIOS memory map
-# and can deal with holes in the memory layout.
-#options 	PHYSMEM_MAX_SIZE=64	# max size of physical memory (in MB)
-#options 	PHYSMEM_MAX_ADDR=2048	# don't use memory above this (in MB)
-
-# Standard system options
-
-options 	INSECURE	# disable kernel security levels - X needs this
-
-options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
-options 	NTP		# NTP phase/frequency locked loop
-
-options 	KTRACE		# system call tracing via ktrace(1)
-
-options 	CPU_UCODE	# cpu ucode loading support
-
-# Note: SysV IPC parameters could be changed dynamically, see sysctl(8).
-#options 	SYSVMSG		# System V-like message queues
-#options 	SYSVSEM		# System V-like semaphores
-#options 	SYSVSHM		# System V-like memory sharing
-
-options 	MODULAR		# new style module(7) framework
-options 	MODULAR_DEFAULT_AUTOLOAD
-options 	USERCONF	# userconf(4) support
-#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
-options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
-
-# CPU-related options
-options 	SVS		# Separate Virtual Space
-makeoptions	SPECTRE_V2_GCC_MITIGATION=1	# GCC Spectre variant 2
-		# migitation
-options 	SPECTRE_V2_GCC_MITIGATION
-
-# USER_LDT. You need to disable SVS to use it.
-#options 	USER_LDT	# user-settable LDT; used by WINE
-#no options	SVS
-
-# CPU features
-acpicpu*	at cpu?		# ACPI CPU (including frequency scaling)
-coretemp*	at cpu?		# Intel on-die thermal sensor
-est0		at cpu0		# Intel Enhanced SpeedStep (non-ACPI)
-#odcm0		at cpu0		# On-demand clock modulation
-powernow0	at cpu0		# AMD PowerNow! and Cool'n'Quiet (non-ACPI)
-vmt0		at cpu0		# VMware Tools
-
-# Alternate buffer queue strategies for better responsiveness under high
-# disk I/O load.
-#options 	BUFQ_READPRIO
-options 	BUFQ_PRIOCSCAN
-
-# Diagnostic/debugging support options
-options 	DIAGNOSTIC	# inexpensive kernel consistency checks
-# 

CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 22 11:48:31 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: GENERIC NOCOMPAT

Log Message:
Synch GENERIC and NOCOMPAT with GENERIC from HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.485.2.13 -r1.485.2.14 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.485.2.13 src/sys/arch/amd64/conf/GENERIC:1.485.2.14
--- src/sys/arch/amd64/conf/GENERIC:1.485.2.13	Fri Jan 18 08:50:13 2019
+++ src/sys/arch/amd64/conf/GENERIC	Tue Jan 22 11:48:31 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.485.2.13 2019/01/18 08:50:13 pgoyette Exp $
+# $NetBSD: GENERIC,v 1.485.2.14 2019/01/22 11:48:31 pgoyette Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.485.2.13 $"
+#ident		"GENERIC-$Revision: 1.485.2.14 $"
 
 maxusers	64		# estimated number of users
 
@@ -138,16 +138,15 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 # NetBSD backward compatibility. Support goes from COMPAT_15 up until
 # the latest release. Note that really old compat (< COMPAT_16) is only
 # useful for 32-bit i386 binaries.
-include 	"conf/compat_netbsd09.config"	# XXX PRG XXX usually 15
+include 	"conf/compat_netbsd15.config"
 
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 options 	COMPAT_OSSAUDIO
 options 	COMPAT_NETBSD32
 options 	COMPAT_LINUX
-options 	COMPAT_LINUX32	# requires COMPAT_LINUX and COMPAT_NETBSD32
-# and COMPAT_50 (or older)
-options 	EXEC_ELF32	# requires COMPAT_NETBSD32
+options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
+options 	EXEC_ELF32
 
 # Wedge support
 options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances

Index: src/sys/arch/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.5 src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.6
--- src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.5	Wed Dec 26 14:01:31 2018
+++ src/sys/arch/amd64/conf/NOCOMPAT	Tue Jan 22 11:48:31 2019
@@ -1,4 +1,4 @@
-# $NetBSD: NOCOMPAT,v 1.1.2.5 2018/12/26 14:01:31 pgoyette Exp $
+# $NetBSD: NOCOMPAT,v 1.1.2.6 2019/01/22 11:48:31 pgoyette Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1.2.5 $"
+#ident		"NOCOMPAT-$Revision: 1.1.2.6 $"
 
 maxusers	64		# estimated number of users
 
@@ -74,8 +74,14 @@ options 	USERCONF	# userconf(4) support
 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
 
 # CPU-related options
-#options 	USER_LDT	# user-settable LDT; used by WINE
 options 	SVS		# Separate Virtual Space
+makeoptions	SPECTRE_V2_GCC_MITIGATION=1	# GCC Spectre variant 2
+		# migitation
+options 	SPECTRE_V2_GCC_MITIGATION
+
+# USER_LDT. You need to disable SVS to use it.
+#options 	USER_LDT	# user-settable LDT; used by WINE
+#no options	SVS
 
 # CPU features
 acpicpu*	at cpu?		# ACPI CPU (including frequency scaling)
@@ -85,8 +91,6 @@ est0		at cpu0		# Intel Enhanced SpeedSte
 powernow0	at cpu0		# AMD PowerNow! and Cool'n'Quiet (non-ACPI)
 vmt0		at cpu0		# VMware Tools
 
-options 	PMC		# performance-monitoring counters support
-
 # Alternate buffer queue strategies for better responsiveness under high
 # disk I/O load.
 #options 	BUFQ_READPRIO
@@ -110,11 +114,21 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 makeoptions	DEBUG="-g"	# compile full symbol table for CTF
+#options	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
 #options 	SYSCALL_STATS	# per syscall counts
 #options 	SYSCALL_TIMES	# per syscall times
 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
+# Kernel Address Sanitizer (kASan). You need to disable SVS to use it.
+#makeoptions 	KASAN=1		# Kernel Address Sanitizer
+#options 	KASAN
+#no options	SVS
+
+# Kernel Info Leak Detector.
+#makeoptions 	KLEAK=1
+#options 	KLEAK
+
 # Compatibility options
 # x86_64 never shipped with a.out binaries; the two options below are
 # only relevant to 32-bit i386 binaries
@@ -201,10 +215,6 @@ options 	NETATALK	# AppleTalk networking
 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
 options 	PPP_DEFLATE	# Deflate compression support for PPP
 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
-options 	IPFILTER_LOG	# ipmon(8) log support
-options 	IPFILTER_LOOKUP	# ippool(8) support
-options 	IPFILTER_COMPAT # Compat for IP-Filter
-#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by 

CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2018-10-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Oct  1 07:33:36 UTC 2018

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Sync with changes from HEAD: no more ATM


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.3 src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.4
--- src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.3	Sun Mar 11 23:49:32 2018
+++ src/sys/arch/amd64/conf/NOCOMPAT	Mon Oct  1 07:33:36 2018
@@ -1,4 +1,4 @@
-# $NetBSD: NOCOMPAT,v 1.1.2.3 2018/03/11 23:49:32 pgoyette Exp $
+# $NetBSD: NOCOMPAT,v 1.1.2.4 2018/10/01 07:33:36 pgoyette Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1.2.3 $"
+#ident		"GENERIC-$Revision: 1.1.2.4 $"
 
 maxusers	64		# estimated number of users
 
@@ -763,7 +763,6 @@ bge*	at pci? dev ? function ?	# Broadcom
 bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
 bwi*	at pci? dev ? function ?	# Broadcom BCM43xx wireless
 dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
-en*	at pci? dev ? function ?	# ENI/Adaptec ATM
 ep*	at pci? dev ? function ?	# 3Com 3c59x
 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
 esh*	at pci? dev ? function ?	# Essential HIPPI card



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2018-03-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Mar 11 23:49:33 UTC 2018

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Remove another COMPAT option


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.2 src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.3
--- src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.2	Fri Mar  9 01:27:50 2018
+++ src/sys/arch/amd64/conf/NOCOMPAT	Sun Mar 11 23:49:32 2018
@@ -1,4 +1,4 @@
-# $NetBSD: NOCOMPAT,v 1.1.2.2 2018/03/09 01:27:50 pgoyette Exp $
+# $NetBSD: NOCOMPAT,v 1.1.2.3 2018/03/11 23:49:32 pgoyette Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1.2.2 $"
+#ident		"GENERIC-$Revision: 1.1.2.3 $"
 
 maxusers	64		# estimated number of users
 
@@ -128,7 +128,7 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
-options 	COMPAT_OSSAUDIO
+#options 	COMPAT_OSSAUDIO
 #options 	COMPAT_NETBSD32
 #options 	COMPAT_LINUX
 #options 	COMPAT_LINUX32	# requires COMPAT_LINUX and COMPAT_NETBSD32



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2018-03-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 04:45:04 UTC 2018

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: GENERIC
Added Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Add a NOCOMPAT kernel definition to serve as a baseline for getting
the incremental COMPAT_xx options working.

While here, add some additional "requires COMPAT_xxx" to some of the
options in GENERIC


To generate a diff of this commit:
cvs rdiff -u -r1.485 -r1.485.2.1 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.485 src/sys/arch/amd64/conf/GENERIC:1.485.2.1
--- src/sys/arch/amd64/conf/GENERIC:1.485	Mon Feb 26 05:52:50 2018
+++ src/sys/arch/amd64/conf/GENERIC	Tue Mar  6 04:45:04 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.485 2018/02/26 05:52:50 maxv Exp $
+# $NetBSD: GENERIC,v 1.485.2.1 2018/03/06 04:45:04 pgoyette Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.485 $"
+#ident		"GENERIC-$Revision: 1.485.2.1 $"
 
 maxusers	64		# estimated number of users
 
@@ -131,8 +131,9 @@ include 	"conf/compat_netbsd15.config"
 options 	COMPAT_OSSAUDIO
 options 	COMPAT_NETBSD32
 options 	COMPAT_LINUX
-options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
-options 	EXEC_ELF32
+options 	COMPAT_LINUX32	# requires COMPAT_LINUX and COMPAT_NETBSD32
+# and COMPAT_50 (or older)
+options 	EXEC_ELF32	# requires COMPAT_NETBSD32
 
 # Wedge support
 options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances

Added files:

Index: src/sys/arch/amd64/conf/NOCOMPAT
diff -u /dev/null src/sys/arch/amd64/conf/NOCOMPAT:1.1.2.1
--- /dev/null	Tue Mar  6 04:45:04 2018
+++ src/sys/arch/amd64/conf/NOCOMPAT	Tue Mar  6 04:45:04 2018
@@ -0,0 +1,1366 @@
+# $NetBSD: NOCOMPAT,v 1.1.2.1 2018/03/06 04:45:04 pgoyette Exp $
+#
+# GENERIC machine description file
+#
+# This machine description file is used to generate the default NetBSD
+# kernel.  The generic kernel does not include all options, subsystems
+# and device drivers, but should be useful for most applications.
+#
+# The machine description file can be customised for your specific
+# machine to reduce the kernel size and improve its performance.
+#
+# For further information on compiling NetBSD kernels, see the config(8)
+# man page.
+#
+# For further information on hardware support for this architecture, see
+# the intro(4) man page.  For further information about kernel options
+# for this architecture, see the options(4) man page.  For an explanation
+# of each device driver in this file see the section 4 man page for the
+# device.
+
+include 	"arch/amd64/conf/std.amd64"
+
+options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
+
+#ident		"GENERIC-$Revision: 1.1.2.1 $"
+
+maxusers	64		# estimated number of users
+
+# delay between "rebooting ..." message and hardware reset, in milliseconds
+#options 	CPURESET_DELAY=2000
+
+# This option allows you to force a serial console at the specified
+# I/O address.   see console(4) for details.
+#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
+#	you don't want the option below ON iff you are using the
+#	serial console option of the new boot strap code.
+#options 	CONS_OVERRIDE	# Always use above! independent of boot info
+
+# The following options override the memory sizes passed in from the boot
+# block.  Use them *only* if the boot block is unable to determine the correct
+# values.  Note that the BIOS may *correctly* report less than 640k of base
+# memory if the extended BIOS data area is located at the top of base memory
+# (as is the case on most recent systems).
+#options 	REALBASEMEM=639		# size of base memory (in KB)
+#options 	REALEXTMEM=15360	# size of extended memory (in KB)
+
+# The following options limit the overall size of physical memory
+# and/or the maximum address used by the system.
+# Contrary to REALBASEMEM and REALEXTMEM, they still use the BIOS memory map
+# and can deal with holes in the memory layout.
+#options 	PHYSMEM_MAX_SIZE=64	# max size of physical memory (in MB)
+#options 	PHYSMEM_MAX_ADDR=2048	# don't use memory above this (in MB)
+
+# Standard system options
+
+options 	INSECURE	# disable kernel security levels - X needs this
+
+options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
+options 	NTP		# NTP phase/frequency locked loop
+
+options 	KTRACE		# system call tracing via ktrace(1)
+
+options 	CPU_UCODE	# cpu ucode loading support
+
+# Note: SysV IPC parameters could be changed dynamically, see sysctl(8).
+options 	SYSVMSG		# System V-like message queues
+options 	SYSVSEM		# System V-like