I learned the hard way that the kernel supplied with MDK 6.1 is not the same 
as the one that you can download from ftp.kernel.org.  Apparently MDK 6.1 
ships with kernel 2.2.13pre??.  The final version of kernel 2.2.13 is found 
at ftp.kernel.org.

The "ide.2.2.13.19991111.patch" patch file was written to be applied to the 
final version of kernel 2.2.13.  I believe my errors resulted because I 
tried to apply the "ide.2.2.13.19991111.patch" patch to kernel 2.2.13pre?? 
that came with MDK 6.1.

In order to finally apply the patch, I had to remove the MDK 6.1 
kernel-source and kernel-headers using RPM.  I had to delete the 
/usr/src/linux directory.  I had to download the official kernel 2.2.13 from 
ftp.kernel.org.  I applied the "ide.2.2.13.19991111.patch" patch.  I then 
had to fix some broken links.  Finally, I recompiled the kernel to add 
support for my "Promise Ultra66 IDE controller."

If any newbies are looking to patch the kernel, I hope your ride isn't 
nearly as bumpy as mine.  Mandrake "may" have released an update RPM that 
patches the kernel source to look exactly like the kernel source that can be 
downloaded from ftp.kernel.org.



Matt



>From: "M Thompson" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [newbie] "make dep" error (was "Problems patching the kernel...")
>Date: Sun, 21 Nov 1999 03:11:18 GMT
>
>I applied the "ide.2.2.13.19991111.patch" patch file to the kernel.  I then
>typed "make mrproper" then "make xconfig" and then "make dep"
>
>When I typed "make dep" I received the error message:
><snip>
>../../.config: no such file or directory
>***no rule to make target ../../.config  stop
>[_sfdep_fc4] error 2
>[fastdep] error 2
>[sfdep_drivers] error 2
>[dep_files] error 2
>
>
>What do I do to get rid of these error messages so I can recompile my
>kernel?  What do these error messages mean?
>
>If anyone could even point me to a webpage that has help on these error
>messages, I'll take that too.
>
>
>thanks all,
>Matt
>
>>From: Axalon Bloodstone <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>Subject: Re: [newbie] Problems patching the kernel...
>>Date: Sat, 20 Nov 1999 15:09:23 -0700 (MST)
>>
>>On Sat, 20 Nov 1999, M Thompson wrote:
>>
>> > I'm trying to patch my kernel with a patch file.  I placed the patch
>>file in
>> > /usr/src.
>> >
>> > I ran the command "patch -p0 < (patch file)" and received the following
>> > message---"File to Patch:"  What should I type when I receive that
>>message?
>> > Is there anything else I should be doing to accomplish this task?
>> >
>> > BTW - I am using the file "ide.2.2.13.19991111.patch" to add support 
>>for
>>my
>> > Promise Ultra66 IDE controller.
>> >
>> > I thought patching the kernel was a painless procedure.
>>
>>do it like
>>zcat ide.2.2.13.19991111.patch.gz | patch -p1
>>or
>>patch -p1 < ide.2.2.13.19991111.patch
>>
>>With the later you'll recieve a few of the same messages skip them (they
>>should all refer to different archs), the prompting gets skiped if you
>>zcat, because stdin is not a tty
>>
>> > Thanks all,
>> > Matt
>> >
>> > ______________________________________________________
>> > Get Your Private, Free Email at http://www.hotmail.com
>> >
>>
>>--
>>MandrakeSoft          http://www.mandrakesoft.com/
>>                                         --Axalon
>>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to