Subject: problem starting X: Could not mmap /dev/vga
To: None <current-users@netbsd.org>
From: John F. Woods <jfw@jfwhome.funhouse.com>
List: current-users
Date: 08/18/2002 08:52:53
When I try starting up X on my 1.6E system, I get the following failure:
Fatal server error:
xf86MapVidMem: Could not mmap /dev/vga (Invalid argument)
I got that message when trying to reuse my old XF86Config file, as well
as when trying to create a new one with X -configure.
Sure enough, I don't have a /dev/vga, and /dev/MAKEDEV does not know how
to create one. So, what do I need to do to get this working?
I have wscons enabled in my kernel config, and the relevant dmesg lines
at boot time are:
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x7190 (rev. 0x02)
agp0 at pchb0: aperture at 0xe0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x1002 product 0x4742 (rev. 0x5c)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
Full output from X -configure:
XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: NetBSD/i386 1.6E [ELF] The NetBSD Foundation, Inc.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Aug 18 08:43:09 2002
List of video drivers:
atimisc
r128
radeon
mga
glint
nv
tga
s3
s3virge
sis
rendition
neomagic
i740
tdfx
savage
cirrus
vmware
tseng
trident
chips
apm
fbdev
i128
ati
i810
ark
cyrix
siliconmotion
vesa
vga
(++) Using config file: "/root/XF86Config.new"
Fatal server error:
xf86MapVidMem: Could not mmap /dev/vga (Invalid argument)
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.