Subject: xsrc/13616: XFree86 4.1.0 (xsrc) does not use the aperture driver
To: None <gnats-bugs@gnats.netbsd.org>
From: None <si006@ccm.gs.niigata-u.ac.jp>
List: netbsd-bugs
Date: 08/01/2001 18:56:05
>Number:         13616
>Category:       xsrc
>Synopsis:       XFree86 4.1.0 (xsrc) does not use the aperture driver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 01 18:53:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Shun SUZUKI
>Release:        2001/7/28 (in Japan)
>Organization:
Graduate School of Science and Technology Niigata University
>Environment:
System: NetBSD jormungand 1.5X NetBSD 1.5X (JORMUNGAND) #11: Sun Jul 29 23:13:17
 JST 2001 root@jormungand:/home10/src/sys/arch/i386/compile/JORMUNGAND i386
Architecture: i386
Machine: i386

CPU:    intel Pentium II 400
graphic board:  Matrox G200
mother board:   FIC Products - 1stMainboard VB-601-V

>Description:
XFree86 4.1.0 compiled from xsrc does not use aperture driver pkg.
The checkDevMem prtocess does not probe /dev/xf86.
In 4.0.3 xsrc probes /dev/xf86 as follows.

before (4.0.3)
>How-To-Repeat:
Install pkgsrc/misc/aperture and add the following line to the /etc/lkm.conf,

/usr/pkg/lkm/xf86.o     -       -       /usr/pkg/lkm/xf86_mod_install   xf86    
AFTERMOUNT

and boot from the kernel without INSECURE option.

You should use a graphic board which require the linear access to the display
memory such as the Matrox G200 (I use this one).

>Fix:
Unfortunately, I don't understand what is wrong...

>Release-Note:
>Audit-Trail:
>Unformatted:
 >(II) checkDevMem: using aperture driver /dev/xf86
 after (4.1.0)
 >(WW) checkDevMem: failed to open /dev/mem (Operation not permitted)
 
 Then X cannot work.
 
 >Fatal server error:
 >xf86MapVidMem: Address 0xe4000000 outside allowable range