LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-23-2007, 03:54 AM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Etch upgrade went pear-shaped


Hi,

I was a happy user of Debian Etch, when yesterday I thought of upgrading to lenny (actually lenny, and a bit of sid)

I can't start X now. I've got Nvidia 7600GT. I used to have
nvidia driver installed 'the debian way' then after the upgrade I couldn't start X (it said 'can't open /dev/nvidia0 - although when you ls -l /dev/ you could find nvidia0, and nvidiactl)
then I installed the drivers from the nvidia website, so now I guess
it's a bit of mix of everything. I changed to 'nv' driver to start X, but I'd like to uninstall everything connected with nvidia drivers, and install a fresh driver. So my question is: which packages am I supposed to remove and which modules to delete, which config files to modify?
Is it possible to do it like that?

thanks
 
Old 07-23-2007, 10:49 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
http://wiki.debian.org/NvidiaGraphicsDrivers

Note that, if you install The Debian Way, nvidia-kernel-source is not in lenny, though it is in etch and sid, so you will have to run a slightly mixed system. Also, as it says on that page, kernel 2.6.21 breaks it, so you either need another kernel or to apply the patches linked to.

Last edited by AlucardZero; 07-23-2007 at 10:52 AM.
 
Old 07-23-2007, 11:11 AM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
No, the nvidia drivers are working just fine with 2.6.21 although I had to use the drivers from sid instead of Lenny. All you need to do is put the sid repositories in your /etc/apt/sources.list and then install the nvidia driver (after uninstalling your older driver, of course). And remember to disable the sid repos again after that or you whole system will get turned into unstable (I have some experience with that, it luckily didn't break anything but it sure was a bit of a shock when I suddenly realized what I had done). If you don't like the manual editing, you can just leave the sid repos commented in sources.list and enable/disable them ad hoc from System > Administration > Software Properties.

Last edited by jay73; 07-23-2007 at 11:13 AM.
 
Old 07-23-2007, 12:06 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Thanks guys, so there's a light at the end of the tunnel?

Which packages am I supposed to uninstall first? nvidia-kernel-common, anything else?

And later on which repos exactly do I need to change to sid? all lenny's?

thanks
 
Old 07-23-2007, 12:47 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Here's a howto I wrote about setting up a mixed Lenny/Sid system correctly. Sid has kernel 2.6.22, so you may not need to delete anything. Just get the new Nvidia source, and build it against the new kernel.
 
Old 07-23-2007, 01:00 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
thanks, I'll follow it.
 
Old 07-23-2007, 01:20 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
I try to mix as little as possible. The only things I used from sid are the nvidia driver, vlc and monodevelop. The less you mix, the smaller the chance of breaking anything.
 
Old 07-23-2007, 03:15 PM   #8
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Ok, I did it, but it failed to start X because I still have some old nvidia modules:
Quote:
ERrror: API mismatch: this NVIDIA driver component has version 100.14.11, but the nvidia kernel module's version does not match. Please make sure that the kernel module and all NVIDIA driver components have the same version.
(EE) NVIDIA: failed to initialize the nvidia kernel module. Please ensure that there is a supported nvidia gpu in this system, and thatthe nvidia device files have been created properly.
I more or less understand what it means however have no idea what to do about it
 
Old 07-23-2007, 03:30 PM   #9
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Open up Synaptic, search for anything "nvidia", remove and start over.

I'm new to Nvidia (gave up on ATI a short time ago) and I managed to install at the first try following this:
http://home.comcast.net/~andrex/Debi...tallation.html

Last edited by jay73; 07-23-2007 at 03:32 PM.
 
Old 07-23-2007, 04:13 PM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
thanks jay73,


I've checked also some other websites, and nvidia forum. I can't find anything relevant. There's some old module somewhere conflicting with the new one. I don't know. In the past I installed this very card on a few computers many times, I've never had any problems with it, until now. Anyway...
I think I'll be coming back to etch
no nvidia, mplayer won't start, gnome crashes once an hour
thanks
 
Old 07-23-2007, 04:18 PM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Weird, I've got an Nvidia 7600GST - not very different, I guess. Have you checked the output of lsmod for any traces of older modules?
 
Old 07-23-2007, 04:33 PM   #12
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I mean lsmod just shows one entry of nvidia and nothing else

Is it ok? I mean the versions, and the kernel (I've got 2.6.18.4-686)
In synaptic it says
nvidia-glx 100.14.11-1
nvidia-kernel-2.6.18-4-686 100.14.11-1+2.6.18.dfsg.1-12etch2
nvidia-kernel-common 20051028+1
nvidia-kernel-source 100.14.11.-1
 
Old 07-23-2007, 05:35 PM   #13
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Oh, wait a minute. Did you update your kernel? I had the same issue at first: tried to install the drivers right after installing Lenny and it didn't work - then I suddenly noticed that the kernel had been bumped to 6.21 already. Maybe you simply need to use nv in xorg.conf, remove the old nvidia, reboot and make sure you are using the right kernel?
 
Old 07-23-2007, 05:47 PM   #14
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
thanks
still have 2.6.18
Was it supposed to update to 6.21 automatically? it hasn't.
So do I now need to manually compile 6.21?
 
Old 07-23-2007, 05:49 PM   #15
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
It didn't update? Are you sure that you upgraded your sources.list to Lenny? I had the updater popping up a message literally within seconds after first booting into Lenny.
 
  


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
Installing PEAR on a system which is configured '--without pear' swiftguy121 Linux - Software 1 07-10-2007 07:45 PM
cups upgrade went pear shaped bookie Linux - Newbie 31 06-03-2007 01:56 PM
install Pear Net/SMTP, Pear Log and Pear DB modules cccc Debian 0 02-26-2007 08:33 AM
And now it goes pear shaped Jongi Linux - Newbie 1 02-21-2004 07:58 PM
Red Hat installation gone Pear Shaped troopship 7 Linux - General 2 10-10-2003 08:04 AM

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

All times are GMT -5. The time now is 02:58 AM.

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