LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2004, 11:49 AM   #1
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
kernel clarification


i cannot understand the meaning of using modules in the kernel .

also "Make sure you don't cofigure your filesystems as modules"

anyone can help out there . I face the problem of compiling the 2.6.5 kernel
which gives error- panic about the root partition .

Thanks in advance
 
Old 07-31-2004, 12:38 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Hello, consider that the kernel modules could be called plugin if you prefer.

What you have with a kernel is basically an interface for software to communicate with the hardware. It is more or less complete as this but to suit hardware evolution and to work with different hardware configurations, it has add-ons called modules. Most of these modules are drivers, but somes can accomplish other things.

These modules can be compiled as :
built-in : code go directly into the main kernel file
modules : code go on separate files called modules

The kernel loads the modules at boot stage by following the instructions given by the init scripts (etc/rc.d/*). But before to be able to read these scripts files it has to mount root partition first.

In your case, if the module required to read your root filesystem, say ext3 was not compiled as built-in (built-in: the module does not need to be loaded by init script because it is built in the kernel) so it has no infos to how to mount and read your root partition.

Another way (instead built-in module for filesystem) is to compile root filesystem module as module and mount it at boot by bootloader instruction (initrd)

Last edited by Cedrik; 07-31-2004 at 12:40 PM.
 
Old 07-31-2004, 12:43 PM   #3
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
Cedrik great answer thank you very much
 
  


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
Kernel Compilation clarification rbh123 Linux - Newbie 1 10-07-2005 04:23 AM
Clarification Needed nagu_linux Linux - Software 1 03-30-2005 02:48 AM
Kernel 2.6 for Woody? clarification rqrd Swampy Debian 2 12-02-2004 01:27 AM
Ambiguity -- Need clarification nealkochhar Linux - Newbie 3 06-01-2004 05:22 AM
about an add clarification jamaso Linux - General 1 04-18-2004 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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