LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-11-2011, 10:52 PM   #1
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Location: China,Beijing,Daxing,Century College of Beijing University of Post and Telegcommunication
Distribution: No Sacrifice , No Victory !
Posts: 25
Blog Entries: 1

Rep: Reputation: 0
Exclamation Linux Kernel Modules,Windwos Drivers?


I had searched Google,somebody said the modules is just like the hardware drivers in windwos.The terminology "module" is used in linuxOS only and are pieces of codes.

But I want to know how many kinds of modules dose the linuxOS have.
Are the modules only do something like drivers in windows?

Are the softwares,*.rpm,modules?

I have downloaded a sound driver for linux throuth a dirver website.But is it a module ?

How a module could install or load to my LinuxOS?
 
Old 04-11-2011, 11:49 PM   #2
rocky_siva
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Rep: Reputation: 1
Dont confus with the terminology "module".
Actually if a portion of code or similar needs to be run inside kernel means, we will compile our piece of code and generate an output file. This we call it as module.
Once the module is ready, then we can insert that to Kernel using the command insmod or modprobe.
RPM is a utility for installing software on Unix-like systems, particularly Red Hat Linux. RPM contains modules.
 
1 members found this post helpful.
Old 04-12-2011, 02:14 AM   #3
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Location: China,Beijing,Daxing,Century College of Beijing University of Post and Telegcommunication
Distribution: No Sacrifice , No Victory !
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by rocky_siva View Post
Actually if a portion of code or similar needs to be run inside kernel means, we will compile our piece of code and generate an output file. This we call it as module.
Thank Mr.rocky_siva!!

So the hardware drivers must be modules??

I donwload a sound driver for linuxOS.It's a Tarball.Is it a software contain modules which drive the hardware??

Last edited by HeavenElite; 04-12-2011 at 02:20 AM.
 
Old 04-13-2011, 02:09 AM   #4
rocky_siva
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Rep: Reputation: 1
Yes, the hardware drivers must have a module that should be run inside kernel.

Tarball is a file format that can combine multiple files into a single "tarball" file.
Extract the tarball and then look inside the tarball for a README or INSTALL text file... open that, and follow the instructions. Command to extract that is

$ tar xjfv TarBallName.tar.bz2

If you have a Tarball with the "gz" or "tgz" extension, then the command is,

$ tar xzfv TarBallName.tar.gz

hv a look at this link to have more on it..
http://ubuntuforums.org/showthread.php?t=244832
 
Old 04-13-2011, 09:52 PM   #5
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Location: China,Beijing,Daxing,Century College of Beijing University of Post and Telegcommunication
Distribution: No Sacrifice , No Victory !
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by rocky_siva View Post
Yes, the hardware drivers must have a module that should be run inside kernel.
Yes,I'm read the modules-HowTos now.And the TTL line discipline,Executable interpreters,drivers of devices,network and filesystem,system calls.These are the works of modules.

I have read the <Mastering Red Hat Linux 9> written by Michael Jang, so I know the Tarball's options.

I just want to know how to learn the linux by the website just like tldp.org and GNU.org instead of books.Could you tell me ?

tldp and Gnu just give me a bunch of documents without a right order for I linux newbie,Could you give me a reading order ?

Last edited by HeavenElite; 04-13-2011 at 10:00 PM.
 
Old 04-14-2011, 06:38 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
Read the documents in the order you like. If you want to know something about compiling kernels, read that article. If you want to know more about working with the command line read something about that.
It is simple as that.
 
Old 04-14-2011, 07:46 PM   #7
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Location: China,Beijing,Daxing,Century College of Beijing University of Post and Telegcommunication
Distribution: No Sacrifice , No Victory !
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by TobiSGD View Post
Read the documents in the order you like. If you want to know something about compiling kernels, read that article. If you want to know more about working with the command line read something about that.
It is simple as that.
I'm just a beginner,though I have compiled a kernel.But I even did't know each variable’s meaning.I sure the process of moving linux from vmware to physical machine is a longterm.
 
  


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 ATI drivers to Slackware 10 - kernel modules? wezzer Slackware 9 08-31-2004 05:12 PM
/lib/modules/.../kernel/drivers empty? maxware Linux - General 7 03-05-2004 07:58 PM
How to keep modules/drivers across kernel recompiles and kernel versions? Pisces107 Linux - General 5 01-21-2004 08:29 PM
After compiling 2.6 kernel >> not enough drivers in /lib/modules?? Jefklak Linux - Software 9 10-21-2003 11:55 AM
Making custom kernel..but drivers and modules wont load on boot skoal Linux - General 10 12-06-2001 06:59 PM


All times are GMT -5. The time now is 10:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration