failed to initialize the nvidia kernel module

有關於X 環境當中所遇到的問題

Moderator: Forums Team

Post Reply
gegemini
Posts: 6
Joined: Thu Apr 07, 2005 4:03 pm

failed to initialize the nvidia kernel module

Post 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
User avatar
wishy-washy
Posts: 79
Joined: Tue Jan 06, 2004 2:06 pm
Location: Albany, CA
Contact:

Re: failed to initialize the nvidia kernel module

Post 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
gegemini
Posts: 6
Joined: Thu Apr 07, 2005 4:03 pm

Post 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
User avatar
wishy-washy
Posts: 79
Joined: Tue Jan 06, 2004 2:06 pm
Location: Albany, CA
Contact:

Post 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
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post 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'")
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
Post Reply