LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-20-2007, 03:10 PM   #1
jmding
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Rep: Reputation: 0
Question reinstall nvidia driver everytime after updating kernel?


I have a nvidia geforce 7600GS 256MB dual dvi vedio card. My operating system is redhat linux with current version: 2.6.9-55.0.2.ELsmp

My system will have some kernel update about every 2 months. Everytime after updating kernel and rebooting, it will load vesa vedio card driver and fail to use the installed nvidia driver. So right now, I have to reinstall nvidia driver everytime after updating kernel. I have done this at least 4 times within last 12 months! Does anyone have any better ideas? Any way to install nvidia driver permenately? Or I simply should not update kernel when the new one is available? In fact, this is also a problem for my sound card driver! I hate to update anything now

Thank you for any input in advance!
 
Old 08-20-2007, 03:26 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Well, that's pretty standard with most distros and it gets particularly annoying when they frequently switch to new kernels. All I can suggest is installing Fedora instead, where the driver can be reinstalled from the repositories. You'd still have to do it yourself but it's a lot more convenient than fetching the driver and compiling the module yourself. Alternatively, you could install something like Ubuntu, which updates the video driver without any user intervention.
 
Old 08-20-2007, 03:38 PM   #3
jmding
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hi jay73, Thank you for your answer. In fact, I paid a few hundred dollars to use redhat enterprise linux and thought it would be more stable and had less updates. Now it seems all same as free Fedora and even worse since less people uses and less discussion on common problems I cannot imagine why linux don't have the nvidia driver and alsa driver preinstalled! They are common vedio and sound card, aren't they?

Anyway, can I download any small program to reinstall the vedio and sound card automatically everytime when I update to new kernels? I am really a newbie. Otherwise, I would write a program to do so.

Thanks again.
 
Old 08-20-2007, 04:03 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Hi jay73, Thank you for your answer. In fact, I paid a few hundred dollars to use redhat enterprise linux and thought it would be more stable and had less updates. Now it seems all same as free Fedora and even worse since less people uses and less discussion on common problems I cannot imagine why linux don't have the nvidia driver and alsa driver preinstalled! They are common vedio and sound card, aren't they?
I use both Fedora and RHEL (in the form of CentOS) and I can assure you that there are less updates in RHEL than in Fedora and its more stable. Quite a lot of people use RHEL or related distros either as server OSes or on their desktops, so you are guaranteed that someone can help you out if you ask in the right places. As for the nvidia drivers, its Red Hat and Fedora policy not to include proprietary software in their distribution due to licensing issues and potential problems with lawsuits. Its the same on Windows, Microsoft does not ship the official nvidia driver with XP or Vista, you have to download and install it yourself.

If the kernel works fine for you, there may be no need to upgrade it if an upgrade causes problems with your graphics and sound modules. All you need to do is edit /etc/yum.conf and put
Code:
exclude=kernel*
 
Old 08-20-2007, 04:41 PM   #5
jmding
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you a lot for above information!!!

I don't have yum.conf file under /etc folder. Should I creat one and with only one line: "exclude=kernel*" ? Is this same as not selecting anything starting with "kernel" when the system is asking for update packages?
 
Old 08-20-2007, 04:46 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Having looked at your kernel version, it seems like you are running RHEL 4 which did not have yum by default. I am sure you can use the up2date GUI to configure updates to exclude the kernel.
 
Old 08-20-2007, 04:51 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Quote:
Anyway, can I download any small program to reinstall the vedio and sound card automatically everytime when I update to new kernels? I am really a newbie. Otherwise, I would write a program to do so.
None is available for RedHat/Fedora (or many other distributions) as far as I know. There are only two options: either you stick with one kernel and you skip the kernel updates or you don't but then you need to reinstall the drivers.

Yes, Fedora does have more (a lot more) updates than RedHat. Not surprisingly, because Fedora can be considered a beta release of the next RedHat. It's very stable for an experimental release, however, and I haven't run into any serious issues so far (after more than a year) although some minor tweaks may be required at times. I think that Fedora and CentOS make better choices for home users; RedHat is essentially an enterprise system.
 
Old 08-21-2007, 12:00 AM   #8
jmding
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for all the replies. I will just use what I have now and wait for every other kernel update to reduce the number of times to reinstall drivers
 
Old 08-21-2007, 09:13 AM   #9
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
You should be able to use the nv driver with that card. This means only 2D, however, but there's no need to reinstall anything after a kernel update.
 
  


Reply



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
Cannot reinstall NVIDIA Driver ... module being loaded ? wtf? sys7em Slackware 2 03-02-2005 06:58 PM
I have to reinstall NVIDIA driver everytime I revboot in FC3 franz77 Linux - Software 2 01-27-2005 12:00 PM
Do I need to reinstall NVIDIA driver? sdat1333 Fedora 3 11-28-2004 03:40 PM
I have to reinstall nvidia driver every boot in 10.1 community Belegdol Mandriva 5 11-19-2004 05:55 PM
Stop me having to reinstall modem EVERYTIME cam34 Linux - Newbie 3 09-02-2003 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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