Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-07-2003, 01:44 AM   #1
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15

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, 02:16 AM   #2
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 02:17 AM.
Old 10-07-2003, 03:45 AM   #3
Registered: Oct 2003
Location: $RANDOM
Posts: 122

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


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 07: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 03:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 03: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 02: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 02:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration