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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-07-06, 08:28 PM   #1
vrode
Registered User
 
Join Date: Jan 2006
Posts: 36
Default Upgrading to 1.0-8178 for Linux x86 released - not happy.

I've downlaoded the current driver off nvidia's site (http://www.nvidia.com/object/linux_d..._1.0-8178.html) along with patch(es) mentioned in this thread http://www.nvnews.net/vbulletin/showthread.php?t=62021 with driver still complaining about the following error.

"You appear to be comiling the NVIDIA kernel module with a different compiler than the one that was used to compile the running kernel. The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel.
The compiler used to compile the kernel was gcc 3.4; the current compiler is gcc 4.0."

Any insight into this issue will be appreciated.
vrode is offline   Reply With Quote
Old 02-07-06, 08:42 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

You need to export CC to the same gcc binary that was used to build the kernel you're running.

-Lonni
netllama is offline   Reply With Quote
Old 02-08-06, 10:58 AM   #3
vrode
Registered User
 
Join Date: Jan 2006
Posts: 36
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

do you mean like this?

CC=gcc-3.4
export CC

I'm guessing I should do this prior to the upgrade, correct?


regards,
/virendra
vrode is offline   Reply With Quote
Old 02-08-06, 11:04 AM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

Yes, assuming that you have a gcc-3.4 binary in your $PATH, that should work.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 02-08-06, 11:23 AM   #5
vrode
Registered User
 
Join Date: Jan 2006
Posts: 36
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

Given that gcc-3.4 lives /usr/bin/gcc-3.4 and /usr/bin/X11/gcc-3.4

My current path statement should address it.

PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games


Let me know if I'm missing anything before I proceed.

BTW, should I still patch 1.0-8178 and if so should I stick w/ NVIDIA_kernel-1.0-8178-U012206.diff.txt as mentioned here,

http://www.nvnews.net/vbulletin/showthread.php?t=62021

please advice.



regards,
/virendra
vrode is offline   Reply With Quote
Old 02-08-06, 11:26 AM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

It shouldn't hurt to apply that patch.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 02-08-06, 11:43 AM   #7
vrode
Registered User
 
Join Date: Jan 2006
Posts: 36
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

ok let me give this another try.



regards,
/virendra
vrode is offline   Reply With Quote
Old 02-08-06, 12:29 PM   #8
vrode
Registered User
 
Join Date: Jan 2006
Posts: 36
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

This time it came back with this message?

ERROR: Unable to build the NVIDIA kernel module.


any thoughts?


regards,
/virendra
vrode is offline   Reply With Quote

Old 02-08-06, 12:56 PM   #9
vrode
Registered User
 
Join Date: Jan 2006
Posts: 36
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

I deleted this driver and reinstalled fine without any errors. Now my X crashes everytime when I run gdm

Should I first uninstall all packages related to nvidia driver (see below) as indicated my another poster?


sudo dpkg --purge nvidia-glx
sudo dpkg --purge nvidia-kernel-common
sudo dpkg --purge linux-restricted-modules-`uname -r`


regards,
/virendra
vrode is offline   Reply With Quote
Old 02-08-06, 01:17 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

You cannot mix the official nvidia driver package with unofficial 3rd party packages. You'll need to remove one or the other. If you're still having problems, please generate and post a bug report.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 02-08-06, 01:38 PM   #11
vrode
Registered User
 
Join Date: Jan 2006
Posts: 36
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

This is what I had did prior to this upgrade,

sudo apt-get install nvidia-glx
sudo apt-get install nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nvidia-glx-config enable
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop

[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;

Then I decided to upgrade to 'NVIDIA-Linux-x86-1.0-8178' for my GeForce Go 6800 for my laptop.

So then I ran the following command to remove nvidia-glx (previous driver)

sudo dpkg --purge nvidia-glx

and re-ran,

sudo sh NVIDIA-Linux-x86-1.0-8178-pkg1.run

with my X still crashing

What's the driver name for NVIDIA-Linux-x86-1.0-8178-pkg1.run so that I can purge it before I install a fresh copy of this driver. Also should let the installer configure the X configuration via nvidia-xconfig or should configure this manually?


please advice.


regards,
/virendra
vrode is offline   Reply With Quote
Old 02-08-06, 02:16 PM   #12
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Upgrading to 1.0-8178 for Linux x86 released - not happy.

Please generate and post a bug report.

Thanks,
Lonni
netllama 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


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


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