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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-14-2008, 06:40 AM
|
#1
|
LQ Newbie
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23
Rep:
|
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!
|
|
|
08-14-2008, 08:45 AM
|
#2
|
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
Rep:
|
Quote:
Originally Posted by alanhr
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.
|
|
|
08-18-2008, 03:44 AM
|
#3
|
LQ Newbie
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23
Original Poster
Rep:
|
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!
|
|
|
08-18-2008, 03:57 AM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314
|
Quote:
Originally Posted by alanhr
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.
|
|
|
08-19-2008, 04:58 AM
|
#5
|
LQ Newbie
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by syg00
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....
|
|
|
08-19-2008, 06:49 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314
|
Wasn't meant to castigate, merely offering a location for some info.
|
|
|
All times are GMT -5. The time now is 06:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|