[ale] patching the kernel

THE_BIGDOG leeroy at gate.net
Sat Nov 13 22:15:15 EST 1999


i'm patching the kernel to get my ultra66 card and drive to work in
linux. the way i understand it is i have to apply patch the to
/usr/src/.  then do a recompile of the kernel to see the option to use
the card and drive. so i'm trying to do the patch thing now and here is
what i got:

this is from the "kernel how to"
the patch is uncompressed, it's  " ide.2.2.13.19991104.patch " i'm in
/usr/scr/,

"So, continuing with the example above, let's suppose that you have
`patch46.gz' in /usr/src. cd to /usr/src and do a `zcat patch46.gz |
patch -p0' (or `patch -p0 < patch46' if the patch isn't compressed). "



[root at localhost src]# patch -p0 < ide.2.2.13.19991104.patch
patching file linux/CREDITS
patching file linux/Documentation/Configure.help
patching file linux/Documentation/devices.tex
patching file linux/Documentation/devices.txt
patching file linux/MAINTAINERS
Hunk #1 succeeded at 396 (offset -1 lines).
can't find file to patch at input line 555
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.2.13-pristine/arch/mips/lib/ide-no.c
linux/arch/mips/lib/ide-no.c
|--- linux-2.2.13-pristine/arch/mips/lib/ide-no.c Mon Aug  9 14:04:38
1999|+++ linux/arch/mips/lib/ide-no.c Wed Nov  3 04:11:59 1999
--------------------------
File to patch:       <****** ok it stopped here, now what?    i'm
following the "kernel how to."
                                         what do i tell it now?

thanks
lee roy






More information about the Ale mailing list