Sun Ultra 5 issue with Mach64

Joacim Nilsson <[email protected]> Thu, 17 Mar 2022 16:46:54 +0100
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
My DMESG and xorg.log

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
2003, 2004, 2005,
[     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 
2014, 2015, 2016, 2017,
[     1.000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All 
rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All 
rights reserved.

[     1.000000] NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021
[     1.000000] 
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
[     1.000000] total memory = 512 MB
[     1.000000] avail memory = 485 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
[     1.000000] mainbus0 (root): SUNW,Ultra-5_10 (Sun Ultra 5/10 
UPA/PCI): hostid 7274ec39
[     1.000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 400 MHz, CPU id 0
[     1.000000] cpu0: manuf 17, impl 12, mask 91
[     1.000000] cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 2048K 
external (64 b/l)
[     1.000000] psycho0 at mainbus0 addr 0xfffc4000
[     1.000000] psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus 
range 0 to 2; PCI bus 0
[     1.000000] pci0 at psycho0
[     1.000000] pci0: i/o space, memory space enabled
[     1.000000] ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba 
PCI Bridge (rev. 0x13)
[     1.000000] pci1 at ppb0 bus 1
[     1.000000] pci1: i/o space, memory space enabled
[     1.000000] ebus0 at pci1 dev 1 function 0: Sun Microsystems PCIO 
Ebus2, revision 0x01
[     1.000000] auxio0 at ebus0 addr 726000-726003, 728000-728003, 
72a000-72a003, 72c000-72c003, 72f000-72f003
[     1.000000] power at ebus0 addr 724000-724003 ipl 25 not configured
[     1.000000] SUNW,pll at ebus0 addr 504000-504002 not configured
[     1.000000] sab0 at ebus0 addr 400000-40007f ipl 2b: rev 3.2
[     1.000000] sabtty0 at sab0 port 0
[     1.000000] sabtty1 at sab0 port 1
[     1.000000] com0 at ebus0 addr 3083f8-3083ff ipl 29: ns16550a, 
working fifo
[     1.000000] com0: console
[     1.000000] kbd0 at com0 (console input)
[     1.000000] com1 at ebus0 addr 3062f8-3062ff ipl 2a: ns16550a, 
working fifo
[     1.000000] ms0 at com1
[     1.000000] wsmouse0 at ms0 mux 0
[     1.000000] lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 
700000-70000f ipl 22
[     1.000000] fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 
720000-720003 ipl 27 not configured
[     1.000000] clock0 at ebus0 addr 0-1fff: mk48t59
[     1.000000] flashprom at ebus0 addr 0-fffff not configured
[     1.000000] audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 
704000-70400f, 722000-722003 ipl 23 ipl 24: CS4231A
[     1.000000] audio0 at audiocs0: playback, capture, full duplex
[     1.000000] audio0: slinear_be:16 -> slinear_le:16 2ch 48000Hz, blk 
1920 bytes (10ms) for playback
[     1.000000] audio0: slinear_be:16 <- slinear_le:16 2ch 48000Hz, blk 
1920 bytes (10ms) for recording
[     1.000000] spkr0 at audio0: PC Speaker (synthesized)
[     1.000000] wsbell at spkr0 not configured
[     1.000000] hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, 
rev. 1
[     1.000000] hme0: interrupting at ivec 3021
[     1.000000] hme0: Ethernet address 08:00:20:74:ec:39
[     1.000000] nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
[     1.000000] nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[     1.000000] machfb0 at pci1 dev 2 function 0: ATI Technologies 3D 
Rage Pro (rev. 0x5c)
[     1.000000] machfb0: using MMIO aperture
[     1.000000] machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 
0xe2000000
[     1.000000] machfb0: 128 KB ROM at 0xe1020000
[     1.000000] machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 
230 MHz
[     1.000000] machfb0: autoconfiguration error: unable to use 
preferred mode
[     1.000000] machfb0: initial resolution 1280x1024 at 8 bpp
[     1.000000] wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 
emulation)
[     1.000000] wsmux1: connecting to wsdisplay0
[     1.000000] wsdisplay0: screen 1-3 added (default, vt100 emulation)
[     1.000000] direct rendering for machfb0 unsupported
[     1.000000] cmdide0 at pci1 dev 3 function 0: CMD Technology PCI0646 
(rev. 0x03)
[     1.000000] cmdide0: bus-master DMA support present
[     1.000000] cmdide0: primary channel configured to native-PCI mode, 
channel non-independant
[     1.000000] cmdide0: using ivec 1820 for native-PCI interrupt
[     1.000000] atabus0 at cmdide0 channel 0
[     1.000000] cmdide0: secondary channel configured to native-PCI 
mode, channel non-independant
[     1.000000] atabus1 at cmdide0 channel 1
[     1.000000] ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba 
PCI Bridge (rev. 0x13)
[     1.000000] pci2 at ppb1 bus 2
[     1.000000] pci2: i/o space, memory space enabled
[     1.000000] pcons at mainbus0 not configured
[     1.000000] timecounter: Timecounter "clockinterrupt" frequency 100 
Hz quality 0
[     1.000003] timecounter: Timecounter "tick-counter" frequency 
400000000 Hz quality 100
[     1.000003] No counter-timer -- using %tick at 400MHz as system clock.
[     1.009984] wskbd0 at kbd0: console keyboard, using wsdisplay0
[     4.139974] wd0 at atabus0 drive 0
[     4.139974] wd0: <KINGSTON SA400S37120G>
[     4.150350] wd0: drive supports 16-sector PIO transfers, LBA48 
addressing
[     4.150350] wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect 
x 234441648 sectors
[     4.159978] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[     4.159978] wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using 
DMA), WRITE DMA FUA EXT
[     4.159978] atapibus0 at atabus1: 2 targets
[     4.169975] cd0 at atapibus0 drive 0: <CRD-8322B, 2000/07/02, 1.06> 
cdrom removable
[     4.169975] cd0: drive supports PIO mode 4, DMA mode 2
[     4.169975] cd0(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
[     4.179976] WARNING: 1 error while detecting hardware; check system log.
[     4.179976] root on wd0a dumps on wd0b
[     4.192493] root file system type: ffs
[     4.200886] kern.module.path=/stand/sparc64/9.2/modules

[   351.751]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   351.753] Build Operating System: NetBSD/sparc64 9.2 - The NetBSD 
Foundation, Inc.
[   351.754] Current Operating System: NetBSD sunultra5 9.2 NetBSD 9.2 
(GENERIC) #0: Wed May 12 13:15:55 UTC 2021 
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
[   351.759] Build Date: 03 March 2019  07:11:23AM
[   351.759]
[   351.760] Current version of pixman: 0.38.4
[   351.760] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   351.761] Markers: (--) probed, (**) from config file, (==) default 
setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   351.765] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 17 
16:40:34 2022
[   351.771] (II) Loader magic: 0x4e41a8
[   351.771] (II) Module ABI versions:
[   351.771] 	X.Org ANSI C Emulation: 0.4
[   351.771] 	X.Org Video Driver: 24.0
[   351.772] 	X.Org XInput driver : 24.1
[   351.772] 	X.Org Server Extension : 10.0
[   352.504] (WW) xf86EnableIO -1
[   352.505] (II) xf86EnableIO: 0xffffffffffffffff
[   352.505] (WW) Can't map IO space! (9)
[   352.518] (--) PCI:*(1@1:2:0) 1002:4750:0000:0000 rev 92, Mem @ 
0xe1000000/16777216, 0xe2000000/4096, I/O @ 0x00000000/256, BIOS @ 
0x????????/131072
[   352.563] (EE) listPossibleVideoDrivers: trying /dev/fb0
[   352.563] (EE) listPossibleVideoDrivers: trying /dev/fb1
[   352.564] (EE) listPossibleVideoDrivers: trying /dev/fb2
[   352.564] (EE) listPossibleVideoDrivers: trying /dev/fb3
[   352.564] (EE) listPossibleVideoDrivers: trying /dev/fb4
[   352.564] (EE) listPossibleVideoDrivers: trying /dev/fb5
[   352.564] (EE) listPossibleVideoDrivers: trying /dev/fb6
[   352.564] (EE) listPossibleVideoDrivers: trying /dev/fb7
[   352.564] (EE) listPossibleVideoDrivers: trying /dev/fb8
[   352.565] (EE) listPossibleVideoDrivers: trying /dev/fb9
[   352.567] (==) Using default built-in configuration (30 lines)
[   352.567] (==) --- Start of built-in configuration ---
[   352.567] 	Section "Device"
[   352.567] 		Identifier	"Builtin Default ati Device 0"
[   352.567] 		Driver	"ati"
[   352.567] 	EndSection
[   352.568] 	Section "Screen"
[   352.568] 		Identifier	"Builtin Default ati Screen 0"
[   352.568] 		Device	"Builtin Default ati Device 0"
[   352.568] 	EndSection
[   352.568] 	Section "Device"
[   352.568] 		Identifier	"Builtin Default sunffb Device 0"
[   352.568] 		Driver	"sunffb"
[   352.568] 	EndSection
[   352.568] 	Section "Screen"
[   352.568] 		Identifier	"Builtin Default sunffb Screen 0"
[   352.569] 		Device	"Builtin Default sunffb Device 0"
[   352.569] 	EndSection
[   352.569] 	Section "Device"
[   352.569] 		Identifier	"Builtin Default wsfb Device 0"
[   352.569] 		Driver	"wsfb"
[   352.569] 	EndSection
[   352.569] 	Section "Screen"
[   352.569] 		Identifier	"Builtin Default wsfb Screen 0"
[   352.569] 		Device	"Builtin Default wsfb Device 0"
[   352.569] 	EndSection
[   352.570] 	Section "ServerLayout"
[   352.570] 		Identifier	"Builtin Default Layout"
[   352.570] 		Screen	"Builtin Default ati Screen 0"
[   352.570] 		Screen	"Builtin Default sunffb Screen 0"
[   352.570] 		Screen	"Builtin Default wsfb Screen 0"
[   352.570] 	EndSection
[   352.570] (==) --- End of built-in configuration ---
[   352.575] (==) ServerLayout "Builtin Default Layout"
[   352.575] (**) |-->Screen "Builtin Default ati Screen 0" (0)
[   352.575] (**) |   |-->Monitor "<default monitor>"
[   352.585] (**) |   |-->Device "Builtin Default ati Device 0"
[   352.585] (==) No monitor specified for screen "Builtin Default ati 
Screen 0".
	Using a default monitor configuration.
[   352.585] (**) |-->Screen "Builtin Default sunffb Screen 0" (1)
[   352.585] (**) |   |-->Monitor "<default monitor>"
[   352.589] (**) |   |-->Device "Builtin Default sunffb Device 0"
[   352.589] (==) No monitor specified for screen "Builtin Default 
sunffb Screen 0".
	Using a default monitor configuration.
[   352.589] (**) |-->Screen "Builtin Default wsfb Screen 0" (2)
[   352.589] (**) |   |-->Monitor "<default monitor>"
[   352.593] (**) |   |-->Device "Builtin Default wsfb Device 0"
[   352.593] (==) No monitor specified for screen "Builtin Default wsfb 
Screen 0".
	Using a default monitor configuration.
[   352.593] (==) Not automatically adding devices
[   352.593] (==) Not automatically enabling devices
[   352.593] (==) Not automatically adding GPU devices
[   352.594] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   352.600] (==) FontPath set to:
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/
[   352.600] (==) ModulePath set to "/usr/X11R7/lib/modules"
[   352.602] (==) |-->Input Device "<default pointer>"
[   352.602] (==) |-->Input Device "<default keyboard>"
[   352.602] (==) The core pointer device wasn't specified explicitly in 
the layout.
	Using the default mouse configuration.
[   352.602] (==) The core keyboard device wasn't specified explicitly 
in the layout.
	Using the default keyboard configuration.
[   352.602] (II) LoadModule: "glx"
[   352.611] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   352.628] (II) Module glx: vendor="X.Org Foundation"
[   352.628] 	compiled for 1.20.5, module version = 1.0.0
[   352.628] 	ABI class: X.Org Server Extension, version 10.0
[   352.630] (II) LoadModule: "ati"
[   352.631] (II) Loading /usr/X11R7/lib/modules/drivers/ati_drv.so
[   352.638] (II) Module ati: vendor="X.Org Foundation"
[   352.638] 	compiled for 1.20.5, module version = 6.14.6
[   352.638] 	Module class: X.Org Video Driver
[   352.638] 	ABI class: X.Org Video Driver, version 24.0
[   352.638] (II) LoadModule: "mach64"
[   352.640] (II) Loading /usr/X11R7/lib/modules/drivers/mach64_drv.so
[   352.649] (II) Module mach64: vendor="X.Org Foundation"
[   352.649] 	compiled for 1.20.5, module version = 6.9.5
[   352.649] 	Module class: X.Org Video Driver
[   352.649] 	ABI class: X.Org Video Driver, version 24.0
[   352.651] (II) LoadModule: "sunffb"
[   352.653] (II) Loading /usr/X11R7/lib/modules/drivers/sunffb_drv.so
[   352.658] (II) Module sunffb: vendor="X.Org Foundation"
[   352.658] 	compiled for 1.20.5, module version = 1.2.2
[   352.659] 	Module class: X.Org Video Driver
[   352.659] 	ABI class: X.Org Video Driver, version 24.0
[   352.659] (II) LoadModule: "wsfb"
[   352.661] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
[   352.665] (II) Module wsfb: vendor="X.Org Foundation"
[   352.665] 	compiled for 1.20.5, module version = 0.4.0
[   352.665] 	ABI class: X.Org Video Driver, version 24.0
[   352.666] (II) LoadModule: "mouse"
[   352.667] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[   352.673] (II) Module mouse: vendor="X.Org Foundation"
[   352.673] 	compiled for 1.20.5, module version = 1.9.2
[   352.673] 	Module class: X.Org XInput Driver
[   352.673] 	ABI class: X.Org XInput driver, version 24.1
[   352.675] (II) LoadModule: "kbd"
[   352.676] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[   352.680] (II) Module kbd: vendor="X.Org Foundation"
[   352.680] 	compiled for 1.20.5, module version = 1.9.0
[   352.680] 	Module class: X.Org XInput Driver
[   352.681] 	ABI class: X.Org XInput driver, version 24.1
[   352.681] (II) MACH64: Driver for ATI Mach64 chipsets
[   352.681] (II) SUNFFB: driver for Creator, Creator 3D and Elite 3D
[   352.681] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[   352.682] (--) Using wscons driver on /dev/ttyE1 in pcvt 
compatibility mode (version 3.32)
[   352.682] (--) using VT number 2
[   352.692] (WW) xf86EnableIO 9
[   352.692] (II) xf86EnableIO: 0xffffffffffffffff
[   352.692] (WW) Can't map IO space! (22)
[   352.692] (WW) Falling back to old probe method for sunffb
[   352.692] (WW) Falling back to old probe method for wsfb
[   352.693] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support
[   352.695] (II) MACH64(0): Creating default Display subsection in 
Screen section
	"Builtin Default ati Screen 0" for depth/fbbpp 24/32
[   352.695] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
[   352.697] (==) MACH64(0): Using EXA acceleration architecture
[   352.699] (EE) Unable to map mmio aperture. Invalid argument (22)
[   352.699] (WW) MACH64: Mach64 in slot 1:2:0 could not be detected!
[   352.701] (II) UnloadModule: "mach64"
[   352.701] (EE) Screen(s) found, but none have a usable configuration.
[   352.702] (EE)
Fatal server error:
[   352.703] (EE) no screens found(EE)
[   352.705] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
  for help.
[   352.706] (EE) Please also check the log file at 
"/var/log/Xorg.0.log" for additional information.
[   352.707] (EE)
[   352.711] (EE) Server terminated with error (1). Closing log file.


I have no idea.. google gave me very little..

Any input is welcome
Thank you