well if you're using patches from kernel.org it might be that they aren't
liking the mandrake kernel rpms' :P that's the first idea, second ".config"
is after you've configured a kernel, "save and exit" (on make xconfig)
I hope that this gives you some sort of an idea, but I'm sure there are many
more qualified users to answer this more clearly
Adam
----- Original Message -----
From: "Russ Petruzzelli" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 2:06 AM
Subject: [newbie] kernel patch question - failed to patch
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> My first attempt to upgrade my kernel from 2.2.15 failed....
>
> I downloaded patch-2.2.16.gz patch-2.2.17.gz and ran
>
> gzip -cd /work/kernelpatches/patch-2.2.16.gz | patch -p0 from
> /usr/src.
>
> I got a ton of reject files and failed hunks.
>
> I also tried using ./scripts/patch-kernel. Same result.
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> SYSTEM INFO. Currently running linux-mandrake 7.1. No special changes
> to the system made.
> - Originally installed from a CD and so far I've never installed
> a patch.
>
> Pentium 686 with 256 M memory. 13 Gigs of disk space.
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> I did make a copy of my original src directory and redirected my soft
> link to my future-new src.
>
> lrwxrwxrwx 1 root root 12 Sep 24 21:13 linux ->
> linux-2.2.17/
> drwxr-xr-x 17 root root 4096 Sep 24 19:18 linux-2.2.15/
> drwxr-xr-x 17 root root 4096 Sep 24 22:49 linux-2.2.17/
> -rw-r--r-- 1 root root 1318138 Sep 24 21:37 patch-2.2.16.gz
> -rw-r--r-- 1 root root 888488 Sep 24 21:37 patch-2.2.17.gz
>
> So if I've screwed up 2.2.17, I can go back to 2.2.15 by redirecting my
> soft link -- right?
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Some output (this was from my second try, thus the patch detected
> complaint):
>
> [root@bedrock src]# ./linux/scripts/patch-kernel
> Current kernel version is 2.2.15
> Applying patch-2.2.16 (gzip)... Reversed (or previously applied) patch
> detected! Skipping patch.
> 4 out of 4 hunks ignored -- saving rejects to file CREDITS.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file
> Documentation/Changes.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 13 out of 13 hunks ignored -- saving rejects to file
> Documentation/Configure.help.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 11 out of 11 hunks ignored -- saving rejects to file
> Documentation/computone.txt.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 14 out of 14 hunks ignored -- saving rejects to file
> Documentation/kbuild/config-language.txt.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 9 out of 9 hunks ignored -- saving rejects to file
> Documentation/kernel-docs.txt.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file
> Documentation/networking/shaper.txt.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 4 out of 4 hunks ignored -- saving rejects to file
> Documentation/nfsroot.txt.rej
> The next patch would create the file
> Documentation/sound/ChangeLog.ymfsb,
> which already exists! Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> Documentation/sound/ChangeLog.ymfsb.rej
> The next patch would create the file Documentation/sound/PSS-updates,
> which already exists! Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> Documentation/sound/PSS-updates.rej
> The next patch would create the file Documentation/sound/README.ymfsb,
> which already exists! Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> Documentation/sound/README.ymfsb.rej
> The next patch would create the file Documentation/sound/TODO.ymfsb,
> which already exists! Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> Documentation/sound/TODO.ymfsb.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 5 out of 5 hunks ignored -- saving rejects to file
> Documentation/video4linux/README.cpia.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> Documentation/watchdog.txt.rej
> Reversed (or previously applied) patch detected! Skipping patch.
> 5 out of 5 hunks ignored -- saving rejects to file MAINTAINERS.rej
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
> The text leading up to this was:
> --------------------------
> |diff -urN v2.2.15/linux/arch/alpha/boot/bootp.c
> linux/arch/alpha/boot/bootp.c
> |--- v2.2.15/linux/arch/alpha/boot/bootp.c Mon Aug 9 12:04:38 1999
> |+++ linux/arch/alpha/boot/bootp.c Wed Jun 7 14:26:42 2000
> --------------------------
> File to patch: etc....
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> My goal here is to eventually install Win4Lin, which runs windows inside
> Linux. But it
> doesn't support Mandrake without having to install a special patch for
> the kernel.
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Please correct me if I'm wrong, but from reading the kernel-howto, these
> are the steps I was
> going to take: (from /usr/src/linux)
>
> make xconfig (This complains and dies when I try to run it)
> make dep
> make clean
> make bzImage ( I don't see this in the Makefile)
> make modules
> make modules_install
> make install
> new lilo entry for old kernel in case new kernel bombs. (done)
> reboot.
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> I also don't see my ".config" file anywhere. Was this created on the
> original install of Mandrake?
>
> -=-=-=-====-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Thanks for any help,
> Russ
>
>
>
>