LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-19-2006, 01:19 PM   #1
mrkawphy
Member
 
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Rep: Reputation: 15
Question Kernal questions to better understand.


I apologize if the topic seems alittle vague I did not want to make it overly long. Only enough to give you an idea of what I was looking for in regaurds to information.

I had afew questions regaurding updates and such and they are as follows.

1) When I do my yum updates and for example got a new kernal update to 2157 I beleive (correct me if I am wrong). When the system rebooted after installation I recieved a graphics card error and was not able to boot into gnome until the system did an automated recovery and did it's own video driver recovery from defualt drivers. Now I DO understand that the root cause for this was that I had the kmod-nvidia drivers? RPM? installed. (Also had troubles with kmod-ntfs)

My question relating this is, Do I need to do a "yum remove kmod" everytime I go to update the kernal to ensure I can boot back into the new kernal and then do a "yum install kmod" once the installation is complete? If so is there a specific reason as to why these drivers fail when all others on the system seem to accept the new kernal update?

Secondly, While being new to Linux in general I have seem some talks of "compiling of the kernal". I was hoping to gain more understanding on what exactly this means some benefits and flaws and how this differs from when I do a "yum update" and end up getting a new kernal build (if they are not the same thing). Thanks for your time. I appreciate all the help you have all given me in the past!

Also on a final note. Can anyone explain why everytime I update I always have 2 choices for each update on my grub loaders one 21XX and one for 21XXSMP. I know that SMP stands for duelcore but why would the system load both when it KNOWS i have duelcore?

Sorry forgot to say I was using Fedora 5 2157 kernal release I believe.

Last edited by mrkawphy; 07-19-2006 at 01:20 PM.
 
Old 07-19-2006, 01:37 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
It installs both, because on dualcore SMP may fail or not fail. It is for dual-processor anyway..
About compiling=building kernel. When you download binary from distro vendor, you get standard compiled kernel. When you compile yourself, you download source code (it is readable - and editable, unlike binary form), possibly apply patches like suspend2, check everything you need that is in kernel, uncheck things that just add bugs on your system and build it - with optimizations for your processor family, not generic 80386 processor.
 
Old 07-19-2006, 01:52 PM   #3
mrkawphy
Member
 
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Original Poster
Rep: Reputation: 15
Once you compile a kernal can you then still add programs and applications properly? Or everytime you add an application does the kernal need to be recompiled?

Does compiling your own kernal give you that much of an improvement system performance wise?

While I like the idea of being able to literally pick and choose what applications and software is running on my machine (while I have alot of learning to do yet before I can properly understand the basics of what I need) Would this not also be a huge security risk for a machine being connected to the internet if you do not truly know how and what services and applications you should be running?
 
Old 07-19-2006, 02:06 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It's kernel. Yeah, you can install applications as normal after compiling a new kernel (or recompiling your old one). You don't need to recompile the kernel every time you install new applications. If you compile a new kernel though (or recompile your old one I would think), you may need to recompile and reinstall some software (not normal software, just things like the NVIDIA drivers, or NdisWrapper for example).
 
Old 07-19-2006, 02:58 PM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
It really depends. Sometimes it gives you some rare features you like also. Or lets you get rid of initrd. By the way, initrd is a thing to ask about before you fail to boot, not after - if you use Fedora. About huge security risk - get bastille or something with similar name. It will close most network applications from the outer world. A good start, I think - gives time to learn..
 
  


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
few questions about kernal compling dr_zayus69 Linux - Software 6 01-07-2005 06:06 AM
Kernal modules on a Newly Compiled Kernal sethgeekx86 Slackware 4 05-03-2004 11:08 PM
questions about upgrading kernal dmarotto Linux - General 1 02-15-2004 09:40 AM
How do you configure the kernal, overwriting the old version of the same kernal? sabaka Linux - Newbie 13 10-04-2003 10:00 AM
Help! Configuring Kernal failed, GRUB can't boot new kernal, help! sabaka Linux - Newbie 4 09-16-2003 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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