From nobody@FreeBSD.org  Fri Dec 28 03:13:20 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 04FA116A418
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Dec 2007 03:13:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0ACD313C448
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Dec 2007 03:13:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBS3Cfaa083273
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Dec 2007 03:12:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBS3CfIc083272;
	Fri, 28 Dec 2007 03:12:41 GMT
	(envelope-from nobody)
Message-Id: <200712280312.lBS3CfIc083272@www.freebsd.org>
Date: Fri, 28 Dec 2007 03:12:41 GMT
From: Chris <chris@christopherbartkowski.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pcidata field name
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119085
>Category:       ports
>Synopsis:       x11/xorg: pcidata field name error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 28 03:20:01 UTC 2007
>Closed-Date:    Thu Mar 13 12:05:30 UTC 2008
>Last-Modified:  Thu Mar 13 12:05:30 UTC 2008
>Originator:     Chris
>Release:        6.2
>Organization:
>Environment:
FreeBSD lappy.hsd1.pa.comcast.net. 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
This is a brief summary of an error that I had and the solution I found.
I couldn't find a mention of this in documentation so maybe this will be
helpful for others.

In upgrading to xorg 7.3 I was receiving an error that pcidata is not the
right version.  This was after upgrading everything (through the ports
collection) and following the instructions in the 'UPDATING' file.  The
problem was in the ModulePath instruction in '/etc/X11/xorg.conf'.  

Below is a snippet of the file, with only that which is relevant.
('local' was 'X11R6', which I changed)

> Section "Files"
>         ModulePath   "/usr/local/lib/modules/"
> EndSection

There was a 'libpcidata.so' in this folder but it was the wrong version.
There is another 'libpcidata.so' in '/usr/local/lib/xorg/modules/'.
Adding that to ModulePath, ahead of the old one, solved the issue for
me. (see below)

> Section "Files"
>         ModulePath   "/usr/local/lib/xorg/modules/"     
>         ModulePath   "/usr/local/lib/modules/"
> EndSection

>How-To-Repeat:
Upgrade to xorg 7.2 on freeBSD 6.2.  If I have to install it again I'll
script it.
>Fix:
Before the line (local may be X11R6)
     ModulePath   "/usr/local/lib/modules/".
put the line
     ModulePath   "/usr/local/lib/xorg/modules/"     

[bugmeister note: the above patch has been corrected as noted in the
misfiled PR ports/119111.]

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-ports-bugs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Dec 28 07:31:25 UTC 2007 
Responsible-Changed-Why:  
reassign to the correct group 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119085 
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Dec 28 17:57:38 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119085 
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Jeu 13 mar 2008 12:04:45 UTC 
State-Changed-Why:  
This is documented in UPDATING: 

If you plan on keeping your current /etc/X11/xorg.conf, make sure you 
change ModulePath to /usr/local/lib/xorg/modules prior to running X. 

That being said, there shouldn't be a left-over libpcidata.so file in 
that directory. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119085 
>Unformatted:
