LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2010, 12:00 PM   #1
chiendarret
Member
 
Registered: Mar 2007
Posts: 307

Rep: Reputation: 16
Reinstall nvdia driver


Following "apt-get dist-upgrade" with debian squeeze i386, upgrading from kernel 2.6.30 to 2.6.32, the xserver, as expected, was broken at "startx".

I would appreciate a link to the instructions to reinstall the nvidia driver (legacy for GeForce2 MX200) in this case, where the gcc used to compile the kernel (4.3) does not match current gcc (4.4). Does that involve resetting the CC env variable to gcc 4.3? And how?

For the moment, I have aborted the re-installation of nvidia driver (which would first uninstall previous driver) and started linux with previous kernel 2.6.30, whereby "startx" gives the xserver.

thanks
chiendarret
 
Old 04-05-2010, 12:19 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
So how did you install the driver for the 2.6.30 kernel?.
For that age of card i'd suggest the 'Debian' method:

http://wiki.debian.org/NvidiaGraphicsDrivers

And for changing the GCC version temporarily see this thread here:

http://www.linuxquestions.org/questi...ersion-690246/

Also if you get really stuck installing the Nvidia driver there's always smxi:

http://smxi.org/
 
Old 04-05-2010, 01:20 PM   #3
chiendarret
Member
 
Registered: Mar 2007
Posts: 307

Original Poster
Rep: Reputation: 16
Reinstall nvidia driver

Quote:
Originally Posted by the trooper View Post
So how did you install the driver for the 2.6.30 kernel?.
For that age of card i'd suggest the 'Debian' method:

http://wiki.debian.org/NvidiaGraphicsDrivers

And for changing the GCC version temporarily see this thread here:

http://www.linuxquestions.org/questi...ersion-690246/

Also if you get really stuck installing the Nvidia driver there's always smxi:

http://smxi.org/
Both methods work for that card, nvidia is simpler as it suggests which legacy driver to download. Previously I used the debian way, in the case of 2.6.30 I used the nvidia method. I agree, however, that the debian way is a cleaner installation. For desktop I use old hardware, putting all money on widening the cluster for number crunching (without X server)



If I understand, I should

(1) Reinstall gcc 4.3 (it was removed by the dist-upgrade)

(2) export CC=/usr/bin/gcc-4.3

(3) ln -s -f /usr/bin/gcc-4.3

(4) reinstall the nvidia legacy driver, checking that it works at reboot

(5) ln -s -f /usr/bin/gcc-4.4

Thanks for checking the procedure
ch.
 
Old 04-05-2010, 02:04 PM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
You should only need to do:

Code:
(1) Reinstall gcc 4.3 (it was removed by the dist-upgrade)

(2) export CC=/usr/bin/gcc-4.3
You will then revert to your default GCC version when you close your terminal.
Look at the last posts in the thread i linked to.
 
Old 04-05-2010, 04:27 PM   #5
chiendarret
Member
 
Registered: Mar 2007
Posts: 307

Original Poster
Rep: Reputation: 16
Reinstall nvidia driver

Quote:
Originally Posted by the trooper View Post
You should only need to do:

Code:
(1) Reinstall gcc 4.3 (it was removed by the dist-upgrade)

(2) export CC=/usr/bin/gcc-4.3
You will then revert to your default GCC version when you close your terminal.
Look at the last posts in the thread i linked to.
********
The nvidia driver installed, though, again, it works for 2.6.30, not for 2.6.32. Please see below a portion of /var/log/Xorg.0.log:

II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 96.43.16 Thu Jan 28 16:02:25 PST 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
terminal commands for fedora 12 i.e installing games like tremolous and Nvdia driver scottfedorauser Linux - Newbie 1 03-12-2010 02:40 PM
Getting X to recognize Nvdia driver? jman82s Linux - Hardware 6 02-17-2009 08:00 AM
xorg nvdia driver problem mrxoliver Linux - Hardware 1 04-09-2006 09:56 AM
extremely detailed step by step instructions wanted for nvdia driver installation!!! saquib Linux - Hardware 1 03-09-2006 01:21 AM
Switched Nics, new NIC has old driver, how to reinstall driver? Passive Linux - Hardware 3 04-29-2002 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:03 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