LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-20-2004, 12:46 AM   #16
Razza2004
Member
 
Registered: Mar 2004
Location: Australia
Distribution: Slackware 10
Posts: 32

Rep: Reputation: 15

I was having the same problem with the kernel I compiled.
Seeing as I wasn't using any modules, I didn't bother running
make modules
make modules_install
but after doing that, it compiled for me.
If anyone is having this proble with a kernel u compiled try doing that and see if it works.
 
Old 03-25-2004, 12:41 AM   #17
hooya27
Member
 
Registered: Aug 2003
Location: In a van down by the river
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
Thumbs up My fix for "unable to determine the NVIDIA kernel module filename"

I had the "unable to determine the NVIDIA kernel module filename" issue with the NVIDIA driver *.run file. I had just installed Mandrake 10.0 and had to use the alt1 kernel (2.4.25-2mdk) on install to get my eth0 to work. But the Mandrake 10.0 installer installs the 2.6.3 kernel sources by default. I had to remove the 2.6.3 source rpm, and install the 2.4.25-2mdk source rpm, then run the "sh ./NVIDIA-*.run" installer. I was then able to compile for my kernel, since my kernel's sources were the right version...

So now (after changing nv to nvidia in XF86Config-4) I get the cool nVIDIA splash, and TuxRacer is MUCH faster!

The above thread helped me stumble upon this (obvious?) solution... Thanks to all!

Dan

hooya27 (somewhere near) yahoo dot com
 
Old 04-01-2004, 10:28 AM   #18
pmm
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Cool

I have had some issues on the installation of 1.0-5336 driver, but at last
managed to make it work with a self-compiled 2.6 kernel.

Go ahead to the SUMMARY section :)

STORY

The first one was the one that started this thread.
ERROR: Unable to determine the NVIDIA kernel module filename.

After copying somewhere the installation files that are tarred in the installer
to read them (they are swept from /tmp as soon as the installer fails),
i saw that there are two makefiles, and the installer chooses one
depending on the version of the kernel that it is running.

The following line is called from the makefile:
NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/conftest.sh select_makefile

So, after reading the bash function, I saw that the script is trying to find
a $SYSSRC/include somewhere, being, i guessed, $SYSSRC the directory where
the source code of the kernel is. (usually /usr/src/linux).

Then, the first solution was to:
# export SYSSRC=/usr/src/linux
and then
# sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-source-path=/usr/src/linux

Then I got a message saying that the newly compiled module nvidia.ko
could not be loaded. Then I realized that, as I don't use any module in the
kernel except of the nvidia one (for obvious reasons),
I didn't made a 'make install_modules' as a previous message stated, so i typed:
# cd /usr/src/linux; make modules_install
It made the actions needed, but told something about reading
http://www.codemonkey.org.uk/docs/po...loween-2.6.txt
and installing new module utilities. Those modules are on
http://www.kernel.org/pub/linux/kern...usty/modules/,
and included into the Debian packages tree for convenient installation,
as the 'module-init-tools' package.

SUMMARY

So, at last, after all, the full sequence of ...

+ # cd /usr/src/linux; make modules_install
+ Installing the new module loading utilities (your mileage may vary).
# apt-get install module-init-tools (on Debian)
+ # export SYSSRC=/usr/src/linux
+ # sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-source-path=/usr/src/linux

(replace the /usr/src/linux path with the real path of the linux source in
your system -- _usually that_ )

... everything works.

Perhaps the next nvidia installer fixes all this and compiles seamlessly, as it
did the 1.0-4496 on a 2.4 kernel.

NB: 1.0-5336 is the first version that supports 2.6.x kernels, running a
previous version over a 2.6 kernel will display something about a missing
header file, as it has changed (or disappeared, whatever) from 2.4 to 2.6.
 
Old 04-10-2004, 03:08 AM   #19
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
Sorry to wake the dead thread...

BUT !!!

Nice one guys, had major problems after upgrading to 2.6.5, but,
export SYSSRC=/usr/src/linux worked for me... All going fine again now !!

Ade
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error building nvidia kernel module beeblequix Debian 1 10-07-2005 05:21 PM
Unable to build the NVIDIA kernel module subaruwrx Linux - General 2 03-12-2005 08:15 PM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Unable to load kernel module nvidia-o mattv Linux - Newbie 3 02-26-2004 11:05 AM
Unable to load kernel module nvidia.o innovest_11 Linux - Newbie 2 02-01-2004 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration