LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-11-2006, 09:16 PM   #1
XSuperX
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
need to noe some basics abt linux


I need to do a report on linux needed to be handed up on fri(12/6/06) and I don't know how to do it. Below are some stuff that needs to be included. I don't know how to do it, so I hope someone can help me with it please. Below are the stuff needed to be included in the report.

a) programming/build process in Linux.
b) How to compile and link:
i) User programs in user space.
ii)Kernel programs (modules) in kernel space.
c) How to load modules into the Kernel.
d) How to list out the loaded modules.
e) How to call functions defined and loaded into the Kernel.
f) How to remove modules from the Kernel.

Last edited by XSuperX; 06-12-2006 at 07:30 AM.
 
Old 06-11-2006, 09:59 PM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Have you tried doing any kind of research of this on your own? Any way...

Quote:
c) How to load modules into the Kernel.
modprobe your_module

Quote:
[d) How to list out the loaded modules
lsmod

Quote:
How to remove modules from the Kernel.
rmmod

There's some help
 
Old 06-12-2006, 12:11 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Homework, n'est-ce pas?
Please tell us more about the course---eg what instruction so far--what tests, etc.

Here's one of the hits using "compile Linux kernel" in Google:
http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Quote:
I need to make some kind of program
What does that mean?? What exactly is the assignment?
 
Old 06-12-2006, 07:35 AM   #4
XSuperX
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
somehow this is all that my lecturer says to us. It's a last minute assignment and I have no idea where to get the informations. All the linux frequent users out there, please help me out.
 
Old 06-12-2006, 08:25 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Did you look at the link I gave you?
Do you have some more specific questions?
 
Old 06-12-2006, 08:28 AM   #6
XSuperX
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
Did you look at the link I gave you?
Do you have some more specific questions?
i do not understand what does it mean by programming/build process of linux. does that mean the build process of the kernel and module?
 
Old 06-12-2006, 08:40 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by XSuperX
i do not understand what does it mean by programming/build process of linux. does that mean the build process of the kernel and module?
If you read the outline on the site, you will see that it is about compiling the kernel and kernel modules. The compile process is the same for any application.

What instruction have you had in class--lectures, etc.
What books have you read?
What Google searches have you done?

Cannot help you more without understanding what you already know....
 
Old 06-12-2006, 09:19 AM   #8
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Well you have a whole month, that's loads of time for research and working out what you dont understand, i cannot for one second believe you've done nothing on this subject, or have no reference books.
 
Old 06-12-2006, 09:20 AM   #9
XSuperX
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
i only have 3 days to do this report. i cannot find anything on compiling and linking user program in user space.
 
Old 06-12-2006, 09:33 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Usually gcc is used to compile C programs and ld to link libraries, perhaps you should go and read about those.
 
Old 06-12-2006, 09:38 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Google:
user space programming
user space (26 million hits)

You STILL have not answered my questions.....What DO you know? For example, can you compile and run a simple program? Can you compile and run a program from downloaded source code?
 
  


Reply

Tags
homework



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
abt slow Suse linux 10.0 parthbakshi Linux - Hardware 1 01-26-2006 02:48 PM
How abt providing torrents in the linux download section jayakrishnan LQ Suggestions & Feedback 2 12-17-2005 03:24 AM
Can Anybody tell me abt tar files in linux takola LinuxQuestions.org Member Intro 3 05-06-2004 01:59 PM
some command to get help abt use of other linux commands sureshp1980 Linux - General 4 09-25-2003 02:03 AM
Newbie questions abt Linux moy Linux - Newbie 4 06-10-2003 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:54 PM.

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