NetBSD Problem Report #51580

From www@NetBSD.org  Thu Oct 27 20:14:48 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id CADD87A219
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 27 Oct 2016 20:14:48 +0000 (UTC)
Message-Id: <20161027201447.0EEEC7A2B4@mollari.NetBSD.org>
Date: Thu, 27 Oct 2016 20:14:47 +0000 (UTC)
From: mbeis@xs4all.nl
Reply-To: mbeis@xs4all.nl
To: gnats-bugs@NetBSD.org
Subject: NetBSD/Alpha Xorg failed to load mga_drv.so because of undefined symbol "MGAPolyArcThinSolid"
X-Send-Pr-Version: www-1.0

>Number:         51580
>Category:       xsrc
>Synopsis:       NetBSD/Alpha Xorg failed to load mga_drv.so because of undefined symbol "MGAPolyArcThinSolid"
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 27 20:15:00 +0000 2016
>Last-Modified:  Sat Dec 03 10:50:00 +0000 2016
>Originator:     Marco Beishuizen
>Release:        NetBSD > 7.0 (most recent on CURRENT 7.99.40)
>Organization:
>Environment:
NetBSD samurai.lan 7.99.40 NetBSD 7.99.40 (GENERIC-$Revision: 1.369 $) #0: Tue Oct 25 22:57:04 UTC 2016  root@samurai.lan:/usr/obj/sys/arch/alpha/compile/SAMURAI alpha
>Description:
Unable to run X on a Digital Personal Workstation 600au. I've tried this since NetBSD 7.0 and most recent on NetBSD CURRENT 7.99.40. The GENERIC kernel was rebuild with kern.securelevel = -1. The machine has a Matrox G450PCI in it and is recognized in SRM console and by the kernel. I've tried the card in both 32-bit and 64-bit PCI-slots. Doesn't matter if X is started by xdm or startx. The full Xorg log is as follows:

[ 26823.140] 
X.Org X Server 1.10.6
Release Date: 2011-07-08
[ 26823.141] X Protocol Version 11, Revision 0
[ 26823.141] Build Operating System: NetBSD/alpha  - 
[ 26823.142] Current Operating System: NetBSD samurai.lan 7.99.40 NetBSD 7.99.40 (GENERIC-$Revision: 1.369 $) #0: Tue Oct 25 22:57:04 UTC 2016  root@samurai.lan:/usr/obj/sys/arch/alpha/compile/SAMURAI alpha
[ 26823.143] Build Date: 01 August 2011  01:01:00AM
[ 26823.143]  
[ 26823.144] Current version of pixman: 0.32.6
[ 26823.144] 	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
[ 26823.144] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 26823.145] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 27 21:54:50 2016
[ 26823.146] (II) Loader magic: 0x120324728
[ 26823.147] (II) Module ABI versions:
[ 26823.147] 	X.Org ANSI C Emulation: 0.4
[ 26823.147] 	X.Org Video Driver: 10.0
[ 26823.147] 	X.Org XInput driver : 12.2
[ 26823.147] 	X.Org Server Extension : 5.0
[ 26823.160] (II) dense base = 0x8600000000
[ 26823.161] (WW) checkDevMem: failed to mmap /dev/mem (Invalid argument)
[ 26823.162] (WW) checkDevMem: failed to open/mmap /dev/mem (Invalid argument)
[ 26823.162] 	linear framebuffer access unavailable
[ 26823.162] (II) has_bwx = 0
[ 26823.162] (--) Machine needs sparse mapping
[ 26823.163] (--) PCI:*(2:2:0:0) 102b:0525:102b:0d43 rev 133, Mem @ 0x90000000/33554432, 0x80820000/16384, 0x80000000/8388608, BIOS @ 0x????????/131072
[ 26823.164] (==) Using default built-in configuration (12 lines)
[ 26823.164] (==) --- Start of built-in configuration ---
[ 26823.164] 	Section "Device"
[ 26823.164] 		Identifier	"Builtin Default mga Device 0"
[ 26823.165] 		Driver	"mga"
[ 26823.165] 	EndSection
[ 26823.165] 	Section "Screen"
[ 26823.165] 		Identifier	"Builtin Default mga Screen 0"
[ 26823.165] 		Device	"Builtin Default mga Device 0"
[ 26823.165] 	EndSection
[ 26823.165] 	Section "ServerLayout"
[ 26823.165] 		Identifier	"Builtin Default Layout"
[ 26823.165] 		Screen	"Builtin Default mga Screen 0"
[ 26823.165] 	EndSection
[ 26823.165] (==) --- End of built-in configuration ---
[ 26823.166] (==) ServerLayout "Builtin Default Layout"
[ 26823.166] (**) |-->Screen "Builtin Default mga Screen 0" (0)
[ 26823.166] (**) |   |-->Monitor "<default monitor>"
[ 26823.167] (**) |   |-->Device "Builtin Default mga Device 0"
[ 26823.168] (==) No monitor specified for screen "Builtin Default mga Screen 0".
	Using a default monitor configuration.
[ 26823.168] (==) Not automatically adding devices
[ 26823.168] (==) Not automatically enabling devices
[ 26823.169] (==) 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/
[ 26823.169] (==) ModulePath set to "/usr/X11R7/lib/modules"
[ 26823.170] (==) |-->Input Device "<default pointer>"
[ 26823.170] (==) |-->Input Device "<default keyboard>"
[ 26823.170] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[ 26823.170] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[ 26823.170] (II) LoadModule: "extmod"
[ 26823.179] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[ 26823.182] (II) Module extmod: vendor="X.Org Foundation"
[ 26823.182] 	compiled for 1.10.6, module version = 1.0.0
[ 26823.182] 	Module class: X.Org Server Extension
[ 26823.182] 	ABI class: X.Org Server Extension, version 5.0
[ 26823.182] (II) Loading extension MIT-SCREEN-SAVER
[ 26823.183] (II) Loading extension XFree86-VidModeExtension
[ 26823.183] (II) Loading extension XFree86-DGA
[ 26823.183] (II) Loading extension DPMS
[ 26823.183] (II) Loading extension XVideo
[ 26823.183] (II) Loading extension XVideo-MotionCompensation
[ 26823.183] (II) Loading extension X-Resource
[ 26823.183] (II) LoadModule: "dbe"
[ 26823.191] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
[ 26823.193] (II) Module dbe: vendor="X.Org Foundation"
[ 26823.193] 	compiled for 1.10.6, module version = 1.0.0
[ 26823.193] 	Module class: X.Org Server Extension
[ 26823.193] 	ABI class: X.Org Server Extension, version 5.0
[ 26823.193] (II) Loading extension DOUBLE-BUFFER
[ 26823.193] (II) LoadModule: "glx"
[ 26823.202] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[ 26823.203] (II) Module glx: vendor="X.Org Foundation"
[ 26823.203] 	compiled for 1.10.6, module version = 1.0.0
[ 26823.204] 	ABI class: X.Org Server Extension, version 5.0
[ 26823.204] (==) AIGLX enabled
[ 26823.204] (II) Loading extension GLX
[ 26823.204] (II) LoadModule: "record"
[ 26823.213] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
[ 26823.214] (II) Module record: vendor="X.Org Foundation"
[ 26823.214] 	compiled for 1.10.6, module version = 1.13.0
[ 26823.214] 	Module class: X.Org Server Extension
[ 26823.214] 	ABI class: X.Org Server Extension, version 5.0
[ 26823.215] (II) Loading extension RECORD
[ 26823.215] (II) LoadModule: "dri"
[ 26823.223] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
[ 26823.224] (II) Module dri: vendor="X.Org Foundation"
[ 26823.224] 	compiled for 1.10.6, module version = 1.0.0
[ 26823.224] 	ABI class: X.Org Server Extension, version 5.0
[ 26823.224] (II) Loading extension XFree86-DRI
[ 26823.224] (II) LoadModule: "dri2"
[ 26823.232] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[ 26823.233] (II) Module dri2: vendor="X.Org Foundation"
[ 26823.234] 	compiled for 1.10.6, module version = 1.2.0
[ 26823.234] 	ABI class: X.Org Server Extension, version 5.0
[ 26823.234] (II) Loading extension DRI2
[ 26823.234] (II) LoadModule: "mga"
[ 26823.238] (II) Loading /usr/X11R7/lib/modules/drivers/mga_drv.so
[ 26823.240] (EE) Failed to load /usr/X11R7/lib/modules/drivers/mga_drv.so: /usr/X11R7/lib/modules/drivers/mga_drv.so: Undefined symbol "MGAPolyArcThinSolid" (symnum = 122)
[ 26823.240] (II) UnloadModule: "mga"
[ 26823.240] (II) Unloading mga
[ 26823.241] (EE) Failed to load module "mga" (loader failed, 7)
[ 26823.241] (II) LoadModule: "mouse"
[ 26823.245] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[ 26823.246] (II) Module mouse: vendor="X.Org Foundation"
[ 26823.246] 	compiled for 1.10.6, module version = 1.9.1
[ 26823.247] 	Module class: X.Org XInput Driver
[ 26823.247] 	ABI class: X.Org XInput driver, version 12.2
[ 26823.247] (II) LoadModule: "kbd"
[ 26823.251] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[ 26823.252] (II) Module kbd: vendor="X.Org Foundation"
[ 26823.252] 	compiled for 1.10.6, module version = 1.8.1
[ 26823.252] 	Module class: X.Org XInput Driver
[ 26823.252] 	ABI class: X.Org XInput driver, version 12.2
[ 26823.252] (EE) No drivers available.
[ 26823.252] 
Fatal server error:
[ 26823.253] no screens found
[ 26823.253] 
Please consult the The X.Org Foundation support 
	 at http://wiki.X.Org
 for help. 
[ 26823.253] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 26823.253] 
>How-To-Repeat:
Trying to start X by xdm or startx.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-alpha-maintainer->xsrc-manager
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sat, 03 Dec 2016 10:35:17 +0000
Responsible-Changed-Why:
change to xsrc (not wrong category, just more likely to be seen by the right person here)


From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, port-alpha-maintainer@netbsd.org,
    netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, maya@NetBSD.org,
    mbeis@xs4all.nl
Subject: re: xsrc/51580 (NetBSD/Alpha Xorg failed to load mga_drv.so because of undefined symbol "MGAPolyArcThinSolid")
Date: Sat, 03 Dec 2016 21:48:50 +1100

 hmmm, looking not too closely at this but it seems the missing
 symbol is in mga_arc.c, which isn't built into the port i made
 for xorg-server 1.18, since it has XAA-only code there.  i
 suspect that it needs some of this file..


 .mrg.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.