Hello, I'd like to mirror 2 9.1GB FW SCSI disks on my Sparc 20
running Red Hat 5.2, but the kernel patch for the 2.0.35 kernel
seems to be specific for Intel.  I've compiled raidtools-0.90
just fine, but the patch is a problem.

When I issue "patch -p0 <raid0145-19981005-C-2.0.35" from /usr/src
(/usr/src/linux is linked to /usr/src/linux-2.0.35), I get:

patching file `linux/fs/buffer.c'
patching file `linux/kernel/sys.c'
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 188.
Hunk #3 FAILED at 202.
3 out of 3 hunks FAILED -- saving rejects to linux/kernel/sys.c.rej
patching file `linux/kernel/ksyms.c'
Hunk #1 FAILED at 47.
Hunk #2 succeeded at 164 (offset -4 lines).
Hunk #3 succeeded at 366 (offset 3 lines).
1 out of 3 hunks FAILED -- saving rejects to linux/kernel/ksyms.c.rej
patching file `linux/include/linux/md.h'
. <Lots of patching going on here>
. <Lots of patching going on here>
patching file `linux/include/linux/genhd.h'
Hunk #3 FAILED at 53.
Hunk #4 succeeded at 103 (offset 1 line).
1 out of 4 hunks FAILED -- saving rejects to linux/include/linux/genhd.h.rej
patching file `linux/include/linux/blk.h'
Hunk #1 succeeded at 390 (offset 23 lines).
patching file `linux/include/linux/fs.h'
Hunk #1 succeeded at 191 (offset 1 line).
Hunk #3 succeeded at 683 (offset 1 line).
patching file `linux/include/linux/locks.h'
can't find file to patch at input line 2412
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux/include/asm-i386/irq.h.orig  Mon Aug  3 20:33:08 1998
|+++ linux/include/asm-i386/irq.h       Sat Sep  5 20:15:55 1998
--------------------------
File to patch:


At this point, I'm prompted for a file to patch.  Obviously it's looking
for an asm-i386 directory, which the Sparc kernel won't have.  So does
anyone know of a patch for the Sparc kernel, or am I pretty much stuck
without RAID on my Sparc box?

Kirk Rafferty
[EMAIL PROTECTED]

Reply via email to