|
|
#1 | |
|
Registered User
Join Date: May 2009
Posts: 4
|
Hello all,
I recently reinstalled my laptop (sony vaio VGN-CS21S/R) with gentoo (amd64) was (x86). Since then i'm not able to run Xorg with the nvidia binary drivers for linux. After looking at all kinds of log files (dmesg, /var/log/messages, Xorg.0.log) i could not find much help, Xorg only says it can't find devices. There are no NVIDIA error messages in the log files. I read the complete readme file (from the nvidia package) and usin the parts i understood (not everything), i tried several things. The nvidia kernel driver is succesfully loaded by the kernel without errors and it reports my vidieo card in the proc file system. The Xorg server seems to load the nvidia_drv.so library and does not report any errors. I dont know what to do next. PS. Xorg starts with the vesa driver enabled |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
Quote:
Typically the X server will do a PCI bus scan and list all of the devices it finds right before the line that reads "(II) System resource ranges:". It looks like your X server didn't do that. I'm not sure what could cause that problem, but it sounds like a bug in your X server or kernel. Could your X server have been built without PCI support somehow? |
|
|
|
|
|
|
#3 | ||
|
Registered User
Join Date: May 2009
Posts: 4
|
Hi AaronP,
Quote:
Quote:
thanx in advance! PS. In the Vesa log there are resources ranges, so i guess that works or at least X tries too. above the first resource scans there is the same line... |
||
|
|
|
|
|
#4 | |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
Okay, it looks like what's happening here is that the new PCI probe routine is failing to find any PCI devices, which causes it to fall back to the old-style probe routine for the vesa driver, which always works because it bypasses PCI and uses the legacy VGA resources directly.
On X servers with the PCI rework, the NVIDIA driver doesn't plug in an old-style probe routine. The X server is failing to detect any of your PCI devices, so it doesn't call the NVIDIA PCI probe routine at all. Since there's no old-style probe routine, it just fails with "No devices detected." The fundamental problem here is that your X server cannot find any PCI devices. Please run "ldd /usr/bin/Xorg" and verify that it's linked against libpciaccess. If it's not, I suspect it somehow got compiled with PCI support disabled and I would recommend recompiling it and making sure that it finds libpciaccess correctly. |
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: May 2009
Posts: 4
|
Quote:
ldd output printed below Code:
# ldd /usr/bin/Xorg
/usr/bin/ldd: line 161: /lib/ld-linux.so.2: cannot execute binary file
linux-vdso.so.1 => (0x00007fff259ff000)
libpciaccess.so.0 => /usr/lib/libpciaccess.so.0 (0x00007f721d5b4000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f721d3b0000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f721d195000)
libXfont.so.1 => /usr/lib/libXfont.so.1 (0x00007f721cf59000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f721ccc8000)
libbz2.so.1 => /lib/libbz2.so.1 (0x00007f721cab8000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f721c8b5000)
libfontenc.so.1 => /usr/lib/libfontenc.so.1 (0x00007f721c6ae000)
libz.so.1 => /lib/libz.so.1 (0x00007f721c499000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f721c256000)
libhal.so.1 => /usr/lib/libhal.so.1 (0x00007f721c045000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f721be0a000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f721bc04000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f721b88a000)
libm.so.6 => /lib/libm.so.6 (0x00007f721b609000)
librt.so.1 => /lib/librt.so.1 (0x00007f721b400000)
libc.so.6 => /lib/libc.so.6 (0x00007f721b0b7000)
/lib64/ld-linux-x86-64.so.2 (0x00007f721d7bb000)
thanx again |
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: May 2009
Posts: 4
|
As always the answer to difficult propblems was fairly simple. I did not have a sysfs mounted on /sys. Where it depends on this mechanism. When i mounted the pseudo filesystem it worked very nice... going tweaking now.
It might be handy that this is reported somehow, maybe to let libpciaccess depend on the kernel sysfs configuration option? and maybe an easy warning or debug message when sysfs is not mounted. thinking on this. for now YaY! thanx for helping |
|
|
|
|
|
|
#7 |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
Aha, of course! I forgot that libpciaccess uses sysfs for that. I'll keep that in mind in case anyone else has similar problems.
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |