NetBSD Problem Report #51480

From www@NetBSD.org  Fri Sep 16 14:30:47 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 7D7527A16F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 16 Sep 2016 14:30:47 +0000 (UTC)
Message-Id: <20160916143046.9BF9A7A2BD@mollari.NetBSD.org>
Date: Fri, 16 Sep 2016 14:30:46 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Xorg nv_drv.so fails to load with 'Undefined symbol "G80DMAKickoffCallback"'
X-Send-Pr-Version: www-1.0

>Number:         51480
>Category:       port-macppc
>Synopsis:       Xorg nv_drv.so fails to load with 'Undefined symbol "G80DMAKickoffCallback"'
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    mrg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 16 14:35:00 +0000 2016
>Closed-Date:    Thu Sep 22 17:45:43 +0000 2016
>Last-Modified:  Thu Sep 22 17:45:43 +0000 2016
>Originator:     Sevan Janiyan
>Release:        NetBSD 7.99.38
>Organization:
>Environment:
NetBSD 7.99.38 (GENERIC.201609160850Z) macppc
>Description:
nv module fails to load on a NetBSD/macppc running on a 12" PowerBook G4 with nvidia FX5200, looking on Xorg.0.log, system reports

Failed to load /usr/X11R7/lib/modules/drivers/nv_drv.so: /usr/X11R7/lib/modules/drivers/nv_drv.so: Undefined symbol "G80DMAKickoffCallBack" (symnum =194)
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-macppc-maintainer->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Wed, 21 Sep 2016 17:50:32 +0000
Responsible-Changed-Why:
i broke it.


State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Wed, 21 Sep 2016 17:50:32 +0000
State-Changed-Why:
i've commited a fix for this one symbol, but i suspect that there are
more.  (i don't have a working macppc with nv to test currently.)


From: "matthew green" <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51480 CVS commit: xsrc/external/mit/xf86-video-nv/dist/src
Date: Wed, 21 Sep 2016 17:48:19 +0000

 Module Name:	xsrc
 Committed By:	mrg
 Date:		Wed Sep 21 17:48:18 UTC 2016

 Modified Files:
 	xsrc/external/mit/xf86-video-nv/dist/src: g80_dma.c g80_dma.h g80_exa.c
 	    g80_xaa.c g80_xaa.h

 Log Message:
 move G80DmaKickoffCallback into g80_dma.c so that it's visible no
 non-XAA builds.  renamed from G80DMAKickoffCallback for consistency.
 should fix PR#51480.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.2 \
     xsrc/external/mit/xf86-video-nv/dist/src/g80_dma.c \
     xsrc/external/mit/xf86-video-nv/dist/src/g80_dma.h \
     xsrc/external/mit/xf86-video-nv/dist/src/g80_xaa.h
 cvs rdiff -u -r1.1.1.3 -r1.2 \
     xsrc/external/mit/xf86-video-nv/dist/src/g80_exa.c \
     xsrc/external/mit/xf86-video-nv/dist/src/g80_xaa.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "matthew green" <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51480 CVS commit: src/external/mit/xorg/server/drivers/xf86-video-nv
Date: Wed, 21 Sep 2016 18:00:26 +0000

 Module Name:	src
 Committed By:	mrg
 Date:		Wed Sep 21 18:00:26 UTC 2016

 Modified Files:
 	src/external/mit/xorg/server/drivers/xf86-video-nv: Makefile

 Log Message:
 always build the XAA files as well.  they have functions used
 by the EXA code and besides a minor fix, were already setup to
 build with HAVE_XAA_H not defined.

 this should really fix PR#51480.


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.12 \
     src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-macppc/51480 (Xorg nv_drv.so fails to load with 'Undefined
 symbol "G80DMAKickoffCallback"')
Date: Wed, 21 Sep 2016 19:01:40 +0100

 I'll provide feedback next week once I've had a chance to test after 
 EuroBSDCon.


 Sevan

State-Changed-From-To: feedback->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Thu, 22 Sep 2016 17:45:43 +0000
State-Changed-Why:
confirmed fixed by another user who also i had broken... thanks.


>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.