View previous topic :: View next topic |
Author |
Message |
paolo_cst n00b
Joined: 28 Jan 2005 Posts: 7 Location: Genoa, Italy, Europe, World
|
Posted: Fri Jan 28, 2005 6:27 pm Post subject: Problem: nVidia kernel |
|
|
Hello everybody!
I have a Riva TNT2 Model 64 video card, but I dunno how to make it work with Gentoo. I have a 2.6.10-gentoo-r6 kernel.
I tried the following command:
emerge nvidia-glx
opengl-update nvidia
modprobe nvidia
The output was:
"FATAL: error inserting nvidia (/lib/modules/2.6.10-gentoo-r6/video/nvidia.ko): No such device"
The driver I emerged is 1.0.6629-r1.
I'm totally newbie, but I WANT learn about Gentoo Linux!
Who can help me? Thanks a lot and sorry for my bad English. |
|
Back to top |
|
|
yaneurabeya Veteran
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Fri Jan 28, 2005 8:22 pm Post subject: |
|
|
You might have to downgrade and mask the latest version because I heard that nVidia was phasing out support for their older cards ... |
|
Back to top |
|
|
paolo_cst n00b
Joined: 28 Jan 2005 Posts: 7 Location: Genoa, Italy, Europe, World
|
Posted: Fri Jan 28, 2005 8:59 pm Post subject: Suggerimento: gli St |
|
|
yaneurabeya wrote: | You might have to downgrade and mask the latest version |
How I can do it?
Last edited by paolo_cst on Fri Jan 28, 2005 9:42 pm; edited 1 time in total |
|
Back to top |
|
|
jschellhaass Guru
Joined: 20 Jan 2004 Posts: 341
|
Posted: Fri Jan 28, 2005 9:11 pm Post subject: |
|
|
It sounds like the kernel module did not get compiled. You can try emerge nvidia-kernel
emerge nvidia-glx
opengl-update nvidia
modprobe nvidia
jeff |
|
Back to top |
|
|
paolo_cst n00b
Joined: 28 Jan 2005 Posts: 7 Location: Genoa, Italy, Europe, World
|
Posted: Fri Jan 28, 2005 9:27 pm Post subject: Suggerimento: gli Stili poss |
|
|
jschellhaass wrote: | It sounds like the kernel module did not get compiled. You can try emerge nvidia-kernel
emerge nvidia-glx
opengl-update nvidia
modprobe nvidia
jeff |
emerge nvidia-kernel is not needed because it's done automatically when i emerge nvidia-glx.
Anyway, I just tried but the output was the same as above |
|
Back to top |
|
|
jschellhaass Guru
Joined: 20 Jan 2004 Posts: 341
|
Posted: Fri Jan 28, 2005 9:42 pm Post subject: |
|
|
I know it should be compiled with emerge nvidia-glx. I just wanted to be certain.
Your TNT 2 card should be supported with 6629 driver, at least according the the nvidia readme.
Does nvidia.ko exist anywhere on your system?
find / -name nvidia.ko
jeff |
|
Back to top |
|
|
Stormblazer Tux's lil' helper
Joined: 28 Jan 2005 Posts: 76 Location: Colorado
|
Posted: Fri Jan 28, 2005 9:52 pm Post subject: |
|
|
Just in case it doesn't, do it manually:
Code: |
emerge nvidia-kernel
emerge nvidia-glx
emerge nvidia-settings
modprobe nvidia |
If that doesn't work, make sure that the nvidia driver is find the correct kernel sources to compile from:
[code]
ls -l /usr/src
[code]
If /usr/src/linux doesn't symlink to the actual kernel you're using, then it won't work. |
|
Back to top |
|
|
paolo_cst n00b
Joined: 28 Jan 2005 Posts: 7 Location: Genoa, Italy, Europe, World
|
Posted: Fri Jan 28, 2005 9:55 pm Post subject: |
|
|
jschellhaass wrote: | I
Does nvidia.ko exist anywhere on your system?
find / -name nvidia.ko
jeff |
Ok, the module nvidia.ko exist! It's in
/lib/modules/2.6.10-gentoo-r6/video/
The weird is that the path is exactly the same of the error message when i try "modprobe nvidia":
"FATAL: Error inserting nvidia (/lib/modules/2.6.10-gentoo-r6/video/nvidia.ko): No such device"
'm very confused. What to do now?
Jeff, thanks for your help...
Last edited by paolo_cst on Fri Jan 28, 2005 10:24 pm; edited 1 time in total |
|
Back to top |
|
|
jschellhaass Guru
Joined: 20 Jan 2004 Posts: 341
|
Posted: Fri Jan 28, 2005 9:57 pm Post subject: |
|
|
What is the output of lspci?
jeff |
|
Back to top |
|
|
paolo_cst n00b
Joined: 28 Jan 2005 Posts: 7 Location: Genoa, Italy, Europe, World
|
Posted: Fri Jan 28, 2005 10:09 pm Post subject: Suggerimento: gli |
|
|
jschellhaass wrote: | What is the output of lspci?
jeff |
Grepping the output of lspci with the keyword nVidia I get the following line:
[code]
lspci | grep nVidia
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) |
|
Back to top |
|
|
jschellhaass Guru
Joined: 20 Jan 2004 Posts: 341
|
Posted: Fri Jan 28, 2005 11:35 pm Post subject: |
|
|
I'm not certain why the nvidia kernel module can't load.
Can you startx using the nv driver?
jeff |
|
Back to top |
|
|
yaneurabeya Veteran
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Sat Jan 29, 2005 3:55 am Post subject: |
|
|
The nvidia kernel module should have compiled if you reemerged it... I just read that there were issues with users of older cards and the latest nvidia driver since they were phasing out support. If you want to mask support for the newest drivers, add the following to your /etc/portage/portage.mask file. Learning how to use portage is an essential art to Gentoo .
Code: |
>media-video/nvidia-kernel-6629
>media-video/nvidia-glx-6629
|
When you reemerged nvidia-kernel and nvidia-glx, the newer drivers will be removed and you should be back to smooth sailing.
Cheers! |
|
Back to top |
|
|
cpunchin n00b
Joined: 18 Feb 2004 Posts: 37
|
Posted: Tue Feb 15, 2005 4:29 am Post subject: |
|
|
I used:
>media-video/nvidia-kernel-1.0.6611-r3
>media-video/nvidia-glx-1.0.6611-r1
on file /etc/portage/package.mask
instead...
yaneurabeya wrote: | The nvidia kernel module should have compiled if you reemerged it... I just read that there were issues with users of older cards and the latest nvidia driver since they were phasing out support. If you want to mask support for the newest drivers, add the following to your /etc/portage/portage.mask file. Learning how to use portage is an essential art to Gentoo .
Code: |
>media-video/nvidia-kernel-6629
>media-video/nvidia-glx-6629
|
When you reemerged nvidia-kernel and nvidia-glx, the newer drivers will be removed and you should be back to smooth sailing.
Cheers! |
|
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Feb 15, 2005 10:26 am Post subject: |
|
|
might be a stupid proposal indeed but...
does the symlink "linux" in /usr/src pont to your correct kernel sourcel?
so if you do
Code: |
ls /usr/src -lA
#output shall look like this:
....
lrwxr-xr-x 1 root root 21 Feb 13 23:32 linux -> /usr/src/linux-2.kernelversion
|
if that aint correctly linked, type
Code: | rm /usr/src/linux
ln -s /usr/src/kernel-"version-here" /usr/src/linux
|
might be that helps?
_________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
yaneurabeya Veteran
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Tue Feb 15, 2005 5:21 pm Post subject: |
|
|
paolo_cst wrote: | Ok, the module nvidia.ko exist! It's in
/lib/modules/2.6.10-gentoo-r6/video/
The weird is that the path is exactly the same of the error message when i try "modprobe nvidia":
|
Sorry for not noticing it earlier but what's your 'running' kernel version? Please paste your uname -a output here. |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Tue Feb 15, 2005 6:53 pm Post subject: |
|
|
yaneurabeya wrote: | You might have to downgrade and mask the latest version because I heard that nVidia was phasing out support for their older cards ... |
I'm pretty sure this isn't true. There is a bug in the 6629 drivers which prevents them from working on older Nvidia cards but nVidia have stated that they fully intend to fix that bug in the next version. |
|
Back to top |
|
|
paolo_cst n00b
Joined: 28 Jan 2005 Posts: 7 Location: Genoa, Italy, Europe, World
|
Posted: Wed Feb 16, 2005 7:05 am Post subject: |
|
|
yaneurabeya wrote: | paolo_cst wrote: | Ok, the module nvidia.ko exist! It's in
/lib/modules/2.6.10-gentoo-r6/video/
The weird is that the path is exactly the same of the error message when i try "modprobe nvidia":
|
Sorry for not noticing it earlier but what's your 'running' kernel version? Please paste your uname -a output here. |
2.6.10-gentoo-r6, the only kernel I have |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Wed Feb 16, 2005 5:41 pm Post subject: |
|
|
I think your kernel might be the problem...
I don't know if gentoo has it patched ... but 2.6.10 used to have problems.
http://www.nvnews.net/vbulletin/showthread.php?t=42964
Did you try with a 2.6.9 kernel ? _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
fatcop n00b
Joined: 14 Mar 2005 Posts: 18
|
Posted: Mon Mar 14, 2005 8:32 am Post subject: |
|
|
i had exactly the same problem.
I did a seperate:
Code: |
emerge --newuse nvidia-kernel
|
after emerging nvidia-glx, as recommended in another Gentoo forum (german) thread and then the modprobe worked fine !!!
I added the "--newuse" because to make sure the "nvidia" I added to the USE variable in /etc/ make.conf was used.
(even tho it doesn't use that flag as far as i can tell |
|
Back to top |
|
|
Unther Apprentice
Joined: 20 Feb 2005 Posts: 163
|
Posted: Wed Mar 16, 2005 11:59 pm Post subject: |
|
|
What I did (which I'm sure goes against the spirit of this game) was get an up and running kernel, and then I downloaded my nvidia drivers direct from the nvidia web-page, and followed their instructions to install them. This solved the problems I'd been having convincing Xorg that the nvidia drivers existed. No probs from there on.
My system:
NVIDIA GeForce FX 5200
on a Dell Inspiron 5150. |
|
Back to top |
|
|
yaneurabeya Veteran
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Thu Mar 17, 2005 12:08 am Post subject: |
|
|
Unther wrote: | What I did (which I'm sure goes against the spirit of this game) was get an up and running kernel, and then I downloaded my nvidia drivers direct from the nvidia web-page, and followed their instructions to install them. This solved the problems I'd been having convincing Xorg that the nvidia drivers existed. No probs from there on.
My system:
NVIDIA GeForce FX 5200
on a Dell Inspiron 5150. |
This will cause problems when upgrading/downgrading using the nvidia ebuilds though, and I'm not sure if opengl-update will work properly... |
|
Back to top |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Mon Mar 21, 2005 2:23 pm Post subject: |
|
|
Well at least it works...
I'm stuck with the same problem.. I think i'll try downloading from nvidia's site... _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Mar 21, 2005 3:59 pm Post subject: |
|
|
I think your problem is the wrong driver.
For cards like yours it was nv and not nvidia,which is
a driver for recent cards.
I had a card like yours once and it worked fine with the nv
module.
In xorg.conf under section device it should see:
Driver nv and not nvidia.
This nv driver used to be part of the 2.4.kernel.
I am not sure it is still in the 2.6 sources. |
|
Back to top |
|
|
jerrykenny Tux's lil' helper
Joined: 07 Feb 2005 Posts: 105
|
Posted: Mon Mar 21, 2005 4:35 pm Post subject: |
|
|
Hi folks,
same problem here with loading nvidia-kernel, I'm using 2.6.11-r4 card is mx440 64mb
Wonder if made some boob compiling the kernel? I did compile with nvidia Riva support . . . .might that be confusing matters ?
I definitely have loadable module support. . . .
My error message is that the module is in the "wrong format" ie it's finding the module, it just doesnt like it. . . . Modprobe , however, doesnt find the module fussy fussy fussy
I'll check that linux symlink . . . . _________________ Hopeless tinkerer with things that are best left alone |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Mon Mar 21, 2005 4:43 pm Post subject: |
|
|
Gerard van Vuuren wrote: | I think your problem is the wrong driver.
For cards like yours it was nv and not nvidia,which is
a driver for recent cards.
I had a card like yours once and it worked fine with the nv
module.
In xorg.conf under section device it should see:
Driver nv and not nvidia.
This nv driver used to be part of the 2.4.kernel.
I am not sure it is still in the 2.6 sources. |
No, as I have said before the nvidia driver supports ALL nvidia cards in the GeForce and TNT range (just as the Windows drivers do.) However, there was a bug in the 6629 drivers which prevented them from working correctly on some older cards. This bug is fixed in the newer 7167 drivers so they should work with all Nvidia cards. If you have an older GeForce or a TNT card and you are having problems then I recommend that you upgrade to the 7167 which are currently available in ~arch.
jerrykenny wrote: | Hi folks,
same problem here with loading nvidia-kernel, I'm using 2.6.11-r4 card is mx440 64mb
Wonder if made some boob compiling the kernel? I did compile with nvidia Riva support . . . .might that be confusing matters ?
I definitely have loadable module support. . . .
My error message is that the module is in the "wrong format" ie it's finding the module, it just doesnt like it. . . . Modprobe , however, doesnt find the module fussy fussy fussy
I'll check that linux symlink . . . . |
You have made a small mistake, the in kernel Riva support is a framebuffer driver (you can use it for bootsplash etc) HOWEVER, it is incompatible with the nvidia driver. If you intend to use the nvidia driver then you should disable RIva support in your kernel. |
|
Back to top |
|
|
|