You are not logged in.

#1 2004-04-05 17:29:48

CrayMk7
Member
From: Norway
Registered: 2004-03-29
Posts: 51

ERROR:Unable to determine NVIDIA kernel module filename

Hi all.

Im having some trouble installing the nvidia drivers on my system after doing a pacman -Syu witch upgraded my kernel from 2.6.4 to 2.6.5 and my xfree86 from 4.3 to 4.4. This is what my nvidia.installer log looks like...


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Apr  5 20:54:45 2004

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : false
  XFree86 install prefix  : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : /usr/src/linux-2.6.5/
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/usr/src/linux-2.6.5/' as specified by the
   '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.5/'
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.


To get the drivers installed before I updated my system, I just did as someone here suggested, went to kernel org, downloaded the 2.6.4 kernel, unpacked it in my /usr/src/ folder and everything went smooth.
But this wont work with 2.6.5 installed and the 2.6.5 sources in /usr/src/ .

Anyone here knows whats wrong here? I did go the abs route the first time i ever installed the video drivers in archlinux, but I got some errors during the driver compile and at the end my whole system froze, so Im a bit uncomfortable with that solution.

Thanks

Offline

#2 2004-04-05 18:50:50

CrayMk7
Member
From: Norway
Registered: 2004-03-29
Posts: 51

Re: ERROR:Unable to determine NVIDIA kernel module filename

This is the last error I get before quitting the installer.

make: *** [select_makefile] Error 1

It doesn't show up in the log file for some reason.

Offline

#3 2004-04-05 20:03:41

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: ERROR:Unable to determine NVIDIA kernel module filename

Did you keep the /usr/src/linux-2.6.5 dir that came when you did pacman -Syu?  I have the nvidia driver working, i did this:

cd /usr/src
wget ....can' remember url to kernel.org
mv linux-2.6.5 linux-2.6.5.old
tar -jvxf linux-2.6.5-tar.bz2
ln -s linux-2.6.5 linux
cp  linux-2.6.5.old/.config linux/
cp -r linux-2.6.5.old/include/* linux/include/

... then the nvidia install worked.

Offline

#4 2004-04-05 21:35:02

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: ERROR:Unable to determine NVIDIA kernel module filename

The files that come with the new kernel26 package should include everything you need to compile the nvidia drivers.  No more downloading any kernel sources.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#5 2004-04-05 22:08:03

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: ERROR:Unable to determine NVIDIA kernel module filename

Xentac wrote:

The files that come with the new kernel26 package should include everything you need to compile the nvidia drivers.  No more downloading any kernel sources.

And it really does, good job smile

Offline

#6 2004-04-06 10:16:41

CrayMk7
Member
From: Norway
Registered: 2004-03-29
Posts: 51

Re: ERROR:Unable to determine NVIDIA kernel module filename

thanks for the reply guys smile, I just came back from work.

I did try to install the drivers using the original 2.6.5 dir placed in /usr/src/ after the update, and got a slightly different error, I assumed I needed the kernel source like in the 2.6.4 kernel.

Anyway, I've been messing around allot in my last install, to see if I got the stuff I need to work plus a ton of other things I don't need big_smile, so I did it the M$ way and reinstalled with only base, xfree86 and xfce4 (latest versions, and no kernel.org downloads) and the driver install went smoothly smile, so I guess I've been messing around where I shouldn't have, I'm still a bit new to linux and all those conf files.

Offline

#7 2004-04-06 10:30:42

CrayMk7
Member
From: Norway
Registered: 2004-03-29
Posts: 51

Re: ERROR:Unable to determine NVIDIA kernel module filename

I've got one annoying problem tho.

Whenever I log out of xfce4 my monitor goes black for 5sec then enters sleep mode, its not a system hang or anything, if i write startxfce4 on my keyboard it fires it up and my monitor comes back on again, have anyone else experienced this or know whats going on?

This only occurs after installing the nvidia driver.

Offline

#8 2004-04-06 10:57:16

Mindaugas
Member
From: Ireland
Registered: 2004-03-25
Posts: 95

Re: ERROR:Unable to determine NVIDIA kernel module filename

Hi all, I have problem with instaling NVIDIA driver.

Thats an error:
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.3/build'...
cat: /lib/modules/2.6.3/build/Makefile: No such file or directory
cat: /lib/modules/2.6.3/build/Makefile: No such file or directory
cat: /lib/modules/2.6.3/build/Makefile: No such file or directory
make[2]: *** No rule to make target `modules'. Stop.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.

Offline

#9 2004-04-06 11:08:58

CrayMk7
Member
From: Norway
Registered: 2004-03-29
Posts: 51

Re: ERROR:Unable to determine NVIDIA kernel module filename

Hi.

I belive the 2.6.3 & 2.6.4 kernels don't include the makefile.

You should do a  pacman -Syu  as root, this will update your system and install the latest 2.6.5 kernel (plus several other updates) witch does include the files needed for the driver compile.

Offline

Board footer

Powered by FluxBB