Subject: Can't get X running.
To: None <port-i386@netbsd.org>
From: Kevin P. Neal <kpneal@pobox.com>
List: port-i386
Date: 08/15/2000 20:48:02
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)

My graphics card is a:
vga1 at pci0 dev 11 function 0: vendor 0x1023 product 0x9660 (rev. 0xd3)
wsdisplay0 at vga1: console (80x25, vt100 emulation)

I have /dev/mem (MAKEDEV), but I don't have /dev/xf86 or /dev/vga. 

Ideas? Thanks.

Full X server output below (and that's all):

XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: December 20 1999
	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/FAQ)
Operating System: NetBSD/i386 1.4ZA [ELF] The NetBSD Foundation, Inc.
Configured drivers:
  SVGA: server for SVGA graphics adaptors (Patchlevel 0):
      NV1, STG2000, RIVA 128, RIVA TNT, RIVA TNT2, RIVA ULTRA TNT2,
      RIVA VANTA, RIVA ULTRA VANTA, RIVA INTEGRATED, GeForce 256,
      GeForce DDR, Quadro, ET4000, ET4000W32, ET4000W32i, ET4000W32i_rev_b,
      ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a, ET4000W32p_rev_b,
      ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, ET6100, et3000, pvga1,
      wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, r128, ati,
      sis86c201, sis86c202, sis86c205, sis86c215, sis86c225, sis5597,
      sis5598, sis6326, sis530, sis620, sis300, sis630, sis540, tvga8200lx,
      tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga8900d, tvga9000,
      tvga9000i, tvga9100b, tvga9200cxr, tgui9400cxi, tgui9420, tgui9420dgi,
      tgui9430dgi, tgui9440agi, cyber9320, tgui9660, tgui9680, tgui9682,
      tgui9685, cyber9382, cyber9385, cyber9388, cyber9397, cyber9520,
      cyber9525, 3dimage975, 3dimage985, cyber9397dvd, blade3d, cyberblade,
      clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430,
      clgd5434, clgd5436, clgd5446, clgd5480, clgd5462, clgd5464, clgd5465,
      clgd6205, clgd6215, clgd6225, clgd6235, clgd7541, clgd7542, clgd7543,
      clgd7548, clgd7555, clgd7556, ncr77c22, ncr77c22e, cpq_avga, mga2064w,
      mga1064sg, mga2164w, mga2164w AGP, mgag200, mgag100, mgag400, oti067,
      oti077, oti087, oti037c, al2101, ali2228, ali2301, ali2302, ali2308,
      ali2401, cl6410, cl6412, cl6420, cl6440, video7, ark1000vl, ark1000pv,
      ark2000pv, ark2000mt, mx, realtek, s3_virge, AP6422, AT24, AT3D,
      s3_svga, NM2070, NM2090, NM2093, NM2097, NM2160, NM2200, ct65520,
      ct65525, ct65530, ct65535, ct65540, ct65545, ct65546, ct65548,
      ct65550, ct65554, ct65555, ct68554, ct69000, ct64200, ct64300,
      mediagx, V1000, V2100, V2200, p9100, spc8110, i740, i740_pci,
      Voodoo Banshee, Voodoo3, smi, generic
Using pcvt driver (version 3.32)
XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "us"
(**) XKB: variant: ""
(**) XKB: options: ""
(**) Mouse: type: Microsoft, device: /dev/tty01, baudrate: 1200
(**) Mouse: buttons: 3
(**) SVGA: Graphics device ID: "Trident Microsystems|TGUI 9660/968x/968x"
(**) SVGA: Monitor ID: "Mitsubishi Diamond Pro 17TX (TFG8705)"
(--) SVGA: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
PCI: Probing config type using method 1
PCI: Config type is 1
PCI: Bus 0x0 Card 0x00 Func 0x0 ID 0x8086,0x1250 Rev 0x01 Class 0x06,0x00
PCI: Bus 0x0 Card 0x07 Func 0x0 ID 0x8086,0x7000 Rev 0x00 Class 0x06,0x01
PCI: Bus 0x0 Card 0x07 Func 0x1 ID 0x8086,0x7010 Rev 0x00 Class 0x01,0x01
PCI: Bus 0x0 Card 0x0a Func 0x0 ID 0x10ec,0x8029 Rev 0x00 Class 0x02,0x00
PCI: Bus 0x0 Card 0x0b Func 0x0 ID 0x1023,0x9660 Rev 0xd3 Class 0x03,0x00
(--) SVGA: PCI: Trident TGUI 96xx rev 211, Memory @ 0xfb800000, MMIO @ 0xfb7f0000
(--) Trident chipset version: 0xd3 (TGUI96xx)
(--) SVGA: BIOS reports Clock Control Bits 0x0
(--) SVGA: Detected a Trident 9680.
(--) SVGA: Revision 1.
(--) SVGA: Using Trident programmable clocks
(--) SVGA: chipset:  tgui9680
(--) SVGA: videoram: 2048k
(**) SVGA: Using 8 bpp, Depth 8, Color weight: 666
(--) SVGA: Maximum allowed dot-clock: 135.000 MHz
(**) SVGA: Mode "1024x768": mode clock = 115.500
(--) SVGA: Virtual resolution set to 1024x768
(--) 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)


When reporting a problem related to a server crash, please send
the full server output, not just the last messages

-- 
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