Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Compiling The Linux Kernel


  • Please log in to reply
8 replies to this topic

#1 espinet

espinet

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Location:Bristol, UK
  • Local time:08:16 AM

Posted 26 October 2005 - 07:14 PM

Dear all,
I am a new linux user so unfortunately my understanding of the linux innerworks is very little. Still in a couple of ocassions I've came accross the need of compiling the linux kernel to be able to correctly install a new kernel module. I have been looking in the internet for guides on how to do this but haven't been very lucky finding one which is clear enough to me. Do you know where can I find information about how to compile the kernel? (I am running Red Hat Fedora Core 4)

Thanks in advance for your help
e

Edited by espinet, 26 October 2005 - 07:17 PM.


BC AdBot (Login to Remove)

 


#2 acklan

acklan

    Bleepin' cat's meow


  • Members
  • 8,529 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Baton Rouge, La.
  • Local time:07:16 AM

Posted 26 October 2005 - 08:17 PM

Here is an article. It appears to be fairly clear. Look about 2/3 down the page.

http://www.mjmwired.net/resources/mjm-kernel-fc4.html
"2007 & 2008 Windows Shell/User Award"

#3 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:16 AM

Posted 27 October 2005 - 08:45 AM

May i ask what module you are trying to compile in?

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#4 espinet

espinet
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Location:Bristol, UK
  • Local time:08:16 AM

Posted 27 October 2005 - 06:49 PM

May i ask what module you are trying to compile in?


Sure, I am trying to configure Dazuko

#5 espinet

espinet
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Location:Bristol, UK
  • Local time:08:16 AM

Posted 27 October 2005 - 06:50 PM

Here is an article. It appears to be fairly clear. Look about 2/3 down the page.

http://www.mjmwired.net/resources/mjm-kernel-fc4.html


Thanks. I actually remember seeing that doc yesterday but must have missed the important bit! I'll have a better look this time...
Cheers,
e

#6 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:16 AM

Posted 28 October 2005 - 12:03 AM

From what i looked at (and read about Dazuko) if your interested in
malicious files (?) you should look into this:
http://marc.theaimsgroup.com/?l=bugtraq&m=...71615906115&w=2
If you just want anti-virus you don't need to recompile the kernel.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#7 espinet

espinet
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Location:Bristol, UK
  • Local time:08:16 AM

Posted 28 October 2005 - 01:04 PM

I tried to install Antivir and is not working because coulnd't configure Dazuko properly. I went to the Dazuko web site where they say that to load Dazuko I should have experience with compiling the kernel (http://www.dazuko.org/howto-install.shtml). And I thought it would be a good thing to learn about that; not just to be able to get my antivirus fully operative but also for the sake of learning more stuff...

Edited by espinet, 28 October 2005 - 05:37 PM.


#8 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:16 AM

Posted 28 October 2005 - 01:43 PM

And I thought it would be a good thing to learn about that; not just to be able to get my antivirus fully operative but also for the sake of learning more stuff...

I couldn't agree more, but recompiling the kernel is not something you just "do".
If this is on a seperate box and you are learning with it thats great, but if its a system you use
regularly I would steer you away from a recompile.
I use ClamAV on my mail server (which is offline and in the garage at the moment) so i dont know if Dazuko is built into the kernel or not.
On my workstation I use F-Prot and BitDefender as on demand scanners simply
because there aren't many virus' for Linux and the ones that can really do the
damage need root permissions (which you shouldnt be using for day to day stuff)
If you have the kernel-source (should be on the CD) you can install that and then install Dazuko
without the need for a recompile. (according to the website)
HTH and good luck...im interested to know how it works out for you.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#9 espinet

espinet
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Location:Bristol, UK
  • Local time:08:16 AM

Posted 28 October 2005 - 04:21 PM

Not to worry, at the moment I am using my old laptop to experiment with Linux, so no major catastrophe should happen if I try pushing it a bit... :thumbsup:

Thanks for your help and interest and I'll let you know how I get on...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users