I've been trying to set up a linear raid for about three days now -- there
are no clear instructions as to what needs to be done.

I don't care which kernel I'll be using, as long I can access my data.
I've tried many combinations, to no avail.  Any help will be appreciated
at this time.

BTW, the mailing list that is advertised in the popular places is not very
active -- here is a repost.

In addition to what is said below, I did some experiments with 
kernel 2.2.1 + raid0145-19990128-2.2.0 , of which only the mmap.c patch
failed, ignored as advertised here:

The kernel dies in IO_trace(0x17,0x300,0,0xC017EB5E,0) which is called
from bread(0x300,0,0x400) which is called from msdos_partition from
check_partition.  I don't have time to do more tracing today.

--
Penio Penev <[EMAIL PROTECTED]> 1-212-327-7423

---------- Forwarded message ----------
Date: Tue, 2 Mar 1999 16:58:20 -0500
Subject: Re: /dev/md0: Invalid argument
From: Penio Penev <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

On Mon, 1 Mar 1999, Perry Harrington wrote:

| > OK, I tried various patchings:
| 
| I used kernel 2.2.1 with the 2.2.0 patch.  The mm/mmap.c patch failure can
| be ignored, as the patch in the raid patch is the same end result as the virgin
| 2.2.1 (read, the raid patch included a patch that was already in 2.2.1).
| 
| Apply 2.2.0 raid patch to 2.2.1 and recompile, use the .9 raidtools from kernel.org
| and you should be fine.

I did that.  Let me make sure that I'm doing it right:

bunzip2 -c dist/linux-kversion.tar.bz2 | tar xf - 
cd linux 
bunzip2 -c /path-to-raid-dist/raid0145-date-pversion.bz2 | patch -s -p1

Is this the procedure?  If this, I have to say that I am lost.

{kversion = 2.2.1 , date-pversion = 19990128-2.2.0} compiled but
segfaulted on "partition check" when booted.

{kversion = 2.2.0 , date-pversion = 19990128-2.2.0} compiled but
segfaulted on "partition check" when booted.

{kversion = 2.0.36 , date-pversion = 19990128-2.0.36} did not compile

---
gcc -D__KERNEL__ -I/mnt/p2/usr/src/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 
-malign-functions=2 -DCPU=586  -c -o setup.o setup.c
setup.c: In function `setup_arch':
setup.c:129: `empty_zero_page' undeclared (first use this function)
setup.c:129: (Each undeclared identifier is reported only once
setup.c:129: for each function it appears in.)
setup.c:125: warning: `memory_end' might be used uninitialized in this function
setup.c:127: warning: `memory_alt_end' might be used uninitialized in this function
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/mnt/p2/usr/src/linux/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2
---


| > At this point, I am at loss.  I believe my question should have a simple
| > answer:
| > 
| > What is the set of steps that I need to take to run linear MD nowadays?

Hmmm... has anybody gotten the kernel patches to work?  Do I need them at
all?

In general, what does one do to  to run linear MD nowadays?


--
Penio Penev <[EMAIL PROTECTED]> 1-212-327-7423


Reply via email to