Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-23-06, 02:06 PM   #1
newgen23
Registered User
 
Join Date: Sep 2006
Posts: 12
Default nvidia_drv.so - cannot open shared object file: No such file or directory

System:
AMD Sempron 3000+
64 Bit
Geforce 7300 GT

Driver:
NVIDIA-Linux-x86_64-1.0-8774-pkg2.run

modprobe nvidia brings:
NVRM: loading NVIDIA Linux x86_64 Kernel Module 1.0-8774 Tue Aug 1 21:42:17 PDT 2006

startx dies with the message:
dlopen: /usr/lib/xorg/modules/drivers/nvidia_drv.so: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/drivers/nvidia_drv.so
(EE) Failed to load module "nvidia" (loader failed, 7)
(EE) No drivers available.

"ls -alh /usr/lib/xorg/modules/drivers/nvidia*" brings up:

-rwxr-xr-x 1 root root 1,5M 2006-09-23 20:54 /usr/lib/xorg/modules/drivers/nvidia_drv.o
-rwxr-xr-x 1 root root 1,2M 2006-09-23 20:54 /usr/lib/xorg/modules/drivers/nvidia_drv.so


nvidia support contacted, no response yet.
tried the new NVIDIA-Linux-x86_64-1.0-9625-pkg2.run beta.
-> same problem.

any ideas?
Attached Files
File Type: log nvidia-bug-report.log (102.7 KB, 367 views)
newgen23 is offline   Reply With Quote
Old 09-24-06, 12:30 AM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: nvidia_drv.so - cannot open shared object file: No such file or directory

Where does the driver get installed if you do not specify the X module install path at install time?

Also, if you rename/delete /usr/lib/xorg/modules/drivers/nvidia_drv.so, does that have any impact?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-24-06, 04:55 AM   #3
newgen23
Registered User
 
Join Date: Sep 2006
Posts: 12
Default Re: nvidia_drv.so - cannot open shared object file: No such file or directory

The driver gets installed in /usr/lib/xorg/modules/drivers. I have also tried to specify the install directory with --x-prefix of --x-module-path. No difference.

When moving/deleting the file nvidia_drv.so, startx says:
Backtrace:
0: /usr/bin/X11/X(xf86SigHandler+0x89) [0x80b67d9]
1: [0xffffe500]
2: /usr/bin/X11/X(LoaderOpen+0x193) [0x80a2353]
3: /usr/bin/X11/X(LoadModule+0x4db) [0x80a423b]
4: /usr/bin/X11/X(xf86LoadModules+0x98) [0x809ee08]
5: /usr/bin/X11/X(InitOutput+0x4c1) [0x809fe51]
6: /usr/bin/X11/X(main+0x276) [0x806e3c6]
7: /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xf7d50ea8]
8: /usr/bin/X11/X(FontFileCompleteXLFD+0xad) [0x806d911]

Fatal server error:
Caught signal 11. Server aborting

When also deleting nvidia_drv.o, startx replies:
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.

strace X says the driver is in place but cannot be opened? :
stat64("/usr/lib/xorg/modules/drivers/nvidia_drv.so", {st_mode=S_IFREG|0755, st_size=1172710, ...}) = 0
write(0, "(II) Loading /usr/lib/xorg/modul"..., 57) = 57
open("/usr/lib/xorg/modules/drivers/nvidia_drv.so", O_RDONLY) = 9
read(9, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`j\ 1\0\0"..., 256) = 256
lseek(9, 0, SEEK_SET) = 0
open("/usr/lib/xorg/modules/drivers/nvidia_drv.so", O_RDONLY) = 10
read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`j\ 1\0\0"..., 512) = 512
close(10) = 0
write(2, "dlopen: /usr/lib/xorg/modules/dr"..., 111dlopen: /usr/lib/xorg/modules/drivers/nvidia_drv.so: cannot open shared object file: No such file or directory

Last edited by newgen23; 09-24-06 at 05:22 AM.
newgen23 is offline   Reply With Quote
Old 09-24-06, 10:22 AM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: nvidia_drv.so - cannot open shared object file: No such file or directory

I'm not really sure what is happening on your system at this point, but it seems possible that your X server is broken if it can't load a driver which clearly exists. In your X log I see a few modules are also failing to be found (xie, speedo, etc). Do those exist on disk?

Is the Xorg that you're running the latest version for Debian?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-24-06, 11:44 AM   #5
newgen23
Registered User
 
Join Date: Sep 2006
Posts: 12
Default Re: nvidia_drv.so - cannot open shared object file: No such file or directory

Yes the Xorg ist the latest. I also tried reinstalling the xorg, without any change in problems.
The modules like "pex5" are missing on harddisk. On my other System they are missing too, but the xorg runs fine, also with a geforce 5500 and nvidia driver.
It's a strange problem and I think I will have to bring back the gf 7300gt to the store and collect my money.
Will try to repair it till tomorrow, but then time is up...

thx for your help netlama.
newgen23 is offline   Reply With Quote
Old 09-27-06, 03:05 AM   #6
newgen23
Registered User
 
Join Date: Sep 2006
Posts: 12
Default Re: nvidia_drv.so - cannot open shared object file: No such file or directory

Update: Purged Xorg with everything including a X from my harddisk.
Reinstalled Xorg. Now the nv driver runs. The Nvidia driver is still not recognized.
newgen23 is offline   Reply With Quote
Old 10-19-06, 01:07 PM   #7
newgen23
Registered User
 
Join Date: Sep 2006
Posts: 12
Default Re: nvidia_drv.so - cannot open shared object file: No such file or directory

Finally some news, but no good ones...
The Nvidia 64bit driver installs a 64 bit file.
Excuse my lack of knowledge, but I now realized that the driver might be completely alright. The xorg is only able to read standart 32bit driver.
Since the Kernel is x86_64 bit, and the xorg is only 32 bit, there are two results:
the x86_64 driver won't be recognized by xorg
the x86_32 driver won't install on a 64 bit system
(manually copying won't work either.)
so now, I will try to compile my xorg manually and run the 64bit driver. I expect, the driver will work, the xorg will work, and any other 32 bit "X" application won't work until recompiled.

updates hopefully soon. ideas welcome...

29.10.2006:
installed: 32bit kernel, 32 bit nvidia driver, 32bit xorg. everything works.
comment from a friend: told you, don't try to use 64 bit linux. it won't work for desktop stations.
my comment: he is right.

Last edited by newgen23; 10-29-06 at 11:14 AM.
newgen23 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 05:15 AM
Can't install NVIDIA_kernel.XXXX.XXXX.src or regular rpm noeffort NVIDIA Linux 15 12-17-02 01:22 PM

All times are GMT -5. The time now is 02:07 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.