LinuxQuestions.org
Review your favorite Linux distribution.
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 03-31-2008, 05:34 PM   #1
damian_dm@hotmail.co
LQ Newbie
 
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Arrow Compiling Mandriva 2008 kernel - version: 2.6.22.9-desktop586-1mdv


Hello guys,

Can anyone help me giving me some instructions about how can I install and compile my kernel ? I'm having some issues trying to install a pci wireless card, and I have some answers indicating me to compile my kernel, but I don't know how to do it.

related post: http://www.linuxquestions.org/questi...light=enlwi-g2

Thank you !
 
Old 03-31-2008, 05:59 PM   #2
Gettinther
LQ Newbie
 
Registered: Jan 2008
Location: Ireland
Posts: 4

Rep: Reputation: 0
Why do you want to recompile the kernel? You just need to compile the module and load it.

Just finished reading the other thread. You don't need to recompile the kernel with Mandriva. (but you'll need to install the kernel source (or header or devel or whatever they named it).

Once that's done, you should be able to load the module created.

Last edited by Gettinther; 03-31-2008 at 06:04 PM.
 
Old 04-02-2008, 11:13 AM   #3
damian_dm@hotmail.co
LQ Newbie
 
Registered: Mar 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Ok ! Thank you very much !!! , I'll try if I can do that way
 
Old 05-02-2008, 04:05 AM   #4
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
I have built a kernel for the 2.4.36 vanilla Linux. I think that you would do the same thing that I did. I just followed the instructions in the README that is in the kernel source directory.

You go to: http://www.kernel.org/

Find the kernel that you want. Download it. Use "tar" to unpack it. Then follow the README instructions. I think you asked two different questions. One was how to get your wireless card to work. The other was how to build the kernel. This is new to me. To build the kernel:

make mrproper
make menuconfig
make dep (if building an older kernel like 2.4)
make
make modules
make modules_install install

The README has more instructions. The makes take a long time. I built one 2.6.2X kernel and it took more than an hour! The 2.4 kernels build much faster. I built one in under 10 minutes. I am still trying to figure out how to configure the kernel though. That is a confusing part of building the kernel. If you did not have to configure the kernel at all, then you could simply run these makes and you would be done. I had some problems with GCC though, so sometimes it does not make right and you have to load more programs onto your system. It is difficult to figure out. You have to read a lot and spend a lot of time.

If you do not need to build a kernel, then don't. I think this is what they are trying to tell you. It can take a lot of time. After you build it, you have to get it to boot! I have been trying to figure out that part. Linux is new to me. I never could build M$crosoft ME though. They would not even let me get the sources.
 
  


Reply

Tags
compiling, kernel, mandriva, version


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
[SOLVED] Problem compiling nvidia drivers under Mandriva 2008.0 81bones Mandriva 8 03-11-2008 08:23 AM
Mandriva 2008 and badRAM kernel patch jjonas Mandriva 1 03-04-2008 07:13 AM
Mandriva 2008 2.6.22.9-desktop-1mdv kernel source? dolphans1 Mandriva 2 10-20-2007 07:41 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 08:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 10:41 PM


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