Subject: xsrc/16072: Enable XFree86 aperture driver support by default on i386
To: None <gnats-bugs@netbsd.org>
From: Stephen Ma <stephenm@employees.org>
List: netbsd-bugs
Date: 03/26/2002 14:51:34
>Number:         16072
>Category:       xsrc
>Synopsis:       Enable XFree86 aperture driver support by default on i386
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 26 14:52:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Ma
>Release:        NetBSD/i386-current 20020324
>Organization:
	People's Front for the correct spelling of the word "Organisation"
>Environment:
System: NetBSD khemlani.nowhere.org 1.5ZC NetBSD 1.5ZC (KHEMLANI) #3: Mon Mar 25 11:26:47 PST 2002 stephenm@khemlani.nowhere.org:/usr/src/sys/arch/i386/compile/KHEMLANI i386
Architecture: i386
Machine: i386
>Description:
The default XFree86 config for NetBSD/i386 doesn't include the
aperture driver support. The aperture support is required for many
XFree86 video drivers when running on non-INSECURE kernels.
>How-To-Repeat:
Build XFree86 server from xsrc without any site.cf
customisations. Install aperture lkm. Start xserver. XFree86 spits out
the following warning:  

  (WW) checkDevMem: failed to open /dev/mem (Operation not permitted)

instead of the message:

  (II) checkDevMem: using aperture driver /dev/xf86

>Fix:
Note that this change only includes the aperture driver support in the
X server. The actual driver LKM build and install still needs to be
done separately.

--- /v1/netbsd/xsrc/xfree/xc/config/cf/NetBSD.cf	Sun Jan 20 11:38:38 2002
+++ ./NetBSD.cf	Tue Mar 26 14:15:05 2002
@@ -346,5 +346,5 @@
 #if defined(i386Architecture)
 # ifndef HasNetBSDApertureDriver
-#  define HasNetBSDApertureDriver	NO
+#  define HasNetBSDApertureDriver	YES
    /* Where the aperture driver is installed */
 #  ifndef NetBSDApertureDir


>Release-Note:
>Audit-Trail:
>Unformatted: