* RAID0 with Redhat5 ?
@ 1998-05-07 7:02 Nils Swart
1998-05-07 13:22 ` Robert Herzog
1998-05-07 13:28 ` Marc Zyngier
0 siblings, 2 replies; 4+ messages in thread
From: Nils Swart @ 1998-05-07 7:02 UTC (permalink / raw)
To: axp-list
Hello,
I've been trying to compile raidtools-0.41 for quite a while, but it keeps
giving this errormessage:
gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.41"\" -c
mdadd.c -o mdadd.o
In file included from common.h:23,
from mdadd.c:18:
/usr/src/linux/include/linux/md.h:26: warning: `MD_VERSION' redefined
*Initialization*:1: warning: this is the location of the previous
definition
In file included from mdadd.c:18:
common.h:39: parse error before `md_superblock_t'
common.h:39: warning: no semicolon at end of struct or union
common.h:40: `MD_SB_DISKS' undeclared here (not in a function)
common.h:41: `MD_SB_DISKS' undeclared here (not in a function)
common.h:42: `MD_SB_DISKS' undeclared here (not in a function)
common.h:45: parse error before `}'
common.h:45: warning: data definition has no type or storage class
make: *** [mdadd.o] Error 1
--------
If I check in my md.h, it doesn't contain MD_SB_DISKS. Furthermore the
configuration program gives a not-installed message at the RAID
definitions:
<snip>
checking how to run the C preprocessor... (cached) gcc -E
checking for RAID definitions in kernel headers... no
creating ./config.status
<snip>
I couldn't find a usefull md.h, maybe anyone here has it working ?
This should be running on a 2.0.33 (Redhat 5.0), Alpha 164SX 533 MHz.
Thanks in advance !
Greets,
Nils Swart
(nils@thrijswijk.nl / nils@tdsdata.net)
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: RAID0 with Redhat5 ?
1998-05-07 7:02 RAID0 with Redhat5 ? Nils Swart
@ 1998-05-07 13:22 ` Robert Herzog
1998-05-07 13:28 ` Marc Zyngier
1 sibling, 0 replies; 4+ messages in thread
From: Robert Herzog @ 1998-05-07 13:22 UTC (permalink / raw)
To: axp-list
Nils Swart wrote:
> Hello,
>
> I've been trying to compile raidtools-0.41 for quite a while, but it keeps
> giving this errormessage:
>
I am interested in RAID0 on axp, but I installed md035 (2 hours ago...), and
it works right out of the box (I probably did not type more than 5 or 6
command lines to get a working 17 gigabyte raid out of two 9 gigs
Barracudas...)I am not aware of the raidtools-041. I went for md035 as this
was mentioned in a recent Linux Journal paper.
Herzog
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RAID0 with Redhat5 ?
1998-05-07 7:02 RAID0 with Redhat5 ? Nils Swart
1998-05-07 13:22 ` Robert Herzog
@ 1998-05-07 13:28 ` Marc Zyngier
1998-05-11 22:03 ` Christoph Zens
1 sibling, 1 reply; 4+ messages in thread
From: Marc Zyngier @ 1998-05-07 13:28 UTC (permalink / raw)
To: axp-list
>>>>> "Nils" == Nils Swart <nils@thrijswijk.nl> writes:
Nils> Hello,
Nils> I've been trying to compile raidtools-0.41 for quite a while, but it keeps
Nils> giving this errormessage:
[snip]
Nils> This should be running on a 2.0.33 (Redhat 5.0), Alpha 164SX 533 MHz.
raidtools-0.41 should only apply to 2.1.x . For unpatched 2.0.33,
please use md035 :
ftp://sweet-smoke.ufr-info-p7.jussieu.fr/public/linux/md035.tar.gz
Do not know if it compiles nicely with glibc, thought. I'll give a try
next week ;-)
Marc.
--
Plus je connais les hommes, plus j'aime mon chien. [pd]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RAID0 with Redhat5 ?
1998-05-07 13:28 ` Marc Zyngier
@ 1998-05-11 22:03 ` Christoph Zens
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Zens @ 1998-05-11 22:03 UTC (permalink / raw)
To: Marc Zyngier; +Cc: axp-list
> raidtools-0.41 should only apply to 2.1.x . For unpatched 2.0.33,
> please use md035 :
Seems that the md-driver is a bit broken at least in kernel 2.0.32...
I tried to set up raid0 with two partitions of equal size (1.2 GB each)
and on identical discs (IBM 4.1GB).
"mdadd -ar" results in the following Oops:
May 11 20:01:43 localhost kernel: REGISTER_DEV sda9 to md0 done
May 11 20:01:56 localhost kernel: REGISTER_DEV sdb2 to md0 done
May 11 20:01:57 localhost kernel: kmalloc of too large a block (1264624
bytes).
May 11 20:01:57 localhost kernel: Unable to handle kernel paging request
at virtual address 0000000000000000
May 11 20:01:57 localhost kernel: mdadd(284): Oops 1
May 11 20:01:57 localhost kernel: pc = [<fffffc00003d0d78>] ps = 0000
May 11 20:01:57 localhost kernel: rp = [<fffffc00003d0d34>] sp =
fffffc00075cbe78
May 11 20:01:57 localhost kernel: r0=0 r1=fffffc000435edb8 r2=0 r3=0
May 11 20:01:57 localhost kernel: r8=19
May 11 20:01:57 localhost kernel: r16=0 r17=fffffc01c0007aa0 r18=50 r19=1
May 11 20:01:57 localhost kernel: r20=6 r21=2 r22=4 r23=fffffc0000444968
May 11 20:01:57 localhost kernel: r24=1 r25=a r26=fffffc00003d0d34
r27=fffffc000031b178
May 11 20:01:57 localhost kernel: r28=0 r29=fffffc000048d6f8
r30=fffffc00075cbe78
May 11 20:01:57 localhost kernel: Code: a42a0008 40620402 40260401
<b4220000> a42a0018 a0210008 408109a1 f4200011 a42a0000
and as you can guess, reducing the overall size to < 2^31 "solves"
the problem. Looks like some data types are too small.
Much too small, by the way.
So, did anybody try to run RAID0 devices > 2GB with success?
If yes, drop me a line please...
--
_
_ //
\X/ Christoph Zens <e9126506@student.tuwien.ac.at>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-05-11 22:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-07 7:02 RAID0 with Redhat5 ? Nils Swart
1998-05-07 13:22 ` Robert Herzog
1998-05-07 13:28 ` Marc Zyngier
1998-05-11 22:03 ` Christoph Zens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox