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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-06-04, 05:21 PM   #13
tspinillo
Registered User
 
Join Date: Sep 2002
Posts: 29
Default Re: Problem with kernel 2.6.5

I'm running 2.6.5 no problem here. Using the PNY 5341 drivers. Fedora core 1 with
Linus' kernel.

Maybe gcc version?

#cat /proc/version
Linux version 2.6.5 (root@tony) (gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)) #1 SMP Sun Apr 4 09:46:11 EDT 2004


T
tspinillo is offline   Reply With Quote
Old 04-06-04, 05:25 PM   #14
mikygee
Registered User
 
Join Date: Apr 2004
Posts: 25
Default Re: Problem with kernel 2.6.5

Maybe because you have fedora and the installer has been designed for the fedora distro (i.e the precompiled modules)
mikygee is offline   Reply With Quote
Old 04-06-04, 08:12 PM   #15
tspinillo
Registered User
 
Join Date: Sep 2002
Posts: 29
Default Re: Problem with kernel 2.6.5

Fedora core 1 was designed for the 2.4 kernel. I had to change initscripts, hotplug etc before plopping in the generic 2.6 kernel. I am not using
the "precompiled" Fedora/RedHat kernel. I thought I was clear when I said I was running the "Linus" kernel. The installer must compile the
kernel wrapper.

You may be working with a "broken" distro.

Good luck.
tspinillo is offline   Reply With Quote
Old 04-06-04, 09:41 PM   #16
Tuvok
Registered User
 
Join Date: Apr 2004
Posts: 1
Default Re: Problem with kernel 2.6.5

I got the same problem, and hers is my solution.

It seems that Nvidia installer uses version.h to check
version of Linux kernel.
Since 2.6.5, they changed "make clean" policy when you
rebuild your kernel. If you do "make clean", version.h
is wiped out.
So just don't do "make clean" after you compile the kernel,
or make a copy of version.h, while kernel is compiled, and
reinstall it after you do "make clean".

You can find version.h in (kernel-src)/include/linux/
Tuvok is offline   Reply With Quote
Old 04-06-04, 11:42 PM   #17
crimsun
Registered User
 
Join Date: Aug 2002
Posts: 43
Default Re: Problem with kernel 2.6.5

For 2.6 kernels, I've always run `make prepare` in /lib/modules/`uname -r`/build prior to running the Nvidia installer. 2.6.5 works fine with 1.0-5336 on several x86 machines here.
crimsun is offline   Reply With Quote
Old 04-07-04, 12:37 AM   #18
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Problem with kernel 2.6.5

Quote:
Originally Posted by mikygee
The string "(gcc" was not found in the /proc/version
string: "Linux version 2.4.6 (root@machine) (version
gcc 3.3.3 (Debian 20040321)) #1 ...

So do you see that ? It doesn't see the string gcc while it's written gcc 3.3.3

I still believe the NVIDIA drivers should have been delivered as a patch for the kernel
Looks to me like either: 1) debian borked the version string in that kernel, or 2) someone copied it wrong, or 3) its actually an installer bug that should be easy enough for someone to identify since the installer code is open: the version string should be this format: gcc version x.x.x
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-27-04, 08:35 PM   #19
2dope
Registered User
 
Join Date: Apr 2004
Posts: 2
Default Re: Problem with kernel 2.6.5

Quote:
Originally Posted by blueworm
Why suffer so much?
Code:
./NVIDIA-Linux-x86-1.0-5341-pkg1.run --extract-only
then
Code:
cd NVIDIA-Linux-x86-1.0-5341-pkg1
and
Code:
make install

the above doesn't work with my setup (mandrake 10, kernel 2.6.5), tried both 5336 and 5341, the nvidia-installer.log shows:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Apr 27 21:29:06 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
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /root/tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
   5336).  As part of installing this driver (version: 1.0-5341), the existing 
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Using the kernel source path '/usr/src/linux' as specified by the
   '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux'...
   *** Warning: Overriding SUBDIRS on the command line can cause
   ***          inconsistencies
     CC      arch/i386/kernel/asm-offsets.s
   In file included from include/linux/config.h:4,
                    from include/linux/sched.h:6,
                    from arch/i386/kernel/asm-offsets.c:7:
   include/linux/autoconf.h:316:2: #else without #if
   include/linux/autoconf.h:318:2: #endif without #if
   include/linux/autoconf.h:522:2: #else without #if
   include/linux/autoconf.h:524:2: #endif without #if
   include/linux/autoconf.h:531:2: #else without #if
   include/linux/autoconf.h:533:2: #endif without #if
   include/linux/autoconf.h:1383:2: #else without #if
   include/linux/autoconf.h:1385:2: #endif without #if
   include/linux/autoconf.h:1590:2: #else without #if
   include/linux/autoconf.h:1592:2: #endif without #if
   include/linux/autoconf.h:2951:2: #else without #if
   include/linux/autoconf.h:2953:2: #endif without #if
   include/linux/autoconf.h:3442:2: #else without #if
   include/linux/autoconf.h:3444:2: #endif without #if
   make[3]: *** [arch/i386/kernel/asm-offsets.s] Error 1
   make[2]: *** [arch/i386/kernel/asm-offsets.s] Error 2
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.

any ideas?
2dope is offline   Reply With Quote
Old 04-27-04, 09:22 PM   #20
kgroombr
Using Linux Since 1995
 
Join Date: Sep 2002
Posts: 130
Default Re: Problem with kernel 2.6.5

This is a guess, but I think that you are trying to compile the nvidia module with a different version of gcc than the one that was used to compile the kernel.

Recompile the kernel, and then try to install.

Best guess.

Ken
__________________
Kenton A. Groombridge
kgroombr@comcast.net
http://home.comcast.net/~kgroombr/
kgroombr is offline   Reply With Quote

Old 04-29-04, 02:32 PM   #21
DarkMachine
Registered User
 
DarkMachine's Avatar
 
Join Date: Jan 2004
Posts: 4
Send a message via ICQ to DarkMachine
Default Re: Problem with kernel 2.6.5

try:

export CC=gcc

i must do this every time i install the nvidia driver.
__________________
Asus GeForce4 TI4200 128MB
DarkMachine is offline   Reply With Quote
Old 04-29-04, 07:02 PM   #22
Aldi
Registered User
 
Join Date: Jun 2003
Location: Alfter, Germany
Posts: 3
Default Re: Problem with kernel 2.6.5

Quote:
Originally Posted by blueworm
Why suffer so much?
Code:
./NVIDIA-Linux-x86-1.0-5341-pkg1.run --extract-only
then
Code:
cd NVIDIA-Linux-x86-1.0-5341-pkg1
and
Code:
make install
Thanks for that tip - had big troubles with MDK 10.0 an Ti4200 - but that worked!

(NVIDIA-Linux-x86-1.0-5336-pkg1)

Albert
__________________
sorry, currently no message to the world
Aldi 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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

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


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