LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2006, 11:38 AM   #1
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Rep: Reputation: 15
Kernel and drivers. Where is the ati module placed?


Hi all!!

I'd successfully installed ati propietary drivers (even graphical aceleration) on my debian 3.1 with the 2.6 default kernel.
Then I decided to install a new kernel 2.6.16 through www.kernel.org (all ok), followed the same process to install the driver (you know, sh ati_driver[...]), but I couldn't get it to work with aceleration.

My main question is:
How does the installer know where to place the ati module and where is it placed? I'm afraid that not module is shown when I lsmod...

I suppose I have to install the driver for each kernel I have in the system, am I rigth?

Is the symbolic link linux placed in /usr/src really important?

And also related with this:
If I have multiple kernels, how can I specify which modules I want to load depending on the kernel I boot?

Sorry for the police quiz

Thanks in advance!!
 
Old 04-03-2006, 12:24 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
How does the installer know where to place the ati module and where is it placed? I'm afraid that not module is shown when I lsmod...
By default, all modules are placed in /lib/modules/kernelversion. Every time you compile a new version of the kernel, a new set of directories will be made in /lib/modules.

Quote:
I suppose I have to install the driver for each kernel I have in the system, am I rigth?
Yes, that is right. Since any given kernel has no way of telling what other kernels might be installed, it only looks for the modules for itself.
Quote:
Is the symbolic link linux placed in /usr/src really important?
I've always found it useful, but I don't know if it is a hard and fast requriement. It probably depends upon how well/poorly external source code is written. It is pretty trivial to find out what the current kernel version is, so a program shouldn't absolutely need the linux link, but as I said, I've always used it just in case.
Quote:
If I have multiple kernels, how can I specify which modules I want to load depending on the kernel I boot?
You may need to write a script that loads modules after identifiying what kernel is running. I think for most distros, the module loading scripts are pretty kernel agnostic and pretty much expect all kernels to load the same modules.
 
  


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
ATI driver kernel module bmorgan98 Mandriva 1 08-23-2005 01:32 PM
ATI Remote kernel module CrazyYoyimbo Linux - Hardware 1 02-09-2005 11:21 AM
[Suse 9.2] Installing kernel-module (ATI Drivers) problem Simkin Linux - Software 0 01-31-2005 04:58 AM
Setting up ATI Remote kernel module smiler_jerg Linux - Hardware 6 10-05-2004 10:38 AM
Problem with fglrx module (ati-drivers-3.9.0-r1) with kernel 2.6.7 in Gentoo Mitchua Linux - Hardware 1 07-10-2004 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration