Hi. Thank you Robert for your answer.

I need to apply a patch to the kernel. I don't want to use my own configuration. Instead, I want to use the mandrake kernel configuraion (as it is shipped in the CDs), apply the patch, and compile it.

Of course, I want to use this configuration with the mandrake kernel it self, and not with other kernel sources.

I did as I said, compiled and installed the kernel, but got some problems with scsi drivers (totally not related to the patch, with is about mppe). So, I thought the problem was the patch I applied. But then, and tried to compile it without a single modification from my part, and the compilation failed.

So, I was not sure if the .config file the kernel-source rpm includes is the oficial configuration mandrake uses, or just something else.

Thank you!

- Oscar Retana.


p.s.: By the way, in trying to do this with kernel-source-2.4.22-21mdk



flacycads wrote:
On Friday 31 October 2003 12:30 am, Oscar Retana wrote:

Hi everybody!

I'm new to _this_ distribution of Linux. I would like to know where can
I get the .config files used to compile the precompiled kernels Mandrake
includes.

I got one kernel-source-<verion>.rpm, and tried to compile it, but I got
some problems. I don't know if this kernel was actually configurated
like the compiled kernels Mandrake includes, or it was just something else.

Thanks,

- Oscar Retana.


Oscar,
If you have a standard MDK install with sources, the kernel .config file is found in /usr/src/linux-xxxx. MDK kernels are heavily patched. You can't just take that file, and apply it to other kernels. You would have to decipher the source directory, and find all the patches Mandrake includes in the kernels they issue. But you don't have to do that- you can compile other kernels from source as user in a home directory with Mandrake, using your own config file, and your own patches, if desired. Mandrake includes all the patches in it's source when it releases a new kernel, so it's not really practical to try and copy that. You would have to find all the patch


If you wish to experiment with other kernels, just do it in completely separate directories in a created /home/user/kernels/, from raw non-rpm source, where it never interacts with the stock Mandrake installed kernel, and system. That way, you never have to worry about not being able to boot if you mess up.

I'm not really clear on what you are asking. Please tell us what your objective is, and people will certainly offer many helpful options, and clarify the process.

Robert Crawford



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to