View previous topic :: View next topic |
Author |
Message |
epx n00b
Joined: 30 Apr 2003 Posts: 68
|
Posted: Sat Nov 08, 2003 3:04 am Post subject: Stupid nvidia drivers.... |
|
|
The only thing I touched was my XF86Config file and now my nvidia module will not load properly
Here is my /proc/pci:
Bus 1, device 0, function 0:
VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti4200] (rev 162).
IRQ 16.
Master Capable. Latency=32. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe8000000 [0xe8ffffff].
Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
Prefetchable 32 bit memory at 0xe0000000 [0xe007ffff].
Here is the relevant part of my /etc/modules.conf:
### modules-update: start processing /etc/modules.d/nvidia
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
Here is my modprobe output:
Warning: loading /lib/modules/2.4.20-gentoo-r5/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
/lib/modules/2.4.20-gentoo-r5/video/nvidia.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-gentoo-r5/video/nvidia.o: insmod /lib/modules/2.4.20-gentoo-r5/video/nvidia.o failed
/lib/modules/2.4.20-gentoo-r5/video/nvidia.o: insmod nvidia failed
Here is my dmesg output:
0: nvidia: no NVIDIA graphics adapter found
And for some reason I no longer have any devices in /dev reffering to my nvidia card.
Ok, I did lots of searches and I found no answers, I searched the forums and google. I apoligize if I missed something, but i was doing the searches with lynx, so I could have missed something
But now i am going to go watch the matrix and get away from the computer before I take a hammer to it. |
|
Back to top |
|
|
epx n00b
Joined: 30 Apr 2003 Posts: 68
|
Posted: Sat Nov 08, 2003 2:13 pm Post subject: ... |
|
|
*bump* |
|
Back to top |
|
|
jaska Bodhisattva
Joined: 06 Jun 2003 Posts: 725 Location: Finland
|
Posted: Sat Nov 08, 2003 4:32 pm Post subject: |
|
|
Try reinstalling the driver, all I can think of now. If worse comes to worse, then recompile your kernel, then reinstall nvidia drivers. |
|
Back to top |
|
|
epx n00b
Joined: 30 Apr 2003 Posts: 68
|
Posted: Sat Nov 08, 2003 4:47 pm Post subject: Did that... |
|
|
Forgot to note that I have already reinstalled the driver, I used three different builds. I guess I can try a kernel re-compile. It's been a while, so I think it will be an upgrade.
Thanks!
Anyone else got any other ideas, incase this doesn't work? |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Sat Nov 08, 2003 10:26 pm Post subject: |
|
|
Chekc these things out:
- Does the "nv" driver work in xfree -> if so it isn't a hardware problem.
- What gives "cat /proc/interrupts" -> check for irq problems
- Is the symlink /usr/src/linux pointing to the kernel you are using
BEFORE compiling the nvidia kernel module?
If this all fails, I think recompiling the kernel should help. _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
Kesereti Guru
Joined: 07 Nov 2002 Posts: 520
|
Posted: Sat Nov 08, 2003 10:44 pm Post subject: |
|
|
jay wrote: | Chekc these things out:
- Does the "nv" driver work in xfree -> if so it isn't a hardware problem.
- What gives "cat /proc/interrupts" -> check for irq problems
- Is the symlink /usr/src/linux pointing to the kernel you are using
BEFORE compiling the nvidia kernel module?
If this all fails, I think recompiling the kernel should help. |
Another (perhaps stupid, but you never know) thing to check is... does /lib/modules/2.4.20-gentoo-r5/video/nvidia.o exist? =) |
|
Back to top |
|
|
davecs Guru
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Sun Nov 09, 2003 10:32 am Post subject: |
|
|
I decided to have a go at installing Gentoo this weekend. Exactly the same thing happened, but I had the nvidia file:
NVIDIA-Linux-x86-1.0-4496-pkg2.run
which I had downloaded for Mandrake. So I mounted the partition it was on.
I ran the file by cd-ing to the directory where it is kept and typed:
sh NVIDIA-L<TAB><ENTER>
It ran and installed and everything worked! You will need to have the network up because it collects further information from the nvidia site.
If you don't have the file, it is at www.nvidia.com
If you are booting straight into X using "nv", if you change it back to "nvidia" and reboot you will get a command prompt as before. The above command to install the driver does not work when X is running, even from a terminal! _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
|
epx n00b
Joined: 30 Apr 2003 Posts: 68
|
Posted: Sun Nov 09, 2003 2:18 pm Post subject: Thanks |
|
|
Thanks for the responses guys, I will give those suggestions a try tonight. And yes I do have the nvidia.o file. It tries to insmod it as you can see, it just fails horribly.
But I will try the above ideas tonight, thanks again! |
|
Back to top |
|
|
davecs Guru
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Sun Nov 09, 2003 4:01 pm Post subject: Re: Thanks |
|
|
epx wrote: | Thanks for the responses guys, I will give those suggestions a try tonight. And yes I do have the nvidia.o file. It tries to insmod it as you can see, it just fails horribly.
But I will try the above ideas tonight, thanks again! |
I had an nvidia.o file as well but it didn't work. Only when I did as described above did it work.
DAVE _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
|
epx n00b
Joined: 30 Apr 2003 Posts: 68
|
Posted: Mon Nov 10, 2003 5:57 am Post subject: Thanks |
|
|
Thanks guys, I recompiled the kernel, this didn't work, but it got me a little more up-to-date.
Then I manually ran that NVIDIA script from the distfiles folder and *MAGIC* it now works, thanks again everyone for all the help. It's people like you that make the gentoo community work! |
|
Back to top |
|
|
|