ATA-RAID RAID-0 woes

ATA-RAID RAID-0 woes

Post by semovr » Mon, 14 Jun 2004 05:20:49


Dear Linux Gods!
After two weeks of just about round the clock tweaking I have hit
rock-bottom and am turning desperately to you for help.
I am trying to get Gentoo linux running on my system. Here's what I
have:
1400MHz AMD Athlon CPU
Seagate Barracuda (40GB, 7200RPM, 2MB cache)
WD (40GB, 7200RPM, 2MB cache)
The two HD's are in RAID-0 array.
I partitioned my RAID-0 array like this:
/dev/ataraid/disc0/part1 - ext2fs, 32MB, boot partition
/dev/ataraid/disc0/part2 - swapfs ~2048MB swap partition
/dev/ataraid/disc0/part3 - reiserfs ~67GB root partition
After unsuccessfully trying to install my grub boot-loader I had to
try booting from a floppy containing the grub loader like this:

grub> root(hd0,0)
Filesystem type is ext2fs, parititon type 0x83
grub> kernel (hd0,0)/kernel-2.6.5-gentoo-r1 root=/dev/hde3
[Linux-bzImage, setup=0xa00, size=0x1e0903]
grub> boot

And here hell breaks loose. The kernel loads, notices my 2 HDs as hde
and hdg. It spits out a lot of stuff but I can only see the last
screen (SHIFT+Page-Up doesn't help me go up nor does the Pause key).
And yes, I have compiled my kernel with HPT37x support. But here's
what the last screen has:

"hde: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest
Error }
hde: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=113144982,
sector=113079703
end_request: I/O error, dev hde, sector 113079703
UDF-fs: No partition found (1)
Kernel panic: VFS: Unable to mount root fs on hde3"

It looks like it's trying to access the hde HD multiple times because
the "hde task_in_intr" occurs hundreds of times before it ends in
"kernel panic"

I can see that at some point before it panics the kernel spits out:
md: Autodetecting RAID arrays.
md: autorun ...
md ... autorun DONE.
which makes me think that it loads the RAID=0 array.
So, my questions is: how do I determine what I need to put as a value
in the "root=" argument in the grub prompt? Also, does the kernel not
treat the RAID-0 array as one HD and if so when does it start seeing
one HD and not two HDs?
I will be forever grateful for any hints or advice on the situation!
Roumen
 
 
 

ATA-RAID RAID-0 woes

Post by Markus Kos » Mon, 14 Jun 2004 12:59:06


There is no ataraid support in kernel 2.6.x You have to stay with
Kernel-2.4 for that configuration or move to raiddetect
( http://www.yqcomputer.com/ )\dmraid .
But this is still in development and probably very experimental.

 
 
 

ATA-RAID RAID-0 woes

Post by semovr » Thu, 17 Jun 2004 10:35:46


Hm, I guess I will be going back to kernel 2.4.x. Thanks, Marcus.
BTW, there's the source code for the ATA-RAID drivers for the HPT-37x
controller on the highpoint-tech.com web site just that I can't
compile them - gives me lots of errors and I guess I'll start bugging
the Highpoint tech support team to give me a hand on that.
Roumen.