[Bug 211418] x11-drivers/xf86-video-vesa: X11 fails to start; vesa_drv.so Undefined symbol "ioBase"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 28 09:33:48 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211418
Bug ID: 211418
Summary: x11-drivers/xf86-video-vesa: X11 fails to start;
vesa_drv.so Undefined symbol "ioBase"
Product: Ports & Packages
Version: Latest
Hardware: ppc
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: x11 at FreeBSD.org
Reporter: damonz at g3os.org
Assignee: x11 at FreeBSD.org
Flags: maintainer-feedback?(x11 at FreeBSD.org)
OVERVIEW:
When I run startx, the (X) server can't load the vesa driver and without a
working driver, X fails to start. The log indicates that ioBase can't be found
in vesa_drv.so but I can see it defined in vesa.h which vesa.c includes.
STEPS TO REPRODUCE:
1) Tell xorg to use the vesa driver (the radeon driver doesn't seem to be
available for PowerPC)
$ cat /usr/local/etc/X11/xorg.conf.d/driver-radeon.conf
# https://www.freebsd.org/doc/handbook/x-config.html#x-config-video-cards-file
# http://mac.linux.be/content/g4-emac-1ghz-radeon
Section "Device"
Identifier "ATI Technologies Inc Radeon RV200 QW [Radeon 7500]"
# Driver "radeon"
Driver "vesa"
BusID "PCI:0:16:0"
EndSection
2) As a user (i.e. not root), run `startx`
Note I've tried building xorg from ports as well as using prebuilt packages
from https://joshcummings.net/pub/FreeBSD/FreeBSD%3a10%3apowerpc/2016Q1/All/
which were apparently built using Poudriere.
ACTUAL RESULTS:
(stdout)
$ startx
xauth: file /home/damonz/.serverauth.887 does not exist
xauth: (argv):1: bad display name "emac.local:0" in "list" command
xauth: (stdin):1: bad display name "emac.local:0" in "add" command
X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 10.2-RELEASE powerpc
Current Operating System: FreeBSD emac.local 10.3-RELEASE FreeBSD 10.3-RELEASE
#0 r297264: Fri Mar 25 05:18:20 UTC 2016 ro
ot at releng1.nyi.freebsd.org:/usr/obj/powerpc.powerpc/usr/src/sys/GENERIC powerpc
Build Date: 22 March 2016 06:14:55PM
Current version of pixman: 0.32.8
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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/Xorg.0.log", Time: Wed Jul 27 19:41:47 2016
(==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional
information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth: (argv):1: bad display name "emac.local:0" in "remove" command
feel sad
(/var/log/Xorg.0.log)
[ 396.980]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 396.981] X Protocol Version 11, Revision 0
[ 396.981] Build Operating System: FreeBSD 10.2-RELEASE powerpc
[ 396.981] Current Operating System: FreeBSD emac.local 10.3-RELEASE FreeBSD
10.3-RELEASE #0 r297264: Fri Mar 25 05:18:20 UTC 2016
root at releng1.nyi.freebsd.org:/usr/obj/powerpc.powerpc/usr/src/sys/GENERIC
powerpc
[ 396.982] Build Date: 22 March 2016 06:14:55PM
[ 396.982]
[ 396.982] Current version of pixman: 0.32.8
[ 396.982] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 396.982] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 396.983] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 27 19:41:47
2016
[ 397.071] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 397.102] (==) ServerLayout "Default Layout"
[ 397.102] (**) |-->Screen "Screen0" (0)
[ 397.102] (**) | |-->Monitor "Monitor[0]"
[ 397.103] (**) | |-->Device "ATI Technologies Inc Radeon RV200 QW [Radeon
7500]"
[ 397.103] (==) Automatically adding devices
[ 397.103] (==) Automatically enabling devices
[ 397.103] (==) Not automatically adding GPU devices
[ 397.257] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/
[ 397.257] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 397.257] (II) The server relies on devd to provide the list of input
devices.
If no devices become available, reconfigure devd or disable
AutoAddDevices.
[ 397.257] (II) Loader magic: 0x1a2001c
[ 397.258] (II) Module ABI versions:
[ 397.258] X.Org ANSI C Emulation: 0.4
[ 397.258] X.Org Video Driver: 19.0
[ 397.258] X.Org XInput driver : 21.0
[ 397.258] X.Org Server Extension : 9.0
[ 397.258] (WW) xf86EnableIO -1
[ 397.258] (II) xf86EnableIO: ffffffff
[ 397.258] (WW) Can't map IO space!
[ 397.259] (--) PCI: (0:0:16:0) 1002:5157:1002:5157 rev 0, Mem @
0x98000000/134217728, 0x90000000/65536, I/O @ 0x00000400/256, BIOS @
0x????????/65536
[ 397.259] (II) "glx" will be loaded by default.
[ 397.259] (II) LoadModule: "int10"
[ 397.277] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[ 397.282] (II) Module int10: vendor="X.Org Foundation"
[ 397.282] compiled for 1.17.4, module version = 1.0.0
[ 397.282] ABI class: X.Org Video Driver, version 19.0
[ 397.282] (II) LoadModule: "vbe"
[ 397.283] (II) Loading /usr/local/lib/xorg/modules/libvbe.so
[ 397.285] (II) Module vbe: vendor="X.Org Foundation"
[ 397.285] compiled for 1.17.4, module version = 1.1.0
[ 397.285] ABI class: X.Org Video Driver, version 19.0
[ 397.285] (II) LoadModule: "glx"
[ 397.286] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 397.332] (II) Module glx: vendor="X.Org Foundation"
[ 397.332] compiled for 1.17.4, module version = 1.0.0
[ 397.332] ABI class: X.Org Server Extension, version 9.0
[ 397.333] (==) AIGLX enabled
[ 397.333] (II) LoadModule: "vesa"
[ 397.333] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 397.338] (EE) Failed to load
/usr/local/lib/xorg/modules/drivers/vesa_drv.so:
/usr/local/lib/xorg/modules/drivers/vesa_drv.so: Undefined symbol "ioBase"
[ 397.338] (II) UnloadModule: "vesa"
[ 397.338] (II) Unloading vesa
[ 397.338] (EE) Failed to load module "vesa" (loader failed, 7)
[ 397.338] (EE) No drivers available.
[ 397.338] (EE)
Fatal server error:
[ 397.338] (EE) no screens found(EE)
[ 397.338] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 397.339] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[ 397.339] (EE)
[ 397.339] (EE) Server terminated with error (1). Closing log file.
EXPECTED RESULTS: xorg starts and displays twm and xterm
BUILD DATE & HARDWARE:
I have an Apple eMac.
$ uname -a
FreeBSD emac.local 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25
05:18:20 UTC 2016
root at releng1.nyi.freebsd.org:/usr/obj/powerpc.powerpc/usr/src/sys/GENERIC
powerpc
# pciconf -lcv
hostb0 at pci0:0:11:0: class=0x060000 card=0x00000000 chip=0x002d106b rev=0x00
hdr=0x00
vendor = 'Apple Inc.'
device = 'UniNorth 1.5 AGP'
class = bridge
subclass = HOST-PCI
cap 02[80] = AGP 4x 2x 1x SBA disabled
vgapci0 at pci0:0:16:0: class=0x030000 card=0x51571002 chip=0x51571002 rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'RV200 [Radeon 7500/7500 LE]'
class = display
subclass = VGA
cap 02[58] = AGP 4x 2x 1x SBA disabled
cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0
...
# dmesg | grep cpu
cpu0: Motorola PowerPC 7455 revision 3.3, 1000.26 MHz
cpu0: Features 9c000000<PPC32,ALTIVEC,FPU,MMU>
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
ADDITIONAL NOTES:
In spite of the ports manual I don't know enough about patching ports yet to
change the code and print things out. When I try to make changes to
/usr/ports/x11-drivers/xf86-video-vesa/work/xf86-video-vesa-2.3.4/src/vesa.c,
make install clobbers them.
Let me know if I can provide other details.
Thank you,
- d
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list