Page 1 of 1

failed to initialize the nvidia kernel module

Posted: Tue Nov 29, 2005 12:21 am
by gegemini
My linux-kernel version is 2.6.14-r2

When I want to use nvidia-kernel to driver geforce 4 ti 4200
it occurs the error message

Code: Select all

[color=green](EE)failed to initialize the nvidia kernel module[/color]

I think and i try a lot of ways but it still can't be solved

So final I still use 2.6.12-r9 kernel version
and the graphic card can run correctly

someone have better method to slove the problem
not just to change the kernel version as me

Re: failed to initialize the nvidia kernel module

Posted: Tue Nov 29, 2005 6:10 am
by wishy-washy
gegemini wrote:My linux-kernel version is 2.6.14-r2

When I want to use nvidia-kernel to driver geforce 4 ti 4200
it occurs the error message

Code: Select all

[color=green](EE)failed to initialize the nvidia kernel module[/color]

I think and i try a lot of ways but it still can't be solved

So final I still use 2.6.12-r9 kernel version
and the graphic card can run correctly

someone have better method to slove the problem
not just to change the kernel version as me
Do

Code: Select all

ls -l /lib/modules/2.6.14-gentoo-r2/video/
Is there a module called nvidia.ko?

I think your /usr/src/linux doesn't link to your current source tree or you didn't emerge nvidia-kenel after kernel upgrade. So

Code: Select all

ln -sf /usr/src/linux-2.6.14-gentoo-r2  /usr/src/linux
emerge -pv nvidia-kernel

Posted: Tue Nov 29, 2005 10:16 am
by gegemini
If there is no such device "nvidia.ko"
When you

Code: Select all

modprobe nvidia
The system will release the message as below

Code: Select all

FATAL:Error inserting nvidia
[/lib/modules/2.6.14-gentoo-r2/video/nvidia.ko]: No such device
And all above steps that you refered I have done,but the system still release the same error message

Code: Select all

" failed to initialize the nvidia kernel module"
So I think the problem isn't caused by that description you refered

But still thanks the wishy-washy

Posted: Tue Nov 29, 2005 11:29 am
by wishy-washy
I think we have the same video card.

Code: Select all

01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1)
So at least it works for

Code: Select all

media-video/nvidia-glx-1.0.7676-r2
and

Code: Select all

x11-base/xorg-x11-6.8.99.15-r4

Posted: Wed Nov 30, 2005 4:48 am
by 【Palatis】
gegemini wrote:If there is no such device "nvidia.ko"
When you

Code: Select all

modprobe nvidia
The system will release the message as below

Code: Select all

FATAL:Error inserting nvidia
[/lib/modules/2.6.14-gentoo-r2/video/nvidia.ko]: No such device
And all above steps that you refered I have done,but the system still release the same error message

Code: Select all

" failed to initialize the nvidia kernel module"
So I think the problem isn't caused by that description you refered

But still thanks the wishy-washy
well if you are trying to insert a module which is not there, you get the following message instead of the ones you mentioned...

Code: Select all

# modprobe nosuchmodule
FATAL: Module nosuchmodule not found.
i suggest 3 workarounds:
1. do a "modules-update" then "modprobe nvidia", see if "nvidia" shows up in "lsmod".
2. link your /usr/src/linux to the currect kernel source tree and remerge nvidia-kernel, then follow step 1.
3. "rm /lib/modules/`uname -r`", then follow step 2. !!!WARNING!!! this way you have to remerge all kernel module packages (those packages coming out when you do "emerge -S 'kernel module'")