CVS commit: src/sys/arch/i386/conf

2024-05-13 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon May 13 21:50:47 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
also exclude DRM_LEGACY from the ISA kernel


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/conf/LEGACY

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/i386/conf/LEGACY
diff -u src/sys/arch/i386/conf/LEGACY:1.3 src/sys/arch/i386/conf/LEGACY:1.4
--- src/sys/arch/i386/conf/LEGACY:1.3	Sun Apr 28 08:12:44 2024
+++ src/sys/arch/i386/conf/LEGACY	Mon May 13 21:50:47 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: LEGACY,v 1.3 2024/04/28 08:12:44 nia Exp $
+#	$NetBSD: LEGACY,v 1.4 2024/05/13 21:50:47 nia Exp $
 
 # LEGACY kernel -- includes vga@isa and pcdisplay@isa for pre-PCI
 # systems, due to significant pain making them fail to attach when
@@ -24,3 +24,5 @@ no radeondrmkmsfb*	at radeonfbbus?  
 
 no nouveau*		at pci?
 no nouveaufb*		at nouveaufbbus?
+
+no options		DRM_LEGACY



CVS commit: src/sys/arch/i386/conf

2024-05-13 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon May 13 21:50:47 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
also exclude DRM_LEGACY from the ISA kernel


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/conf/LEGACY

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



CVS commit: src/sys/arch/i386/conf

2024-04-28 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 28 08:12:44 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386: disable DRMKMS drivers in LEGACY kernel (this is for ISA)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/conf/LEGACY

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



CVS commit: src/sys/arch/i386/conf

2024-04-28 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 28 08:12:44 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386: disable DRMKMS drivers in LEGACY kernel (this is for ISA)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/conf/LEGACY

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/i386/conf/LEGACY
diff -u src/sys/arch/i386/conf/LEGACY:1.2 src/sys/arch/i386/conf/LEGACY:1.3
--- src/sys/arch/i386/conf/LEGACY:1.2	Mon Jul 17 21:12:29 2023
+++ src/sys/arch/i386/conf/LEGACY	Sun Apr 28 08:12:44 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: LEGACY,v 1.2 2023/07/17 21:12:29 riastradh Exp $
+#	$NetBSD: LEGACY,v 1.3 2024/04/28 08:12:44 nia Exp $
 
 # LEGACY kernel -- includes vga@isa and pcdisplay@isa for pre-PCI
 # systems, due to significant pain making them fail to attach when
@@ -15,3 +15,12 @@ options 	ATA_DOWNGRADE_MODE
 
 # XXX we could turn off all sorts of other modern features in this
 # configuration, but that is left for future work.
+
+no i915drmkms*		at pci?
+no intelfb*		at intelfbbus?  
+
+no radeon*		at pci?
+no radeondrmkmsfb*	at radeonfbbus?
+
+no nouveau*		at pci?
+no nouveaufb*		at nouveaufbbus?



CVS commit: src/sys/arch/i386/conf

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:18 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/conf/XEN3PAE_DOMU

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



CVS commit: src/sys/arch/i386/conf

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:03 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/i386/conf/XEN3PAE_DOM0

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



CVS commit: src/sys/arch/i386/conf

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:03 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/i386/conf/XEN3PAE_DOM0

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/i386/conf/XEN3PAE_DOM0
diff -u src/sys/arch/i386/conf/XEN3PAE_DOM0:1.38 src/sys/arch/i386/conf/XEN3PAE_DOM0:1.39
--- src/sys/arch/i386/conf/XEN3PAE_DOM0:1.38	Fri Jul 21 02:08:45 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOM0	Sat Jul 22 15:19:03 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3PAE_DOM0,v 1.38 2023/07/21 02:08:45 riastradh Exp $
+#	$NetBSD: XEN3PAE_DOM0,v 1.39 2023/07/22 15:19:03 riastradh Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -74,7 +74,7 @@ options 	DDB_ONPANIC=1	# see also sysctl
 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="show registers"
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 



CVS commit: src/sys/arch/i386/conf

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:18 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/conf/XEN3PAE_DOMU

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/i386/conf/XEN3PAE_DOMU
diff -u src/sys/arch/i386/conf/XEN3PAE_DOMU:1.20 src/sys/arch/i386/conf/XEN3PAE_DOMU:1.21
--- src/sys/arch/i386/conf/XEN3PAE_DOMU:1.20	Fri Jul 21 02:10:37 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOMU	Sat Jul 22 15:19:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3PAE_DOMU,v 1.20 2023/07/21 02:10:37 riastradh Exp $
+# $NetBSD: XEN3PAE_DOMU,v 1.21 2023/07/22 15:19:17 riastradh Exp $
 
 include 	"arch/i386/conf/std.xen"
 
@@ -58,7 +58,7 @@ options 	DDB_ONPANIC=1	# see also sysctl
 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="trace;show registers"
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 



CVS commit: src/sys/arch/i386/conf

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:10:37 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/conf/XEN3PAE_DOMU

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/i386/conf/XEN3PAE_DOMU
diff -u src/sys/arch/i386/conf/XEN3PAE_DOMU:1.19 src/sys/arch/i386/conf/XEN3PAE_DOMU:1.20
--- src/sys/arch/i386/conf/XEN3PAE_DOMU:1.19	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOMU	Fri Jul 21 02:10:37 2023
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3PAE_DOMU,v 1.19 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: XEN3PAE_DOMU,v 1.20 2023/07/21 02:10:37 riastradh Exp $
 
 include 	"arch/i386/conf/std.xen"
 
@@ -60,6 +60,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
 #makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="trace;show registers"
+options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"



CVS commit: src/sys/arch/i386/conf

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:10:37 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/conf/XEN3PAE_DOMU

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



CVS commit: src/sys/arch/i386/conf

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:08:45 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/XEN3PAE_DOM0

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/i386/conf/XEN3PAE_DOM0
diff -u src/sys/arch/i386/conf/XEN3PAE_DOM0:1.37 src/sys/arch/i386/conf/XEN3PAE_DOM0:1.38
--- src/sys/arch/i386/conf/XEN3PAE_DOM0:1.37	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOM0	Fri Jul 21 02:08:45 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3PAE_DOM0,v 1.37 2023/02/09 14:09:48 abs Exp $
+#	$NetBSD: XEN3PAE_DOM0,v 1.38 2023/07/21 02:08:45 riastradh Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -76,6 +76,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
 #makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="show registers"
+options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"



CVS commit: src/sys/arch/i386/conf

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:08:45 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/XEN3PAE_DOM0

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



CVS commit: src/sys/arch/i386/conf

2023-07-17 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 17 21:12:29 UTC 2023

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386/LEGACY: Enable ATA_DOWNGRADE_MODE.

PR kern/57362


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/conf/LEGACY

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/i386/conf/LEGACY
diff -u src/sys/arch/i386/conf/LEGACY:1.1 src/sys/arch/i386/conf/LEGACY:1.2
--- src/sys/arch/i386/conf/LEGACY:1.1	Sat Mar  7 07:28:37 2015
+++ src/sys/arch/i386/conf/LEGACY	Mon Jul 17 21:12:29 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: LEGACY,v 1.1 2015/03/07 07:28:37 mrg Exp $
+#	$NetBSD: LEGACY,v 1.2 2023/07/17 21:12:29 riastradh Exp $
 
 # LEGACY kernel -- includes vga@isa and pcdisplay@isa for pre-PCI
 # systems, due to significant pain making them fail to attach when
@@ -10,5 +10,8 @@ vga0		at isa?
 pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
 wsdisplay*	at pcdisplay? console ?
 
+# Enable DMA -> PIO downgrade after a certain number of DMA errors.
+options 	ATA_DOWNGRADE_MODE
+
 # XXX we could turn off all sorts of other modern features in this
 # configuration, but that is left for future work.



CVS commit: src/sys/arch/i386/conf

2023-07-17 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 17 21:12:29 UTC 2023

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386/LEGACY: Enable ATA_DOWNGRADE_MODE.

PR kern/57362


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/conf/LEGACY

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



CVS commit: src/sys/arch/i386/conf

2023-07-16 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 16 10:20:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
i386: Re-enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.509 -r1.510 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1249 -r1.1250 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2023-07-16 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 16 10:20:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
i386: Re-enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.509 -r1.510 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1249 -r1.1250 src/sys/arch/i386/conf/GENERIC

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.509 src/sys/arch/i386/conf/ALL:1.510
--- src/sys/arch/i386/conf/ALL:1.509	Sun Jul 16 05:24:08 2023
+++ src/sys/arch/i386/conf/ALL	Sun Jul 16 10:20:07 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.509 2023/07/16 05:24:08 mrg Exp $
+# $NetBSD: ALL,v 1.510 2023/07/16 10:20:07 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.509 $"
+#ident		"ALL-$Revision: 1.510 $"
 
 maxusers	64		# estimated number of users
 
@@ -131,6 +131,10 @@ options 	BIOHIST		# kernhist for buff I/
 makeoptions	KCOV=1
 options		KCOV
 
+# Heartbeat checks
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1249 src/sys/arch/i386/conf/GENERIC:1.1250
--- src/sys/arch/i386/conf/GENERIC:1.1249	Sun Jul 16 05:24:08 2023
+++ src/sys/arch/i386/conf/GENERIC	Sun Jul 16 10:20:07 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1249 2023/07/16 05:24:08 mrg Exp $
+# $NetBSD: GENERIC,v 1.1250 2023/07/16 10:20:07 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1249 $"
+#ident		"GENERIC-$Revision: 1.1250 $"
 
 maxusers	64		# estimated number of users
 
@@ -140,6 +140,10 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 #makeoptions	KCOV=1
 #options 	KCOV
 
+# Heartbeat checks
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID



CVS commit: src/sys/arch/i386/conf

2023-07-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 16 05:24:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
revert previous change to enable HEARTBEAT.

the new code has a "needs 64-bit atomic ops" trigger:

ci->ci_heartbeat_uptime_cache = atomic_load_relaxed(&time_uptime);

but time_uptime is a 64-bit value, and this trips CTASSERT().


To generate a diff of this commit:
cvs rdiff -u -r1.508 -r1.509 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1248 -r1.1249 src/sys/arch/i386/conf/GENERIC

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.508 src/sys/arch/i386/conf/ALL:1.509
--- src/sys/arch/i386/conf/ALL:1.508	Sat Jul 15 22:13:27 2023
+++ src/sys/arch/i386/conf/ALL	Sun Jul 16 05:24:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.508 2023/07/15 22:13:27 riastradh Exp $
+# $NetBSD: ALL,v 1.509 2023/07/16 05:24:08 mrg Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.508 $"
+#ident		"ALL-$Revision: 1.509 $"
 
 maxusers	64		# estimated number of users
 
@@ -131,10 +131,6 @@ options 	BIOHIST		# kernhist for buff I/
 makeoptions	KCOV=1
 options		KCOV
 
-# Heartbeat checks
-options 	HEARTBEAT
-options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
-
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1248 src/sys/arch/i386/conf/GENERIC:1.1249
--- src/sys/arch/i386/conf/GENERIC:1.1248	Sat Jul 15 22:14:39 2023
+++ src/sys/arch/i386/conf/GENERIC	Sun Jul 16 05:24:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1248 2023/07/15 22:14:39 riastradh Exp $
+# $NetBSD: GENERIC,v 1.1249 2023/07/16 05:24:08 mrg Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1248 $"
+#ident		"GENERIC-$Revision: 1.1249 $"
 
 maxusers	64		# estimated number of users
 
@@ -140,10 +140,6 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 #makeoptions	KCOV=1
 #options 	KCOV
 
-# Heartbeat checks
-options 	HEARTBEAT
-options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
-
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID



CVS commit: src/sys/arch/i386/conf

2023-07-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 16 05:24:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
revert previous change to enable HEARTBEAT.

the new code has a "needs 64-bit atomic ops" trigger:

ci->ci_heartbeat_uptime_cache = atomic_load_relaxed(&time_uptime);

but time_uptime is a 64-bit value, and this trips CTASSERT().


To generate a diff of this commit:
cvs rdiff -u -r1.508 -r1.509 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1248 -r1.1249 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2023-07-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 15 22:13:27 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.507 -r1.508 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2023-07-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 15 22:13:27 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.507 -r1.508 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.507 src/sys/arch/i386/conf/ALL:1.508
--- src/sys/arch/i386/conf/ALL:1.507	Mon May 22 16:28:25 2023
+++ src/sys/arch/i386/conf/ALL	Sat Jul 15 22:13:27 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.507 2023/05/22 16:28:25 riastradh Exp $
+# $NetBSD: ALL,v 1.508 2023/07/15 22:13:27 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.507 $"
+#ident		"ALL-$Revision: 1.508 $"
 
 maxusers	64		# estimated number of users
 
@@ -131,6 +131,10 @@ options 	BIOHIST		# kernhist for buff I/
 makeoptions	KCOV=1
 options		KCOV
 
+# Heartbeat checks
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI



CVS commit: src/sys/arch/i386/conf

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:34 UTC 2023

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
i386/GENERIC: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.1246 -r1.1247 src/sys/arch/i386/conf/GENERIC

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1246 src/sys/arch/i386/conf/GENERIC:1.1247
--- src/sys/arch/i386/conf/GENERIC:1.1246	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/GENERIC	Mon May 22 16:28:34 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1246 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: GENERIC,v 1.1247 2023/05/22 16:28:34 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1246 $"
+#ident		"GENERIC-$Revision: 1.1247 $"
 
 maxusers	64		# estimated number of users
 
@@ -1504,9 +1504,9 @@ pseudo-device	cmos
 # userland interface to drivers, including autoconf and properties retrieval
 pseudo-device	drvctl
 
-# EFI runtime support -- not yet tested
-#options 	EFI_RUNTIME
-#pseudo-device 	efi			# /dev/efi
+# EFI runtime support
+options 	EFI_RUNTIME
+pseudo-device 	efi			# /dev/efi
 
 include "dev/veriexec.config"
 



CVS commit: src/sys/arch/i386/conf

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:34 UTC 2023

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
i386/GENERIC: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.1246 -r1.1247 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:25 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.506 -r1.507 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.506 src/sys/arch/i386/conf/ALL:1.507
--- src/sys/arch/i386/conf/ALL:1.506	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/ALL	Mon May 22 16:28:25 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.506 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: ALL,v 1.507 2023/05/22 16:28:25 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.506 $"
+#ident		"ALL-$Revision: 1.507 $"
 
 maxusers	64		# estimated number of users
 
@@ -1810,9 +1810,9 @@ pseudo-device	pad
 # userland interface to drivers, including autoconf and properties retrieval
 pseudo-device	drvctl
 
-# EFI runtime support -- doesn't build yet
-#options 	EFI_RUNTIME
-#pseudo-device 	efi			# /dev/efi
+# EFI runtime support
+options 	EFI_RUNTIME
+pseudo-device 	efi			# /dev/efi
 
 # Pass-to-Userspace Transporter
 pseudo-device	putter



CVS commit: src/sys/arch/i386/conf

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:25 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.506 -r1.507 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2022-12-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Dec 22 19:07:17 UTC 2022

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Add commented vio9p* to match amd64 GENERIC


To generate a diff of this commit:
cvs rdiff -u -r1.1243 -r1.1244 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2022-12-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Dec 22 19:07:17 UTC 2022

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Add commented vio9p* to match amd64 GENERIC


To generate a diff of this commit:
cvs rdiff -u -r1.1243 -r1.1244 src/sys/arch/i386/conf/GENERIC

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1243 src/sys/arch/i386/conf/GENERIC:1.1244
--- src/sys/arch/i386/conf/GENERIC:1.1243	Sun Dec 11 04:20:52 2022
+++ src/sys/arch/i386/conf/GENERIC	Thu Dec 22 19:07:16 2022
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1243 2022/12/11 04:20:52 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.1244 2022/12/22 19:07:16 jakllsch Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1243 $"
+#ident		"GENERIC-$Revision: 1.1244 $"
 
 maxusers	64		# estimated number of users
 
@@ -1406,6 +1406,7 @@ ld* at virtio?# Virtio disk device
 vioif* at virtio?			# Virtio network device
 viornd* at virtio?			# Virtio entropy device
 vioscsi* at virtio?			# Virtio SCSI device
+#vio9p*	at virtio?			# Virtio 9P device
 
 # Hyper-V devices
 vmbus*		at acpi?		# Hyper-V VMBus



CVS commit: src/sys/arch/i386/conf

2022-12-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Dec 11 04:20:52 UTC 2022

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Enable options DISKLABEL_EI by default as amd64.

No particular comment no port-i386@:
 https://mail-index.netbsd.org/port-i386/2022/12/02/msg004063.html


To generate a diff of this commit:
cvs rdiff -u -r1.1242 -r1.1243 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2022-12-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Dec 11 04:20:52 UTC 2022

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Enable options DISKLABEL_EI by default as amd64.

No particular comment no port-i386@:
 https://mail-index.netbsd.org/port-i386/2022/12/02/msg004063.html


To generate a diff of this commit:
cvs rdiff -u -r1.1242 -r1.1243 src/sys/arch/i386/conf/GENERIC

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1242 src/sys/arch/i386/conf/GENERIC:1.1243
--- src/sys/arch/i386/conf/GENERIC:1.1242	Thu Sep 29 10:10:07 2022
+++ src/sys/arch/i386/conf/GENERIC	Sun Dec 11 04:20:52 2022
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1242 2022/09/29 10:10:07 riastradh Exp $
+# $NetBSD: GENERIC,v 1.1243 2022/12/11 04:20:52 tsutsui Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1242 $"
+#ident		"GENERIC-$Revision: 1.1243 $"
 
 maxusers	64		# estimated number of users
 
@@ -166,7 +166,7 @@ options 	WAPBL		# File system journaling
 options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
-#options 	DISKLABEL_EI	# disklabel Endian Independent support
+options 	DISKLABEL_EI	# disklabel Endian Independent support
 options 	NFSSERVER	# Network File System server
 #options 	V7FS_EI		# V7FS Endian Independent support
 



CVS commit: src/sys/arch/i386/conf

2019-08-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  8 04:25:21 UTC 2019

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
 Use +


To generate a diff of this commit:
cvs rdiff -u -r1.1208 -r1.1209 src/sys/arch/i386/conf/GENERIC

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1208 src/sys/arch/i386/conf/GENERIC:1.1209
--- src/sys/arch/i386/conf/GENERIC:1.1208	Mon Jun 17 19:01:17 2019
+++ src/sys/arch/i386/conf/GENERIC	Thu Aug  8 04:25:21 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1208 2019/06/17 19:01:17 kamil Exp $
+# $NetBSD: GENERIC,v 1.1209 2019/08/08 04:25:21 msaitoh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1208 $"
+#ident		"GENERIC-$Revision: 1.1209 $"
 
 maxusers	64		# estimated number of users
 
@@ -120,8 +120,8 @@ 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
-#options	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
-#options	UBSAN_ALWAYS_FATAL	# (optional) Panic on all kUBSan reports
+#options 	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
+#options 	UBSAN_ALWAYS_FATAL	# (optional) Panic on all kUBSan reports
 #options 	SYSCALL_STATS	# per syscall counts
 #options 	SYSCALL_TIMES	# per syscall times
 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
@@ -129,7 +129,7 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 
 # Kernel Code Coverage Driver.
 #makeoptions	KCOV=1
-#options	KCOV
+#options 	KCOV
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"



CVS commit: src/sys/arch/i386/conf

2019-08-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  8 04:25:21 UTC 2019

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
 Use +


To generate a diff of this commit:
cvs rdiff -u -r1.1208 -r1.1209 src/sys/arch/i386/conf/GENERIC

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



Re: CVS commit: src/sys/arch/i386/conf

2019-03-01 Thread Paul Goyette

FYI, my earlier commit for changing the MODULE_HOOK macros also
commented out the hvkvp entry for amd64/GENERIC.



On Fri, 1 Mar 2019, NONAKA Kimihiro wrote:


Module Name:src
Committed By:   nonaka
Date:   Fri Mar  1 12:23:10 UTC 2019

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
commented out hvkvp entry.


To generate a diff of this commit:
cvs rdiff -u -r1.1203 -r1.1204 src/sys/arch/i386/conf/GENERIC

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


!DSPAM:5c792435247212246818232!




+--+--++
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:  |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+--+--++


Re: CVS commit: src/sys/arch/i386/conf

2013-11-26 Thread Alan Barrett

On Fri, 22 Nov 2013, Jeff Rizzo wrote:

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Comment out npf for now, as we can't have both NPF and PF in the
same kernel


It used to be possible to have npf and pf in the same kernel.  The 
kernel I am running now (built a few weeks ago) has both.


I think it's important for users to be able to have both.  If I 
want to migrate from pf to npf, then part of my testing would 
probably involve switching back and forth a few times to check 
that the npf rules do the same job as the pf rules, and I would 
want to be able to do that without booting a different kernel for 
every test.



- rmind has said he'll address this eventually,


OK.

--apb (Alan Barrett)


Re: CVS commit: src/sys/arch/i386/conf

2013-11-23 Thread Jeff Rizzo

On 11/23/13 4:50 AM, Marc Balmer wrote:

Zitat von Jeff Rizzo :


Module Name:src
Committed By:riz
Date:Fri Nov 22 18:58:01 UTC 2013

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Comment out npf for now, as we can't have both NPF and PF in the
same kernel - rmind has said he'll address this eventually,
and for now PF is more likely to have unnoticed breakage.  ALL now
builds again!



Wouldn't it make a more sense to disable pf since npf sees actual 
development, so testing it would actually help (and ALL is not meant 
to be run anyways)?


To me compile testing npf would make much more sense than pf... ymmv.




I did think about it, and I believe I laid out my reasoning in the 
commit message.


+j




Re: CVS commit: src/sys/arch/i386/conf

2013-11-23 Thread Marc Balmer

Zitat von Jeff Rizzo :


Module Name:src
Committed By:   riz
Date:   Fri Nov 22 18:58:01 UTC 2013

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Comment out npf for now, as we can't have both NPF and PF in the
same kernel - rmind has said he'll address this eventually,
and for now PF is more likely to have unnoticed breakage.  ALL now
builds again!



Wouldn't it make a more sense to disable pf since npf sees actual  
development, so testing it would actually help (and ALL is not meant  
to be run anyways)?


To me compile testing npf would make much more sense than pf... ymmv.








To generate a diff of this commit:
cvs rdiff -u -r1.364 -r1.365 src/sys/arch/i386/conf/ALL

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







This message was sent using IMP, the Internet Messaging Program.




Re: CVS commit: src/sys/arch/i386/conf

2013-10-23 Thread Matt Thomas

On Oct 23, 2013, at 11:42 AM, Jukka Ruohonen  wrote:

> On Wed, Oct 23, 2013 at 10:37:15AM -0700, Paul Goyette wrote:
>> On Wed, 23 Oct 2013, Matt Thomas wrote:
>> 
>>> Module Name:src
>>> Committed By:   matt
>>> Date:   Wed Oct 23 17:26:08 UTC 2013
>>> 
>>> Modified Files:
>>> src/sys/arch/i386/conf: GENERIC XEN3_DOM0
>>> 
>>> Log Message:
>>> Add xhci device
>> 
>> When do we get a xhci(4) man page?   :)
> 
> Also: ALL is missing from the list.

That's because ALL already has xhci in it.


Re: CVS commit: src/sys/arch/i386/conf

2013-10-23 Thread Jukka Ruohonen
On Wed, Oct 23, 2013 at 10:37:15AM -0700, Paul Goyette wrote:
> On Wed, 23 Oct 2013, Matt Thomas wrote:
> 
> >Module Name: src
> >Committed By:matt
> >Date:Wed Oct 23 17:26:08 UTC 2013
> >
> >Modified Files:
> > src/sys/arch/i386/conf: GENERIC XEN3_DOM0
> >
> >Log Message:
> >Add xhci device
> 
> When do we get a xhci(4) man page?   :)

Also: ALL is missing from the list.

- Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2013-10-23 Thread Paul Goyette

On Wed, 23 Oct 2013, Matt Thomas wrote:


Module Name:src
Committed By:   matt
Date:   Wed Oct 23 17:26:08 UTC 2013

Modified Files:
src/sys/arch/i386/conf: GENERIC XEN3_DOM0

Log Message:
Add xhci device


When do we get a xhci(4) man page?   :)


-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |  | pgoyette at netbsd.org  |
-


Re: CVS commit: src/sys/arch/i386/conf

2012-04-09 Thread Bernd Ernesti
On Sat, Apr 07, 2012 at 01:40:42AM -0400, Christos Zoulas wrote:
> Module Name:  src
> Committed By: christos
> Date: Sat Apr  7 05:40:42 UTC 2012
> 
> Modified Files:
>   src/sys/arch/i386/conf: GENERIC
> 
> Log Message:
> add apple autodiscovery

That needs to be added to the ALL config too.

Bernd



Re: CVS commit: src/sys/arch/i386/conf

2011-08-29 Thread Jukka Ruohonen
On Mon, Aug 29, 2011 at 02:58:32PM +0200, Marc Balmer wrote:
> Am 29.08.11 14:53, schrieb Jukka Ruohonen:
> > On Mon, Aug 29, 2011 at 02:48:52PM +0200, Marc Balmer wrote:
> >> Am 29.08.11 11:38, schrieb Jukka Ruohonen:
> >>> On Sat, Aug 27, 2011 at 09:28:56AM +, Marc Balmer wrote:
>  Module Name: src
>  Committed By:mbalmer
>  Date:Sat Aug 27 09:28:56 UTC 2011
> 
>  Modified Files:
>   src/sys/arch/i386/conf: GENERIC
> 
>  Log Message:
>  Enable some gpio devices.
> >>>
> >>> Is onewire(4) really something to be enabled by default on i386?
> >>
> >> Yes, why not?.  It is small enough and lets you access cheap temperature
> >> sensors via gpiow(4).
> > 
> > Just that I have never seen a i386 system with onewire(4).
> 
> with gpioow(4) you can use it over gpio(4), and means many system, e.g.
> all of Soekris, Alix, etc.

Ok, I stand corrected. And then I should've seen it on i386...

- Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2011-08-29 Thread Marc Balmer
Am 29.08.11 14:53, schrieb Jukka Ruohonen:
> On Mon, Aug 29, 2011 at 02:48:52PM +0200, Marc Balmer wrote:
>> Am 29.08.11 11:38, schrieb Jukka Ruohonen:
>>> On Sat, Aug 27, 2011 at 09:28:56AM +, Marc Balmer wrote:
 Module Name:   src
 Committed By:  mbalmer
 Date:  Sat Aug 27 09:28:56 UTC 2011

 Modified Files:
src/sys/arch/i386/conf: GENERIC

 Log Message:
 Enable some gpio devices.
>>>
>>> Is onewire(4) really something to be enabled by default on i386?
>>
>> Yes, why not?.  It is small enough and lets you access cheap temperature
>> sensors via gpiow(4).
> 
> Just that I have never seen a i386 system with onewire(4).

with gpioow(4) you can use it over gpio(4), and means many system, e.g.
all of Soekris, Alix, etc.

> 
> (GENERIC as in: something common or descriptive for all members.)
> 
> - Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2011-08-29 Thread Jukka Ruohonen
On Mon, Aug 29, 2011 at 02:48:52PM +0200, Marc Balmer wrote:
> Am 29.08.11 11:38, schrieb Jukka Ruohonen:
> > On Sat, Aug 27, 2011 at 09:28:56AM +, Marc Balmer wrote:
> >> Module Name:   src
> >> Committed By:  mbalmer
> >> Date:  Sat Aug 27 09:28:56 UTC 2011
> >>
> >> Modified Files:
> >>src/sys/arch/i386/conf: GENERIC
> >>
> >> Log Message:
> >> Enable some gpio devices.
> > 
> > Is onewire(4) really something to be enabled by default on i386?
> 
> Yes, why not?.  It is small enough and lets you access cheap temperature
> sensors via gpiow(4).

Just that I have never seen a i386 system with onewire(4).

(GENERIC as in: something common or descriptive for all members.)

- Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2011-08-29 Thread Marc Balmer
Am 29.08.11 11:38, schrieb Jukka Ruohonen:
> On Sat, Aug 27, 2011 at 09:28:56AM +, Marc Balmer wrote:
>> Module Name: src
>> Committed By:mbalmer
>> Date:Sat Aug 27 09:28:56 UTC 2011
>>
>> Modified Files:
>>  src/sys/arch/i386/conf: GENERIC
>>
>> Log Message:
>> Enable some gpio devices.
> 
> Is onewire(4) really something to be enabled by default on i386?

Yes, why not?.  It is small enough and lets you access cheap temperature
sensors via gpiow(4).





Re: CVS commit: src/sys/arch/i386/conf

2011-08-29 Thread Jukka Ruohonen
On Sat, Aug 27, 2011 at 09:28:56AM +, Marc Balmer wrote:
> Module Name:  src
> Committed By: mbalmer
> Date: Sat Aug 27 09:28:56 UTC 2011
> 
> Modified Files:
>   src/sys/arch/i386/conf: GENERIC
> 
> Log Message:
> Enable some gpio devices.

Is onewire(4) really something to be enabled by default on i386?

- Jukka.




Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread David Laight
On Tue, Aug 09, 2011 at 10:14:08AM +0200, Manuel Bouyer wrote:
> On Tue, Aug 09, 2011 at 10:47:18AM +0300, Jukka Ruohonen wrote:
> > On Tue, Aug 09, 2011 at 09:44:09AM +0200, Alan Barrett wrote:
> > > Whether or not "available as a module" is a good reason for 
> > > removing something from GENERIC is a separate topic which I will 
> > > not consider in this message.
> > 
> > Fortunately, people can vote with their own work; henceforth all drivers
> > I write will be available only as modules.
> 
> You mean, your work cannot be inclued in non-modular kernels ?
> this is silly. 

I must find some round tuits and change the kernel config/build
to build modules then link the required ones into a partially
linked kernel with 'ld -r' before doing a final link to a fully
fixed up kernel.
This should also make it possible for a user to include an
extra module.

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread Manuel Bouyer
On Tue, Aug 09, 2011 at 11:23:57AM +0300, Jukka Ruohonen wrote:
> On Tue, Aug 09, 2011 at 10:18:29AM +0200, Manuel Bouyer wrote:
> > Sorry, but this is just plain stupid. I could as well make so my work
> > won't work in a modular kernel, and we'll have incompatible features.
> 
> Of course it will work in non-modular kernels, but you just have to add it
> there manually.

good, but still, for x86 it should be in MONOLITHIC and ALL.

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread Jukka Ruohonen
On Tue, Aug 09, 2011 at 10:18:29AM +0200, Manuel Bouyer wrote:
> Sorry, but this is just plain stupid. I could as well make so my work
> won't work in a modular kernel, and we'll have incompatible features.

Of course it will work in non-modular kernels, but you just have to add it
there manually.

- Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread Manuel Bouyer
On Tue, Aug 09, 2011 at 11:16:11AM +0300, Jukka Ruohonen wrote:
> On Tue, Aug 09, 2011 at 10:14:08AM +0200, Manuel Bouyer wrote:
> > On Tue, Aug 09, 2011 at 10:47:18AM +0300, Jukka Ruohonen wrote:
> > > On Tue, Aug 09, 2011 at 09:44:09AM +0200, Alan Barrett wrote:
> > > > Whether or not "available as a module" is a good reason for 
> > > > removing something from GENERIC is a separate topic which I will 
> > > > not consider in this message.
> > > 
> > > Fortunately, people can vote with their own work; henceforth all drivers
> > > I write will be available only as modules.
> > 
> > You mean, your work cannot be inclued in non-modular kernels ?
> 
> Yes.

Sorry, but this is just plain stupid. I could as well make so my work
won't work in a modular kernel, and we'll have incompatible features.

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread Jukka Ruohonen
On Tue, Aug 09, 2011 at 10:14:08AM +0200, Manuel Bouyer wrote:
> On Tue, Aug 09, 2011 at 10:47:18AM +0300, Jukka Ruohonen wrote:
> > On Tue, Aug 09, 2011 at 09:44:09AM +0200, Alan Barrett wrote:
> > > Whether or not "available as a module" is a good reason for 
> > > removing something from GENERIC is a separate topic which I will 
> > > not consider in this message.
> > 
> > Fortunately, people can vote with their own work; henceforth all drivers
> > I write will be available only as modules.
> 
> You mean, your work cannot be inclued in non-modular kernels ?

Yes.

- Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread Manuel Bouyer
On Tue, Aug 09, 2011 at 10:47:18AM +0300, Jukka Ruohonen wrote:
> On Tue, Aug 09, 2011 at 09:44:09AM +0200, Alan Barrett wrote:
> > Whether or not "available as a module" is a good reason for 
> > removing something from GENERIC is a separate topic which I will 
> > not consider in this message.
> 
> Fortunately, people can vote with their own work; henceforth all drivers
> I write will be available only as modules.

You mean, your work cannot be inclued in non-modular kernels ?
this is silly. 

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread Jukka Ruohonen
On Tue, Aug 09, 2011 at 09:44:09AM +0200, Alan Barrett wrote:
> Whether or not "available as a module" is a good reason for 
> removing something from GENERIC is a separate topic which I will 
> not consider in this message.

Fortunately, people can vote with their own work; henceforth all drivers
I write will be available only as modules.

- Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2011-08-09 Thread Alan Barrett

On Mon, 08 Aug 2011, Jared D. McNeill wrote:

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
remove dtv (available as a module)


If you remove anything from GENERIC on the grounds that it 
is available as a module, then please add the same item to 
MONOLITHIC, so that MONOLITHIC remains more or less equivalent to 
"GENERIC with most modules preloaded".


Whether or not "available as a module" is a good reason for 
removing something from GENERIC is a separate topic which I will 
not consider in this message.


--apb (Alan Barrett)


Re: CVS commit: src/sys/arch/i386/conf

2011-08-05 Thread Jukka Ruohonen
On Thu, Aug 04, 2011 at 02:45:54PM +, Jonathan A. Kollasch wrote:
> Module Name:  src
> Committed By: jakllsch
> Date: Thu Aug  4 14:45:54 UTC 2011
> 
> Modified Files:
>   src/sys/arch/i386/conf: ALL
> 
> Log Message:
> Add coram(4).

Can we get manual pages for these?

- Jukka.


Re: CVS commit: src/sys/arch/i386/conf

2011-02-23 Thread Jean-Yves Migeon
On Wed, 23 Feb 2011 12:17:43 +0900, Masao Uebayashi 
 wrote:

IMHO, for x86, the kernel cannot assume that the bootloader loaded
certain modules, nor can the bootloader expect that kernel XYZ is in 
a

specific configuration. They should be agnostic from one another.


I think that TRT here is that kernel tells bootloader what to load.
This should be possible by allocating a static buffer shared by
bootloader/kernel, and kernel does reboot (== calling bootloader).


There are, at least, two non trivial points to solve here:

- as said, for x86, you are pushing for an interface that does not yet 
exist between kernel and bootloader. I highly doubt that Grub/Grub2, 
syslinux, or any other bootloader not under direct control of TNF, will 
follow such a model.


- you have to "configure", but also to "unconfigure" device upon each 
reboot. You have to teach the interface not only "what to load", but 
also, "what is the state" of a driver module. Module's loading can 
change the state of devices, and rebooting/calling bootloader will _not_ 
reset that state.


--
Jean-Yves Migeon
jeanyves.mig...@free.fr


Re: CVS commit: src/sys/arch/i386/conf

2011-02-22 Thread Masao Uebayashi
On Sun, Feb 13, 2011 at 04:29:25PM +0100, Jean-Yves Migeon wrote:
> On 13.02.2011 14:42, David Laight wrote:
> > On Sun, Feb 13, 2011 at 04:37:21AM +, Jean-Yves Migeon wrote:
> >> Module Name:   src Committed By:   jym Date:   Sun Feb 
> >> 13 04:37:21 UTC 
> >> 2011
> >> 
> >> Modified Files: src/sys/arch/i386/conf: GENERIC
> >> 
> >> Log Message: Compile FFS and NFS statically (e.g. not modular) for 
> >> GENERIC. These file-systems can be critical for mountroot; as 
> >> kernel cannot have access to module(7)s without having / mounted 
> >> first... yes, you see the point.
> > 
> > Does this cause grief with existing installations where the 
> > bootloader also loads these as modules?
> 
> No; if it does, it should not: the bootloader is free to load whatever
> modules it wants to, and this happens also when the user specifies it to
> load certain modules manually. It could print errors messages (although,
> in my tests, it did not), but should not hamper boot in any way.
> 
> IMHO, for x86, the kernel cannot assume that the bootloader loaded
> certain modules, nor can the bootloader expect that kernel XYZ is in a
> specific configuration. They should be agnostic from one another.

I think that TRT here is that kernel tells bootloader what to load.
This should be possible by allocating a static buffer shared by
bootloader/kernel, and kernel does reboot (== calling bootloader).

bootloader
  load modules in the boot module list (initially nothing)
kernel
  while (configure devices)
if (module A not found)
  append A to the boot module list (static buffer)
  reboot
  mountroot
  :

The reason why this reboots the system repeatedly is that the kernel
has no knowledge of the exact hardware/mount configuration.  In other
words, the boot is non-deterministic.

The opposite case is static kernel configuration, typically embedded
platforms where hardware configuration is static.  In such a case,
you can configure kernel exactly for the specification.  The kernel
always boots in the same manner.  I.e. it is deterministic.

> Besides, that would be problematic if it were not the case: given that
> boot(8) can auto-load ffs or nfs kmods, the bootloader would be bound
> with modular kernels.
> 
> For order of preference, see module(7):
> 
> The loader will look first for a built-in module with the specified
> name that has not been disabled (see module_unload() below). If a
> built-in module with that name is not found, the list of modules
> prepared by the boot loader is searched.  If the named module is
> still not found, an attempt is made to locate the module within the
> file system.
> 
> -- 
> Jean-Yves Migeon
> jeanyves.mig...@free.fr

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Re: CVS commit: src/sys/arch/i386/conf

2011-02-13 Thread Paul Goyette

On Sun, 13 Feb 2011, Jean-Yves Migeon wrote:


Wording seems a bit redundant, so I condensed this into:

Index: man/man9/module.9
===
RCS file: /cvsroot/src/share/man/man9/module.9,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 module.9
--- man/man9/module.9   9 Jan 2011 05:05:10 -   1.26
+++ man/man9/module.9   13 Feb 2011 16:39:01 -
@@ -175,7 +175,8 @@ If a built-in module with that
.Fa name
is not found, the list of modules prepared by the boot loader is searched.
If the named module is still not found, an attempt is made to locate the
-module within the file system.
+module within the file system, provided it has been mounted by the
+initialization code.
.Pp
The
.Fa flags



Looks good to me!


-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |  | pgoyette at netbsd.org  |
-


Re: CVS commit: src/sys/arch/i386/conf

2011-02-13 Thread Jean-Yves Migeon
On 13.02.2011 17:02, Paul Goyette wrote:
> On Sun, 13 Feb 2011, Jean-Yves Migeon wrote:
> 
>> ...
>> For order of preference, see module(7):
>>
>>The loader will look first for a built-in module with the specified
>>name that has not been disabled (see module_unload() below). If a
>>built-in module with that name is not found, the list of modules
>>prepared by the boot loader is searched.  If the named module is
>>still not found, an attempt is made to locate the module within the
>>file system.
> 
> There should be one additional qualification here.
> 
>  Searching for modules within the file system can only occur after
>  the root file system has been mounted by the initialization code.

Sorry, this part is from module(9). For module(7), there is a mention in
the CAVEATS section:

  If an attempt is made to boot the operating system from a file
  system for which the module is not built into the kernel, the boot
  may fail with the message ``Cannot mount root, error 79''.  On
  certain architectures (currently, i386 and amd64), one may be able
  to recover from this error by using the ``load xxxfs'' command
  before trying to boot.  This command is only available on newer
  bootloaders.


Wording seems a bit redundant, so I condensed this into:

Index: man/man9/module.9
===
RCS file: /cvsroot/src/share/man/man9/module.9,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 module.9
--- man/man9/module.9   9 Jan 2011 05:05:10 -   1.26
+++ man/man9/module.9   13 Feb 2011 16:39:01 -
@@ -175,7 +175,8 @@ If a built-in module with that
 .Fa name
 is not found, the list of modules prepared by the boot loader is searched.
 If the named module is still not found, an attempt is made to locate the
-module within the file system.
+module within the file system, provided it has been mounted by the
+initialization code.
 .Pp
 The
 .Fa flags

-- 
Jean-Yves Migeon
jeanyves.mig...@free.fr


Re: CVS commit: src/sys/arch/i386/conf

2011-02-13 Thread Paul Goyette

On Sun, 13 Feb 2011, Jean-Yves Migeon wrote:


...
For order of preference, see module(7):

   The loader will look first for a built-in module with the specified
   name that has not been disabled (see module_unload() below). If a
   built-in module with that name is not found, the list of modules
   prepared by the boot loader is searched.  If the named module is
   still not found, an attempt is made to locate the module within the
   file system.


There should be one additional qualification here.

 Searching for modules within the file system can only occur after
 the root file system has been mounted by the initialization code.


-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |  | pgoyette at netbsd.org  |
-


Re: CVS commit: src/sys/arch/i386/conf

2011-02-13 Thread Jean-Yves Migeon
On 13.02.2011 14:42, David Laight wrote:
> On Sun, Feb 13, 2011 at 04:37:21AM +, Jean-Yves Migeon wrote:
>> Module Name: src Committed By:   jym Date:   Sun Feb 13 
>> 04:37:21 UTC 
>> 2011
>> 
>> Modified Files: src/sys/arch/i386/conf: GENERIC
>> 
>> Log Message: Compile FFS and NFS statically (e.g. not modular) for 
>> GENERIC. These file-systems can be critical for mountroot; as 
>> kernel cannot have access to module(7)s without having / mounted 
>> first... yes, you see the point.
> 
> Does this cause grief with existing installations where the 
> bootloader also loads these as modules?

No; if it does, it should not: the bootloader is free to load whatever
modules it wants to, and this happens also when the user specifies it to
load certain modules manually. It could print errors messages (although,
in my tests, it did not), but should not hamper boot in any way.

IMHO, for x86, the kernel cannot assume that the bootloader loaded
certain modules, nor can the bootloader expect that kernel XYZ is in a
specific configuration. They should be agnostic from one another.
Besides, that would be problematic if it were not the case: given that
boot(8) can auto-load ffs or nfs kmods, the bootloader would be bound
with modular kernels.

For order of preference, see module(7):

The loader will look first for a built-in module with the specified
name that has not been disabled (see module_unload() below). If a
built-in module with that name is not found, the list of modules
prepared by the boot loader is searched.  If the named module is
still not found, an attempt is made to locate the module within the
file system.

-- 
Jean-Yves Migeon
jeanyves.mig...@free.fr


Re: CVS commit: src/sys/arch/i386/conf

2011-02-13 Thread David Laight
On Sun, Feb 13, 2011 at 04:37:21AM +, Jean-Yves Migeon wrote:
> Module Name:  src
> Committed By: jym
> Date: Sun Feb 13 04:37:21 UTC 2011
> 
> Modified Files:
>   src/sys/arch/i386/conf: GENERIC
> 
> Log Message:
> Compile FFS and NFS statically (e.g. not modular) for GENERIC. These
> file-systems can be critical for mountroot; as kernel cannot have access
> to module(7)s without having / mounted first... yes, you see the point.

Does this cause grief with existing installations where the bootloader
also loads these as modules?

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: src/sys/arch/i386/conf

2011-02-12 Thread David Holland
On Fri, Feb 11, 2011 at 06:30:17AM +, Matthias Scheler wrote:
 > > EXEC_ELF32, _SCRIPT  # obvious
 > > FFS, CD9660, MFS, TMPFS, NFS, EXT2FS
 > 
 > FFS should be compiled into the kernel. But I doubt that somebody uses
 > both MFS and TMPFS. I hardly ever use CD9660 or EXT2FS while I use
 > NFS a lot. There will however be people with is opposite requirements
 > which is why those should really be modules.

None of these are large enough that it matters to compile them in if
you aren't using them. (Unless you're using a 486 or something in which
case you probably need a custom small kernel anyway.)

-- 
David A. Holland
dholl...@netbsd.org


Re: CVS commit: src/sys/arch/i386/conf

2011-02-11 Thread David Laight
On Fri, Feb 11, 2011 at 12:40:00AM +0100, Jean-Yves Migeon wrote:
> 
> BTW, I wonder whether modules shouldn't be part of the kern-GENERIC.tgz
> set. But this is an orthogonal issue.

As is building the modules as part of the kernel build, and having the
kernel build include a kernel.o stage into which module.o can be
linked so build a custom kernel with a list of builtin module.

I might look into this when I get by systems accessible again
(should be soon).

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: src/sys/arch/i386/conf

2011-02-11 Thread Jean-Yves Migeon
On 11.02.2011 07:30, Matthias Scheler wrote:
> On Fri, Feb 11, 2011 at 05:06:43AM +0100, Jean-Yves Migeon wrote:
>> Indeed, it would be good to have at least some exec formats and
>> file-systems builtin by default in GENERIC:
>>
>> EXEC_ELF32, _SCRIPT  # obvious
>> FFS, CD9660, MFS, TMPFS, NFS, EXT2FS
> 
> FFS should be compiled into the kernel. But I doubt that somebody uses
> both MFS and TMPFS. I hardly ever use CD9660 or EXT2FS while I use
> NFS a lot. There will however be people with is opposite requirements
> which is why those should really be modules.
> 
>> e.g. the typical file-systems we may have to use, without having to rely
>> on modules that could be absent or non accessible at boot time.
> 
> I don't think it needs typical file-systems. IMHO the kernel should
> contain the file-systems required for booting. This will solve most
> of the update issues.

This will allow booting, but not necessarily in a sufficient environment
to fix update issues: if someone needs to mount an ISO or NFS share to
get updated modules, he will need these.

Besides, it's more or less the list of file-systems that have associated
mount_* in the INSTALL ramdisk; I removed some though: ntfs, kernfs, lfs
and msdos.

-- 
Jean-Yves Migeon
jeanyves.mig...@free.fr


Re: CVS commit: src/sys/arch/i386/conf

2011-02-11 Thread Izumi Tsutsui
> both MFS and TMPFS. I hardly ever use CD9660 or EXT2FS while I use
> NFS a lot. There will however be people with is opposite requirements
> which is why those should really be modules.

For install, root on CD9660 is possible.
(though we can put cd9660.kmod into the cd9660fs)

> > e.g. the typical file-systems we may have to use, without having to rely
> > on modules that could be absent or non accessible at boot time.
> 
> I don't think it needs typical file-systems. IMHO the kernel should
> contain the file-systems required for booting.

Not booting, but mountroot.
I.e. even EXEC_ELF32/EXEC_SCRIPT and MFS/TMPFS can be loaded after mountroot.

"Typical" file-systems should be compiled in kernel for floppies and tapes
(or lazy users who don't bother to put module files into root file system)
but not for CD and USB images because we can put module files into them.

NFS might be problematic because it isn't clear if all pxeboot
(or other bootloaders) can simply load nfs.kmod via network.
---
Izumi Tsutsui


Re: CVS commit: src/sys/arch/i386/conf

2011-02-11 Thread Martin Husemann
On Thu, Feb 10, 2011 at 05:02:23PM -0800, Paul Goyette wrote:
> My "totally modular" kernel config file contains
> 
>   ...
>   no options  EXEC_ELF64
>   no options  EXEC_SCRIPT
>   no options  COREDUMP
>   no options  AIO
>   no options  MQUEUE
>   ...
> 
> Not hard to type, not hard to maintain.

Exactly. See sparc64/conf/MODULAR for another example (and especially note
the explicit options INSECURE only needed there). Maybe we can even generate
a MI include file and collect all the negative options?

Martin


Re: CVS commit: src/sys/arch/i386/conf

2011-02-10 Thread Matthias Scheler
On Fri, Feb 11, 2011 at 05:06:43AM +0100, Jean-Yves Migeon wrote:
> Indeed, it would be good to have at least some exec formats and
> file-systems builtin by default in GENERIC:
> 
> EXEC_ELF32, _SCRIPT  # obvious
> FFS, CD9660, MFS, TMPFS, NFS, EXT2FS

FFS should be compiled into the kernel. But I doubt that somebody uses
both MFS and TMPFS. I hardly ever use CD9660 or EXT2FS while I use
NFS a lot. There will however be people with is opposite requirements
which is why those should really be modules.

> e.g. the typical file-systems we may have to use, without having to rely
> on modules that could be absent or non accessible at boot time.

I don't think it needs typical file-systems. IMHO the kernel should
contain the file-systems required for booting. This will solve most
of the update issues.

Kind regards

-- 
Matthias Scheler  http://zhadum.org.uk/


Re: CVS commit: src/sys/arch/i386/conf

2011-02-10 Thread Jean-Yves Migeon
On 11.02.2011 02:02, Paul Goyette wrote:
> On Fri, 11 Feb 2011, matthew green wrote:
>>> I'm not 100% sure it is worth having FFS and ELF support as modules
>>> in GENERIC.
>>> It may be nice that they CAN be modules, but I suspect 99.99% of systems
>>> will need them.
>>> Anyone who wants them as modules can build a kernel without them.
>>
>> i strongly agree with this.
> 
> Me too.

Indeed, it would be good to have at least some exec formats and
file-systems builtin by default in GENERIC:

EXEC_ELF32, _SCRIPT  # obvious
FFS, CD9660, MFS, TMPFS, NFS, EXT2FS

e.g. the typical file-systems we may have to use, without having to rely
on modules that could be absent or non accessible at boot time.

This has a good chance of making a GENERIC kernel work better out of the
box, without big surprises during hand-made updates where kernel gets
replaced without its associated modules. IIRC, this is why MONOLITHIC
was brought back, due to the number of complaints where GENERIC fails
booting because ffs.kmod or exec_elf32.kmod could not be loaded.

This is what amd64 is approx. doing, but with most file-systems included
by default.

-- 
Jean-Yves Migeon
jeanyves.mig...@free.fr


re: CVS commit: src/sys/arch/i386/conf

2011-02-10 Thread Paul Goyette

On Fri, 11 Feb 2011, matthew green wrote:




Module Name:src
Committed By:   jym
Date:   Thu Feb 10 16:49:19 UTC 2011

Modified Files:
src/sys/arch/i386/conf: INSTALL

Log Message:
For i386, include MONOLITHIC for INSTALL rather than GENERIC. While here,
remove drm drivers, we don't need them for install.

i386 GENERIC has FFS and ELF support compiled as modules, so we hit
an interesting "chicken-egg" situation when the kernel attempts to mount
a ffs ramdisk, while the module might be contained inside... the ramdisk.


I'm not 100% sure it is worth having FFS and ELF support as modules
in GENERIC.
It may be nice that they CAN be modules, but I suspect 99.99% of systems
will need them.
Anyone who wants them as modules can build a kernel without them.



i strongly agree with this.


Me too.

My "totally modular" kernel config file contains

...
no options  EXEC_ELF64
no options  EXEC_SCRIPT
no options  COREDUMP
no options  AIO
no options  MQUEUE
...

Not hard to type, not hard to maintain.


-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |  | pgoyette at netbsd.org  |
-


re: CVS commit: src/sys/arch/i386/conf

2011-02-10 Thread matthew green

> > Module Name:src
> > Committed By:   jym
> > Date:   Thu Feb 10 16:49:19 UTC 2011
> > 
> > Modified Files:
> > src/sys/arch/i386/conf: INSTALL
> > 
> > Log Message:
> > For i386, include MONOLITHIC for INSTALL rather than GENERIC. While here,
> > remove drm drivers, we don't need them for install.
> > 
> > i386 GENERIC has FFS and ELF support compiled as modules, so we hit
> > an interesting "chicken-egg" situation when the kernel attempts to mount
> > a ffs ramdisk, while the module might be contained inside... the ramdisk.
> 
> I'm not 100% sure it is worth having FFS and ELF support as modules
> in GENERIC.
> It may be nice that they CAN be modules, but I suspect 99.99% of systems
> will need them.
> Anyone who wants them as modules can build a kernel without them.


i strongly agree with this.


Re: CVS commit: src/sys/arch/i386/conf

2011-02-10 Thread Jean-Yves Migeon
On 10.02.2011 22:23, David Laight wrote:
> On Thu, Feb 10, 2011 at 04:49:19PM +, Jean-Yves Migeon wrote:
>> Module Name: src
>> Committed By:jym
>> Date:Thu Feb 10 16:49:19 UTC 2011
>>
>> Modified Files:
>>  src/sys/arch/i386/conf: INSTALL
>>
>> Log Message:
>> For i386, include MONOLITHIC for INSTALL rather than GENERIC. While here,
>> remove drm drivers, we don't need them for install.
>>
>> i386 GENERIC has FFS and ELF support compiled as modules, so we hit
>> an interesting "chicken-egg" situation when the kernel attempts to mount
>> a ffs ramdisk, while the module might be contained inside... the ramdisk.
> 
> I'm not 100% sure it is worth having FFS and ELF support as modules
> in GENERIC.
> It may be nice that they CAN be modules, but I suspect 99.99% of systems
> will need them.
> Anyone who wants them as modules can build a kernel without them.

It's something I mentioned privately with Jared. I think we could come
up with a golden mean for GENERIC kernels: leave most "third party"
drivers/systems as modules, while keeping critical ones included by
default. FFS and ELF come to mind, but there are others too. amd64
GENERIC is close to this.

This would open up the possibility to provide a modular kernel, without
going the "all or nothing" MONOLITHIC way (and avoid many complaints
like "I just replaced my kernel for testing, and it returns an error
when attempting to mount / or exec init").

BTW, I wonder whether modules shouldn't be part of the kern-GENERIC.tgz
set. But this is an orthogonal issue.

-- 
Jean-Yves Migeon
jeanyves.mig...@free.fr


Re: CVS commit: src/sys/arch/i386/conf

2011-02-10 Thread David Laight
On Thu, Feb 10, 2011 at 04:49:19PM +, Jean-Yves Migeon wrote:
> Module Name:  src
> Committed By: jym
> Date: Thu Feb 10 16:49:19 UTC 2011
> 
> Modified Files:
>   src/sys/arch/i386/conf: INSTALL
> 
> Log Message:
> For i386, include MONOLITHIC for INSTALL rather than GENERIC. While here,
> remove drm drivers, we don't need them for install.
> 
> i386 GENERIC has FFS and ELF support compiled as modules, so we hit
> an interesting "chicken-egg" situation when the kernel attempts to mount
> a ffs ramdisk, while the module might be contained inside... the ramdisk.

I'm not 100% sure it is worth having FFS and ELF support as modules
in GENERIC.
It may be nice that they CAN be modules, but I suspect 99.99% of systems
will need them.
Anyone who wants them as modules can build a kernel without them.

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: src/sys/arch/i386/conf

2010-08-08 Thread Quentin Garnier
On Sun, Aug 08, 2010 at 08:04:54PM +, Chuck Silvers wrote:
[...]
> @@ -740,6 +740,10 @@
>  spdmem* at iic? addr 0x51
>  spdmem* at iic? addr 0x52
>  spdmem* at iic? addr 0x53
> +spdmem* at iic? addr 0x54
> +spdmem* at iic? addr 0x55
> +spdmem* at iic? addr 0x56
> +spdmem* at iic? addr 0x57
>  sdtemp* at iic? addr 0x18

You know, having more than one instance of any given attachment of a
device in ALL is actually pointless:  it doesn't change what gets
compiled, and ALL is only a way to test compilation of as much of the
kernel as possible.

Not that it hurts in any way;  it just doesn't change anything.

(The "se" part of your commit was, of course, not pointless at all!)

-- 
Quentin Garnier - c...@cubidou.net - c...@netbsd.org
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.


pgpDSs1DLvt2D.pgp
Description: PGP signature


CVS commit: src/sys/arch/i386/conf

2010-03-08 Thread Hubert Feyrer
Module Name:src
Committed By:   hubertf
Date:   Mon Mar  8 22:51:52 UTC 2010

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Add etherip(4), commented out


To generate a diff of this commit:
cvs rdiff -u -r1.973 -r1.974 src/sys/arch/i386/conf/GENERIC

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.973 src/sys/arch/i386/conf/GENERIC:1.974
--- src/sys/arch/i386/conf/GENERIC:1.973	Sat Mar  6 21:12:04 2010
+++ src/sys/arch/i386/conf/GENERIC	Mon Mar  8 22:51:52 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.973 2010/03/06 21:12:04 plunky Exp $
+# $NetBSD: GENERIC,v 1.974 2010/03/08 22:51:52 hubertf Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.973 $"
+#ident 		"GENERIC-$Revision: 1.974 $"
 
 maxusers	64		# estimated number of users
 
@@ -1534,6 +1534,7 @@
 pseudo-device	agr			# IEEE 802.3ad link aggregation
 #pseudo-device	pf			# PF packet filter
 #pseudo-device	pflog			# PF log if
+#pseudo-device 	etherip 		# Tunnel Ethernet over IP
 # srt is EXPERIMENTAL
 #pseudo-device	srt			# source-address-based routing
 



CVS commit: src/sys/arch/i386/conf

2010-03-08 Thread Hubert Feyrer
Module Name:src
Committed By:   hubertf
Date:   Mon Mar  8 22:51:52 UTC 2010

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Add etherip(4), commented out


To generate a diff of this commit:
cvs rdiff -u -r1.973 -r1.974 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2010-03-06 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Sat Mar  6 21:12:04 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC XBOX XEN3_DOM0 majors.i386

Log Message:
add uhso(4)


To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.972 -r1.973 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/conf/XBOX
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/majors.i386

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.248 src/sys/arch/i386/conf/ALL:1.249
--- src/sys/arch/i386/conf/ALL:1.248	Thu Mar  4 22:30:57 2010
+++ src/sys/arch/i386/conf/ALL	Sat Mar  6 21:12:04 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.248 2010/03/04 22:30:57 jruoho Exp $
+# $NetBSD: ALL,v 1.249 2010/03/06 21:12:04 plunky Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.248 $"
+#ident 		"ALL-$Revision: 1.249 $"
 
 maxusers	64		# estimated number of users
 
@@ -1200,6 +1200,9 @@
 umodem* at uhub? port ? configuration ?
 ucom*	at umodem?
 
+# Option N.V. Wireless WAN modems
+uhso*	at uhub? port ? configuration ?
+
 # USB Mass Storage
 umass*	at uhub? port ? configuration ? interface ?
 wd*	at umass?

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.972 src/sys/arch/i386/conf/GENERIC:1.973
--- src/sys/arch/i386/conf/GENERIC:1.972	Sat Mar  6 04:28:53 2010
+++ src/sys/arch/i386/conf/GENERIC	Sat Mar  6 21:12:04 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.972 2010/03/06 04:28:53 cnst Exp $
+# $NetBSD: GENERIC,v 1.973 2010/03/06 21:12:04 plunky Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.972 $"
+#ident 		"GENERIC-$Revision: 1.973 $"
 
 maxusers	64		# estimated number of users
 
@@ -1146,6 +1146,9 @@
 umodem* at uhub? port ? configuration ?
 ucom*	at umodem?
 
+# Option N.V. Wireless WAN modems
+uhso*	at uhub? port ? configuration ?
+
 # USB Mass Storage
 umass*	at uhub? port ? configuration ? interface ?
 wd*	at umass?

Index: src/sys/arch/i386/conf/XBOX
diff -u src/sys/arch/i386/conf/XBOX:1.20 src/sys/arch/i386/conf/XBOX:1.21
--- src/sys/arch/i386/conf/XBOX:1.20	Thu Jan  7 18:49:30 2010
+++ src/sys/arch/i386/conf/XBOX	Sat Mar  6 21:12:04 2010
@@ -1,4 +1,4 @@
-# $NetBSD: XBOX,v 1.20 2010/01/07 18:49:30 tnn Exp $
+# $NetBSD: XBOX,v 1.21 2010/03/06 21:12:04 plunky Exp $
 #
 # XBOX -- A basic Microsoft XBox kernel config file.
 #
@@ -203,6 +203,9 @@
 umodem* at uhub? port ? configuration ?
 ucom*	at umodem?
 
+# Option N.V. Wireless WAN modems
+uhso*	at uhub? port ? configuration ?
+
 # USB Mass Storage
 umass*	at uhub? port ? configuration ? interface ?
 wd*	at umass?

Index: src/sys/arch/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.30 src/sys/arch/i386/conf/XEN3_DOM0:1.31
--- src/sys/arch/i386/conf/XEN3_DOM0:1.30	Sat Mar  6 04:33:24 2010
+++ src/sys/arch/i386/conf/XEN3_DOM0	Sat Mar  6 21:12:04 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3_DOM0,v 1.30 2010/03/06 04:33:24 cnst Exp $
+#	$NetBSD: XEN3_DOM0,v 1.31 2010/03/06 21:12:04 plunky Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -555,6 +555,9 @@
 umodem* at uhub? port ? configuration ?
 ucom*   at umodem?
 
+# Option N.V. Wireless WAN modems
+uhso*	at uhub? port ? configuration ?
+
 # USB Mass Storage
 umass*  at uhub? port ? configuration ? interface ?
 wd* at umass?

Index: src/sys/arch/i386/conf/majors.i386
diff -u src/sys/arch/i386/conf/majors.i386:1.37 src/sys/arch/i386/conf/majors.i386:1.38
--- src/sys/arch/i386/conf/majors.i386:1.37	Wed Nov 12 12:36:02 2008
+++ src/sys/arch/i386/conf/majors.i386	Sat Mar  6 21:12:04 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: majors.i386,v 1.37 2008/11/12 12:36:02 ad Exp $
+#	$NetBSD: majors.i386,v 1.38 2010/03/06 21:12:04 plunky Exp $
 #
 # Device majors for i386
 #
@@ -104,6 +104,7 @@
 device-major	rd		char 105 block 22	rd
 device-major	ct		char 106 block 23	ct
 device-major	mt		char 107 block 24	mt
+device-major	uhso		char 108		uhso
 
 #
 # Device majors for Xen. These are assigned here so that:



CVS commit: src/sys/arch/i386/conf

2010-03-06 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Sat Mar  6 21:12:04 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC XBOX XEN3_DOM0 majors.i386

Log Message:
add uhso(4)


To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.972 -r1.973 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/conf/XBOX
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/majors.i386

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



CVS commit: src/sys/arch/i386/conf

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 04:33:24 UTC 2010

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0

Log Message:
no reason to be excluding aibs(4) from i386 XEN3_DOM0 if we include it in 
amd64;  ok pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/i386/conf/XEN3_DOM0

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/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.29 src/sys/arch/i386/conf/XEN3_DOM0:1.30
--- src/sys/arch/i386/conf/XEN3_DOM0:1.29	Sun Feb 21 05:16:29 2010
+++ src/sys/arch/i386/conf/XEN3_DOM0	Sat Mar  6 04:33:24 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3_DOM0,v 1.29 2010/02/21 05:16:29 cnst Exp $
+#	$NetBSD: XEN3_DOM0,v 1.30 2010/03/06 04:33:24 cnst Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -837,5 +837,5 @@
 acpiec* 	at acpi?		# ACPI Embedded Controller (late binding)
 acpiecdt* 	at acpi?		# ACPI Embedded Controller (early binding)
 acpilid* 	at acpi?		# ACPI Lid Switch
+aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
 hpqlb*		at acpi?		# HP Quick Launch Buttons
- 



CVS commit: src/sys/arch/i386/conf

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 04:33:24 UTC 2010

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0

Log Message:
no reason to be excluding aibs(4) from i386 XEN3_DOM0 if we include it in 
amd64;  ok pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/i386/conf/XEN3_DOM0

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



CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar  4 22:30:57 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove ACPI_BUT_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.247 src/sys/arch/i386/conf/ALL:1.248
--- src/sys/arch/i386/conf/ALL:1.247	Thu Mar  4 21:55:32 2010
+++ src/sys/arch/i386/conf/ALL	Thu Mar  4 22:30:57 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.247 2010/03/04 21:55:32 jruoho Exp $
+# $NetBSD: ALL,v 1.248 2010/03/04 22:30:57 jruoho Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.247 $"
+#ident 		"ALL-$Revision: 1.248 $"
 
 maxusers	64		# estimated number of users
 
@@ -1758,7 +1758,6 @@
 options AC97_DEBUG
 options AC97_IO_DEBUG
 options ACPI_APM_DEBUG
-options ACPI_BUT_DEBUG
 #
 # ACPI_DEBUG_ALLOC can not be used with ACPI
 # kernel modules. It requires also ACPI_DEBUG.



CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar  4 22:30:57 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove ACPI_BUT_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar  4 21:55:32 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
VALD_ACPI_DEBUG is dead.


To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.246 src/sys/arch/i386/conf/ALL:1.247
--- src/sys/arch/i386/conf/ALL:1.246	Thu Mar  4 21:47:58 2010
+++ src/sys/arch/i386/conf/ALL	Thu Mar  4 21:55:32 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.246 2010/03/04 21:47:58 jruoho Exp $
+# $NetBSD: ALL,v 1.247 2010/03/04 21:55:32 jruoho Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.246 $"
+#ident 		"ALL-$Revision: 1.247 $"
 
 maxusers	64		# estimated number of users
 
@@ -2317,7 +2317,6 @@
 options UVIDEO_DEBUG
 options UVISOR_DEBUG
 options UVSCOM_DEBUG
-options VALD_ACPI_DEBUG
 options VCONS_DEBUG
 options VERYLOWDEBUG
 options VGAFONTDEBUG



CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar  4 21:55:32 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
VALD_ACPI_DEBUG is dead.


To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar  4 21:47:59 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Enable (uncomment) ACPI_DEBUG, ACPI_DEBUG_ALLOC, and ACPI_MUTEX_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.245 -r1.246 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.245 src/sys/arch/i386/conf/ALL:1.246
--- src/sys/arch/i386/conf/ALL:1.245	Wed Mar  3 06:57:53 2010
+++ src/sys/arch/i386/conf/ALL	Thu Mar  4 21:47:58 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.245 2010/03/03 06:57:53 jruoho Exp $
+# $NetBSD: ALL,v 1.246 2010/03/04 21:47:58 jruoho Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.245 $"
+#ident 		"ALL-$Revision: 1.246 $"
 
 maxusers	64		# estimated number of users
 
@@ -1759,16 +1759,16 @@
 options AC97_IO_DEBUG
 options ACPI_APM_DEBUG
 options ACPI_BUT_DEBUG
-
+#
 # ACPI_DEBUG_ALLOC can not be used with ACPI
 # kernel modules. It requires also ACPI_DEBUG.
+# ACPI_DEBUG_MUTEX is only for ACPICA debugging.
 #
-#options ACPI_DEBUG
-#options ACPI_DEBUG_ALLOC
-
+options ACPI_DEBUG
+options ACPI_DEBUG_ALLOC
+options ACPI_MUTEX_DEBUG
 options ACPI_FDC_DEBUG
 options ACPI_MADT_DEBUG
-#options ACPI_MUTEX_DEBUG
 options ADB_DEBUG
 options ADM1030_DEBUG
 options ADT7467_DEBUG



CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar  4 21:47:59 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Enable (uncomment) ACPI_DEBUG, ACPI_DEBUG_ALLOC, and ACPI_MUTEX_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.245 -r1.246 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-03-02 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Mar  3 06:57:54 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove ACPI_EXTRA_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.244 src/sys/arch/i386/conf/ALL:1.245
--- src/sys/arch/i386/conf/ALL:1.244	Sun Feb 28 13:10:43 2010
+++ src/sys/arch/i386/conf/ALL	Wed Mar  3 06:57:53 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.244 2010/02/28 13:10:43 jruoho Exp $
+# $NetBSD: ALL,v 1.245 2010/03/03 06:57:53 jruoho Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.244 $"
+#ident 		"ALL-$Revision: 1.245 $"
 
 maxusers	64		# estimated number of users
 
@@ -1766,7 +1766,6 @@
 #options ACPI_DEBUG
 #options ACPI_DEBUG_ALLOC
 
-options ACPI_EXTRA_DEBUG
 options ACPI_FDC_DEBUG
 options ACPI_MADT_DEBUG
 #options ACPI_MUTEX_DEBUG



CVS commit: src/sys/arch/i386/conf

2010-03-02 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Mar  3 06:57:54 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove ACPI_EXTRA_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-02-28 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Feb 28 13:10:43 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add ACPI_DEBUG_ALLOC.


To generate a diff of this commit:
cvs rdiff -u -r1.243 -r1.244 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.243 src/sys/arch/i386/conf/ALL:1.244
--- src/sys/arch/i386/conf/ALL:1.243	Sun Feb 28 09:24:46 2010
+++ src/sys/arch/i386/conf/ALL	Sun Feb 28 13:10:43 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.243 2010/02/28 09:24:46 jruoho Exp $
+# $NetBSD: ALL,v 1.244 2010/02/28 13:10:43 jruoho Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.243 $"
+#ident 		"ALL-$Revision: 1.244 $"
 
 maxusers	64		# estimated number of users
 
@@ -1759,7 +1759,13 @@
 options AC97_IO_DEBUG
 options ACPI_APM_DEBUG
 options ACPI_BUT_DEBUG
+
+# ACPI_DEBUG_ALLOC can not be used with ACPI
+# kernel modules. It requires also ACPI_DEBUG.
+#
 #options ACPI_DEBUG
+#options ACPI_DEBUG_ALLOC
+
 options ACPI_EXTRA_DEBUG
 options ACPI_FDC_DEBUG
 options ACPI_MADT_DEBUG



CVS commit: src/sys/arch/i386/conf

2010-02-28 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Feb 28 13:10:43 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add ACPI_DEBUG_ALLOC.


To generate a diff of this commit:
cvs rdiff -u -r1.243 -r1.244 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-02-28 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Feb 28 09:24:47 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove ACPI_LID_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.242 -r1.243 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.242 src/sys/arch/i386/conf/ALL:1.243
--- src/sys/arch/i386/conf/ALL:1.242	Mon Feb 22 13:42:04 2010
+++ src/sys/arch/i386/conf/ALL	Sun Feb 28 09:24:46 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.242 2010/02/22 13:42:04 pgoyette Exp $
+# $NetBSD: ALL,v 1.243 2010/02/28 09:24:46 jruoho Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.242 $"
+#ident 		"ALL-$Revision: 1.243 $"
 
 maxusers	64		# estimated number of users
 
@@ -1762,7 +1762,6 @@
 #options ACPI_DEBUG
 options ACPI_EXTRA_DEBUG
 options ACPI_FDC_DEBUG
-options ACPI_LID_DEBUG
 options ACPI_MADT_DEBUG
 #options ACPI_MUTEX_DEBUG
 options ADB_DEBUG



CVS commit: src/sys/arch/i386/conf

2010-02-28 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Feb 28 09:24:47 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove ACPI_LID_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.242 -r1.243 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-02-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Feb 22 17:27:05 UTC 2010

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Forgot to add smscmon here...


To generate a diff of this commit:
cvs rdiff -u -r1.970 -r1.971 src/sys/arch/i386/conf/GENERIC

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.970 src/sys/arch/i386/conf/GENERIC:1.971
--- src/sys/arch/i386/conf/GENERIC:1.970	Mon Feb 22 05:57:10 2010
+++ src/sys/arch/i386/conf/GENERIC	Mon Feb 22 17:27:04 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.970 2010/02/22 05:57:10 ahoka Exp $
+# $NetBSD: GENERIC,v 1.971 2010/02/22 17:27:04 pgoyette Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.970 $"
+#ident 		"GENERIC-$Revision: 1.971 $"
 
 maxusers	64		# estimated number of users
 
@@ -664,6 +664,10 @@
 # SMSC LPC47B397 hardware monitor functions
 #smsc0	at isa? port 0x02e
 
+# SMSC LPC47M192 hardware monitor
+#smscmon*	at iic? addr 0x2c
+#smscmon*	at iic? addr 0x2d	# (alternate address)
+
 # PC87366 hardware monitor
 #nsclpcsio*	at isa?
 #gpio*		at nsclpcsio?



CVS commit: src/sys/arch/i386/conf

2010-02-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Feb 22 17:27:05 UTC 2010

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Forgot to add smscmon here...


To generate a diff of this commit:
cvs rdiff -u -r1.970 -r1.971 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2010-02-21 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Mon Feb 22 05:57:11 UTC 2010

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Mention splash need genfb or radeonfb


To generate a diff of this commit:
cvs rdiff -u -r1.969 -r1.970 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2010-02-21 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Mon Feb 22 05:57:11 UTC 2010

Modified Files:
src/sys/arch/i386/conf: GENERIC

Log Message:
Mention splash need genfb or radeonfb


To generate a diff of this commit:
cvs rdiff -u -r1.969 -r1.970 src/sys/arch/i386/conf/GENERIC

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.969 src/sys/arch/i386/conf/GENERIC:1.970
--- src/sys/arch/i386/conf/GENERIC:1.969	Sun Feb 21 05:16:29 2010
+++ src/sys/arch/i386/conf/GENERIC	Mon Feb 22 05:57:10 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.969 2010/02/21 05:16:29 cnst Exp $
+# $NetBSD: GENERIC,v 1.970 2010/02/22 05:57:10 ahoka Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.969 $"
+#ident 		"GENERIC-$Revision: 1.970 $"
 
 maxusers	64		# estimated number of users
 
@@ -299,7 +299,7 @@
 options 	WSDISPLAY_SCROLLSUPPORT
 # enable VGA raster mode capable of displaying multilingual text on console
 #options 	VGA_RASTERCONSOLE
-# enable splash screen support; requires hw driver support
+# enable splash screen support; requires genfb or radeonfb
 #options 	SPLASHSCREEN
 #options 	SPLASHSCREEN_PROGRESS
 



CVS commit: src/sys/arch/i386/conf

2010-02-21 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Feb 22 04:57:43 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Specify the correct default address for smscmon


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.240 src/sys/arch/i386/conf/ALL:1.241
--- src/sys/arch/i386/conf/ALL:1.240	Mon Feb 22 03:52:06 2010
+++ src/sys/arch/i386/conf/ALL	Mon Feb 22 04:57:43 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.240 2010/02/22 03:52:06 pgoyette Exp $
+# $NetBSD: ALL,v 1.241 2010/02/22 04:57:43 pgoyette Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.240 $"
+#ident 		"ALL-$Revision: 1.241 $"
 
 maxusers	64		# estimated number of users
 
@@ -687,7 +687,7 @@
 lm0	at iic?	addr 0x2e flags 0x0
 
 # SMSC LPC47M192 hardware monitor
-smcsmon*	at iic? addr 0x2e
+smcsmon*	at iic? addr 0x2c
 #smcsmon*	at iic? addr 0x2d	# (alternate address)
 
 pic16lc*	at iic? addr 0x10	# XBOX PIC16LC



CVS commit: src/sys/arch/i386/conf

2010-02-21 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Feb 22 04:57:43 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Specify the correct default address for smscmon


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-02-21 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Feb 22 03:52:06 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add smscmon(4)


To generate a diff of this commit:
cvs rdiff -u -r1.239 -r1.240 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.239 src/sys/arch/i386/conf/ALL:1.240
--- src/sys/arch/i386/conf/ALL:1.239	Sun Feb 21 05:16:29 2010
+++ src/sys/arch/i386/conf/ALL	Mon Feb 22 03:52:06 2010
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.239 2010/02/21 05:16:29 cnst Exp $
+# $NetBSD: ALL,v 1.240 2010/02/22 03:52:06 pgoyette Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.239 $"
+#ident 		"ALL-$Revision: 1.240 $"
 
 maxusers	64		# estimated number of users
 
@@ -686,6 +686,10 @@
 # Use flags to select temp sensor type (see lm(4) man page for details)
 lm0	at iic?	addr 0x2e flags 0x0
 
+# SMSC LPC47M192 hardware monitor
+smcsmon*	at iic? addr 0x2e
+#smcsmon*	at iic? addr 0x2d	# (alternate address)
+
 pic16lc*	at iic? addr 0x10	# XBOX PIC16LC
 xbseeprom*	at iic? addr 0x54	# XBOX serial EEPROM
 



CVS commit: src/sys/arch/i386/conf

2010-02-21 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Feb 22 03:52:06 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add smscmon(4)


To generate a diff of this commit:
cvs rdiff -u -r1.239 -r1.240 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/arch/i386/conf

2010-02-12 Thread Hubert Feyrer
Module Name:src
Committed By:   hubertf
Date:   Fri Feb 12 15:51:16 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
Add PPPOE_SERVER
 - disabled (commented out) in GENERIC,
 - enabled in ALL


To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.967 -r1.968 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2010-02-10 Thread Antoine Reilles
Module Name:src
Committed By:   tonio
Date:   Wed Feb 10 19:54:36 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
Fix typo in TEMPer comment, spotted by Patrick Welche


To generate a diff of this commit:
cvs rdiff -u -r1.236 -r1.237 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.966 -r1.967 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src/sys/arch/i386/conf

2010-02-09 Thread Antoine Reilles
Module Name:src
Committed By:   tonio
Date:   Tue Feb  9 22:44:43 UTC 2010

Modified Files:
src/sys/arch/i386/conf: std.i386

Log Message:
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/i386/conf/std.i386

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



  1   2   >