Subject: Ati Rage IIc: could not be detected?
To: None <port-sparc64@netbsd.org>
From: Florian Stoehr <netbsd@wolfnode.de>
List: port-sparc64
Date: 07/29/2005 19:47:49
Hi,

I'm trying to get X running on a Netra-AX1105-500 (about Blade 100).

I put an ATI Rage IIc PCI adapter in the box. Console works fine, here's 
the dmesg:

machfb0 at pci2 dev 5 function 0: ATI Technologies 3D Rage IIC (rev. 0x3a)
machfb0: 8 MB aperture at 0x01000000, 4 KB registers at 0x00002000
machfb0: 4096 KB EDO DRAM 94.585 MHz, maximum RAMDAC clock 230 MHz
machfb0: initial resolution 1024x768 at 8 bpp
wsdisplay0 at machfb0 kbdmux 1: console (default, sun emulation)

However, X fails to talk to pci2 dev 5. I'm not familiar with this sparc64 
stuff yet, sorry, but shouldn't it talk to machfb? Hm. Currently, my X is 
set to use the ati driver.

Here's my X error log.

Thanks for a solution to this!
-Florian


XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/sparc64 3.99.7 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD sparky.net.flo 3.99.7 NetBSD 3.99.7 
(SPARKY) #0: Mon Jul 25 23:43:08 CEST 2005 
flo@sparky.net.flo:/sys/arch/sparc64/compile/SPARKY sparc64
Build Date: 20 July 2005
 	Before reporting problems, check http://www.XFree86.Org/
 	to make sure that you have the latest version.
Module Loader present
Command line: X -configure
Markers: (--) probed, (**) from config file, (==) default setting,
 	(++) from command line, (!!) notice, (EE) error, (WW) warning,
 	(II) informational, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Jul 29 19:30:51 2005
(II) Module ABI versions:
 	XFree86 ANSI C Emulation: 0.3
 	XFree86 Video Driver: 0.8
 	XFree86 XInput driver : 0.5
 	XFree86 Server Extension : 0.3
 	XFree86 Font Renderer : 0.5
(II) Loader running on netbsd
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Font Renderer
 	ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Bitmap
(--) Using wscons driver
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:01:0: chip 108e,5000 card 0000,0000 rev 13 class 06,04,00 hdr 
81
(II) PCI: 00:01:1: chip 108e,5000 card 0000,0000 rev 13 class 06,04,00 hdr 
81
(II) PCI: 01:03:0: chip 10b9,7101 card 0000,0000 rev 00 class 00,00,00 hdr 
00
(II) PCI: 01:07:0: chip 10b9,1533 card 10b9,1533 rev 00 class 06,01,00 hdr 
00
(II) PCI: 01:0c:0: chip 108e,1100 card 0000,0000 rev 01 class 06,80,00 hdr 
80
(II) PCI: 01:0c:1: chip 108e,1101 card 0000,0000 rev 01 class 02,00,00 hdr 
80
(II) PCI: 01:0c:3: chip 108e,1103 card 0000,0000 rev 01 class 0c,03,10 hdr 
80
(II) PCI: 01:0d:0: chip 10b9,5229 card 0000,0000 rev c3 class 01,01,ff hdr 
00
(II) PCI: 02:05:0: chip 1002,4756 card 1002,0088 rev 3a class 03,00,00 hdr 
00
(II) PCI: 02:06:0: chip 13f6,0111 card 13f6,0111 rev 10 class 04,01,00 hdr 
00
(II) PCI: 02:07:0: chip 1033,0035 card 1033,0035 rev 43 class 0c,03,10 hdr 
80
(II) PCI: 02:07:1: chip 1033,0035 card 1033,0035 rev 43 class 0c,03,10 hdr 
00
(II) PCI: 02:07:2: chip 1033,00e0 card 1838,1074 rev 04 class 0c,03,20 hdr 
00
(II) PCI: End of PCI scan
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:1:0), (0,2,255), BCTRL: 0x0002 (VGA_EN is 
cleared)
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:1), (0,1,1), BCTRL: 0x0002 (VGA_EN is 
cleared)
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (1:7:0), (1,-1,-1), BCTRL: 0x0008 (VGA_EN is 
set)
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
 	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) Bus 0 non-prefetchable memory range:
 	[0] -1	0	0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Bus 0 prefetchable memory range:
 	[0] -1	0	0x80000000 - 0xffffffff (0x80000000) MX[B]
(--) PCI: (2:5:0) ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] 
rev 58, Mem @ 0x01000000/24, 0x00002000/12, I/O @ 0xc00000/8, BIOS @ 
0x00020000/17
List of video drivers:
 	atimisc
 	suncg14
 	r128
 	radeon
 	sunbw2
 	suncg3
 	suncg6
 	sunffb
 	sunleo
 	suntcx
 	ati
(II) LoadModule: "atimisc"
(II) Loading /usr/X11R6/lib/modules/drivers/atimisc_drv.o
(II) Module atimisc: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 6.5.12
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "suncg14"
(II) Loading /usr/X11R6/lib/modules/drivers/suncg14_drv.o
(II) Module suncg14: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 4.0.1
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "radeon"
(II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) Module radeon: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 4.0.1
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "sunbw2"
(II) Loading /usr/X11R6/lib/modules/drivers/sunbw2_drv.o
(II) Module sunbw2: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "suncg3"
(II) Loading /usr/X11R6/lib/modules/drivers/suncg3_drv.o
(II) Module suncg3: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "suncg6"
(II) Loading /usr/X11R6/lib/modules/drivers/suncg6_drv.o
(II) Module suncg6: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "sunffb"
(II) Loading /usr/X11R6/lib/modules/drivers/sunffb_drv.o
(II) Module sunffb: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "sunleo"
(II) Loading /usr/X11R6/lib/modules/drivers/sunleo_drv.o
(II) Module sunleo: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "suntcx"
(II) Loading /usr/X11R6/lib/modules/drivers/suntcx_drv.o
(II) Module suntcx: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 1.0.0
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
 	compiled for 4.5.0, module version = 6.5.12
 	Module class: XFree86 Video Driver
 	ABI class: XFree86 Video Driver, version 0.8
(II) Addressable bus resource ranges are
 	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) MX[B]
 	[1] -1	0	0x00000000 - 0xffffffff (0x100000000) 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	0x000c0000 - 0x000effff (0x30000) MX[B]
 	[3] -1	0	0xffffffff - 0xffffffff (0x1) IX[B]
 	[4] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
 	[0] -1	0	0x00008000 - 0x0000ffff (0x8000) MX[B]E
 	[1] -1	0	0x00006000 - 0x00007fff (0x2000) MX[B]E
 	[2] -1	0	0x00004000 - 0x00007fff (0x4000) MX[B]E
 	[3] -1	0	0xe2000000 - 0xe3ffffff (0x2000000) MX[B]E
 	[4] -1	0	0xe0400000 - 0xe07fffff (0x400000) MX[B]E
 	[5] -1	0	0xf1000000 - 0xf1ffffff (0x1000000) MX[B]E
 	[6] -1	0	0xf0000000 - 0xffffffff (0x10000000) MX[B]E
 	[7] -1	0	0x00020000 - 0x0003ffff (0x20000) MX[B](B)
 	[8] -1	0	0x00002000 - 0x00002fff (0x1000) MX[B](B)
 	[9] -1	0	0x01000000 - 0x01ffffff (0x1000000) MX[B](B)
 	[10] -1	0	0x00000100 - 0x000001ff (0x100) IX[B]E
 	[11] -1	0	0x00000420 - 0x0000043f (0x20) IX[B]E
 	[12] -1	0	0x00000408 - 0x0000040f (0x8) IX[B]E
 	[13] -1	0	0x00000410 - 0x0000041f (0x10) IX[B]E
 	[14] -1	0	0x00000418 - 0x0000041f (0x8) IX[B]E
 	[15] -1	0	0x00000400 - 0x000004ff (0x100) IX[B]E
 	[16] -1	0	0x00c00000 - 0x00c000ff (0x100) IX[B](B)
(II) PCI Memory resource overlap reduced 0x00004000 from 0x00007fff to 
0x00005fff
(II) PCI I/O resource overlap reduced 0x00000410 from 0x0000041f to 
0x00000417
(II) PCI I/O resource overlap reduced 0x00000400 from 0x000004ff to 
0x00000407
(II) PCI Memory resource overlap reduced 0xf0000000 from 0xffffffff to 
0xf0ffffff
(II) Active PCI resource ranges after removing overlaps:
 	[0] -1	0	0x00008000 - 0x0000ffff (0x8000) MX[B]E
 	[1] -1	0	0x00006000 - 0x00007fff (0x2000) MX[B]E
 	[2] -1	0	0x00004000 - 0x00005fff (0x2000) MX[B]E
 	[3] -1	0	0xe2000000 - 0xe3ffffff (0x2000000) MX[B]E
 	[4] -1	0	0xe0400000 - 0xe07fffff (0x400000) MX[B]E
 	[5] -1	0	0xf1000000 - 0xf1ffffff (0x1000000) MX[B]E
 	[6] -1	0	0xf0000000 - 0xf0ffffff (0x1000000) MX[B]E
 	[7] -1	0	0x00020000 - 0x0003ffff (0x20000) MX[B](B)
 	[8] -1	0	0x00002000 - 0x00002fff (0x1000) MX[B](B)
 	[9] -1	0	0x01000000 - 0x01ffffff (0x1000000) MX[B](B)
 	[10] -1	0	0x00000100 - 0x000001ff (0x100) IX[B]E
 	[11] -1	0	0x00000420 - 0x0000043f (0x20) IX[B]E
 	[12] -1	0	0x00000408 - 0x0000040f (0x8) IX[B]E
 	[13] -1	0	0x00000410 - 0x00000417 (0x8) IX[B]E
 	[14] -1	0	0x00000418 - 0x0000041f (0x8) IX[B]E
 	[15] -1	0	0x00000400 - 0x00000407 (0x8) IX[B]E
 	[16] -1	0	0x00c00000 - 0x00c000ff (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	0x000c0000 - 0x000effff (0x30000) MX[B]
 	[3] -1	0	0xffffffff - 0xffffffff (0x1) IX[B]
 	[4] -1	0	0x00000000 - 0x000000ff (0x100) 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	0x000c0000 - 0x000effff (0x30000) MX[B]
 	[3] -1	0	0x00008000 - 0x0000ffff (0x8000) MX[B]E
 	[4] -1	0	0x00006000 - 0x00007fff (0x2000) MX[B]E
 	[5] -1	0	0x00004000 - 0x00005fff (0x2000) MX[B]E
 	[6] -1	0	0xe2000000 - 0xe3ffffff (0x2000000) MX[B]E
 	[7] -1	0	0xe0400000 - 0xe07fffff (0x400000) MX[B]E
 	[8] -1	0	0xf1000000 - 0xf1ffffff (0x1000000) MX[B]E
 	[9] -1	0	0xf0000000 - 0xf0ffffff (0x1000000) MX[B]E
 	[10] -1	0	0x00020000 - 0x0003ffff (0x20000) MX[B](B)
 	[11] -1	0	0x00002000 - 0x00002fff (0x1000) MX[B](B)
 	[12] -1	0	0x01000000 - 0x01ffffff (0x1000000) MX[B](B)
 	[13] -1	0	0xffffffff - 0xffffffff (0x1) IX[B]
 	[14] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
 	[15] -1	0	0x00000100 - 0x000001ff (0x100) IX[B]E
 	[16] -1	0	0x00000420 - 0x0000043f (0x20) IX[B]E
 	[17] -1	0	0x00000408 - 0x0000040f (0x8) IX[B]E
 	[18] -1	0	0x00000410 - 0x00000417 (0x8) IX[B]E
 	[19] -1	0	0x00000418 - 0x0000041f (0x8) IX[B]E
 	[20] -1	0	0x00000400 - 0x00000407 (0x8) IX[B]E
 	[21] -1	0	0x00c00000 - 0x00c000ff (0x100) IX[B](B)
(WW) ATI:  PCI/AGP Mach64 in slot 2:5:0 could not be detected!
No devices to configure.  Configuration failed.