Subject: X Problems...any ideas for me?
To: None <port-macppc@netbsd.org>
From: Greg Evans <greg.evans7@verizon.net>
List: port-macppc
Date: 10/02/2005 19:51:22
Having problems getting gdm to start on my Pismo G3 with what I  
thought was a dead LCD (LCD seems to work as a console when I opened  
the lid..strange enough).  I have the Pismo connected toa a Compaq  
MV540 monitor and have run xf86config, but when I try to start gdm I  
get the following error:

# more /var/log/gdm/:0.log
Unrecognized option: vt05
use: X [:<display>] [option]

...(ton of usage info follows)

I remember on my Sparc box I had to remove the vt05 from the gdm.conf.

startx produces an error and the /var/log/XFree86.0.log shows:

XFree86 Version 4.4.0
Release Date: 29 February 2004
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System:NetBSD/macppc 2.0.2 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD  2.0.2 NetBSD 2.0.2 (GENERIC) #0:  
Tue Mar 22 16
:19:08 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2- 
RELEASE/macpp
c/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/ 
macppc/comp
ile/GENERIC macppc
Build Date: 22 March 2005
         Before reporting problems, check http://www.XFree86.Org/
         to make sure that you have the latest version.
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 Oct  2 09:03:03 2005
(==) Using config file: "/root/XF86Config"
(==) ServerLayout "External Monitor"
(**) |-->Screen "External Screen" (0)
(**) |   |-->Monitor "CompaqMV540"
(**) |   |-->Device "Rage128 External"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Mouse2"
(**) |-->Input Device "Keyboard2"
(**) Option "AutoRepeat" "500 5"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc"
(**) XKB: model: "pc"
(**) Option "XkbOptions" "ctrl:nocaps"
(**) XKB: options: "ctrl:nocaps"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "tcp/localhost:7100,/usr/X11R6/lib/X11/fonts/ 
local/,/usr/X1
1R6/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/fo
nts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/ 
100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "BlankTime" "5"
(**) Option "StandbyTime" "7"
(**) Option "SuspendTime" "10"
(**) Option "OffTime" "15"
(II) Module ABI versions:
         XFree86 ANSI C Emulation: 0.2
         XFree86 Video Driver: 0.7
         XFree86 XInput driver : 0.4
         XFree86 Server Extension : 0.2
         XFree86 Font Renderer : 0.4
(II) Loader running on netbsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         Module class: XFree86 Font Renderer
         ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         ABI class: XFree86 Video Driver, version 0.7
(--) Using wscons driver
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0020 card 0000,0000 rev 00 class  
06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,4c46 card 1002,4c46 rev 02 class  
03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is  
set)
(II) Bus 0 I/O range:
         [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
         [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
         [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI:*(0:16:0) ATI Technologies Inc Rage Mobility M3 AGP 2x rev  
2, Mem @ 0xb
4000000/26, 0xb0000000/14, I/O @ 0x0400/8, BIOS @ 0xb0020000/17
(II) Addressable bus resource ranges are
         [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
         [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
         [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
         [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
         [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
         [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
         [0] -1  0       0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
         [1] -1  0       0xb0000000 - 0xb0003fff (0x4000) MX[B](B)
         [2] -1  0       0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B)
         [3] -1  0       0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
         [0] -1  0       0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
         [1] -1  0       0xb0000000 - 0xb0003fff (0x4000) MX[B](B)
         [2] -1  0       0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B)
         [3] -1  0       0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
         [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
         [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
         [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
         [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
         [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
         [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
         [2] -1  0       0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
         [3] -1  0       0xb0000000 - 0xb0003fff (0x4000) MX[B](B)
         [4] -1  0       0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B)
         [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
         [6] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
         [7] -1  0       0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         Module class: XFree86 Server Extension
         ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         Module class: XFree86 Server Extension
         ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 4.0.1
         Module class: XFree86 Video Driver
         ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 6.5.6
         Module class: XFree86 Video Driver
         ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         Module class: XFree86 XInput Driver
         ABI class: XFree86 XInput driver, version 0.4
(II) ATI: ATI driver (version 6.5.6) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
         ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3  
LF (AGP),
         ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4  
ML (AGP),
         ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB  
(PCI/AGP),
         ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
         ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
         ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH  
(PCI/AGP),
         ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ  
(PCI/AGP),
         ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL  
(PCI/AGP),
         ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN  
(PCI/AGP),
         ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
         ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
         ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT  
(PCI/AGP),
         ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV  
(PCI/AGP),
         ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX  
(PCI/AGP),
         ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
         ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
         ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
         ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
         ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
         ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
         ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
         ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR  
(AGP),
         ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT  
(AGP?),
         ATI Rage 128 Pro ULTRA TU (AGP?)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
         ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
         ATI Radeon VE/7000 QY (AGP/PCI), ATI Radeon VE/7000 QZ (AGP/ 
PCI),
         ATI Radeon Mobility M7 LW (AGP),
         ATI Mobility FireGL 7800 M7 LX (AGP),
         ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ  
(AGP),
         ATI Radeon IGP320 (A3) 4136, ATI Radeon IGP320M (U1) 4336,
         ATI Radeon IGP330/340/350 (A4) 4137,
         ATI Radeon IGP330M/340M/350M (U2) 4337,
         ATI Radeon 7000 IGP (A4+) 4237, ATI Radeon Mobility 7000 IGP  
4437,
         ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
         ATI Radeon 9100 QM (AGP), ATI Radeon 8500 AIW BB (AGP),
         ATI Radeon 8500 AIW BC (AGP), ATI Radeon 7500 QW (AGP/PCI),
         ATI Radeon 7500 QX (AGP/PCI), ATI Radeon 9000/PRO If (AGP/PCI),
         ATI Radeon 9000 Ig (AGP/PCI), ATI FireGL Mobility 9000 (M9)  
Ld (AGP),
         ATI Radeon Mobility 9000 (M9) Lf (AGP),
         ATI Radeon Mobility 9000 (M9) Lg (AGP),
         ATI Radeon 9100 IGP (A5) 5834,
         ATI Radeon Mobility 9100 IGP (U3) 5835,
         ATI Radeon 9200PRO 5960 (AGP), ATI Radeon 9200 5961 (AGP),
         ATI Radeon 9200 5962 (AGP), ATI Radeon 9200SE 5964 (AGP),
         ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
         ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), ATI Radeon 9500  
AD (AGP),
         ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
         ATI FireGL Z1 AG (AGP), ATI Radeon 9700 Pro ND (AGP),
         ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9700 NF (AGP),
         ATI FireGL X1 NG (AGP), ATI Radeon 9600 AP (AGP),
         ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
         ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP),
         ATI FireGL RV360 AV (AGP), ATI Radeon Mobility 9600 (M10) NP  
(AGP),
         ATI Radeon Mobility 9600 (M10) NQ (AGP),
         ATI Radeon Mobility 9600 (M11) NR (AGP),
         ATI Radeon Mobility 9600 (M10) NS (AGP),
         ATI FireGL Mobility T2 (M10) NT (AGP),
         ATI FireGL Mobility T2 (M11) NV (AGP), ATI Radeon 9800SE AH  
(AGP),
         ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
         ATI FireGL X2 AK (AGP), ATI Radeon 9800PRO NH (AGP),
         ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP),
         ATI Radeon 9800XT NJ (AGP)
(II) Primary Device is: PCI 00:10:0
(--) Chipset ATI Rage 128 Mobility M3 LF (AGP) found
(II) Loading sub module "r128"
(II) LoadModule: "r128"
(II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) resource ranges after xf86ClaimFixedResources() call:
         [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
         [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
         [2] -1  0       0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
         [3] -1  0       0xb0000000 - 0xb0003fff (0x4000) MX[B](B)
         [4] -1  0       0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B)
         [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
         [6] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
         [7] -1  0       0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) resource ranges after probing:
         [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
         [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
         [2] -1  0       0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
         [3] -1  0       0xb0000000 - 0xb0003fff (0x4000) MX[B](B)
         [4] -1  0       0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B)
         [5] 0   0       0x000a0000 - 0x000affff (0x10000) MS[B]
         [6] 0   0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
         [7] 0   0       0x000b8000 - 0x000bffff (0x8000) MS[B]
         [8] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
         [9] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
         [10] -1 0       0x00000400 - 0x000004ff (0x100) IX[B](B)
         [11] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
         [12] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 0.1.0
         ABI class: XFree86 Video Driver, version 0.7
(II) R128(0): PCI bus 0 card 16 func 0
(**) R128(0): Depth 16, (--) framebuffer bpp 16
(II) R128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) R128(0): Default visual is TrueColor
(==) R128(0): RGB weight 565
(II) R128(0): Using 6 bits per RGB (8 bit DAC)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
         compiled for 4.4.0, module version = 1.0.0
         ABI class: XFree86 Video Driver, version 0.7
(II) R128(0): initializing int10

Fatal server error:
xf86MapVidMem: could not mmap screen [s=20000,a=a0000] (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.