From: "Oscar Retana" <[EMAIL PROTECTED]>
> 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
> 

if you have installed the mdk kernel-source,
the configs for all mdk kernels is at /usr/src/linux/arch/i386/

where defconfig is for up kernel, defconfig-smp is for the smp kernel
and so on...

of course you shouldn't build the kernels as root, so I suggest you
make a local copy in your home directory for example:

1. copy the contents of /usr/src/linux/ to /home/oscar/kernel/
2. cd to /home/oscar/kernel/ 
3. do a 'make mrproper'
4. apply your patches
5. copy the config you need: cp arch/i386/defconfig .config
6. do a 'make oldconfig dep clean bzImage modules'
7. su to root
8. do a 'make modules_install install'

this will build and install a kernel named 2.4.22-21mdkcustom

btw, the patch you need, is it something anyone else would benefit 
from?
If so, would you mind sending me the patch (or a link to it) and I'll
add it to my kernel-tmb in contribs...


Regards

Thomas



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

Reply via email to