Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116702 - xf86-video-nv-1.0.1.5: undefined symbol: xf86CreateCursorInfoRec
Summary: xf86-video-nv-1.0.1.5: undefined symbol: xf86CreateCursorInfoRec
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 127369 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-25 07:33 UTC by Tobias Kaminsky
Modified: 2006-04-15 05:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
startx error log (Xorg.0.log,13.99 KB, text/plain)
2006-02-07 03:28 UTC, Tobias Kaminsky
Details
X -configure error log (xorg-conf-fehler,8.29 KB, text/plain)
2006-02-07 03:29 UTC, Tobias Kaminsky
Details
Xorg.0.log showing working with 1.0.2 (Xorg.0.log-nv-works.txt,40.03 KB, text/plain)
2006-04-05 12:22 UTC, James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kaminsky 2005-12-25 07:33:23 UTC
I installed sucessfully xorg-7.0, but when I press startx the computer says:

[16:18:57]|[root@tobi-rechner]|~$ startx
hostname: Unknown host


X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.14.4 i686
Current Operating System: Linux tobi-rechner 2.6.14.4 #1 SMP PREEMPT Sat Dec 24 04:27:05 CET 2005 i686
Build Date: 25 December 2005
        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.0.log", Time: Sun Dec 25 16:19:27 2005
(==) Using config file: "/etc/X11/xorg.conf"
dlopen: /usr/lib/xorg/modules/drivers/nv_drv.so: undefined symbol: xf86CreateCursorInfoRec
(EE) Failed to load /usr/lib/xorg/modules/drivers/nv_drv.so
(EE) Failed to load module "nv" (loader failed, 7)
(EE) No drivers available.

Fatal server error:
no screens found
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


Here's my xorg.conf:


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (root@tobi-rechner)  Sa Dez 24 16:35:15 CET 2005
# /.../
# SaX generated XFree86 config file
# Created on: 2004-01-18.
#
# Version: 4.7
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.7)
# PLEASE DO NOT EDIT THIS FILE!
#
#Section "Extensions"
#    Option "Composite" "Enable"
#EndSection

Section "ServerLayout"
    Identifier     "Layout[all]"
    Screen         "Screen[0]" 0 0
    InputDevice    "Keyboard" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option         "Clone" "off"
    Option         "Xinerama" "off"
EndSection

Section "Files"
    InputDevices      "/dev/ttyS0"
    InputDevices      "/dev/ttyS1"
    InputDevices      "/dev/ttyS2"
    InputDevices      "/dev/ttyS3"
    InputDevices      "/dev/ttyS4"
    InputDevices      "/dev/ttyS5"
    InputDevices      "/dev/ttyS6"
    InputDevices      "/dev/ttyS7"
    InputDevices      "/dev/ttyS8"
    InputDevices      "/dev/psaux"
    InputDevices      "/dev/logibm"
    InputDevices      "/dev/sunmouse"
    InputDevices      "/dev/atibm"
    InputDevices      "/dev/amigamouse"
    InputDevices      "/dev/atarimouse"
    InputDevices      "/dev/inportbm"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/mouse"
    InputDevices      "/dev/usbmouse"
    InputDevices      "/dev/adbmouse"
    InputDevices      "/dev/input/mice"
    InputDevices      "/dev/input/event0"
    InputDevices      "/dev/pointer0"
    InputDevices      "/dev/pointer1"
    InputDevices      "/dev/pointer2"
    InputDevices      "/dev/pointer3"
    FontPath        "/usr/share/fonts/libdockapp-fonts"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/URW"
    FontPath        "/usr/share/fonts/Speedo"
    FontPath        "/usr/share/fonts/PEX"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/latin2/misc:unscaled"
    FontPath        "/usr/share/fonts/latin2/75dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/100dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/Type1"
    FontPath        "/usr/share/fonts/latin7/75dpi:unscaled"
    FontPath        "/usr/share/fonts/baekmuk:unscaled"
    FontPath        "/usr/share/fonts/japanese:unscaled"
    FontPath        "/usr/share/fonts/kwintv"
    FontPath        "/usr/share/fonts/truetype"
    FontPath        "/usr/share/fonts/uni:unscaled"
    FontPath        "/usr/share/fonts/CID"
    FontPath        "/usr/share/fonts/ucs/misc:unscaled"
    FontPath        "/usr/share/fonts/ucs/75dpi:unscaled"
    FontPath        "/usr/share/fonts/ucs/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/misc:unscaled"
    FontPath        "/usr/share/fonts/hellas/75dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/Type1"
    FontPath        "/usr/share/fonts/misc/sgi:unscaled"
    FontPath        "/usr/share/fonts/xtest"
EndSection

Section "Module"
    Load           "extmod"
#  Load         "speedo"
    Load           "glx"
    Load           "freetype"
#  Load                 "nvidia"
    Load           "type1"
#  Load         "v4l"
    Load           "dbe"
# Load          "ex"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail"
EndSection

Section "InputDevice"
    Identifier     "Keyboard"
    Driver         "kbd"
    Option         "MapName" "Standard Keyboard [ pc105 ]"
#  Option       "Protocol" "Standard"
    Option         "XkbLayout" "de"
    Option         "XkbModel" "pc105"
    Option         "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier     "Mouse[1]"
    Driver         "mouse"
    Option         "ButtonNumber" "5"
    Option         "Device" "/dev/psaux"
    Option         "Name" "Autodetection"
    Option         "Protocol" "imps/2"
    Option         "Vendor" "Sysp"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Modes"
    Identifier         "Modes[0]"
    ModeLine     "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
#  Modeline     "1024x768" 122.39 1024 1064 1240 1368 768 768 783 802
#  Modeline      "1024x768" 61.19 1024 1040 1216 1400 768 768 775 802
#  Modeline      "1024x768" 71.39 1024 1040 1216 1400 768 768 776 802
# --->  Modeline      "1024x768" 81.59 1024 1040 1216 1400 768 768 777 802
#  Modeline      "1024x768" 91.79 1024 1040 1216 1400 768 768 778 802
#  Modeline      "1024x768" 101.99 1024 1040 1216 1400 768 768 779 802
#  Modeline      "1024x768" 112.19 1024 1040 1216 1400 768 768 781 802
#  Modeline      "1024x768" 122.39 1024 1040 1216 1400 768 768 783 802
#  Modeline      "1024x768" 132.59 1024 1040 1216 1400 768 768 789 802
#  Modeline      "1024x768" 142.79 1024 1040 1216 1400 768 768 789 802
EndSection

Section "Monitor"
    Identifier     "Monitor [0]"
    ModelName      "IIYAMA Vision Master Pro 510"
    UseModes       "Modes[0]"
    DisplaySize     400    300
    HorizSync       31.0 - 82.0
    VertRefresh     30.0 - 60.0
EndSection

Section "Device"
    Identifier     "Device[0]"
    Driver         "nv"
    Option "HWCursor" "0"
    VendorName     "NVidia"
    BoardName      "GeForce2 Ti"
    Screen          0
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    Option         "HWCursor" "0"
    Option         "EnablePageFlip" "True"
#    Option         "AllowGLXWithComposite" "true"
    Option         "RenderAccel" "true"
#   Option      "UseFBDev" "on"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection

And xorg.0.log:

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.6629
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
        compiled for 7.0.0, module version = 2.1.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "type1"
(II) Loading /usr/lib/xorg/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.2
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "nv"
(II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so
dlopen: /usr/lib/xorg/modules/drivers/nv_drv.so: undefined symbol: xf86CreateCursorInfoRec
(EE) Failed to load /usr/lib/xorg/modules/drivers/nv_drv.so
(II) UnloadModule: "nv"
(EE) Failed to load module "nv" (loader failed, 7)
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.3
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(EE) No drivers available.

Fatal server error:
no screens found
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2005-12-25 23:04:48 UTC
Probably has to do with:

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.6629
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1

Drop the
    Load           "glx"
line and try again.
Comment 2 Tobias Kaminsky 2005-12-26 03:28:09 UTC
Doesn't help. Same error.

I even tried to change the Opengl Interface. No improvement.



Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2006-01-19 15:10:58 UTC
Maybe it's because video drivers are loaded before mouse and keyboard modules? It's just my suggestion
Comment 4 Karol Wojtaszek (RETIRED) gentoo-dev 2006-01-19 15:51:44 UTC
Adding Load "ramdac" in module section should fix this unresolved symbols problem. I'm curious why xorg doesn't load this module automaticly
Comment 5 Tobias Kaminsky 2006-01-20 07:45:46 UTC
Now it's a new error message:

dlopen: /usr/lib/xorg/modules/nv_drv.so: undefined symbol: vgaHWInit

Can you help me?

Thanks, Tobi
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-20 07:58:43 UTC
Did you build xorg-server and the drivers with a hardened gcc?
Comment 7 Tobias Kaminsky 2006-01-20 08:38:58 UTC
No. But its gcc 3.4.4

Tobi
Comment 8 Adam Jackson 2006-01-20 19:28:45 UTC
this is definitely the -z now problem.
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2006-01-21 08:58:28 UTC
Tobias: 'emerge info' please.
Comment 10 Tobias Kaminsky 2006-01-22 15:35:26 UTC
[00:29:58]|[tobi@tobi-rechner]|~$ emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d/local.start /etc/fstab /etc/init.d/keymaps /etc/modules.autoload.d/kernel-2.6 /etc/rc.conf /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowext X aac aalib alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdr crypt css cups curl divx4linux dvb dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gpm gtk gtk2 idn imagemagick imlib java jpeg jpeg2k junit kde lcms ldap libg++ libwww lirc live mad mhash mikmod mmx mmxext mng motif mp3 mpeg msn nas ncurses network nls nsplugin ntpl nvidia offensive ogg oggvorbis opengl osd oss pam pcre pdflib perl png python qt quicktime readline real rtc samba sdl sensord slang spell sse ssl svga tcltk tcpd thread tiff truetype truetype-fonts type1-fonts udev usb vcd visualization vorbis win32codecs wmf xine xml xml2 xmms xosd xprint xv xvid zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-02-04 09:27:19 UTC
Could you attach (not paste, please) your log with the new failure?
Comment 12 Tobias Kaminsky 2006-02-06 06:12:54 UTC
(In reply to comment #11)
> Could you attach (not paste, please) your log with the new failure?
> 

Hi,

the problem is, that I can't build everything new due I have to learn, but everything except:
dlopen: /usr/lib/xorg/modules/nv_drv.so: undefined symbol: vgaHWInit

looks very fine if I remember corectly.

This message occurs after xorg tried to load nv.


Hope that will help you.
Comment 13 Joshua Baergen (RETIRED) gentoo-dev 2006-02-06 19:34:48 UTC
Unfortunately I'm still not sure what's going on.  I'll mark this NEEDINFO until we do get more information on it.

If you want to try something overnight, 'emerge -e world' couldn't hurt.
Comment 14 Tobias Kaminsky 2006-02-07 03:28:52 UTC
Created attachment 79100 [details]
startx error log
Comment 15 Tobias Kaminsky 2006-02-07 03:29:35 UTC
Created attachment 79101 [details]
X -configure error log
Comment 16 Joshua Baergen (RETIRED) gentoo-dev 2006-02-07 19:37:18 UTC
Ya, I really don't see anything suspicious.

Try (at the very least) doing 'emerge -e xorg-x11'.  That should at least get the build consistant.
Comment 17 Tobias Kaminsky 2006-02-07 23:48:53 UTC
(In reply to comment #16)
> Ya, I really don't see anything suspicious.
> 
> Try (at the very least) doing 'emerge -e xorg-x11'.  That should at least get
> the build consistant.
> 

Do I need this?
I removed the xorg-x11-6.9....version, then emerged xorg-x11 with all its dependencies (90 packages)

After that I should remerge all these packages?

Okay, I*ll give it a try.
Comment 18 Joshua Baergen (RETIRED) gentoo-dev 2006-02-08 21:35:32 UTC
Did you follow http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml when removing 6.9?
Comment 19 Tobias Kaminsky 2006-02-09 06:14:59 UTC
emerge -e xorg-x11 tooks 5 hours with no new result.

Yes, i followed this howto.
But there weren't really new things:
1) emerge -C xorg-x11 virtual/x11 
2) delete symlink if it isn't pointing to ../usr (which it is)

It must have something to do with my grafic card, because my laptop ist using xorg7 without problems.

Tobi
Comment 20 Joshua Baergen (RETIRED) gentoo-dev 2006-02-09 17:20:09 UTC
Graphics card shouldn't cause this problem.

Is there any reason you don't want to use the nVidia binary drivers?
Comment 21 Tobias Kaminsky 2006-02-10 00:53:21 UTC
(In reply to comment #20)
> Graphics card shouldn't cause this problem.
> 
> Is there any reason you don't want to use the nVidia binary drivers?
> 

Binary drivers? 
I use nv, from xf86-video-nv, because nvidia-kernel isn't working.
He can't find the module, beceause the path has changed.

In fact it is not important to me which drivers I use.

But it should work some day...

Thanks

Tobi
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 00:26:11 UTC
*** Bug 127369 has been marked as a duplicate of this bug. ***
Comment 23 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-04 15:06:05 UTC
Still a problem with 1.0.2.0? Reopen when you reply.
Comment 24 Tobias Kaminsky 2006-04-05 01:01:39 UTC
(In reply to comment #23)
> Still a problem with 1.0.2.0? Reopen when you reply.
> 

Yes still the same Problem with:
x11-base/xorg-server-1.0.2-r1
x11-drivers/xf86-video-nv-1.0.1.5

dlopen: /usr/lib/xorg/modules/nv_drv.so: undefined symbol: vgaHWInit

thats the error message

Thank you

Comment 25 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-05 06:55:09 UTC
Please update your gcc to 3.4.6, then update xorg-server to -r3 and recompile the nv driver. Again, reopen when you reply.
Comment 26 James 2006-04-05 12:21:01 UTC
Works for me.
See Xorg.0.log-nv-works.txt for output showing it working.
Comment 27 James 2006-04-05 12:22:14 UTC
Created attachment 84010 [details]
Xorg.0.log showing working with 1.0.2
Comment 28 Tobias Kaminsky 2006-04-06 04:22:22 UTC
(In reply to comment #25)
> Please update your gcc to 3.4.6, then update xorg-server to -r3 and recompile
> the nv driver. Again, reopen when you reply.
> 

Still the same. No improvement.

Any idea?
Is it because of my GeForce2 Titanium?

Tobi
Comment 29 Tobias Kaminsky 2006-04-15 05:33:07 UTC
USE Flag +dri helped