LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling Mandriva 2008 kernel - version: 2.6.22.9-desktop586-1mdv (http://www.linuxquestions.org/questions/linux-newbie-8/compiling-mandriva-2008-kernel-version-2-6-22-9-desktop586-1mdv-632012/)

damian_dm@hotmail.co 03-31-2008 04:34 PM

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 !

Gettinther 03-31-2008 04:59 PM

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.

damian_dm@hotmail.co 04-02-2008 10:13 AM

Ok ! Thank you very much !!! , I'll try if I can do that way

newtovanilla 05-02-2008 03:05 AM

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.


All times are GMT -5. The time now is 09:22 AM.