Subject: Debugging XF 4.1 on Cube
To: None <port-macppc@netbsd.org>
From: Paul B. Lorah <paul@macmaverick.net>
List: port-macppc
Date: 10/04/2001 19:42:06
Hi All-

After having trouble with Charles's new set of diffs for XF 4.1, I
decided to go back to the original ones and tried his mem to kmem hack. 
It built, and does not crash my cube.

The output from XFree86 is a little bizarre however, could someone help
me figure out if something is wrong with my configuration?  Thanks!

Note: an added complication is that my cube has a RADEON card...

Output
-------

XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
	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)
Build Operating System: NetBSD/macppc 1.5X [ELF] The NetBSD Foundation, Inc.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Oct  4 17:33:46 2001
(==) Using config file: "/etc/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Main Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "Radeon"
(**) |-->Input Device "Mouse 1"
(**) |-->Input Device "Keyboard 1"
(**) Keyboard: Protocol: wskbd
(**) XKB: rules: "xfree86"
(**) XKB: model: "macintosh_usb"
(**) XKB: layout: "us"
(**) XKB: variant: "us"
(**) 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/CID/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(--) Using wscons driver
xf86OpenConsole
(--) PCI: (0:16:0) ATI Radeon QD rev 0, Mem @ 0x98000000/27,
0x90080000/19, I/O @ 0x0400/8, BIOS @ 0x90000000/17
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400
(II) GLINT: driver for 3Dlabs chipsets: gamma, ti_pm2, ti_pm, pm3, pm2v,
	pm2, pm, 300sx, 500tx, mx, delta
(II) S3VIRGE: driver (version 1.6.0) for S3 ViRGE chipsets: virge, 86C325,
	virge vx, 86C988, virge dx, virge gx, 86C375, 86C385, virge gx2,
	86C357, virge mx, 86C260, virge mx+, 86C280, trio 3d, 86C365,
	trio 3d/2x, 86C362, 86C368
(II) SIS: driver for SiS chipsets: SIS5597, SIS5598, SIS530, SIS6326,
	SIS300, SIS630, SIS540
(II) SAVAGE: driver (version 1.1.16) for S3 Savage chipsets: Savage4,
	Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,
	Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133, Twister,
	TwisterK
(II) TRIDENT: driver for Trident chipsets: tvga8900d, cyber9320, cyber9388,
	cyber9397, cyber9397dvd, cyber9520, cyber9525dvd, cyberblade/e4,
	tgui9420dgi, tgui9440agi, tgui9660, tgui9680, providia9682,
	providia9685, cyber9382, cyber9385, 3dimage975, 3dimage985, blade3d,
	cyberbladei7, cyberbladei7d, cyberbladei1, cyberbladei1d,
	cyberbladeAi1, cyberbladeAi1d, cyberbladeXP, cyberbladeXPm
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520, ct65525,
	ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
	ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(II) TDFX: Driver for 3dfx Banshee/Voodoo3 chipsets: 3dfx Banshee,
	3dfx Voodoo3, 3dfx Voodoo5
(II) FBDev: driver for framebuffer: fbdev, afb
(II) VGA: Generic VGA driver (version 4.0) for chipsets: generic
(II) ATI: ATI driver (version 6.3.6) for chipsets: ati
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
	ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
	ATI Rage 128 RL (AGP), ATI Rage 128 Pro PD (PCI),
	ATI Rage 128 Pro PF (AGP), ATI Rage 128 Mobility LE (PCI),
	ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP),
	ATI Rage 128 Mobility ML (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 (AGP)
(--) Chipset ATI Radeon QD (AGP) found
(II) RADEON(0): PCI bus 0 card 16 func 0
(**) RADEON(0): Depth 16, (--) framebuffer bpp 16
(II) RADEON(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(==) RADEON(0): RGB weight 565
(II) RADEON(0): Using 6 bits per RGB (8 bit DAC)
(II) RADEON(0): initializing int10
mapVidMem a0000, 20000, fd = 5
(WW) RADEON(0): Unable to retrieve all of segment 0x0C0000.
(EE) RADEON(0): Cannot read V_BIOS (5)
(--) RADEON(0): Chipset: "ATI Radeon QD (AGP)" (ChipID = 0x5144)
(--) RADEON(0): Linear framebuffer at 0x98000000
(--) RADEON(0): MMIO registers at 0x90080000
(--) RADEON(0): BIOS at 0x90000000
mapVidMem 90080000, 80000, fd = 5
(--) RADEON(0): VideoRAM: 32768 kByte (64-bit DDR SDRAM)
(WW) RADEON(0): Video BIOS not detected in PCI space!
(WW) RADEON(0): Attempting to read Video BIOS from legacy ISA space!
(WW) RADEON(0): Video BIOS not found!
(II) RADEON(0): PLL parameters: rf=61440 rd=0 min=-11210752 max=61440; xclk=0
(II) RADEON(0): initializing int10
mapVidMem a0000, 20000, fd = 5
(WW) RADEON(0): Unable to retrieve all of segment 0x0C0000.
(EE) RADEON(0): Cannot read V_BIOS (5)
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEON(0): Generic Monitor: Using hsync range of 27.00-82.00 kHz
(II) RADEON(0): Generic Monitor: Using vrefresh range of 50.00-90.00 Hz
(II) RADEON(0): Clock range: -11210.75 to 614.40 MHz
(II) RADEON(0): Not using default mode "1280x960" (hsync out of range)
(II) RADEON(0): Not using default mode "1280x1024" (hsync out of range)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "1600x1200" (hsync out of range)
(II) RADEON(0): Not using default mode "1792x1344" (hsync out of range)
(II) RADEON(0): Not using default mode "1792x1344" (hsync out of range)
(II) RADEON(0): Not using default mode "1856x1392" (hsync out of range)
(II) RADEON(0): Not using default mode "1856x1392" (hsync out of range)
(II) RADEON(0): Not using default mode "1920x1440" (hsync out of range)
(II) RADEON(0): Not using default mode "1920x1440" (hsync out of range)
(II) RADEON(0): Not using mode "1152x900" (no mode of this name)
(--) RADEON(0): Virtual size is 1280x1024 (pitch 1280)
(**) RADEON(0): Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) RADEON(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(**) RADEON(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(**) RADEON(0): Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(==) RADEON(0): DPI set to (75, 75)
mapVidMem 90080000, 80000, fd = 5
mapVidMem 98000000, 2000000, fd = 5
(WW) RADEON(0): Cannot read colourmap from VGA.  Will restore with default
mapVidMem a0000, 10000, fd = 5
(EE) RADEON(0): (Ron = 15872) + (Rloop = 16) >= (Roff = 0)

Fatal server error:
AddScreen/ScreenInit failed for driver 0


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.

X connection to :0.0 broken (explicit kill or server shutdown).



Paul Lorah

-- 
#=#=#=#=#=#=
Paul B. Lorah
MacMaverick(SM), Inc.
Mac OS Consulting & Internet Design Services
http://www.macmaverick.net