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-14-2008, 05:40 AM   #1
alanhr
LQ Newbie
 
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23

Rep: Reputation: 15
Driver installation: General advice and best practices


Hi all,

I have an ATI ES1000 video card that I'm trying to get working with RHEL 4.7 on an x86_64 box. ATI has proven completely worthless as a source of information as to which driver(s) might possibly support the card, so I fully expect to have to try a few before I get it right. I am confident enough with computers that ordinarily I would just tear into it, suffer the consequences, and learn from my mistakes -- develop my own "best practices" from original research, if you will. However, this will be my first-ever driver install on Linux and I am also in a situation where I need to make sure if I screw something up that I can roll it back quickly.

Given all of that, is there a particular way you all would recommend I tackle driver installation such that if it doesn't work I won't be left installing everything from scratch? Or is this generally not an issue with Linux like it is with Windows? I have the vague impression from one source that all I really need to do is backup xorg.conf -- is this true (providing, of course, I don't mess with the files my current xorg.conf calls upon)? Can I then install and configure new drivers to my heart's content, rolling back by simply restoring the old xorg.conf if need be?

If that is not the case, what else should I back up? What pitfalls should I look out for?

I have searched for a handy web page somewhere that covers this topic and come up empty, but if such a thing exists I would love to see it.

Thanks!
 
Old 08-14-2008, 07:45 AM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by alanhr View Post
Given all of that, is there a particular way you all would recommend I tackle driver installation such that if it doesn't work I won't be left installing everything from scratch? Or is this generally not an issue with Linux like it is with Windows? I have the vague impression from one source that all I really need to do is backup xorg.conf -- is this true (providing, of course, I don't mess with the files my current xorg.conf calls upon)? Can I then install and configure new drivers to my heart's content, rolling back by simply restoring the old xorg.conf if need be?
In general, backing up xorg.conf is the only protection you need. However, make sure to back it up to another directory. I have backed up my xorg.conf to something like xorg.conf.original and later a proprietary driver installation script overwrote it. I recommend backing it up to a subdirectory of your home directory or some other place where you can find it easily, but will not be searched by the install script.
 
Old 08-18-2008, 02:44 AM   #3
alanhr
LQ Newbie
 
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the reply. I have xorg.conf securely backed up and I am in the process of resolving failed dependencies in the driver installation process. A new question: Some of the drivers I'm considering will taint the kernel. Will an uninstall (via rpm) un-taint the kernel? Or is a tainted kernel forever tainted? I think I'm okay with tainting the kernel, but given my level of experience with Linux hardware drivers at this point I would prefer not to do anything irreversible to the kernel.

Thanks again!
 
Old 08-18-2008, 02:57 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by alanhr View Post
Or is a tainted kernel forever tainted? I think I'm okay with tainting the kernel, but given my level of experience with Linux hardware drivers at this point I would prefer not to do anything irreversible to the kernel.
Have a look at ../Documentation/oops-tracing.txt. Snippet follows
Quote:
The primary reason for the 'Tainted: ' string is to tell kernel debuggers if this is a clean kernel or if anything unusual has occurred. Tainting is permanent: even if an offending module is unloaded, the tainted value remains to indicate that the kernel is not trustworthy.
I doubt you will do any permanent damage - unloading is usually fine. Generally only if you intend to lodge a bug on LMKL would you need to worry about the tainting.
 
Old 08-19-2008, 03:58 AM   #5
alanhr
LQ Newbie
 
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
Have a look at ../Documentation/oops-tracing.txt.
Thanks, I will. Sorry if I veered off into territory that would best have been covered in the newbies section....
 
Old 08-19-2008, 05:49 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Wasn't meant to castigate, merely offering a location for some info.
 
  


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
Need more general live CD advice twistedpair Linux - General 1 11-15-2005 03:29 AM

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

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