LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-07-2003, 12:44 AM   #1
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
Modules...


I have a question for the PRO's. When you recompile a linux kernel when you tel it that a module will be loaded for a certain piece of hardware how does it know where the module is and what it does?
when recompiling the kernel if you pass the "Y" option to include support for some device does that mean if there is a new release of a driver for that piece of hardware you would have to recompile to entire kernel again just to switch drivers?

And my last question is how do I change the default X Window Manager I chose KDE but I just realized now how slow it runs on my machine so I want to try either Gnome or maybe Blackbox.

Sorry if I'm being annoying or anything, I've only had Slackware 9.1 for 2 hours and I already love it.
 
Old 10-07-2003, 01:16 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
I'm not a kernel expert or anything so someone please correct me if i'm wrong.
As far as I know, the kernel doesn't know what modules to load, it has to be told to load a specific module, which is why essential components for booting the system must be compiled directly inside the kernel, not as a module.
Yes you have to recompile the kernel to update it, which is what it used to be before the kernel supports loadable modules, you need to recompile it everytime you want new hardware support. There are many advantages of using loadable modules, which is why major distros such as Redhat, Suse etc often have nearly everything compiled as a module in their default kernel.

As for the window manager, edit your $HOME/.xinitrc file, create it if there isn't one, and put for example:
exec gnome-session

for gnome,

exec startkde

for kde, blackbox is just "blackbox" from memory, you just need to find the executable name for that particular window manager and replace the part after exec with it.
The default one it looks for if there isn't a .xinitrc in your home directory is in /etc/skel I think, might be different between distros, not exactly sure.

Last edited by Demonbane; 10-07-2003 at 01:17 AM.
 
Old 10-07-2003, 02:45 AM   #3
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Original Poster
Rep: Reputation: 15
Thanks Demonbane now I have some kernel tweaking to do ..lol (Getting the CD's ready for a reinstall.) ...hehe
 
  


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
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM


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