NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-sparc64/58629: Xserver fails to start: can't map IO space
>Number: 58629
>Category: port-sparc64
>Synopsis: Xserver fails to start: can't map IO space
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 23 06:50:00 +0000 2024
>Originator: Caden Snyder
>Release: 10.0
>Organization:
>Environment:
NetBSD DALIOS.snyder.home 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
>Description:
Attempting to initialize the X server on NetBSD/sparc64 10.0, apparently owing to some kind of MMIO error. Here's the Xorg log:
[ 7428.530]
X.Org X Server 1.21.1.9
X Protocol Version 11, Revision 0
[ 7428.556] Current Operating System: NetBSD DALIOS.snyder.home 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
[ 7428.556]
[ 7428.570] Current version of pixman: 0.38.4
[ 7428.585] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 7428.592] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 7428.618] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 20 06:40:25 2024
[ 7428.658] (II) Loader magic: 0x4ea090
[ 7428.658] (II) Module ABI versions:
[ 7428.658] X.Org ANSI C Emulation: 0.4
[ 7428.659] X.Org Video Driver: 25.2
[ 7428.659] X.Org XInput driver : 24.4
[ 7428.659] X.Org Server Extension : 10.0
[ 7429.369] (WW) xf86EnableIO -1
[ 7429.370] (II) xf86EnableIO: 0xffffffffffffffff
[ 7429.370] (WW) Can't map IO space! (9)
[ 7429.393] (--) PCI:*(1@1:2:0) 1002:4750:0000:0000 rev 92, Mem @ 0xe1000000/16777216, 0xe2000000/4096, I/O @ 0x00000000/256, BIOS @ 0x????????/131072
[ 7429.394] (--) PCI: (2@2:3:0) 105d:2339:1227:0007 rev 2, Mem @ 0x00800000/8388608, 0x01000000/8388608, 0x01800000/8388608, 0x02000000/4194304, 0x02400000/65536, I/O @ 0x00000400/256, BIOS @ 0x????????/131072
[ 7429.458] (EE) listPossibleVideoDrivers: trying /dev/fb0
[ 7429.458] (EE) listPossibleVideoDrivers: trying /dev/fb1
[ 7429.458] (EE) listPossibleVideoDrivers: trying /dev/fb2
[ 7429.459] (EE) listPossibleVideoDrivers: trying /dev/fb3
[ 7429.459] (EE) listPossibleVideoDrivers: trying /dev/fb4
[ 7429.459] (EE) listPossibleVideoDrivers: trying /dev/fb5
[ 7429.459] (EE) listPossibleVideoDrivers: trying /dev/fb6
[ 7429.459] (EE) listPossibleVideoDrivers: trying /dev/fb7
[ 7429.459] (EE) listPossibleVideoDrivers: trying /dev/fb8
[ 7429.459] (EE) listPossibleVideoDrivers: trying /dev/fb9
[ 7429.465] (==) Using default built-in configuration (30 lines)
[ 7429.465] (==) --- Start of built-in configuration ---
[ 7429.466] Section "Device"
[ 7429.466] Identifier "Builtin Default ati Device 0"
[ 7429.466] Driver "ati"
[ 7429.466] EndSection
[ 7429.466] Section "Screen"
[ 7429.466] Identifier "Builtin Default ati Screen 0"
[ 7429.466] Device "Builtin Default ati Device 0"
[ 7429.466] EndSection
[ 7429.466] Section "Device"
[ 7429.467] Identifier "Builtin Default sunffb Device 0"
[ 7429.467] Driver "sunffb"
[ 7429.467] EndSection
[ 7429.467] Section "Screen"
[ 7429.467] Identifier "Builtin Default sunffb Screen 0"
[ 7429.467] Device "Builtin Default sunffb Device 0"
[ 7429.467] EndSection
[ 7429.467] Section "Device"
[ 7429.467] Identifier "Builtin Default wsfb Device 0"
[ 7429.467] Driver "wsfb"
[ 7429.468] EndSection
[ 7429.468] Section "Screen"
[ 7429.468] Identifier "Builtin Default wsfb Screen 0"
[ 7429.468] Device "Builtin Default wsfb Device 0"
[ 7429.468] EndSection
[ 7429.468] Section "ServerLayout"
[ 7429.468] Identifier "Builtin Default Layout"
[ 7429.468] Screen "Builtin Default ati Screen 0"
[ 7429.468] Screen "Builtin Default sunffb Screen 0"
[ 7429.468] Screen "Builtin Default wsfb Screen 0"
[ 7429.469] EndSection
[ 7429.469] (==) --- End of built-in configuration ---
[ 7429.492] (==) ServerLayout "Builtin Default Layout"
[ 7429.493] (**) |-->Screen "Builtin Default ati Screen 0" (0)
[ 7429.508] (**) | |-->Monitor "<default monitor>"
[ 7429.530] (**) | |-->Device "Builtin Default ati Device 0"
[ 7429.530] (==) No monitor specified for screen "Builtin Default ati Screen 0".
Using a default monitor configuration.
[ 7429.530] (**) |-->Screen "Builtin Default sunffb Screen 0" (1)
[ 7429.530] (**) | |-->Monitor "<default monitor>"
[ 7429.535] (**) | |-->Device "Builtin Default sunffb Device 0"
[ 7429.535] (==) No monitor specified for screen "Builtin Default sunffb Screen 0".
Using a default monitor configuration.
[ 7429.535] (**) |-->Screen "Builtin Default wsfb Screen 0" (2)
[ 7429.535] (**) | |-->Monitor "<default monitor>"
[ 7429.538] (**) | |-->Device "Builtin Default wsfb Device 0"
[ 7429.539] (==) No monitor specified for screen "Builtin Default wsfb Screen 0".
Using a default monitor configuration.
[ 7429.539] (==) Automatically adding devices
[ 7429.539] (==) Automatically enabling devices
[ 7429.539] (==) Not automatically adding GPU devices
[ 7429.539] (==) Automatically binding GPU devices
[ 7429.551] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 7429.552] (WW) The directory "/usr/pkg/share/fonts/X11/misc/" does not exist.
[ 7429.552] Entry deleted from font path.
[ 7429.552] (WW) The directory "/usr/pkg/share/fonts/X11/TTF/" does not exist.
[ 7429.552] Entry deleted from font path.
[ 7429.553] (WW) The directory "/usr/pkg/share/fonts/X11/Type1/" does not exist.
[ 7429.553] Entry deleted from font path.
[ 7429.553] (WW) The directory "/usr/pkg/share/fonts/X11/75dpi/" does not exist.
[ 7429.553] Entry deleted from font path.
[ 7429.553] (WW) The directory "/usr/pkg/share/fonts/X11/100dpi/" does not exist.
[ 7429.553] Entry deleted from font path.
[ 7429.553] (==) 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/
[ 7429.553] (==) ModulePath set to "/usr/X11R7/lib/modules"
[ 7429.554] (II) The server relies on wscons to provide the list of input devices.
If no devices become available, reconfigure wscons or disable AutoAddDevices.
[ 7429.554] (II) LoadModule: "glx"
[ 7429.598] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[ 7429.675] (II) Module glx: vendor="X.Org Foundation"
[ 7429.675] compiled for 1.21.1.9, module version = 1.0.0
[ 7429.675] ABI class: X.Org Server Extension, version 10.0
[ 7429.682] (II) LoadModule: "ati"
[ 7429.683] (II) Loading /usr/X11R7/lib/modules/drivers/ati_drv.so
[ 7429.722] (II) Module ati: vendor="X.Org Foundation"
[ 7429.722] compiled for 1.21.1.9, module version = 19.1.0
[ 7429.722] Module class: X.Org Video Driver
[ 7429.723] ABI class: X.Org Video Driver, version 25.2
[ 7429.723] (II) LoadModule: "mach64"
[ 7429.724] (II) Loading /usr/X11R7/lib/modules/drivers/mach64_drv.so
[ 7429.760] (II) Module mach64: vendor="X.Org Foundation"
[ 7429.760] compiled for 1.21.1.9, module version = 6.9.7
[ 7429.760] Module class: X.Org Video Driver
[ 7429.761] ABI class: X.Org Video Driver, version 25.2
[ 7429.773] (II) LoadModule: "sunffb"
[ 7429.775] (II) Loading /usr/X11R7/lib/modules/drivers/sunffb_drv.so
[ 7429.806] (II) Module sunffb: vendor="X.Org Foundation"
[ 7429.806] compiled for 1.21.1.9, module version = 1.2.2
[ 7429.806] Module class: X.Org Video Driver
[ 7429.807] ABI class: X.Org Video Driver, version 25.2
[ 7429.807] (II) LoadModule: "wsfb"
[ 7429.809] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
[ 7429.823] (II) Module wsfb: vendor="X.Org Foundation"
[ 7429.823] compiled for 1.21.1.9, module version = 0.4.0
[ 7429.823] ABI class: X.Org Video Driver, version 25.2
[ 7429.823] (II) MACH64: Driver for ATI Mach64 chipsets
[ 7429.824] (II) SUNFFB: driver for Creator, Creator 3D and Elite 3D
[ 7429.824] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[ 7429.824] (--) Using wscons driver on /dev/ttyE1 in pcvt compatibility mode (version 3.32)
[ 7429.824] (--) using VT number 2
[ 7429.830] (WW) xf86EnableIO 9
[ 7429.830] (II) xf86EnableIO: 0xffffffffffffffff
[ 7429.830] (WW) Can't map IO space! (22)
[ 7429.831] (WW) Falling back to old probe method for sunffb
[ 7429.831] (WW) Falling back to old probe method for wsfb
[ 7429.831] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 7429.848] (II) MACH64(0): Creating default Display subsection in Screen section
"Builtin Default ati Screen 0" for depth/fbbpp 24/32
[ 7429.849] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
[ 7429.853] (==) MACH64(0): Using EXA acceleration architecture
[ 7429.855] (EE) Unable to map mmio aperture. Invalid argument (22)
[ 7429.856] (WW) MACH64: Mach64 in slot 1:2:0 could not be detected!
[ 7429.868] (II) UnloadModule: "mach64"
[ 7429.869] (EE) Screen(s) found, but none have a usable configuration.
[ 7429.869] (EE)
Fatal server error:
[ 7429.869] (EE) no screens found(EE)
[ 7429.870] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 7429.871] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 7429.872] (EE)
[ 7429.878] (EE) Server terminated with error (1). Closing log file.
This problem appears to have been documented some time ago in PR-50429, but apparently no solution has ever materialized. Here's the dmesg output of the video chip:
[ 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: found composite sync disabled
[ 1.000000] machfb0: initializing the DSP
[ 1.000000] machfb0: initial resolution 1280x1024 at 8 bpp
Here's the complete dmesg: https://pastebin.com/isPzZsFJ
>How-To-Repeat:
Attempt to run startx(1) on Sun Ultra 5 with a 3D Rage Pro onboard.
>Fix:
Home |
Main Index |
Thread Index |
Old Index