Subject: Re: Can't get X running.
To: None <port-i386@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: port-i386
Date: 08/16/2000 11:47:43
On 15.08.00, 20:48:02, Kevin P. Neal wrote:
> I'm using a P133 that had Linux running on it before. I'm trying to
> get 1.5_ALPHA running (July 20th snapshot) and for the life of me I
> can't get X to start. 
> 
> Using the XF86_Mono, XF86_VGA16, and XF86_SVGA servers I run as root
> from the command line:
> /usr/X11R6/bin/X -verbose 2>&1 
> 
> I get this error:
> (--) checkDevMem: warning: failed to open /dev/mem and /dev/xf86
>         (No such file or directory)
>         linear framebuffer access unavailable
> 
> Fatal server error:
> xf86MapVidMem: Could not mmap /dev/vga (Invalid argument)

You need either a kernel with the INSECURE option enabled, or the
aperture kernel module to allow the Xserver direct memory access. (in
the latter case you need a kernel with LKM enabled).

The aperture driver is in the pkgsrc under sysutils/aperture

"make install" it and follow the instructions printed to the terminal
after installation.

See also the FAQ at

  http://www.netbsd.org/Ports/i386/faq.html#x_needs_insecure_kernel

> 
> -- 
> Kevin P. Neal                                http://www.pobox.com/~kpn/
>       'Concerns about "rights" and "ownership" of domains are inappropriate.  
>  It is appropriate to be concerned about "responsibilities" and "service" 
>  to the community.' -- RFC 1591, page 4: March 1994
> 

-- 
Bernd Sieker

NetBSD: Stop, Drop, and Load
		-- Andrew Gillham