View Full Version : /proc/driver/nvidia - empty files
hi!
i've just installed the linux nVidia driver for my Riva TNT 2 M64.
the installation process was successfull, everything seems to be o.k.
by installing and executing YanC i got a message, there cannot be found any informations about my card in /proc.
that's fact; /proc/driver/nvidia contains 2 directories. each of them contains an empty file.
any ideas ...?
regards, exile
What are the names of these directories? And what are the names of the files?
Which kernel are you running? Which driver version? And finally, which distro and version?
Questions, questions... ;)
hi again!
here are some informations about my system:
my distribution and linux kernel:
Slackware 8.1-beta2, 2.4.20
the drivers I used:
NVIDIA_GLX-1.0-4191.tar.gz NVIDIA_kernel-1.0-4191.tar.gz
gonzo@superman:/proc/driver/nvidia$ ls -l
dr-xr-xr-x 2 root root 0 Feb 14 20:59 agp/
dr-xr-xr-x 2 root root 0 Feb 14 20:59 cards/
-r--r--r-- 1 root root 0 Feb 14 20:59 version
gonzo@superman:/proc/driver/nvidia/agp$ ls -l
-r--r--r-- 1 root root 0 Feb 14 20:58 host-bridge
gonzo@superman:/proc/driver/nvidia/cards$ ls -l
-r--r--r-- 1 root root 0 Feb 14 20:58 0
cya, exile
OK, but the size of zero that's reported to ls by the kernel is only because /proc doesn't actually exist other than in memory. Try catting some (actually, all) of those files to see what's in them.
re.
root@superman:/proc/driver/nvidia# cat version
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4191 Mon Dec 9 11:49:01 PST 2002
GCC version: gcc version 2.95.3 20010315 (release)
root@superman:/proc/driver/nvidia/agp# cat host-bridge
Host Bridge: ALi M1541
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 2x 1x
Registers: 0x1b000203:0x00000000
root@superman:/proc/driver/nvidia/cards# cat 0
Model: RIVA TNT2 Model 64/Model 64 Pro
IRQ: 11
Video BIOS: 02.05.17.03.00
Card Type: PCI
but when i run «yanc», an error appears (see attachment).
cya, exile
Well, I don't have a clue what YanC is trying to do when it gives you that error message, so, yeah.
Although, I do see that you don't have a "status" or a "card" file in the agp directory, and looking through the source for 4191, in nv.c, those two files are only created when some device on the PCI bus is advertising that it's an AGP device. Are you sure you have an AGP card installed? Are you sure your bus is working correctly? Anything in dmesg or /var/log/messages that might be relevant?
Can you run the driver anyway? (i.e. have you tried it without YanC?)
Ygriega
02-21-03, 09:06 AM
This is a known issue in YanC and will be fixed in the next release.
It is NOT a bug in the nVidia driver or something else on your system.
The problem is that /proc/driver/nvidia/agp/status doesn't exist on systems that have a PCI card in it. YanC tries to access this file and finds nothing, so that error message comes up.
If you can't await the next release I can send you a fixed executable for YanC 0.2.0.
Just send me an email or something else.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.