[ Saturday, March 18, 2000 ] Brian Lavender wrote:
> I am trying to apply the raid patch to the 2.2.14 kernel
> and I get this error. What is wrong?

1) Great reason to use --dry-run with patch so you can spot 
   possible problems before writing to you source tree.

> everest:/usr/src/linux# patch -p1 < raid-2.2.14-B1.patch
> patching file `init/main.c'
> Hunk #2 FAILED at 488.
> Hunk #3 succeeded at 940 with fuzz 2 (offset 12 lines).
> Hunk #4 FAILED at 1438.
> 2 out of 4 hunks FAILED -- saving rejects to init/main.c.rej
> patching file `include/linux/raid/linear.h'
> patching file `include/linux/raid/hsm_p.h'
> patching file `include/linux/raid/md.h'
> patch: **** malformed patch at line 411: rint_devices(); }

2) in ever other case it's been corrupted downloads (lynx print,
   netscape save as, whatever), so I'd probably recommend something
   along the lines of wget, snarf, greed, etc.

James

Reply via email to