View previous topic :: View next topic |
Author |
Message |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Tue Jul 19, 2005 5:13 pm Post subject: FATAL: Error inserting nvidia (/lib/modules/2.6.12-)[SOLVED] |
|
|
When i try to modprobe nvidia i get this error.
Code: | FATAL: Error inserting nvidia (/lib/modules/2.6.12-gentoo-r4/video/nvidia.ko): No such device. |
I have read this threadhttps://forums.gentoo.org/viewtopic-p-2585465.html#2585465 but nothing helps...
My /var/log/messages is...
Quote: | nvidia: version magic ´2.6.12-gentoo-r4 SMP preempt PENTIUM4 gcc-3.4´ should be ´2.6.12-gentoo-r4 SMP preempt K7 gcc-3.4´ |
I have tried the newest version of nvidia-glx and nvidia-kernel too... Googled but nothing seems to work... I AM STUCK.![Embarassed :oops:](images/smiles/icon_redface.gif)
Last edited by KaZiber on Fri Jul 22, 2005 8:06 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Tue Jul 19, 2005 5:15 pm Post subject: |
|
|
I've answered on the other thread too. Is /usr/src/linux pointing to the correct kernel when you emerge nvidia-kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Tue Jul 19, 2005 5:17 pm Post subject: |
|
|
Yes it is. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Tue Jul 19, 2005 5:19 pm Post subject: |
|
|
Can it be something in kernel i forgot ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Tue Jul 19, 2005 5:27 pm Post subject: |
|
|
Check the .config file. Maybe you have accidentally changed the processor family after building the kernel, so that nvidia tries to build for PENTIUM4 but the kernel is built for K7 (or the opposite, I never remember).
These are mine:
Code: | CONFIG_MPENTIUMM=y
# modinfo nvidia
license: NVIDIA
alias: char-major-195-*
parmtype: silence_nvidia_output:int
parmtype: NVreg_VideoMemoryTypeOverride:int
parmtype: NVreg_EnableVia4x:int
parmtype: NVreg_EnableALiAGP:int
parmtype: NVreg_ReqAGPRate:int
parmtype: NVreg_NvAGP:int
parmtype: NVreg_EnableAGPSBA:int
parmtype: NVreg_EnableAGPFW:int
parmtype: NVreg_SoftEDIDs:int
parmtype: NVreg_Mobile:int
parmtype: NVreg_ResmanDebugLevel:int
parmtype: NVreg_FlatPanelMode:int
parmtype: NVreg_DevicesConnected:int
parmtype: NVreg_VideoEnhancement:int
parmtype: NVreg_RmLogonRC:int
vermagic: 2.6.12-gentoo-r6 preempt PENTIUMM gcc-3.4
depends: agpgart
alias: pci:v000010DEd*sv*sd*bc03sc00i00* |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Tue Jul 19, 2005 5:35 pm Post subject: |
|
|
The "/usr/src/linux/.config"...? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Tue Jul 19, 2005 5:39 pm Post subject: |
|
|
Yes, sorry. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Tue Jul 19, 2005 5:41 pm Post subject: |
|
|
I can't see any of that in my .config...? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Tue Jul 19, 2005 5:51 pm Post subject: |
|
|
Sorry, I was not clear at all. You should check in your .config which CPU familiy is selected.
Code: | #
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set |
And then modinfo the nvidia module and check for the vermagic string.
Code: | # modinfo nvidia
license: NVIDIA
...
vermagic: 2.6.12-gentoo-r6 preempt PENTIUMM gcc-3.4 |
As you see, in my case both are PENTIUMM, but yours are different, one is PENTIUM4 and the other is K7. That's why I think your .config file doesn't match the kernel you're running.
If you've configured the proper option in the kernel (CONFIG_IKCONFIG_PROC) you may run
Code: | zcat /proc/config.gz |
to get the running config, and then diff it against .config. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Tue Jul 19, 2005 8:39 pm Post subject: |
|
|
It was as you thoght, now i did compile with Athlon/K7 and did emerge nvidia-kernel again. Then ran "modprobe nvidia" but got the same error... But the /var/log/messages had another error-message now...
Error-message says something about rivafb and ownership, im sure i don't have rivafb in the kernel... Is it something else with ownerships ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Tue Jul 19, 2005 8:48 pm Post subject: |
|
|
Well, one step nearer. You should post the exact message, anyway. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Tue Jul 19, 2005 9:58 pm Post subject: |
|
|
Well, i can try get it. But i can't copy-paste cause i have to use another computer. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Wed Jul 20, 2005 11:51 am Post subject: |
|
|
Here is my /var/log/messages, i hope that will help
Code: | Jul 20 13:40:40 KaZiber NVRM: The NVIDIA probe routine was not called for 1 device(s).
Jul 20 13:40:40 KaZiber NVRM: This can occur when a driver such as rivafb or rivatv was
Jul 20 13:40:40 KaZiber NVRM: loaded and obtained ownership of the NVIDIA device(s).
Jul 20 13:40:40 KaZiber NVRM: Try unloading the rivafb (and/or the rivatv) kernel module
Jul 20 13:40:40 KaZiber NVRM: (or reconfigure your kernel without rivafb support), then
Jul 20 13:40:40 KaZiber NVRM: try loading the NVIDIA kernel module again.
Jul 20 13:40:40 KaZiber NVRM: No NVIDIA graphics adapter probed!
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Wed Jul 20, 2005 12:14 pm Post subject: |
|
|
Are you sure that you don't have any of these set in .config?
Code: | # CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set |
Does lsmod list some nvidia related module? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Wed Jul 20, 2005 3:47 pm Post subject: |
|
|
I don't have any modules loaded when i lsmod. And don't have any of that in kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Thu Jul 21, 2005 10:37 am Post subject: |
|
|
Can it be something with ownerships ? Or a modules-problem...? I have no idead...![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NoCoverLover n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jul 2005 Posts: 2 Location: Toronto, ON
|
Posted: Thu Jul 21, 2005 4:09 pm Post subject: |
|
|
I am having the same problem and I believe I know what's up... although I haven't verified it het.
When you buld the new 2.6.12-r6 kernel, and do a 'make oldconfig', it askes you whether or not you want to enable the NVIDIA FB driver. This driver is new to 2.6.12, so I enabled it.
A quick examination of my kernel logs revealed that I had both the Generic VESA 2.0 driver and the NVIDIA framebuffer drivers built in. The NVIDIA driver loaded first and the Vesa second (failed due to resource conflicts).
My guess is that the new NVIDIA FB driver conflicts with the NVIDIA GLX driver.
Try removing the NVIDIA FB driver and leave the Generic VESA FB (for the pretty startup screen ). You don't really need it, especially if you are using X anyway.
Again, i HAVE NOT VERIFIED THAT THIS IS STHE PROBLEM YET. I have a hunch it is tho!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KarlH420 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Apr 2005 Posts: 45
|
Posted: Thu Jul 21, 2005 8:44 pm Post subject: remove NVIDIA FB |
|
|
I had the same problem and can confirm removing NVIDIA FB fixes it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NoCoverLover n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jul 2005 Posts: 2 Location: Toronto, ON
|
Posted: Thu Jul 21, 2005 11:07 pm Post subject: Re: remove NVIDIA FB |
|
|
KarlH420 wrote: | I had the same problem and can confirm removing NVIDIA FB fixes it. |
Of course if makes absolute sense. The log message from the NVIDIA GLX modules warns about Riva and more than likely the NVIDIA FB is based on the same code.
When I posted, I had removed it from the config but hadn't rebooted. I was SSH'd in and if the machine didn't come back up, I wouldn't have been able to do anything from offsite.
Greg |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KaZiber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68 Location: Sweden
|
Posted: Fri Jul 22, 2005 8:04 pm Post subject: |
|
|
I fixed it using a diffrent kernel source. Downloaded from www.kernel.org and it worked ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marcalj Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5863246463fe7a6dc3a39e.jpg)
Joined: 23 Dec 2003 Posts: 193 Location: Barcelona
|
Posted: Tue Jul 26, 2005 10:38 pm Post subject: |
|
|
Yes, if you disable nvidiafb you can use nvidia module for X rendering.
it's annoying because fbsplash is 1000 times better with nvidiafb than vesafb....
Probably it's the beggining to include nvidia drivers completely into kernel? :p
It's fixed with the latest drivers version?
Sorry for my english. _________________ AMD 64bits X2
porlaminima.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|