Subject: port-sun3/4423: sun3 should turn on LKM support by default
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathanw@mit.edu>
List: netbsd-bugs
Date: 11/03/1997 20:42:25
>Number:         4423
>Category:       port-sun3
>Synopsis:       sun3 should turn on LKM support by default
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov  3 17:50:03 1997
>Last-Modified:
>Originator:     Nathan J Williams
>Organization:
	Massachvsetts Institvte of Technology
>Release:        1.3_ALPHA as of October 30, 1997
>Environment:
	
System: NetBSD wile-e-coyote 1.3_ALPHA NetBSD 1.3_ALPHA (WILE-E-COYOTE) #2: Mon Nov 3 06:28:08 EST 1997 nathanw@wile-e-coyote:/u1/var/src/sys/arch/sun3/compile/WILE-E-COYOTE sun3


>Description:
	The GENERIC sun3 kernel has "options LKM" commented out.
There doesn't seem to be any particular reason for this; LKM's work 
as well on the sun3 as on anything else. The sun3, sun3x, and x68k 
ports are the only ports whose GENERIC configs don't include 
"options LKM". 
	For consistency with the other ports, the sun3 GENERIC 
configuration should have "options LKM" enabled. (I don't have 
firsthand experience with lkm's on sun3x or x68k, so I won't recommend
that they be turned on there as well.)

>How-To-Repeat:
	Build GENERIC on a sun3 and notice that your LKMs don't load.
>Fix:

*** src/sys/arch/sun3/conf/GENERIC.orig	Mon Nov  3 20:39:58 1997
--- src/sys/arch/sun3/conf/GENERIC	Mon Nov  3 20:40:11 1997
***************
*** 18,24 ****
  options 	SYSVSEM		# System V semaphores
  options 	SYSVSHM		# System V shared memory
  #options 	SHMMAXPGS=1024	# 1024 pages is the default
! #options 	LKM		# loadable kernel modules
  #options 	INSECURE	# disable kernel security level
  #options 	UCONSOLE	# Allow non-root TIOCCONS
  
--- 18,24 ----
  options 	SYSVSEM		# System V semaphores
  options 	SYSVSHM		# System V shared memory
  #options 	SHMMAXPGS=1024	# 1024 pages is the default
! options 	LKM		# loadable kernel modules
  #options 	INSECURE	# disable kernel security level
  #options 	UCONSOLE	# Allow non-root TIOCCONS
  
>Audit-Trail:
>Unformatted:
The sun3 port should support LKMs by default, like most other ports.