> > I've been running 2.2.16 with the 2.2.15-A0 patch for about 18 hours now on
> > two boxes (one RAID1, one large RAID5).
> > It's working fine (the md.c rejects don't matter -- that was for old version
> > of md.c).
>
> Well, I tried the "2.2.15, raid-2.2.15-A0 patch, 2.2.16 patch, build"
> method. Everything compiled, so I assume everything's good. there was
> the single patch failure against md.c when going 2.2.15 to 2.2.16, but
> hopefully that's ok. The box is remote, so I'm waiting until a little
> later tonight to go ahead and reboot it, just in case it doesn't come
> back up for one reason or another.
Redhat, glibc-devel-2.1.1-6, egcs-1.1.2-12, ftp.kernel.org/linux-2.2.16.
I've tried all recent 2.2 kernels - 14, 15 and 16 with appropriate patches (except
patch 15 for kernel 16) - "patch -p0 < patchfile" in /usr/src directory.
Seems like I can't get my kernel to work with raid5.
Can someone give me a clue how to compile my kernel so it won't write "mkraid:
aborted, see the syslog and /proc/mdstat for potential clues." ?
Here's what in my 2.2.16's (non-patched) /proc/mdstat:
Personalities : [4 raid5]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
Here's what patch writes:
patch -p0 < raid-2.2.15
patching file `linux/init/main.c'
Hunk #1 FAILED at 19.
Hunk #2 FAILED at 529.
Hunk #3 FAILED at 983.
Hunk #4 FAILED at 1491.
4 out of 4 hunks FAILED -- saving rejects to linux/init/main.c.rej
patching file `linux/include/linux/raid/hsm.h'
patching file `linux/include/linux/raid/hsm_p.h'
patching file `linux/include/linux/raid/linear.h'
patching file `linux/include/linux/raid/md.h'
patching file `linux/include/linux/raid/md_compatible.h'
patching file `linux/include/linux/raid/md_k.h'
patching file `linux/include/linux/raid/md_p.h'
patching file `linux/include/linux/raid/md_u.h'
patching file `linux/include/linux/raid/raid0.h'
patching file `linux/include/linux/raid/raid1.h'
patching file `linux/include/linux/raid/raid5.h'
patching file `linux/include/linux/raid/translucent.h'
patching file `linux/include/linux/raid/xor.h'
patching file `linux/include/linux/blkdev.h'
Hunk #1 FAILED at 62.
1 out of 1 hunk FAILED -- saving rejects to
linux/include/linux/blkdev.h.rej
patching file `linux/include/linux/fs.h'
Hunk #1 FAILED at 181.
Hunk #2 FAILED at 752.
Hunk #3 FAILED at 773.
Hunk #4 FAILED at 799.
Hunk #5 FAILED at 889.
Hunk #6 FAILED at 905.
6 out of 6 hunks FAILED -- saving rejects to
linux/include/linux/fs.h.rej