on 06 Nov 99, Matthew Gregan wrote...inter alia > >On Fri, Nov 05, 1999 at 05:57:58PM +0000, John wrote: >> I couldn't get this to work. My patches were in /usr/src and I got 'no >> such file or directory', so I moved them into the kernel source dir. >> and did -p0 thinking that should be right. No luck, so I did -p1 - >> there was action, but only 33 times 'Hunk xx failed at xxxx' and >> quite a few 'succeeded' at xxxx with fuzz 1 or 2 and a final line >> 'patch: **** malformed patch at line 2121: s'. > >Okay, it sounds like your kernel source isn't a pure one (I'm guessing >here). Patch is quite smart, and can patch files even if they're >different to what it's expecting, although it'll only work if they're a >little different, not a huge amount. > >It might be easier to download a fresh kernel source tarball from one of >the kernel.org mirrors and try from there. You could download the >latest, so you don't have to do any patching - but if you want to learn >to patch, download an older one and apply the patches you've got to it. >The only problem is a kernel source tarball is about 13MB. > >I'm pretty sure the source you extracted from the Debian package should >be a standard kernel though, so maybe there's something messed up. rm >the source dir and extract it again, then try patching it... > Many thanks for the detail in your response. It will take me some time to absorb and tryout. Will let you know how I get on. Time is not an issue for me as I have two other Linux distributions working to give cover until I get up to speed with Debian - the need for knowledge and expertise is one of its main attractions to me.
Regards.