Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-04-04, 04:47 PM   #13
hppnq
Registered User
 
Join Date: Apr 2004
Location: Dutch
Posts: 113
Default Re: ERROR : unable to determine the nvidia kernel module filename

On Fedora, the version.h file is in the kernel package *not* the kernel-source package. This makes sense because you only have this file if you have a compiled kernel. I assume Debian follows this logic, but it could be absent even in the kernel deb.

So, if your kernel package does not contain version.h you have to compile the kernel.
hppnq is offline   Reply With Quote
Old 05-04-04, 05:57 PM   #14
Catagoth
Registered User
 
Join Date: May 2004
Location: Germany
Posts: 2
Send a message via AIM to Catagoth
Default Re: ERROR : unable to determine the nvidia kernel module filename

At last I solved the problem with version.h: "make-kpkg kernel-image" does a "make clean" so version.h gets deleted. I just saved it before and copied it back. The driver can be complied then.

Now I have another problem, but that seems to be one with 2.6.5: depmod: QM:MODULES: Function not implemented



Ok, you have to install module-init-tools, then it works. And voila: the module gets loaded and I have X running.
Catagoth is offline   Reply With Quote
Old 05-04-04, 06:08 PM   #15
Munkey_Boi
Registered User
 
Join Date: May 2004
Posts: 11
Default Re: ERROR : unable to determine the nvidia kernel module filename

did the RPM thing,
[root@localhost matt]# cd /usr/src
[root@localhost src]# ls -l
total 17824
-r--r--r-- 1 root root 18218895 Mar 2 11:13 kernel-enterprise-2.6.3.4mdk-1-1mdk.i586.rpm
drwxr-xr-x 20 root root 4096 May 3 11:56 linux-2.6.3-9mdk/
lrwxrwxrwx 1 root root 16 May 3 11:56 linux.old -> linux-2.6.3-9mdk/
drwxr-xr-x 7 root root 4096 May 3 11:56 RPM/
[root@localhost src]#

as you can see I did the 'mv linux linux.old'

for some reason the enterprise will not sort itself out, it keeps saying that it is already installed.

re-tried the 5336 installer but still the same error.
Am I missing something obvious??
Thanks for the help
Munkey_Boi is offline   Reply With Quote
Old 05-05-04, 02:41 AM   #16
Munkey_Boi
Registered User
 
Join Date: May 2004
Posts: 11
Default Re: ERROR : unable to determine the nvidia kernel module filename

Just playing before going to work, found the correct Kernal on Disk 3, doh!

Got he package to install and the 5336 now says it's all fine.
Tried running the Configure your computer option but it doesn't come up with the new drivers available.

Have tried running find files for the xf86config file, but he system searches for about 15 minutes so far without seemin gto find anything.

I'm getting a lot closer

PS do you know of any Soundblaster Live 5.21 drivers?
Munkey_Boi is offline   Reply With Quote
Old 05-05-04, 03:01 AM   #17
hppnq
Registered User
 
Join Date: Apr 2004
Location: Dutch
Posts: 113
Default Re: ERROR : unable to determine the nvidia kernel module filename

If you do have the Nvidia driver now, you have to tell X to use it. You do this by editing the file /etc/X11/XF86Config. In the Device section, change the line starting with "Driver" into 'Driver "nvidia"'. In the README that came with the installer there is a section explaining all this -- you will have to make a couple of changes, like removing the lines about loading dri and GLcore.

If you have done all that, you should be able to get X up and running with "startx", for instance.

By the way, we have now apparently succesfully *downgraded* your kernel. Assuming you will want to upgrade sometime, you have to do the following:
if you install a new kernel using rpm, you have to *upgrade* the kernel, not install it. The rpm install option means you will lose your old kernel. So, from the command prompt you would do:

# rpm -Uh kernel-<whatever>.rpm

Then, you will have to re-install the Nvidia driver (the easiest is to do this after succesfully booting your new kernel, but see the README for more info on how to it all at once). This should be simple, just run the installer script once more. If you have a working configuration by then, that's all -- no need to fiddle with XF86Config.

Good luck!
hppnq is offline   Reply With Quote
Old 05-05-04, 01:21 PM   #18
Munkey_Boi
Registered User
 
Join Date: May 2004
Posts: 11
Default Re: ERROR : unable to determine the nvidia kernel module filename

I have found the XF86config file but it is 0 bytes, and empty.

I looked and found XF86config-4 and XF86config-4.old, both containing information, but not really the details. that seem different from the ones in the readme.

Tuxracer doesn't even run anymore
Attached Files
File Type: txt XF86Config-4.txt (2.6 KB, 146 views)
Munkey_Boi is offline   Reply With Quote
Old 05-05-04, 01:30 PM   #19
Munkey_Boi
Registered User
 
Join Date: May 2004
Posts: 11
Default Re: ERROR : unable to determine the nvidia kernel module filename

IGNORE IGNORE IGNORE

Silly me, didn't check things fully.
Got it working fine now.

Thank you very much for your patience and expertise, you have now made me a happy Linux user

Go Linux - Go Linux - Go Linux
Munkey_Boi is offline   Reply With Quote
Old 05-05-04, 01:57 PM   #20
Munkey_Boi
Registered User
 
Join Date: May 2004
Posts: 11
Default Re: ERROR : unable to determine the nvidia kernel module filename

AARRGGHH!!!!!
Just done a reboot, no I not got any graphics at all.
The errors are:
(EE) NVIDIA(0): Failed ti initialize the NVIDIA Kernel module!
(EE) NVIDIA(0): ***Aborting ***
(EE) Screen(s) found, but none have a useable configuration.
Fatal server error:
no screens found
then XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0" after 0 requests (0 known procesed) with 0 events remaining.

I have no idea what to do now, or even how to edit in console mode.
Munkey_Boi is offline   Reply With Quote

Old 05-05-04, 05:22 PM   #21
hppnq
Registered User
 
Join Date: Apr 2004
Location: Dutch
Posts: 113
Default Re: ERROR : unable to determine the nvidia kernel module filename

Try this from the prompt:

# modprobe nvidia

It should return without errors, and you should be able to start X (use the startx command).

If that all went fine, open the file /etc/modprobe.conf with your favourite editor and check whether there is a line that says

alias char-major-195* nvidia

If it's not there, just append it to the file. Now, at the next reboot everything should be working fine.

And then, of course, the real fun starts. ;-)
hppnq is offline   Reply With Quote
Old 05-05-04, 11:09 PM   #22
khalid357
Registered User
 
Join Date: May 2004
Posts: 13
Default Re: ERROR : unable to determine the nvidia kernel module filename

[quote=jallread]I am having the same problem. I am running MDK 10.0.1 kernel 2.6.3-9mdksmp. Did you find a solution? If so, please let me know. Thanks,

i am having the same problems but i am running suse linux 9.0 and being a new jack i have no idea how to combat this problem.
i really need help of the most basic kind
thanks in advance
khalid357
khalid357 is offline   Reply With Quote
Old 05-06-04, 04:33 AM   #23
Munkey_Boi
Registered User
 
Join Date: May 2004
Posts: 11
Default Re: ERROR : unable to determine the nvidia kernel module filename

Thank you hppnq, you help has been invaluable. I have printed out the discussion and am going to re-install.

From root the system after modprobe works well (startx)

but from User matt - no joy.

Going to re-install & do it properly from scratch.

Once again Thank you.

Matt
Munkey_Boi is offline   Reply With Quote
Old 05-08-04, 09:52 AM   #24
senyahnoj
Registered User
 
Join Date: May 2004
Posts: 1
Talking Re: ERROR : unable to determine the nvidia kernel module filename

I upgraded from Mandrake 9.2 to 10.0 and got this same problem.

I sorted it by adding a symbolic link which appeared to be missing:

ln -s /usr/src/linux-2.6.3-4mdksmp /lib/modules/2.6.3-4mdksmp/build

Compiled the nvidia driver fine after that...
senyahnoj is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 07:23 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-02-02 12:58 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 02:44 PM

All times are GMT -5. The time now is 01:00 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.