NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/48317: opencrome driver crashes with undefined PLT symbol



>Number:         48317
>Category:       xsrc
>Synopsis:       opencrome driver crashes with undefined PLT symbol
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 16 16:45:00 +0000 2013
>Originator:     John D. Baker
>Release:        NetBSD/i386-6.99.24
>Organization:
>Environment:
NetBSD neoware 6.99.24 NetBSD 6.99.24 (GENERIC) #32: Wed Oct  9 18:39:39 CDT 
2013  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/GENERIC
 i386
>Description:
NeoWare thin-client based on VIA CLE266 UniChrome, etc. starting X with
no config file crashes as follows:

X.Org X Server 1.10.6
Release Date: 2011-07-08
X Protocol Version 11, Revision 0
Build Operating System: NetBSD/i386  - 
Current Operating System: NetBSD neoware 6.99.24 NetBSD 6.99.24 (GENERIC) #32: 
Wed Oct  9 18:39:39 CDT 2013  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/GENERIC
 i386
Build Date: 01 August 2011  01:01:00AM
 
Current version of pixman: 0.30.0
        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: Fri Oct 11 12:57:35 2013
(==) Using default built-in configuration (12 lines)
/usr/X11R7/lib/modules/drivers/openchrome_drv.so: Undefined PLT symbol 
"drmCheckModesettingSupported" (symnum = 189)

The above-mentioned symbol is defined in

  xsrc/external/mit/libdrm/dist/xf86drmMode.c

but it is not clear whether a trick similar to xsrc/48315 can be used
to satisfy the missing symbol.

The Xorg.0.log file that accompanied the above execution attempt:

[  1184.262] 
X.Org X Server 1.10.6
Release Date: 2011-07-08
[  1184.265] X Protocol Version 11, Revision 0
[  1184.266] Build Operating System: NetBSD/i386  - 
[  1184.267] Current Operating System: NetBSD neoware 6.99.24 NetBSD 6.99.24 
(GENERIC) #32: Wed Oct  9 18:39:39 CDT 2013  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/GENERIC
 i386
[  1184.284] Build Date: 01 August 2011  01:01:00AM
[  1184.285]  
[  1184.286] Current version of pixman: 0.30.0
[  1184.286]    Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
[  1184.287] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1184.296] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 11 12:57:35 
2013
[  1184.300] (II) Loader magic: 0x82776e0
[  1184.300] (II) Module ABI versions:
[  1184.300]    X.Org ANSI C Emulation: 0.4
[  1184.300]    X.Org Video Driver: 10.0
[  1184.300]    X.Org XInput driver : 12.2
[  1184.300]    X.Org Server Extension : 5.0
[  1184.313] (--) PCI:*(1:1:0:0) 1106:3122:1106:3122 rev 3, Mem @ 
0xe8000000/67108864, 0xec000000/16777216
[  1184.314] (==) Using default built-in configuration (12 lines)
[  1184.315] (==) --- Start of built-in configuration ---
[  1184.315]    Section "Device"
[  1184.315]            Identifier      "Builtin Default openchrome Device 0"
[  1184.315]            Driver  "openchrome"
[  1184.315]    EndSection
[  1184.315]    Section "Screen"
[  1184.315]            Identifier      "Builtin Default openchrome Screen 0"
[  1184.315]            Device  "Builtin Default openchrome Device 0"
[  1184.315]    EndSection
[  1184.315]    Section "ServerLayout"
[  1184.315]            Identifier      "Builtin Default Layout"
[  1184.315]            Screen  "Builtin Default openchrome Screen 0"
[  1184.315]    EndSection
[  1184.315] (==) --- End of built-in configuration ---
[  1184.316] (==) ServerLayout "Builtin Default Layout"
[  1184.316] (**) |-->Screen "Builtin Default openchrome Screen 0" (0)
[  1184.316] (**) |   |-->Monitor "<default monitor>"
[  1184.318] (**) |   |-->Device "Builtin Default openchrome Device 0"
[  1184.318] (==) No monitor specified for screen "Builtin Default openchrome 
Screen 0".
        Using a default monitor configuration.
[  1184.319] (==) Not automatically adding devices
[  1184.319] (==) Not automatically enabling devices
[  1184.321] (==) 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/
[  1184.321] (==) ModulePath set to "/usr/X11R7/lib/modules"
[  1184.321] (==) |-->Input Device "<default pointer>"
[  1184.321] (==) |-->Input Device "<default keyboard>"
[  1184.321] (==) The core pointer device wasn't specified explicitly in the 
layout.
        Using the default mouse configuration.
[  1184.321] (==) The core keyboard device wasn't specified explicitly in the 
layout.
        Using the default keyboard configuration.
[  1184.321] (II) LoadModule: "extmod"
[  1184.356] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[  1184.361] (II) Module extmod: vendor="X.Org Foundation"
[  1184.361]    compiled for 1.10.6, module version = 1.0.0
[  1184.361]    Module class: X.Org Server Extension
[  1184.361]    ABI class: X.Org Server Extension, version 5.0
[  1184.361] (II) Loading extension MIT-SCREEN-SAVER
[  1184.361] (II) Loading extension XFree86-VidModeExtension
[  1184.361] (II) Loading extension XFree86-DGA
[  1184.361] (II) Loading extension DPMS
[  1184.362] (II) Loading extension XVideo
[  1184.362] (II) Loading extension XVideo-MotionCompensation
[  1184.362] (II) Loading extension X-Resource
[  1184.362] (II) LoadModule: "dbe"
[  1184.391] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
[  1184.394] (II) Module dbe: vendor="X.Org Foundation"
[  1184.394]    compiled for 1.10.6, module version = 1.0.0
[  1184.394]    Module class: X.Org Server Extension
[  1184.394]    ABI class: X.Org Server Extension, version 5.0
[  1184.394] (II) Loading extension DOUBLE-BUFFER
[  1184.395] (II) LoadModule: "glx"
[  1184.427] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[  1184.431] (II) Module glx: vendor="X.Org Foundation"
[  1184.431]    compiled for 1.10.6, module version = 1.0.0
[  1184.431]    ABI class: X.Org Server Extension, version 5.0
[  1184.431] (==) AIGLX enabled
[  1184.432] (II) Loading extension GLX
[  1184.432] (II) LoadModule: "record"
[  1184.465] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
[  1184.468] (II) Module record: vendor="X.Org Foundation"
[  1184.468]    compiled for 1.10.6, module version = 1.13.0
[  1184.468]    Module class: X.Org Server Extension
[  1184.469]    ABI class: X.Org Server Extension, version 5.0
[  1184.469] (II) Loading extension RECORD
[  1184.469] (II) LoadModule: "dri"
[  1184.498] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
[  1184.502] (II) Module dri: vendor="X.Org Foundation"
[  1184.502]    compiled for 1.10.6, module version = 1.0.0
[  1184.502]    ABI class: X.Org Server Extension, version 5.0
[  1184.502] (II) Loading extension XFree86-DRI
[  1184.502] (II) LoadModule: "dri2"
[  1184.532] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[  1184.535] (II) Module dri2: vendor="X.Org Foundation"
[  1184.535]    compiled for 1.10.6, module version = 1.2.0
[  1184.535]    ABI class: X.Org Server Extension, version 5.0
[  1184.536] (II) Loading extension DRI2
[  1184.536] (II) LoadModule: "openchrome"
[  1184.555] (II) Loading /usr/X11R7/lib/modules/drivers/openchrome_drv.so
[  1184.559] (II) Module openchrome: vendor="http://openchrome.org/";
[  1184.559]    compiled for 1.10.6, module version = 0.3.3
[  1184.559]    Module class: X.Org Video Driver
[  1184.559]    ABI class: X.Org Video Driver, version 10.0
[  1184.559] (II) LoadModule: "mouse"
[  1184.576] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[  1184.579] (II) Module mouse: vendor="X.Org Foundation"
[  1184.579]    compiled for 1.10.6, module version = 1.9.0
[  1184.579]    Module class: X.Org XInput Driver
[  1184.579]    ABI class: X.Org XInput driver, version 12.2
[  1184.579] (II) LoadModule: "kbd"
[  1184.597] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[  1184.599] (II) Module kbd: vendor="X.Org Foundation"
[  1184.599]    compiled for 1.10.6, module version = 1.7.0
[  1184.600]    Module class: X.Org XInput Driver
[  1184.600]    ABI class: X.Org XInput driver, version 12.2
[  1184.600] (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, 
KM400/KN400,
        K8M800/K8N800, PM800/PM880/CN400, VM800/P4M800Pro/VN800/CN700,
        CX700/VX700, K8M890/K8N890, P4M890, P4M900/VN896/CN896, VX800/VX820,
        VX855/VX875, VX900
[  1184.603] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode 
(version 3.32)
[  1184.603] (--) using VT number 5

[  1184.615] (II) Loading /usr/X11R7/lib/modules/drivers/openchrome_drv.so
[  1184.615] (!!) VIA Technologies does not support this driver in any way.
[  1184.615] (!!) For support, please refer to http://www.openchrome.org/.
[  1184.615] (!!) (openchrome 0.3.3 release)
[  1184.615] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1184.615] (II) CHROME(0): VIAPreInit
[  1184.615] (II) CHROME(0): VIAGetRec
[  1184.616] (--) CHROME(0): Chipset: CLE266
[  1184.616] (--) CHROME(0): Chipset revision: 0
[  1184.616] drmOpenDevice: node name is /dev/dri/card0
[  1184.621] drmOpenDevice: open result is 10, (OK)
[  1184.621] drmOpenByBusid: Searching for BusID pci:0001:01:00.0
[  1184.621] drmOpenDevice: node name is /dev/dri/card0
[  1184.624] drmOpenDevice: open result is 10, (OK)
[  1184.624] drmOpenByBusid: drmOpenMinor returns 10
[  1184.624] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[  1184.624] drmOpenByBusid: drmGetBusid reports pci:0001:01:00.0


Using 'X -configure' to get a baseline configuration file results in
the following "Device" section:

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "PrintVGARegs"              # [<bool>]
        #Option     "PrintTVRegs"               # [<bool>]
        #Option     "I2CScan"                   # [<bool>]
        #Option     "VBEModes"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "ExaNoComposite"            # [<bool>]
        #Option     "ExaScratchSize"            # <i>
        #Option     "SWCursor"                  # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "RotationType"              # [<str>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoRAM"                  # <i>
        #Option     "ActiveDevice"              # [<str>]
        #Option     "TVDotCrawl"                # [<bool>]
        #Option     "TVDeflicker"               # <i>
        #Option     "TVType"                    # [<str>]
        #Option     "TVOutput"                  # [<str>]
        #Option     "TVPort"                    # [<str>]
        #Option     "DisableVQ"                 # [<bool>]
        #Option     "DisableIRQ"                # [<bool>]
        #Option     "EnableAGPDMA"              # [<bool>]
        #Option     "NoAGPFor2D"                # [<bool>]
        #Option     "NoXVDMA"                   # [<bool>]
        #Option     "VbeSaveRestore"            # [<bool>]
        #Option     "DisableXvBWCheck"          # [<bool>]
        #Option     "ModeSwitchMethod"          # [<str>]
        #Option     "MaxDRIMem"                 # <i>
        #Option     "AGPMem"                    # <i>
        #Option     "I2CDevices"                # [<str>]
        Identifier  "Card0"
        Driver      "openchrome"
        BusID       "PCI:1:0:0"
EndSection

It is not clear whether any option above may be modified to bypass
the problem.

>How-To-Repeat:
Using native Xorg on NetBSD/i386-6.99.24 (netbsd-6?, -5?) on a machine
with a VIA UniChrome video device (CLE266 in particular), attempt to
start the X server.
>Fix:



Home | Main Index | Thread Index | Old Index