Xorg -configure breaks on undefined symbol: xf86GetPciVideoInfo

Bug #265035 reported by Oliver Grawert
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nsc (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: xorg

using Xorg -configure in intrepid breaks with an undefined symbol: xf86GetPciVideoInfo message as below:
----
user@host$ sudo Xorg -configure :2

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.99.906 (1.5.0 RC 6)
Release Date:
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-15-server i686 Ubuntu
Current Operating System: Linux osiris 2.6.27-2-generic #1 SMP Thu Aug 28 17:20:02 UTC 2008 i686
Build Date: 03 September 2008 01:24:30PM
xorg-server 2:1.4.99.906-2ubuntu5 (<email address hidden>)
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
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.2.log", Time: Fri Sep 5 13:47:05 2008
List of video drivers:
 tdfx
 dummy
 i128
 cirrus
 vga
 radeonhd
 s3
 ati
 mach64
 r128
 trident
 savage
 v4l
 i810
 i740
 s3virge
 tga
 radeon
 vesa
 siliconmotion
 psb
 intel
 nsc
 tseng
 rendition
 nv
 geode
 mga
 apm
 sis
 glint
 chips
 ark
 voodoo
 vmware
 openchrome
 neomagic
 sisusb
 ztv
 fbdev
(EE) module ABI major version (1) doesn't match the server's version (4)
(EE) Failed to load module "psb" (module requirement mismatch, 0)
Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers//vga_drv.so: undefined symbol: xf86GetPciVideoInfo
---

Tags: intrepid
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

You shouldn't have vga installed, it might be removed from the archive soon anyway. The error is from the poulsbo driver, which doesn't seem to be rebuilt against the new xserver..

Revision history for this message
Oliver Grawert (ogra) wrote :

this is on a ltsp client which simply installs the xorg metapackage (depending on xserver-xorg which in turn pulls in xserver-xorg-video-all).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

x-x-v-all doesn't depend on -vga anymore, so I'm not sure why it would be pulled in this case.

Revision history for this message
Oliver Grawert (ogra) wrote :

removing the vga driver helps a bit, but it chokes on the -nsc driver now (same error message), removing that one as well makes Xorg -configure work as expected again.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

ok, so now the -nsc driver is broken..

Revision history for this message
Loïc Minier (lool) wrote :

How come there aren't provides/conflicts to prevent installation of old drivers with xservers with a different ABI?

Revision history for this message
tkoopa (tkoopa) wrote :

I had the same problem with an network upgrade from hardy to intrepid

I have a geforce FX5500 connected to a VGA CRT and an HDTV with a DVI to HDMI cable. Hardy xorg.conf was set up with separate x servers, configured with nvidia-settings.

On first reboot after upgrade, x-server crashed and I was set back to command prompt ( no bulletproof x ?? )

Xorg -configure also crashed with the following error message: Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers//vga_drv.so

I fixed it by doing the following:
 - renamed /usr/lib/xorg/modules/drivers/vga_drv.so to /usr/lib/xorg/modules/drivers/vga_drv.so.off
- then renamed /usr/lib/xorg/modules/drivers/nsc_drv.so to /usr/lib/xorg/modules/drivers/nsc_drv.so.off after seeing the same error message as for vga_drv

Xorg -configure then wrote a working xorg.conf

Revision history for this message
rew (r-e-wolff) wrote :

Hi,
I have a ltsp client system that actually uses the NSC driver, so removing it is not an option for me. I was planning on /using/ it.....

Revision history for this message
rew (r-e-wolff) wrote :

On or around (I've been debugging the code a bit) line 520 of src/nsc_driver.c is the call to xf86GetPciVideoInfo .

It is intended to detect wether or not PCI is available at all. I changed this to if (1).

If PCI is NOT available, the xf86MatchPciInstances calls in the following lines will silently return "no devices found". I actually tested that because I cut out too much of my machine's bootsequence, so that PCI wasn't available anymore.

   /* PCI BUS */
   if (xf86GetPciVideoInfo ()) {
      numUsed = xf86MatchPciInstances(NSC_NAME, PCI_VENDOR_ID_NS,

becomes:

  /* PCI BUS */
   if (1) {
      numUsed = xf86MatchPciInstances(NSC_NAME, PCI_VENDOR_ID_NS,

More info needed? Mail me... :-)

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi ogra,

Please attach the output of `lspci -vvnn` too.

Changed in xserver-xorg-video-nsc:
status: New → Incomplete
Revision history for this message
rew (r-e-wolff) wrote :

Bryce: Who is ogra? Why are you sending automated messages, marking a bug as "incomplete" while a solution is provided (by me) in the comments?

Revision history for this message
Bryce Harrington (bryce) wrote :

> Bryce: Who is ogra?

Ogra is the original reporter for this bug report.

> Why are you sending automated messages, marking a bug as "incomplete" while a solution is provided (by me) in the comments?

The automated script processes bugs in state New. It looks for certain information, such as lspci or Xorg.0.log, that is needed 95% of the time. Some bugs like this fall into that last 5%, but it is often very hard to programmatically detect these cases.

Changed in xserver-xorg-video-nsc:
status: Incomplete → Confirmed
Bryce Harrington (bryce)
tags: added: intrepid
Revision history for this message
rew (r-e-wolff) wrote :

Apparently the suggestion to drop nsc was followed for jaunty. I can't say I'm thrilled: My openbricks need the module to display anything....

Revision history for this message
Bryce Harrington (bryce) wrote :

Support for -nsc has been merged into xserver-xorg-video-geode, and so we no longer support the -nsc driver on Karmic.

Please test this bug with -geode, and if it still occurs you should re-file it against the geode package via the following command:

  ubuntu-bug xserver-xorg-video-geode

Changed in xserver-xorg-video-nsc (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.